worked a bit on diplomarbeit
This commit is contained in:
parent
d02ad40d6a
commit
241c4863ec
6 changed files with 17 additions and 7 deletions
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
class DidgeridooArtwork_Page_Plugin_Base extends DidgeridooArtwork_Page_Plugin_Abstract
|
||||
{
|
||||
public function render($pageName)
|
||||
public function render($after)
|
||||
{
|
||||
return $this->_view->base;
|
||||
return $this->_view->base . '/' . $after;
|
||||
}
|
||||
}
|
|
@ -3,9 +3,13 @@ class Local_Controller_Plugin_PageRewrite extends Katharsis_Controller_Plugin_Ab
|
|||
{
|
||||
public function preController()
|
||||
{
|
||||
$page = Katharsis_Request::getControllerName();
|
||||
$controller = Katharsis_Request::getControllerName();
|
||||
|
||||
if(substr($page, 0, 5) === 'admin') {
|
||||
if($controller === 'page') {
|
||||
return;
|
||||
}
|
||||
|
||||
if(substr($controller, 0, 5) === 'admin') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -14,11 +18,11 @@ class Local_Controller_Plugin_PageRewrite extends Katharsis_Controller_Plugin_Ab
|
|||
$defaultSites = explode(", ", Katharsis_Registry::getInstance()->defaults['sites']);
|
||||
}
|
||||
|
||||
if(in_array($page, $defaultSites)) {
|
||||
if(in_array($controller, $defaultSites)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Katharsis_Request::setControllerName('page');
|
||||
Katharsis_Request::setActionName($page);
|
||||
Katharsis_Request::setActionName($controller);
|
||||
}
|
||||
}
|
BIN
public/file/Diplomarbeit-Kinga-Pannek-2012.pdf
Normal file
BIN
public/file/Diplomarbeit-Kinga-Pannek-2012.pdf
Normal file
Binary file not shown.
BIN
public/img/page/1374247043.png
Normal file
BIN
public/img/page/1374247043.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
BIN
public/img/page/1374247259.png
Normal file
BIN
public/img/page/1374247259.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
|
@ -265,4 +265,10 @@ div .col:last-child { margin-right: 0; }
|
|||
|
||||
.box.cite h2 {
|
||||
background: #216f85;
|
||||
}
|
||||
}
|
||||
|
||||
.border {
|
||||
border: 1px solid #ccc;
|
||||
padding: 10px;
|
||||
background: white;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue