diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php index 25f187115..377a45ae7 100644 --- a/src/Wallabag/CoreBundle/Controller/EntryController.php +++ b/src/Wallabag/CoreBundle/Controller/EntryController.php @@ -8,14 +8,12 @@ use Symfony\Component\HttpFoundation\Request; use Wallabag\CoreBundle\Repository; use Wallabag\CoreBundle\Entity\Entries; use Wallabag\CoreBundle\Service\Extractor; -use Wallabag\CoreBundle\Helper\Tools; use Wallabag\CoreBundle\Helper\Url; class EntryController extends Controller { - /** - * @param Request $request + * @param Request $request * @Route("/new", name="new_entry") * @return \Symfony\Component\HttpFoundation\Response */ @@ -32,7 +30,6 @@ class EntryController extends Controller $form->handleRequest($request); if ($form->isValid()) { - $content = Extractor::extract($entry->getUrl()); $entry->setTitle($content->getTitle()); @@ -115,7 +112,7 @@ class EntryController extends Controller /** * Shows entry content * - * @param Entries $entry + * @param Entries $entry * @Route("/view/{id}", requirements={"id" = "\d+"}, name="view") * @return \Symfony\Component\HttpFoundation\Response */ @@ -130,8 +127,8 @@ class EntryController extends Controller /** * Changes read status for an entry * - * @param Request $request - * @param Entries $entry + * @param Request $request + * @param Entries $entry * @Route("/archive/{id}", requirements={"id" = "\d+"}, name="archive_entry") * @return \Symfony\Component\HttpFoundation\RedirectResponse */ @@ -151,8 +148,8 @@ class EntryController extends Controller /** * Changes favorite status for an entry * - * @param Request $request - * @param Entries $entry + * @param Request $request + * @param Entries $entry * @Route("/star/{id}", requirements={"id" = "\d+"}, name="star_entry") * @return \Symfony\Component\HttpFoundation\RedirectResponse */ @@ -172,8 +169,8 @@ class EntryController extends Controller /** * Deletes entry * - * @param Request $request - * @param Entries $entry + * @param Request $request + * @param Entries $entry * @Route("/delete/{id}", requirements={"id" = "\d+"}, name="delete_entry") * @return \Symfony\Component\HttpFoundation\RedirectResponse */ diff --git a/src/Wallabag/CoreBundle/Controller/SecurityController.php b/src/Wallabag/CoreBundle/Controller/SecurityController.php index 51f9cc265..c2901da2e 100644 --- a/src/Wallabag/CoreBundle/Controller/SecurityController.php +++ b/src/Wallabag/CoreBundle/Controller/SecurityController.php @@ -18,10 +18,11 @@ class SecurityController extends Controller $error = $session->get(SecurityContext::AUTHENTICATION_ERROR); $session->remove(SecurityContext::AUTHENTICATION_ERROR); } + return $this->render('WallabagCoreBundle:Security:login.html.twig', array( // last username entered by the user 'last_username' => $session->get(SecurityContext::LAST_USERNAME), 'error' => $error, )); } -} \ No newline at end of file +} diff --git a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php index 8e018e88b..5668d9348 100644 --- a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php +++ b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php @@ -3,7 +3,6 @@ namespace Wallabag\CoreBundle\Controller; use Nelmio\ApiDocBundle\Annotation\ApiDoc; -use FOS\RestBundle\Controller\Annotations\View; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Wallabag\CoreBundle\Entity\Entries; @@ -12,7 +11,6 @@ use Wallabag\CoreBundle\Service\Extractor; class WallabagRestController extends Controller { - /** * Retrieve all entries. It could be filtered by many options. * @@ -44,14 +42,13 @@ class WallabagRestController extends Controller $entries = $this ->getDoctrine() ->getRepository('WallabagCoreBundle:Entries') - ->findEntries(1, (int)$isArchived, (int)$isStarred, (int)$isDeleted, $sort, $order); + ->findEntries(1, (int) $isArchived, (int) $isStarred, (int) $isDeleted, $sort, $order); - if(!is_array($entries)) { + if (!is_array($entries)) { throw $this->createNotFoundException(); } return $entries; - } /** @@ -119,7 +116,6 @@ class WallabagRestController extends Controller */ public function patchEntriesAction(Entries $entry) { - } /** @@ -133,10 +129,8 @@ class WallabagRestController extends Controller */ public function deleteEntriesAction(Entries $entry) { - } - /** * Retrieve all tags for an entry * @@ -146,8 +140,8 @@ class WallabagRestController extends Controller * } * ) */ - public function getEntriesTagsAction(Entries $entry) { - + public function getEntriesTagsAction(Entries $entry) + { } /** @@ -162,8 +156,8 @@ class WallabagRestController extends Controller * } * ) */ - public function postEntriesTagsAction(Entries $entry) { - + public function postEntriesTagsAction(Entries $entry) + { } /** @@ -178,7 +172,6 @@ class WallabagRestController extends Controller */ public function deleteEntriesTagsAction(Entries $entry, Tags $tag) { - } /** @@ -187,8 +180,8 @@ class WallabagRestController extends Controller * @ApiDoc( * ) */ - public function getTagsAction() { - + public function getTagsAction() + { } /** @@ -200,8 +193,8 @@ class WallabagRestController extends Controller * } * ) */ - public function getTagAction(Tags $tag) { - + public function getTagAction(Tags $tag) + { } /** @@ -215,6 +208,5 @@ class WallabagRestController extends Controller */ public function deleteTagAction(Tags $tag) { - } -} \ No newline at end of file +} diff --git a/src/Wallabag/CoreBundle/DependencyInjection/Security/Factory/WsseFactory.php b/src/Wallabag/CoreBundle/DependencyInjection/Security/Factory/WsseFactory.php index 9807fe9af..0b5bdb40a 100644 --- a/src/Wallabag/CoreBundle/DependencyInjection/Security/Factory/WsseFactory.php +++ b/src/Wallabag/CoreBundle/DependencyInjection/Security/Factory/WsseFactory.php @@ -37,4 +37,4 @@ class WsseFactory implements SecurityFactoryInterface public function addConfiguration(NodeDefinition $node) { } -} \ No newline at end of file +} diff --git a/src/Wallabag/CoreBundle/Entity/Config.php b/src/Wallabag/CoreBundle/Entity/Config.php index d60b2df04..045ca308e 100644 --- a/src/Wallabag/CoreBundle/Entity/Config.php +++ b/src/Wallabag/CoreBundle/Entity/Config.php @@ -35,12 +35,10 @@ class Config */ private $value; - - /** * Get id * - * @return integer + * @return integer */ public function getId() { @@ -50,7 +48,7 @@ class Config /** * Set name * - * @param string $name + * @param string $name * @return Config */ public function setName($name) @@ -63,7 +61,7 @@ class Config /** * Get name * - * @return string + * @return string */ public function getName() { @@ -73,7 +71,7 @@ class Config /** * Set value * - * @param string $value + * @param string $value * @return Config */ public function setValue($value) @@ -86,7 +84,7 @@ class Config /** * Get value * - * @return string + * @return string */ public function getValue() { diff --git a/src/Wallabag/CoreBundle/Entity/Entries.php b/src/Wallabag/CoreBundle/Entity/Entries.php index 3c061a37b..9da5102ca 100644 --- a/src/Wallabag/CoreBundle/Entity/Entries.php +++ b/src/Wallabag/CoreBundle/Entity/Entries.php @@ -66,12 +66,10 @@ class Entries */ private $userId; - - /** * Get id * - * @return integer + * @return integer */ public function getId() { @@ -81,7 +79,7 @@ class Entries /** * Set title * - * @param string $title + * @param string $title * @return Entries */ public function setTitle($title) @@ -94,7 +92,7 @@ class Entries /** * Get title * - * @return string + * @return string */ public function getTitle() { @@ -104,7 +102,7 @@ class Entries /** * Set url * - * @param string $url + * @param string $url * @return Entries */ public function setUrl($url) @@ -117,7 +115,7 @@ class Entries /** * Get url * - * @return string + * @return string */ public function getUrl() { @@ -127,7 +125,7 @@ class Entries /** * Set isRead * - * @param string $isRead + * @param string $isRead * @return Entries */ public function setIsRead($isRead) @@ -140,7 +138,7 @@ class Entries /** * Get isRead * - * @return string + * @return string */ public function getIsRead() { @@ -150,13 +148,14 @@ class Entries public function toggleArchive() { $this->isRead = $this->getIsRead() ^ 1; + return $this; } /** * Set isFav * - * @param string $isFav + * @param string $isFav * @return Entries */ public function setIsFav($isFav) @@ -169,7 +168,7 @@ class Entries /** * Get isFav * - * @return string + * @return string */ public function getIsFav() { @@ -186,7 +185,7 @@ class Entries /** * Set content * - * @param string $content + * @param string $content * @return Entries */ public function setContent($content) @@ -199,7 +198,7 @@ class Entries /** * Get content * - * @return string + * @return string */ public function getContent() { @@ -209,7 +208,7 @@ class Entries /** * Set userId * - * @param string $userId + * @param string $userId * @return Entries */ public function setUserId($userId) @@ -222,7 +221,7 @@ class Entries /** * Get userId * - * @return string + * @return string */ public function getUserId() { diff --git a/src/Wallabag/CoreBundle/Entity/Tags.php b/src/Wallabag/CoreBundle/Entity/Tags.php index 6fe16a535..eab91ba00 100644 --- a/src/Wallabag/CoreBundle/Entity/Tags.php +++ b/src/Wallabag/CoreBundle/Entity/Tags.php @@ -28,12 +28,10 @@ class Tags */ private $value; - - /** * Get id * - * @return integer + * @return integer */ public function getId() { @@ -43,7 +41,7 @@ class Tags /** * Set value * - * @param string $value + * @param string $value * @return Tags */ public function setValue($value) @@ -56,7 +54,7 @@ class Tags /** * Get value * - * @return string + * @return string */ public function getValue() { diff --git a/src/Wallabag/CoreBundle/Entity/TagsEntries.php b/src/Wallabag/CoreBundle/Entity/TagsEntries.php index ad01cf575..6b0cea0dd 100644 --- a/src/Wallabag/CoreBundle/Entity/TagsEntries.php +++ b/src/Wallabag/CoreBundle/Entity/TagsEntries.php @@ -35,12 +35,10 @@ class TagsEntries */ private $tagId; - - /** * Get id * - * @return integer + * @return integer */ public function getId() { @@ -50,7 +48,7 @@ class TagsEntries /** * Set entryId * - * @param integer $entryId + * @param integer $entryId * @return TagsEntries */ public function setEntryId($entryId) @@ -63,7 +61,7 @@ class TagsEntries /** * Get entryId * - * @return integer + * @return integer */ public function getEntryId() { @@ -73,7 +71,7 @@ class TagsEntries /** * Set tagId * - * @param integer $tagId + * @param integer $tagId * @return TagsEntries */ public function setTagId($tagId) @@ -86,7 +84,7 @@ class TagsEntries /** * Get tagId * - * @return integer + * @return integer */ public function getTagId() { diff --git a/src/Wallabag/CoreBundle/Entity/Users.php b/src/Wallabag/CoreBundle/Entity/Users.php index 96867bd61..e0b1fb39f 100644 --- a/src/Wallabag/CoreBundle/Entity/Users.php +++ b/src/Wallabag/CoreBundle/Entity/Users.php @@ -4,7 +4,6 @@ namespace Wallabag\CoreBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Security\Core\User\UserInterface; -use Symfony\Component\Security\Core\User\EquatableInterface; use Symfony\Component\Security\Core\User\AdvancedUserInterface; /** @@ -71,7 +70,7 @@ class Users implements AdvancedUserInterface, \Serializable /** * Get id * - * @return integer + * @return integer */ public function getId() { @@ -81,7 +80,7 @@ class Users implements AdvancedUserInterface, \Serializable /** * Set username * - * @param string $username + * @param string $username * @return Users */ public function setUsername($username) @@ -94,7 +93,7 @@ class Users implements AdvancedUserInterface, \Serializable /** * Get username * - * @return string + * @return string */ public function getUsername() { @@ -120,7 +119,7 @@ class Users implements AdvancedUserInterface, \Serializable /** * Set password * - * @param string $password + * @param string $password * @return Users */ public function setPassword($password) @@ -133,7 +132,7 @@ class Users implements AdvancedUserInterface, \Serializable /** * Get password * - * @return string + * @return string */ public function getPassword() { @@ -143,7 +142,7 @@ class Users implements AdvancedUserInterface, \Serializable /** * Set name * - * @param string $name + * @param string $name * @return Users */ public function setName($name) @@ -156,7 +155,7 @@ class Users implements AdvancedUserInterface, \Serializable /** * Get name * - * @return string + * @return string */ public function getName() { @@ -166,7 +165,7 @@ class Users implements AdvancedUserInterface, \Serializable /** * Set email * - * @param string $email + * @param string $email * @return Users */ public function setEmail($email) @@ -179,7 +178,7 @@ class Users implements AdvancedUserInterface, \Serializable /** * Get email * - * @return string + * @return string */ public function getEmail() { @@ -208,7 +207,7 @@ class Users implements AdvancedUserInterface, \Serializable */ public function unserialize($serialized) { - list ( + list( $this->id, ) = unserialize($serialized); } diff --git a/src/Wallabag/CoreBundle/Entity/UsersConfig.php b/src/Wallabag/CoreBundle/Entity/UsersConfig.php index 26fb44ee4..0742edbcb 100644 --- a/src/Wallabag/CoreBundle/Entity/UsersConfig.php +++ b/src/Wallabag/CoreBundle/Entity/UsersConfig.php @@ -42,12 +42,10 @@ class UsersConfig */ private $value; - - /** * Get id * - * @return integer + * @return integer */ public function getId() { @@ -57,7 +55,7 @@ class UsersConfig /** * Set userId * - * @param string $userId + * @param string $userId * @return UsersConfig */ public function setUserId($userId) @@ -70,7 +68,7 @@ class UsersConfig /** * Get userId * - * @return string + * @return string */ public function getUserId() { @@ -80,7 +78,7 @@ class UsersConfig /** * Set name * - * @param string $name + * @param string $name * @return UsersConfig */ public function setName($name) @@ -93,7 +91,7 @@ class UsersConfig /** * Get name * - * @return string + * @return string */ public function getName() { @@ -103,7 +101,7 @@ class UsersConfig /** * Set value * - * @param string $value + * @param string $value * @return UsersConfig */ public function setValue($value) @@ -116,7 +114,7 @@ class UsersConfig /** * Get value * - * @return string + * @return string */ public function getValue() { diff --git a/src/Wallabag/CoreBundle/Helper/Content.php b/src/Wallabag/CoreBundle/Helper/Content.php index 81acbad7c..1cc5e4cf8 100644 --- a/src/Wallabag/CoreBundle/Helper/Content.php +++ b/src/Wallabag/CoreBundle/Helper/Content.php @@ -8,8 +8,8 @@ class Content private $body; - public function __constructor() { - + public function __constructor() + { } public function getTitle() @@ -31,4 +31,4 @@ class Content { $this->body = $body; } -} \ No newline at end of file +} diff --git a/src/Wallabag/CoreBundle/Helper/Entries.php b/src/Wallabag/CoreBundle/Helper/Entries.php index a54c3a74d..6eeca4ff8 100644 --- a/src/Wallabag/CoreBundle/Helper/Entries.php +++ b/src/Wallabag/CoreBundle/Helper/Entries.php @@ -2,9 +2,6 @@ namespace Wallabag\CoreBundle\Helper; - -class Entries { - - - -} \ No newline at end of file +class Entries +{ +} diff --git a/src/Wallabag/CoreBundle/Helper/Tools.php b/src/Wallabag/CoreBundle/Helper/Tools.php index c932f880f..0fd5f259c 100755 --- a/src/Wallabag/CoreBundle/Helper/Tools.php +++ b/src/Wallabag/CoreBundle/Helper/Tools.php @@ -2,9 +2,6 @@ namespace Wallabag\CoreBundle\Helper; -use \RecursiveIteratorIterator; -use \RecursiveDirectoryIterator; - final class Tools { /** @@ -18,7 +15,7 @@ final class Tools $timeout = 15; $useragent = "Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0"; - if (in_array ('curl', get_loaded_extensions())) { + if (in_array('curl', get_loaded_extensions())) { # Fetch feed from URL $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); @@ -30,8 +27,8 @@ final class Tools curl_setopt($curl, CURLOPT_HEADER, false); # for ssl, do not verified certificate - curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE); - curl_setopt($curl, CURLOPT_AUTOREFERER, TRUE ); + curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); + curl_setopt($curl, CURLOPT_AUTOREFERER, true); # FeedBurner requires a proper USER-AGENT... curl_setopt($curl, CURL_HTTP_VERSION_1_1, true); @@ -48,13 +45,13 @@ final class Tools array( 'http' => array( 'timeout' => $timeout, - 'header' => "User-Agent: " . $useragent, - 'follow_location' => true + 'header' => "User-Agent: ".$useragent, + 'follow_location' => true, ), 'ssl' => array( 'verify_peer' => false, - 'allow_self_signed' => true - ) + 'allow_self_signed' => true, + ), ) ); @@ -62,13 +59,12 @@ final class Tools $data = @file_get_contents($url, false, $context, -1, 4000000); if (isset($http_response_header) and isset($http_response_header[0])) { - $httpcodeOK = isset($http_response_header) and isset($http_response_header[0]) and ((strpos($http_response_header[0], '200 OK') !== FALSE) or (strpos($http_response_header[0], '301 Moved Permanently') !== FALSE)); + $httpcodeOK = isset($http_response_header) and isset($http_response_header[0]) and ((strpos($http_response_header[0], '200 OK') !== false) or (strpos($http_response_header[0], '301 Moved Permanently') !== false)); } } # if response is not empty and response is OK if (isset($data) and isset($httpcodeOK) and $httpcodeOK) { - # take charset of page and get it preg_match('##Usi', $data, $meta); @@ -77,19 +73,20 @@ final class Tools preg_match('#charset="?(.*)"#si', $meta[0], $encoding); # if charset is found set it otherwise, set it to utf-8 $html_charset = (!empty($encoding[1])) ? strtolower($encoding[1]) : 'utf-8'; - if (empty($encoding[1])) $encoding[1] = 'utf-8'; + if (empty($encoding[1])) { + $encoding[1] = 'utf-8'; + } } else { $html_charset = 'utf-8'; $encoding[1] = ''; } # replace charset of url to charset of page - $data = str_replace('charset=' . $encoding[1], 'charset=' . $html_charset, $data); + $data = str_replace('charset='.$encoding[1], 'charset='.$html_charset, $data); return $data; - } - else { - return FALSE; + } else { + return false; } } @@ -101,7 +98,7 @@ final class Tools */ public static function encodeString($string) { - return sha1($string . SALT); + return sha1($string.SALT); } public static function generateToken() @@ -113,12 +110,10 @@ final class Tools } else { $token = substr(base64_encode(file_get_contents('/dev/urandom', false, null, 0, 20)), 0, 15); } - } - else { + } else { $token = substr(base64_encode(uniqid(mt_rand(), true)), 0, 20); } return str_replace('+', '', $token); } - } diff --git a/src/Wallabag/CoreBundle/Helper/Url.php b/src/Wallabag/CoreBundle/Helper/Url.php index b076e7c72..35eb260d0 100644 --- a/src/Wallabag/CoreBundle/Helper/Url.php +++ b/src/Wallabag/CoreBundle/Helper/Url.php @@ -6,20 +6,23 @@ class Url { public $url; - function __construct($url) + public function __construct($url) { $this->url = base64_decode($url); } - public function getUrl() { + public function getUrl() + { return $this->url; } - public function setUrl($url) { + public function setUrl($url) + { $this->url = $url; } - public function isCorrect() { - return filter_var($this->url, FILTER_VALIDATE_URL) !== FALSE; + public function isCorrect() + { + return filter_var($this->url, FILTER_VALIDATE_URL) !== false; } -} \ No newline at end of file +} diff --git a/src/Wallabag/CoreBundle/Repository/EntriesRepository.php b/src/Wallabag/CoreBundle/Repository/EntriesRepository.php index e63c67e2c..d87eb3730 100644 --- a/src/Wallabag/CoreBundle/Repository/EntriesRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntriesRepository.php @@ -6,7 +6,6 @@ use Doctrine\ORM\Query; use Doctrine\ORM\EntityRepository; use Doctrine\ORM\Tools\Pagination\Paginator; use Wallabag\CoreBundle\Entity\Entries; -use Wallabag\CoreBundle\Service\Extractor; class EntriesRepository extends EntityRepository { @@ -15,7 +14,7 @@ class EntriesRepository extends EntityRepository * * @param $userId * @param $firstResult - * @param int $maxResults + * @param int $maxResults * @return Paginator */ public function findUnreadByUser($userId, $firstResult, $maxResults = 12) @@ -38,7 +37,7 @@ class EntriesRepository extends EntityRepository * * @param $userId * @param $firstResult - * @param int $maxResults + * @param int $maxResults * @return Paginator */ public function findArchiveByUser($userId, $firstResult, $maxResults = 12) @@ -61,7 +60,7 @@ class EntriesRepository extends EntityRepository * * @param $userId * @param $firstResult - * @param int $maxResults + * @param int $maxResults * @return Paginator */ public function findStarredByUser($userId, $firstResult, $maxResults = 12) diff --git a/src/Wallabag/CoreBundle/Resources/config/routing.yml b/src/Wallabag/CoreBundle/Resources/config/routing.yml index 327d49d8b..ec1d23cc9 100644 --- a/src/Wallabag/CoreBundle/Resources/config/routing.yml +++ b/src/Wallabag/CoreBundle/Resources/config/routing.yml @@ -1,3 +1,3 @@ _wllbg: resource: "@WallabagCoreBundle/Controller/EntryController.php" - type: annotation \ No newline at end of file + type: annotation diff --git a/src/Wallabag/CoreBundle/Resources/config/routing_rest.yml b/src/Wallabag/CoreBundle/Resources/config/routing_rest.yml index c876adfb0..d3af6b72b 100644 --- a/src/Wallabag/CoreBundle/Resources/config/routing_rest.yml +++ b/src/Wallabag/CoreBundle/Resources/config/routing_rest.yml @@ -1,4 +1,4 @@ entries: type: rest resource: "WallabagCoreBundle:WallabagRest" - name_prefix: api_ \ No newline at end of file + name_prefix: api_ diff --git a/src/Wallabag/CoreBundle/Resources/config/services.xml b/src/Wallabag/CoreBundle/Resources/config/services.xml index d5bc5cca5..859665ca9 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.xml +++ b/src/Wallabag/CoreBundle/Resources/config/services.xml @@ -25,5 +25,3 @@ - - diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig index 78dfa7c0a..edb15d557 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Entry/entry.html.twig @@ -101,4 +101,4 @@ }); }); -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/new.html.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/new.html.twig index df6926a0f..b6de7d236 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Entry/new.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Entry/new.html.twig @@ -8,4 +8,4 @@ {% block content %} {{ form(form) }} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/Static/about.html.twig b/src/Wallabag/CoreBundle/Resources/views/Static/about.html.twig index 0585eccab..b8d3c7b61 100755 --- a/src/Wallabag/CoreBundle/Resources/views/Static/about.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Static/about.html.twig @@ -30,11 +30,11 @@

{% trans %}wallabag is a read-it-later application: you can save a web page by keeping only content. Elements like ads or menus are deleted.{% endtrans %}

{% trans %}Getting help{% endtrans %}

- +
{% trans %}Documentation{% endtrans %}
Online documentation
- +
{% trans %}Support{% endtrans %}
http://support.wallabag.org/
diff --git a/src/Wallabag/CoreBundle/Resources/views/_bookmarklet.html.twig b/src/Wallabag/CoreBundle/Resources/views/_bookmarklet.html.twig index d432909a3..fd662c190 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_bookmarklet.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/_bookmarklet.html.twig @@ -1,3 +1,3 @@ \ No newline at end of file + diff --git a/src/Wallabag/CoreBundle/Resources/views/_footer.html.twig b/src/Wallabag/CoreBundle/Resources/views/_footer.html.twig index c897a97e4..26411da9e 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_footer.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/_footer.html.twig @@ -1,3 +1,3 @@ \ No newline at end of file + diff --git a/src/Wallabag/CoreBundle/Resources/views/_head.html.twig b/src/Wallabag/CoreBundle/Resources/views/_head.html.twig index 7ef79a2f0..f123183b8 100755 --- a/src/Wallabag/CoreBundle/Resources/views/_head.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/_head.html.twig @@ -37,4 +37,3 @@ - diff --git a/src/Wallabag/CoreBundle/Resources/views/_menu.html.twig b/src/Wallabag/CoreBundle/Resources/views/_menu.html.twig index 3065ce446..2e3b6d082 100644 --- a/src/Wallabag/CoreBundle/Resources/views/_menu.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/_menu.html.twig @@ -12,4 +12,3 @@
  • {% trans %}about{% endtrans %}
  • {% trans %}logout{% endtrans %}
  • - diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/config.twig b/src/Wallabag/CoreBundle/Resources/views/baggy/config.twig index 6031f489c..c5c07d492 100755 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/config.twig +++ b/src/Wallabag/CoreBundle/Resources/views/baggy/config.twig @@ -160,7 +160,7 @@ - +

    {% trans "Delete account" %}

    {% if not only_user %}

    {% trans "You can delete your account by entering your password and validating." %}
    {% trans "Be careful, data will be erased forever (that is a very long time)." %}

    diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/layout-login.twig b/src/Wallabag/CoreBundle/Resources/views/baggy/layout-login.twig index 4078fbb08..ae3f086ce 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/layout-login.twig +++ b/src/Wallabag/CoreBundle/Resources/views/baggy/layout-login.twig @@ -28,4 +28,4 @@ {% include '_footer.twig' %} - \ No newline at end of file + diff --git a/src/Wallabag/CoreBundle/Resources/views/baggy/login.twig b/src/Wallabag/CoreBundle/Resources/views/baggy/login.twig index 58290e9c6..d4eb46d21 100644 --- a/src/Wallabag/CoreBundle/Resources/views/baggy/login.twig +++ b/src/Wallabag/CoreBundle/Resources/views/baggy/login.twig @@ -17,7 +17,7 @@
    - +

    {% trans "(Do not check on public computers)" %} diff --git a/src/Wallabag/CoreBundle/Resources/views/default/_bookmarklet.twig b/src/Wallabag/CoreBundle/Resources/views/default/_bookmarklet.twig index 619963539..c7e2f66ea 100644 --- a/src/Wallabag/CoreBundle/Resources/views/default/_bookmarklet.twig +++ b/src/Wallabag/CoreBundle/Resources/views/default/_bookmarklet.twig @@ -1,3 +1,3 @@ \ No newline at end of file + diff --git a/src/Wallabag/CoreBundle/Resources/views/default/_footer.twig b/src/Wallabag/CoreBundle/Resources/views/default/_footer.twig index 213a4acad..25539f6b6 100644 --- a/src/Wallabag/CoreBundle/Resources/views/default/_footer.twig +++ b/src/Wallabag/CoreBundle/Resources/views/default/_footer.twig @@ -1,4 +1,4 @@

    {% trans "powered by" %} wallabag

    {% if constant('DEBUG_POCHE') == 1 %}

    {% trans "debug mode is on so cache is off." %} {% trans "your wallabag version:" %}{{constant('WALLABAG')}}. {% trans "storage:" %} {{constant('STORAGE')}}

    {% endif %} -
    \ No newline at end of file + diff --git a/src/Wallabag/CoreBundle/Resources/views/default/_import.twig b/src/Wallabag/CoreBundle/Resources/views/default/_import.twig index c59b7a154..63a2d3e23 100755 --- a/src/Wallabag/CoreBundle/Resources/views/default/_import.twig +++ b/src/Wallabag/CoreBundle/Resources/views/default/_import.twig @@ -2,7 +2,7 @@