@@ -8,7 +8,7 @@ |
||
| 8 | 8 | "session" => [ |
| 9 | 9 | "active" => defined("ANAX_WITH_SESSION") && ANAX_WITH_SESSION, // true|false |
| 10 | 10 | "shared" => true, |
| 11 | - "callback" => function () { |
|
| 11 | + "callback" => function() { |
|
| 12 | 12 | $session = new \Anax\Session\Session(); |
| 13 | 13 | |
| 14 | 14 | // Load the configuration files |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | "services" => [ |
| 8 | 8 | "request" => [ |
| 9 | 9 | "shared" => true, |
| 10 | - "callback" => function () { |
|
| 10 | + "callback" => function() { |
|
| 11 | 11 | $obj = new \Anax\Request\Request(); |
| 12 | 12 | $obj->init(); |
| 13 | 13 | return $obj; |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | "services" => [ |
| 9 | 9 | "page" => [ |
| 10 | 10 | "shared" => true, |
| 11 | - "callback" => function () { |
|
| 11 | + "callback" => function() { |
|
| 12 | 12 | $page = new \Anax\Page\Page(); |
| 13 | 13 | $page->setDI($this); |
| 14 | 14 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | "response" => [ |
| 10 | 10 | "shared" => true, |
| 11 | 11 | //"callback" => "\Anax\Response\Response", |
| 12 | - "callback" => function () { |
|
| 12 | + "callback" => function() { |
|
| 13 | 13 | $obj = new \Anax\Response\ResponseUtility(); |
| 14 | 14 | $obj->setDI($this); |
| 15 | 15 | return $obj; |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | "services" => [ |
| 9 | 9 | "configuration" => [ |
| 10 | 10 | "shared" => true, |
| 11 | - "callback" => function () { |
|
| 11 | + "callback" => function() { |
|
| 12 | 12 | $config = new \Anax\Configure\Configuration(); |
| 13 | 13 | $dirs = require ANAX_INSTALL_PATH . "/config/configuration.php"; |
| 14 | 14 | $config->setBaseDirectories($dirs); |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | "services" => [ |
| 8 | 8 | "db" => [ |
| 9 | 9 | "shared" => true, |
| 10 | - "callback" => function () { |
|
| 10 | + "callback" => function() { |
|
| 11 | 11 | $db = new \Anax\Database\Database(); |
| 12 | 12 | |
| 13 | 13 | // Load the configuration files |
@@ -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 | ], |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | <h4 class="cooloverskrift">Senaste frågor</h4> |
| 16 | 16 | <?php |
| 17 | 17 | foreach ($res as $row) { |
| 18 | - if ($row->type =="fraga") { ?> |
|
| 18 | + if ($row->type == "fraga") { ?> |
|
| 19 | 19 | <a class="sidolank" href='<?=url("inlagg/enskiltinlagg")?>/<?=$row->slug?>?sortsv=rankning&sortko=published'> |
| 20 | 20 | <p> |
| 21 | 21 | <b><?=$row->title?></b> |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Anax\View; |
| 3 | 3 | |
| 4 | -if (null==($this->di->session->get("anvandarnamn"))) { ?> |
|
| 4 | +if (null == ($this->di->session->get("anvandarnamn"))) { ?> |
|
| 5 | 5 | <p>Du är inte inloggad</p> |
| 6 | 6 | |
| 7 | 7 | |