This commit is contained in:
2026-05-20 13:30:10 +02:00
parent bc5cae7e82
commit 22c886b8f4
20 changed files with 1154 additions and 7 deletions

View File

@@ -26,6 +26,10 @@ $scripts = array();
Registry::Set('javascript', $scripts);
// Default route for /Admin/ (empty path) - dispatches to IndexController so the root URL
// doesn't fall through to Error404 (which previously triggered the redirect loop).
Router::AddRoute('AdminRoot', '', array('controller'=>'IndexController', 'method'=>'Index', 'push' => array(), 'config'=>array('actionSet'=>array())));
//Router::AddRoute('addStructure','Structure/Add', array('controller'=>'StructureController', 'method'=>'Add', 'push' => array('paramStr' => true), 'config'=>array('actionSet'=>array())));
Router::AddRoute('addStructure','Structure/Add', array('controller'=>'StructureController', 'method'=>'ModernAdd', 'push' => array('paramStr' => true), 'config'=>array('actionSet'=>array())));
Router::AddRoute('editStructure','Structure/Edit/id/:id', array('controller'=>'StructureController', 'method'=>'ModernEdit', 'push' => array('paramStr' => true), 'config'=>array('actionSet'=>array())));

View File

@@ -0,0 +1,15 @@
<div class="panelRightTop"></div>
<div class="panelRightBody">
<div class="paddedContent">
<div class="panelContentTop"><h2><a href="#" class="long">404 - Strona nie znaleziona</a></h2></div>
<div class="panelContentBody">
<div style="text-align:center; padding:40px 20px;">
<h1 style="margin:0; font-size:120px; line-height:120px; font-weight:bold; color:#999;">404</h1>
<h2 style="margin-top:20px; font-size:24px;">Brak strony w panelu administracyjnym</h2>
<p style="margin-top:20px;"><a href="{$smarty.const.URL_MAIN}/">Wroc do panelu</a></p>
</div>
</div>
<div class="panelContentBottom"></div>
</div>
</div>
<div class="panelRightBottom"></div>