@@ -42,14 +42,14 @@ discard block |
||
| 42 | 42 | ], |
| 43 | 43 | ], |
| 44 | 44 | [ |
| 45 | - "region" => "header-col-1", |
|
| 46 | - "template" => "anax/v2/header/site_logo_text", |
|
| 47 | - "data" => [ |
|
| 48 | - "homeLink" => "", |
|
| 49 | - "siteLogoText" => "", |
|
| 50 | - "siteLogoTextIcon" => "image/Grammatikgrottan-logga.png", |
|
| 51 | - "siteLogoTextIconAlt" => "logga", |
|
| 52 | - ], |
|
| 45 | + "region" => "header-col-1", |
|
| 46 | + "template" => "anax/v2/header/site_logo_text", |
|
| 47 | + "data" => [ |
|
| 48 | + "homeLink" => "", |
|
| 49 | + "siteLogoText" => "", |
|
| 50 | + "siteLogoTextIcon" => "image/Grammatikgrottan-logga.png", |
|
| 51 | + "siteLogoTextIconAlt" => "logga", |
|
| 52 | + ], |
|
| 53 | 53 | ], |
| 54 | 54 | [ |
| 55 | 55 | "region" => "header-col-2", |
@@ -86,8 +86,8 @@ discard block |
||
| 86 | 86 | // "contentRoute" => "block/footer-col-3", |
| 87 | 87 | // ], |
| 88 | 88 | [ |
| 89 | - "template" => "anax/v2/footer3/footer3", |
|
| 90 | - //"contentRoute" => "block/footer-col-2", |
|
| 89 | + "template" => "anax/v2/footer3/footer3", |
|
| 90 | + //"contentRoute" => "block/footer-col-2", |
|
| 91 | 91 | ], |
| 92 | 92 | ] |
| 93 | 93 | ], |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | * @param array $args as a variadic to catch all arguments. |
| 22 | 22 | * |
| 23 | 23 | * @throws Anax\Route\Exception\NotFoundException when route is not found. |
| 24 | - |
|
| 25 | 24 | * @return object as the response. |
| 26 | 25 | * |
| 27 | 26 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
@@ -22,7 +22,6 @@ |
||
| 22 | 22 | * @param string $message with details. |
| 23 | 23 | * |
| 24 | 24 | * @throws Anax\Route\Exception\NotFoundException |
| 25 | - |
|
| 26 | 25 | * @return object as the response. |
| 27 | 26 | */ |
| 28 | 27 | public function catchAll() : object |
@@ -15,12 +15,12 @@ |
||
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | - * Create a part of a table containing one type, one link, ordered by date or rank |
|
| 19 | - * |
|
| 20 | - * @param string $str the string to format as slug. |
|
| 21 | - * |
|
| 22 | - * @return str the formatted slug. |
|
| 23 | - */ |
|
| 18 | + * Create a part of a table containing one type, one link, ordered by date or rank |
|
| 19 | + * |
|
| 20 | + * @param string $str the string to format as slug. |
|
| 21 | + * |
|
| 22 | + * @return str the formatted slug. |
|
| 23 | + */ |
|
| 24 | 24 | |
| 25 | 25 | public function hamtaTaggar($inlaggid) |
| 26 | 26 | { |
@@ -16,12 +16,12 @@ |
||
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | - * Create a part of a table containing one type, one link, ordered by date or rank |
|
| 20 | - * |
|
| 21 | - * @param string $str the string to format as slug. |
|
| 22 | - * |
|
| 23 | - * @return str the formatted slug. |
|
| 24 | - */ |
|
| 19 | + * Create a part of a table containing one type, one link, ordered by date or rank |
|
| 20 | + * |
|
| 21 | + * @param string $str the string to format as slug. |
|
| 22 | + * |
|
| 23 | + * @return str the formatted slug. |
|
| 24 | + */ |
|
| 25 | 25 | public function postaNyKommentar($data, $userid, $tillhor, $type) |
| 26 | 26 | { |
| 27 | 27 | $db = $this->di->get("db"); |
@@ -15,12 +15,12 @@ |
||
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | - * Create a part of a table containing one type, one link, ordered by date or rank |
|
| 19 | - * |
|
| 20 | - * @param string $str the string to format as slug. |
|
| 21 | - * |
|
| 22 | - * @return str the formatted slug. |
|
| 23 | - */ |
|
| 18 | + * Create a part of a table containing one type, one link, ordered by date or rank |
|
| 19 | + * |
|
| 20 | + * @param string $str the string to format as slug. |
|
| 21 | + * |
|
| 22 | + * @return str the formatted slug. |
|
| 23 | + */ |
|
| 24 | 24 | public function hamtaEnFraga($slug) |
| 25 | 25 | { |
| 26 | 26 | $db = $this->di->get("db"); |
@@ -104,14 +104,14 @@ |
||
| 104 | 104 | |
| 105 | 105 | |
| 106 | 106 | /** |
| 107 | - * Helper, Markdown formatting converting to HTML. |
|
| 108 | - * |
|
| 109 | - * @SuppressWarnings(PHPMD) |
|
| 110 | - * |
|
| 111 | - * @param string text The text to be converted. |
|
| 112 | - * |
|
| 113 | - * @return string the formatted text. |
|
| 114 | - */ |
|
| 107 | + * Helper, Markdown formatting converting to HTML. |
|
| 108 | + * |
|
| 109 | + * @SuppressWarnings(PHPMD) |
|
| 110 | + * |
|
| 111 | + * @param string text The text to be converted. |
|
| 112 | + * |
|
| 113 | + * @return string the formatted text. |
|
| 114 | + */ |
|
| 115 | 115 | public function markdown($text) |
| 116 | 116 | { |
| 117 | 117 | $text = MarkdownExtra::defaultTransform($text); |
@@ -9,12 +9,12 @@ |
||
| 9 | 9 | class Slugify |
| 10 | 10 | { |
| 11 | 11 | /** |
| 12 | - * Create a slug of a string, to be used as url. |
|
| 13 | - * |
|
| 14 | - * @param string $str the string to format as slug. |
|
| 15 | - * |
|
| 16 | - * @return str the formatted slug. |
|
| 17 | - */ |
|
| 12 | + * Create a slug of a string, to be used as url. |
|
| 13 | + * |
|
| 14 | + * @param string $str the string to format as slug. |
|
| 15 | + * |
|
| 16 | + * @return str the formatted slug. |
|
| 17 | + */ |
|
| 18 | 18 | public function slugify($str) |
| 19 | 19 | { |
| 20 | 20 | $str = mb_strtolower(trim($str)); |