|
@@ 26-34 (lines=9) @@
|
| 23 |
|
return $this->container->theme->render($response, $view, $themeData); |
| 24 |
|
} |
| 25 |
|
|
| 26 |
|
public function getOnecolumn($request, $response, $args) |
| 27 |
|
{ |
| 28 |
|
$this->container->logger->debug("route: /config"); |
| 29 |
|
$view = 'layouts/1column.html'; |
| 30 |
|
$themeData['theme'] = \erdiko\theme\Config::get($this->container->get('settings')['theme']); |
| 31 |
|
$themeData['page']['title'] = "1 Column Layout"; |
| 32 |
|
|
| 33 |
|
return $this->container->theme->render($response, $view, $themeData); |
| 34 |
|
} |
| 35 |
|
|
| 36 |
|
public function getTwocolumn($request, $response, $args) |
| 37 |
|
{ |
|
@@ 36-44 (lines=9) @@
|
| 33 |
|
return $this->container->theme->render($response, $view, $themeData); |
| 34 |
|
} |
| 35 |
|
|
| 36 |
|
public function getTwocolumn($request, $response, $args) |
| 37 |
|
{ |
| 38 |
|
$this->container->logger->debug("route: /config"); |
| 39 |
|
$view = 'layouts/2column.html'; |
| 40 |
|
$themeData['theme'] = \erdiko\theme\Config::get($this->container->get('settings')['theme']); |
| 41 |
|
$themeData['page']['title'] = "2 Column Layout"; |
| 42 |
|
|
| 43 |
|
return $this->container->theme->render($response, $view, $themeData); |
| 44 |
|
} |
| 45 |
|
|
| 46 |
|
public function getThreecolumn($request, $response, $args) |
| 47 |
|
{ |
|
@@ 46-54 (lines=9) @@
|
| 43 |
|
return $this->container->theme->render($response, $view, $themeData); |
| 44 |
|
} |
| 45 |
|
|
| 46 |
|
public function getThreecolumn($request, $response, $args) |
| 47 |
|
{ |
| 48 |
|
$this->container->logger->debug("route: /config"); |
| 49 |
|
$view = 'layouts/3column.html'; |
| 50 |
|
$themeData['theme'] = \erdiko\theme\Config::get($this->container->get('settings')['theme']); |
| 51 |
|
$themeData['page']['title'] = "3 Column Layout"; |
| 52 |
|
|
| 53 |
|
return $this->container->theme->render($response, $view, $themeData); |
| 54 |
|
} |
| 55 |
|
|
| 56 |
|
public function getJohn($request, $response, $args) |
| 57 |
|
{ |