Commit 6071f5e1 authored by fettesvieh's avatar fettesvieh

reverted the changes to the url design

parent 1e5ca29c
<form action="{uri args="access/acp_list/action_delete"}" method="post" id="access">
<form action="{uri args="acp/access/adm_list/action_delete"}" method="post" id="access">
<div id="adm-list">
<a href="{uri args="access/acp_create"}" title="{lang values="access|acp_create"}"><img src="{icon path="32/create_access"}" alt="{lang values="access|acp_create"}" /></a>
<a href="{uri args="acp/access/create"}" title="{lang values="access|create"}"><img src="{icon path="32/create_access"}" alt="{lang values="access|create"}" /></a>
<a href="javascript:$('#access').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="access|access_overview"}</h2>
</div>
......@@ -19,7 +19,7 @@
{foreach from=$access item=row}
<tr>
<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
<td><a href="{uri args="access/acp_edit/id_`$row.id`"}" title="{lang values="access|acp_edit"}">{$row.name}</a></td>
<td><a href="{uri args="acp/access/edit/id_`$row.id`"}" title="{lang values="access|edit"}">{$row.name}</a></td>
<td style="text-align:justify">{$row.access_to_mod}</td>
</tr>
{/foreach}
......
<form action="{uri args="categories/acp_list/action_delete"}" method="post" id="categories">
<form action="{uri args="acp/categories/adm_list/action_delete"}" method="post" id="categories">
<div id="adm-list">
<a href="{uri args="categories/acp_create"}" title="{lang values="categories|acp_create"}"><img src="{icon path="32/create_category"}" alt="{lang values="categories|acp_create"}" /></a>
<a href="{uri args="acp/categories/create"}" title="{lang values="categories|create"}"><img src="{icon path="32/create_category"}" alt="{lang values="categories|create"}" /></a>
<a href="javascript:$('#categories').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="categories|categories_overview"}</h2>
</div>
......@@ -20,7 +20,7 @@
{foreach from=$categories item=row}
<tr>
<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
<td><a href="{uri args="categories/acp_edit/id_`$row.id`"}" title="{lang values="categories|acp_edit"}">{$row.name}</a></td>
<td><a href="{uri args="acp/categories/edit/id_`$row.id`"}" title="{lang values="categories|edit"}">{$row.name}</a></td>
<td>{$row.description}</td>
<td>{$row.module}</td>
</tr>
......
{if $comments && $module == '0'}
<form action="{uri args="comments/acp_list/action_delete_com_by_mod"}" method="post" id="comments">
<form action="{uri args="acp/comments/adm_list/action_delete_com_by_mod"}" method="post" id="comments">
<div id="adm-list">
<a href="javascript:$('#comments').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="comments|comments_overview"}</h2>
......@@ -18,7 +18,7 @@
{foreach from=$comments item=row}
<tr>
<td><input type="checkbox" name="entries[]" value="{$row.module}" /></td>
<td><a href="{uri args="comments/acp_list/module_`$row.module`"}" title="{lang values="comments|show_comments"}">{$row.name}</a></td>
<td><a href="{uri args="acp/comments/adm_list/module_`$row.module`"}" title="{lang values="comments|show_comments"}">{$row.name}</a></td>
<td>{$row.count}</td>
</tr>
{/foreach}
......@@ -29,7 +29,7 @@
</div>
</form>
{elseif $comments && $module != '0'}
<form action="{uri args="comments/acp_list/action_delete_comments"}" method="post" id="comments">
<form action="{uri args="acp/comments/adm_list/action_delete_comments"}" method="post" id="comments">
<div id="adm-list">
<a href="javascript:$('#comments').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="comments|comments_overview"}</h2>
......@@ -52,7 +52,7 @@
<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
<td>{$row.date}</td>
<td>{$row.ip}</td>
<td><a href="{uri args="comments/acp_edit/id_`$row.id`"}" title="{lang values="comments|acp_edit"}">{$row.name}</a></td>
<td><a href="{uri args="acp/comments/edit/id_`$row.id`"}" title="{lang values="comments|edit"}">{$row.name}</a></td>
<td>{$row.message}</td>
</tr>
{/foreach}
......
{$error_msg}
<form action="{uri args="contact/acp_list/action_edit"}" method="post" accept-charset="UTF-8">
<form action="{uri args="acp/contact/adm_list/action_edit"}" method="post" accept-charset="UTF-8">
<fieldset>
<legend>{lang values="contact|imprint"}</legend>
<dl>
......
<form action="{uri args="emoticons/acp_list/action_delete"}" method="post" id="emoticons">
<form action="{uri args="acp/emoticons/adm_list/action_delete"}" method="post" id="emoticons">
<div id="adm-list">
<a href="{uri args="emoticons/acp_create"}" title="{lang values="emoticons|acp_create"}"><img src="{icon path="32/add_emoticon"}" alt="{lang values="emoticons|acp_create"}" /></a>
<a href="{uri args="acp/emoticons/create"}" title="{lang values="emoticons|create"}"><img src="{icon path="32/add_emoticon"}" alt="{lang values="emoticons|create"}" /></a>
<a href="javascript:$('#emoticons').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="emoticons|emoticons_overview"}</h2>
</div>
......@@ -20,7 +20,7 @@
{foreach from=$emoticons item=row}
<tr>
<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
<td><a href="{uri args="emoticons/acp_edit/id_`$row.id`"}" title="{lang values="emoticons|acp_edit"}">{$row.description}</a></td>
<td><a href="{uri args="acp/emoticons/edit/id_`$row.id`"}" title="{lang values="emoticons|edit"}">{$row.description}</a></td>
<td>{$row.code}</td>
<td><img src="{$root_dir}uploads/emoticons/{$row.img}" alt="" /></td>
</tr>
......
<form action="{uri args="files/acp_list/action_delete"}" method="post" id="files">
<form action="{uri args="acp/files/adm_list/action_delete"}" method="post" id="files">
<div id="adm-list">
<a href="{uri args="files/acp_create"}" title="{lang values="files|acp_create"}"><img src="{icon path="32/create_file"}" alt="{lang values="files|acp_create"}" /></a>
<a href="{uri args="acp/files/create"}" title="{lang values="files|create"}"><img src="{icon path="32/create_file"}" alt="{lang values="files|create"}" /></a>
<a href="javascript:$('#files').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="files|files_overview"}</h2>
</div>
......@@ -22,7 +22,7 @@
<tr>
<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
<td>{$row.start} {lang values="common|until"} {$row.end}</td>
<td><a href="{uri args="files/acp_edit/id_`$row.id`"}" title="{lang values="files|acp_edit"}">{$row.link_title}</a></td>
<td><a href="{uri args="acp/files/edit/id_`$row.id`"}" title="{lang values="files|edit"}">{$row.link_title}</a></td>
<td><a href="{uri args="files/details/id_`$row.id`/download_1"}" title="{lang values="files|download_file"}">{$row.file}</a></td>
<td>{$row.size}</td>
</tr>
......
<form action="{uri args="gallery/acp_list/action_delete_gallery"}" method="post" id="gallery">
<form action="{uri args="acp/gallery/adm_list/action_delete_gallery"}" method="post" id="gallery">
<div id="adm-list">
<a href="{uri args="gallery/acp_create"}" title="{lang values="gallery|acp_create"}"><img src="{icon path="32/create_gallery"}" alt="{lang values="gallery|acp_create"}" /></a>
<a href="{uri args="acp/gallery/create"}" title="{lang values="gallery|create"}"><img src="{icon path="32/create_gallery"}" alt="{lang values="gallery|create"}" /></a>
<a href="javascript:$('#gallery').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="gallery|galleries_overview"}</h2>
</div>
......@@ -21,7 +21,7 @@
<tr>
<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
<td>{$row.start} {lang values="common|until"} {$row.end}</td>
<td><a href="{uri args="gallery/acp_edit_gallery/id_`$row.id`"}" title="{lang values="gallery|acp_edit_gallery"}">{$row.name}</a></td>
<td><a href="{uri args="acp/gallery/edit_gallery/id_`$row.id`"}" title="{lang values="gallery|edit_gallery"}">{$row.name}</a></td>
<td>{$row.pictures}</td>
</tr>
{/foreach}
......
......@@ -19,9 +19,9 @@
<input type="submit" name="submit" value="{lang values="common|submit"}" class="form" />
</div>
</form>
<form action="{uri args="gallery/acp_edit_gallery/id_$gallery_id/action_delete_picture"}" method="post" id="gallery">
<form action="{uri args="acp/gallery/edit_gallery/id_$gallery_id/action_delete_picture"}" method="post" id="gallery">
<div id="adm-list">
<a href="{uri args="gallery/acp_add_picture/id_$gallery_id"}" title="{lang values="gallery|acp_add_picture"}"><img src="{icon path="32/add_picture"}" alt="{lang values="gallery|acp_add_picture"}" /></a>
<a href="{uri args="acp/gallery/add_picture/id_$gallery_id"}" title="{lang values="gallery|add_picture"}"><img src="{icon path="32/add_picture"}" alt="{lang values="gallery|add_picture"}" /></a>
<a href="javascript:$('#gallery').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="gallery|pictures"}</h2>
</div>
......@@ -41,7 +41,7 @@
{foreach from=$pictures item=row}
<tr>
<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
<td><a href="{uri args="gallery/acp_edit_picture/id_`$row.id`"}" title="{lang values="gallery|acp_edit_picture"}">{$row.pic}</a></td>
<td><a href="{uri args="acp/gallery/edit_picture/id_`$row.id`"}" title="{lang values="gallery|edit_picture"}">{$row.pic}</a></td>
<td>{$row.file}</td>
<td>{$row.description}</td>
</tr>
......
{if $guestbook}
<form action="{uri args="guestbook/acp_list/action_delete"}" method="post" id="guestbook">
<form action="{uri args="acp/guestbook/adm_list/action_delete"}" method="post" id="guestbook">
<div id="adm-list">
<a href="javascript:$('#guestbook').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="guestbook|guestbook_entries_overview"}</h2>
......@@ -22,7 +22,7 @@
<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
<td>{$row.date}</td>
<td>{$row.ip}</td>
<td><a href="{uri args="guestbook/acp_edit/id_`$row.id`"}" title="{lang values="guestbook|acp_edit"}">{$row.name}</a></td>
<td><a href="{uri args="acp/guestbook/edit/id_`$row.id`"}" title="{lang values="guestbook|edit"}">{$row.name}</a></td>
<td>{$row.message}</td>
</tr>
{/foreach}
......
......@@ -17,6 +17,7 @@
</head>
<body>
<a name="top"></a>
<div id="head">
<h1 id="page-title">{$page_title}</h1>
{if $navbar.main}
......
<form action="{uri args="news/acp_list/action_delete"}" method="post" id="news">
<form action="{uri args="acp/news/adm_list/action_delete"}" method="post" id="news">
<div id="adm-list">
<a href="{uri args="news/acp_create"}" title="{lang values="news|acp_create"}"><img src="{icon path="32/create_news"}" alt="{lang values="news|acp_create"}" /></a>
<a href="{uri args="acp/news/create"}" title="{lang values="news|create"}"><img src="{icon path="32/create_news"}" alt="{lang values="news|create"}" /></a>
<a href="javascript:$('#news').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="news|news_overview"}</h2>
</div>
......@@ -21,7 +21,7 @@
<tr>
<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
<td>{$row.start} {lang values="common|until"} {$row.end}</td>
<td><a href="{uri args="news/acp_edit/id_`$row.id`"}" title="{lang values="news|acp_edit"}">{$row.headline}</a></td>
<td><a href="{uri args="acp/news/edit/id_`$row.id`"}" title="{lang values="news|edit"}">{$row.headline}</a></td>
<td>{$row.cat}</td>
</tr>
{/foreach}
......
<form action="{uri args="newsletter/acp_list/action_delete"}" method="post" id="newsletter">
<form action="{uri args="acp/newsletter/adm_list/action_delete"}" method="post" id="newsletter">
<div id="adm-list">
<a href="{uri args="newsletter/acp_compose"}" title="{lang values="newsletter|acp_compose"}"><img src="{icon path="32/nl_compose"}" alt="{lang values="newsletter|acp_compose"}" /></a>
<a href="{uri args="newsletter/acp_settings"}" title="{lang values="newsletter|acp_settings"}"><img src="{icon path="32/settings"}" alt="{lang values="newsletter|acp_settings"}" /></a>
<a href="{uri args="acp/newsletter/compose"}" title="{lang values="newsletter|compose"}"><img src="{icon path="32/nl_compose"}" alt="{lang values="newsletter|compose"}" /></a>
<a href="{uri args="acp/newsletter/settings"}" title="{lang values="newsletter|settings"}"><img src="{icon path="32/settings"}" alt="{lang values="newsletter|settings"}" /></a>
<a href="javascript:$('#newsletter').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="newsletter|newsletter_accounts"}</h2>
</div>
......@@ -23,7 +23,7 @@
<td>{$row.mail}</td>
<td>
{if $row.hash != ''}
<a href="{uri args="newsletter/entry/action_activate_adm/id_`$row.id`"}" title="{lang values="newsletter|activate_account"}"><img src="{icon path="16/inactive"}" alt="" /></a>
<a href="{uri args="acp/newsletter/entry/action_activate_adm/id_`$row.id`"}" title="{lang values="newsletter|activate_account"}"><img src="{icon path="16/inactive"}" alt="" /></a>
{else}
<img src="{icon path="16/active"}" alt="" />
{/if}
......
<form action="{uri args="pages/acp_list/action_delete"}" method="post" id="pages">
<form action="{uri args="acp/pages/adm_list/action_delete"}" method="post" id="pages">
<div id="adm-list">
<a href="{uri args="pages/acp_create"}" title="{lang values="pages|acp_create"}"><img src="{icon path="32/create_page"}" alt="{lang values="pages|acp_create"}" /></a>
<a href="{uri args="pages/acp_list_blocks"}" title="{lang values="pages|acp_list_blocks"}"><img src="{icon path="32/blocks_modules"}" alt="{lang values="pages|manage_blocks"}" /></a>
<a href="{uri args="acp/pages/create"}" title="{lang values="pages|create"}"><img src="{icon path="32/create_page"}" alt="{lang values="pages|create"}" /></a>
<a href="{uri args="acp/pages/adm_list_blocks"}" title="{lang values="pages|adm_list_blocks"}"><img src="{icon path="32/blocks_modules"}" alt="{lang values="pages|manage_blocks"}" /></a>
<a href="javascript:$('#pages').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="pages|pages_overview"}</h2>
</div>
......@@ -23,7 +23,7 @@
<tr>
<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
<td>{$row.start} {lang values="common|until"} {$row.end}</td>
<td><a href="{uri args="pages/acp_edit/id_`$row.id`"}" title="{lang values="pages|acp_edit"}">{$row.title}</a></td>
<td><a href="{uri args="acp/pages/edit/id_`$row.id`"}" title="{lang values="pages|edit"}">{$row.title}</a></td>
<td>{$row.block}</td>
<td>{$row.mode}</td>
</tr>
......
<form action="{uri args="pages/acp_list_blocks/action_delete_blocks"}" method="post" id="blocks">
<form action="{uri args="acp/pages/adm_list_blocks/action_delete_blocks"}" method="post" id="blocks">
<div id="adm-list">
<a href="{uri args="pages/acp_create_block"}" title="{lang values="pages|acp_create_block"}"><img src="{icon path="32/create_block"}" alt="{lang values="pages|acp_create_block"}" /></a>
<a href="{uri args="acp/pages/create_block"}" title="{lang values="pages|create_block"}"><img src="{icon path="32/create_block"}" alt="{lang values="pages|create_block"}" /></a>
<a href="javascript:$('#blocks').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="pages|blocks_overview"}</h2>
</div>
......@@ -19,7 +19,7 @@
{foreach from=$blocks item=row}
<tr>
<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
<td><a href="{uri args="pages/acp_edit_block/id_`$row.id`"}" title="{lang values="pages|acp_edit_block"}">{$row.title}</a></td>
<td><a href="{uri args="acp/pages/edit_block/id_`$row.id`"}" title="{lang values="pages|edit_block"}">{$row.title}</a></td>
<td>{$row.index_name}</td>
</tr>
{/foreach}
......
<form action="{uri args="polls/acp_list/action_delete"}" method="post" id="polls">
<form action="{uri args="acp/polls/adm_list/action_delete"}" method="post" id="polls">
<div id="adm-list">
<a href="{uri args="polls/acp_create"}" title="{lang values="polls|acp_create"}"><img src="{icon path="32/create_poll"}" alt="{lang values="polls|acp_create"}" /></a>
<a href="{uri args="acp/polls/create"}" title="{lang values="polls|create"}"><img src="{icon path="32/create_poll"}" alt="{lang values="polls|create"}" /></a>
<a href="javascript:$('#polls').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="polls|polls_overview"}</h2>
</div>
......@@ -20,7 +20,7 @@
<tr>
<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
<td>{$row.start} {lang values="common|until"} {$row.end}</td>
<td><a href="{uri args="polls/acp_edit/id_`$row.id`"}" title="{lang values="polls|acp_edit"}">{$row.question}</a></td>
<td><a href="{uri args="acp/polls/edit/id_`$row.id`"}" title="{lang values="polls|edit"}">{$row.question}</a></td>
</tr>
{/foreach}
</tbody>
......
<div id="adm-list">
<a href="{uri args="system/acp_modules"}" title="{lang values="system|acp_modules"}"><img src="{icon path="32/blocks_modules"}" alt="{lang values="system|acp_modules"}" /></a>
<a href="{uri args="system/acp_languages"}" title="{lang values="system|acp_languages"}"><img src="{icon path="32/languages"}" alt="{lang values="system|acp_languages"}" /></a>
<a href="{uri args="system/acp_designs"}" title="{lang values="system|acp_designs"}"><img src="{icon path="32/designs"}" alt="{lang values="system|acp_designs"}" /></a>
</div>
<hr />
<div class="error">
<h5 style="text-align:center">{lang values="system|select_menu_item"}</h5>
</div>
\ No newline at end of file
<div id="adm-list">
<a href="{uri args="system/acp_maintenance"}" title="{lang values="system|acp_maintenance"}"><img src="{icon path="32/maintenance"}" alt="{lang values="system|acp_maintenance"}" /></a>
<a href="{uri args="system/acp_extensions"}" title="{lang values="system|acp_extensions"}"><img src="{icon path="32/extensions"}" alt="{lang values="system|acp_extensions"}" /></a>
<a href="{uri args="system/acp_software"}" title="{lang values="system|acp_software"}"><img src="{icon path="32/software"}" alt="{lang values="system|acp_software"}" /></a>
<a href="{uri args="system/acp_configuration"}" title="{lang values="system|acp_configuration"}"><img src="{icon path="32/settings"}" alt="{lang values="system|acp_configuration"}" /></a>
</div>
<hr />
<div class="error">
<h5 style="text-align:center">{lang values="system|select_menu_item"}</h5>
</div>
\ No newline at end of file
<div id="adm-list">
<a href="{uri args="system/acp_update_check"}" title="{lang values="system|acp_update_check"}"><img src="{icon path="32/update_check"}" alt="{lang values="system|acp_update_check"}" /></a>
<a href="{uri args="system/acp_sql_export"}" title="{lang values="system|acp_sql_export"}"><img src="{icon path="32/sql_export"}" alt="{lang values="system|acp_sql_export"}" /></a>
<a href="{uri args="system/acp_sql_optimisation"}" title="{lang values="system|acp_sql_optimisation"}"><img src="{icon path="32/sql_optimisation"}" alt="{lang values="system|acp_sql_optimisation"}" /></a>
</div>
<hr />
<div class="error">
<h5 style="text-align:center">{lang values="system|select_menu_item"}</h5>
</div>
\ No newline at end of file
<div id="adm-list">
<a href="{uri args="acp/system/maintenance"}" title="{lang values="system|maintenance"}"><img src="{icon path="32/maintenance"}" alt="{lang values="system|maintenance"}" /></a>
<a href="{uri args="acp/system/extensions"}" title="{lang values="system|extensions"}"><img src="{icon path="32/extensions"}" alt="{lang values="system|extensions"}" /></a>
<a href="{uri args="acp/system/software"}" title="{lang values="system|software"}"><img src="{icon path="32/software"}" alt="{lang values="system|software"}" /></a>
<a href="{uri args="acp/system/configuration"}" title="{lang values="system|configuration"}"><img src="{icon path="32/settings"}" alt="{lang values="system|configuration"}" /></a>
</div>
<hr />
<div class="error">
<h5 style="text-align:center">{lang values="system|select_menu_item"}</h5>
</div>
\ No newline at end of file
......@@ -62,7 +62,7 @@
</dl>
</fieldset>
<fieldset>
<legend>{lang values="system|acp_maintenance"}</legend>
<legend>{lang values="system|maintenance"}</legend>
<dl>
<dt><label for="maintenance_yes">{lang values="system|maintenance_mode"}</label></dt>
<dd>
......
<div id="adm-list">
<a href="{uri args="acp/system/mod_list"}" title="{lang values="system|mod_list"}"><img src="{icon path="32/blocks_modules"}" alt="{lang values="system|mod_list"}" /></a>
<a href="{uri args="acp/system/languages"}" title="{lang values="system|languages"}"><img src="{icon path="32/languages"}" alt="{lang values="system|languages"}" /></a>
<a href="{uri args="acp/system/designs"}" title="{lang values="system|designs"}"><img src="{icon path="32/designs"}" alt="{lang values="system|designs"}" /></a>
</div>
<hr />
<div class="error">
<h5 style="text-align:center">{lang values="system|select_menu_item"}</h5>
</div>
\ No newline at end of file
<div id="adm-list">
<a href="{uri args="acp/system/update_check"}" title="{lang values="system|update_check"}"><img src="{icon path="32/update_check"}" alt="{lang values="system|update_check"}" /></a>
<a href="{uri args="acp/system/sql_export"}" title="{lang values="system|sql_export"}"><img src="{icon path="32/sql_export"}" alt="{lang values="system|sql_export"}" /></a>
<a href="{uri args="acp/system/sql_optimisation"}" title="{lang values="system|sql_optimisation"}"><img src="{icon path="32/sql_optimisation"}" alt="{lang values="system|sql_optimisation"}" /></a>
</div>
<hr />
<div class="error">
<h5 style="text-align:center">{lang values="system|select_menu_item"}</h5>
</div>
\ No newline at end of file
......@@ -6,7 +6,7 @@
<strong>{lang values="system|attention"}:</strong> {lang values="system|optimisation_access_forbidden"}
</div>
<div style="margin-top:20px;text-align:center">
<a href="{uri args="system/acp_sql_optimisation/action_do"}" class="form">{lang values="common|forward"}</a>
<a href="{uri args="acp/system/sql_optimisation/action_do"}" class="form">{lang values="common|forward"}</a>
</div>
{else}
<table style="width:66%">
......
<form action="{uri args="users/acp_list/action_delete"}" method="post" id="users">
<form action="{uri args="acp/users/adm_list/action_delete"}" method="post" id="users">
<div id="adm-list">
<a href="{uri args="users/acp_create"}" title="{lang values="users|acp_create"}"><img src="{icon path="32/create_user"}" alt="{lang values="users|acp_create"}" /></a>
<a href="{uri args="acp/users/create"}" title="{lang values="users|create"}"><img src="{icon path="32/create_user"}" alt="{lang values="users|create"}" /></a>
<a href="javascript:$('#users').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
<h2>{lang values="users|users_overview"}</h2>
</div>
......@@ -20,7 +20,7 @@
{foreach from=$users item=row}
<tr>
<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
<td><a href="{uri args="users/acp_edit/id_`$row.id`"}" title="{lang values="users|acp_edit"}">{$row.nickname}</a></td>
<td><a href="{uri args="acp/users/edit/id_`$row.id`"}" title="{lang values="users|edit"}">{$row.nickname}</a></td>
<td>{$row.mail}</td>
<td>{$row.access}</td>
</tr>
......
......@@ -9,7 +9,7 @@
<a href="#" id="nav_mods_link">{lang values="users|administration"}</a>
<ul id="nav_mods" class="hide">
{foreach from=$nav_mods item=row}
<li><a href="{uri args="`$row.dir`/acp_list"}">{$row.name}</a></li>
<li><a href="{uri args="acp/`$row.dir`"}">{$row.name}</a></li>
{/foreach}
</ul>
</li>
......@@ -18,12 +18,12 @@
<li>
<a href="#" id="nav_system_link">{lang values="system|system"}</a>
<ul id="nav_system" class="hide">
<li><a href="{uri args="system/acp_configuration"}">{lang values="system|acp_configuration"}</a></li>
<li><a href="{uri args="system/acp_software"}">{lang values="system|acp_software"}</a></li>
<li><a href="{uri args="system/acp_extensions"}">{lang values="system|acp_extensions"}</a></li>
<li><a href="{uri args="system/acp_maintenance"}">{lang values="system|acp_maintenance"}</a></li>
<li><a href="{uri args="acp/system/configuration"}">{lang values="system|configuration"}</a></li>
<li><a href="{uri args="acp/system/software"}">{lang values="system|software"}</a></li>
<li><a href="{uri args="acp/system/extensions"}">{lang values="system|extensions"}</a></li>
<li><a href="{uri args="acp/system/maintenance"}">{lang values="system|maintenance"}</a></li>
</ul>
</li>
{/if}
<li><a href="{uri args="users/signoff"}">{lang values="users|sign_off"}</a></li>
<li><a href="{uri args="acp/users/signoff"}">{lang values="users|sign_off"}</a></li>
</ul>
\ No newline at end of file
......@@ -65,8 +65,8 @@ class breadcrumb
{
global $modules, $tpl;
// Brotkrümelspur ausgeben
if ($mode == 1) {
// Brotkrümelspur für das Frontend
if (defined('IN_ACP3') && $mode == 1) {
// Zusätzlich zugewiesene Brotkrumen holen und Einträge zählen
$c_steps = count($this->steps);
if ($c_steps > 0) {
......@@ -76,19 +76,43 @@ class breadcrumb
} else {
if (!empty($this->end)) {
$tpl->assign('end', $this->end);
} elseif ($modules->page == 'list' || $modules->page == 'acp_list' || $modules->page == 'entry') {
} elseif ($modules->page == 'list' || $modules->page == 'entry') {
$tpl->assign('end', lang($modules->mod, $modules->mod));
} else {
$tpl->assign('end', lang($modules->mod, $modules->page));
}
}
return $tpl->fetch('common/breadcrumb.html');
// Brotkrümelspur für das Admin Panel
} elseif (defined('IN_ADM') && $mode == 1) {
// Ausgangsstufe der Brotkrümelspur
$breadcrumb[0]['uri'] = uri('acp');
$breadcrumb[0]['title'] = lang('common', 'acp');
// Zusätzlich zugewiesene Brotkrumen holen und Einträge zählen
$c_steps = count($this->steps);
if (($modules->page == 'adm_list' || $modules->page == 'entry') && $c_steps == 0) {
$tpl->assign('end', lang($modules->mod, $modules->mod));
} else {
if ($c_steps > 0) {
$breadcrumb = array_merge($breadcrumb, $this->steps);
$tpl->assign('end', $this->end);
// Falls keine zusätzlichen Brotkrumen angegeben sind, jeweiligen Seitennamen der Moduldatei ausgeben
} else {
$breadcrumb[1]['uri'] = uri('acp/' . $modules->mod);
$breadcrumb[1]['title'] = lang($modules->mod, $modules->mod);
$tpl->assign('end', lang($modules->mod, $modules->page));
}
}
$tpl->assign('breadcrumb', $breadcrumb);
return $tpl->fetch('common/breadcrumb.html');
// Nur Seitentitel ausgeben
} else {
if (!empty($this->end)) {
return $this->end;
} else {
return $modules->page != 'list' && $modules->page != 'acp_list' && $modules->page != 'entry' ? lang($modules->mod, $modules->page) : lang($modules->mod, $modules->mod);
return $modules->page != 'list' && $modules->page != 'adm_list' && $modules->page != 'entry' ? lang($modules->mod, $modules->page) : lang($modules->mod, $modules->mod);
}
}
}
......
......@@ -16,19 +16,12 @@
class modules
{
/**
* Definieren, ob man sich in der Administration befindet, oder nicht
*
* @var boolean
* @access public
*/
public $acp = false;
/**
* Die Aktion, welche z.B. in einem Formular ausgeführt werden soll
* Die ID eines Eintrages in der Datenbank
*
* @var string
* @var integer
* @access public
*/
public $action = '';
public $id = '0';
/**
* Die ID einer Kategorie in der Datenbank
*
......@@ -37,12 +30,12 @@ class modules
*/
public $cat = '0';
/**
* Die ID eines Eintrages in der Datenbank
* Die Aktion, welche z.B: in einem Formular ausgeführt werden soll
*
* @var integer
* @var string
* @access public
*/
public $id = '0';
public $action = '';
/**
* Die restlichen URI Parameter
*
......@@ -58,23 +51,30 @@ class modules
*/
function __construct()
{
$query = !empty($_GET['stm']) ? explode('/', $_GET['stm']) : 0;
if (isset($query[1]) && strpos($query[1], 'acp_') !== false) {
$this->acp = true;
//define('CUSTOM_LAYOUT', 'acp.html');
$default_page = 'acp_list';
if (!empty($_GET['stm']) && strpos($_GET['stm'], 'acp/') !== false) {
/**
* Definieren, dass man sich im Administrationsbereich befindet
*/
define('IN_ADM', true);
// "acp/" entfernen
$_GET['stm'] = substr($_GET['stm'], 4, strlen($_GET['stm']));
} else {
$default_page = 'list';
/**
* Definieren, dass man sich im Frontend befindet
*/
define('IN_ACP3', true);
}
$this->mod = !empty($query[0]) ? $query[0] : 'news';
$this->page = !empty