Commit fec3582f authored by fettesvieh's avatar fettesvieh

--no commit message

--no commit message
parent 160bfe13
<form action="{uri args="acp/access/adm_list/action_delete"}" method="post" id="access">
<form action="{uri args="access/acp_list/action_delete"}" method="post" id="access">
<div id="adm-list">
<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="{uri args="access/acp_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="acp/access/edit/id_`$row.id`"}" title="{lang values="access|edit"}">{$row.name}</a></td>
<td><a href="{uri args="access/acp_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="acp/categories/adm_list/action_delete"}" method="post" id="categories">
<form action="{uri args="categories/acp_list/action_delete"}" method="post" id="categories">
<div id="adm-list">
<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="{uri args="categories/acp_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="acp/categories/edit/id_`$row.id`"}" title="{lang values="categories|edit"}">{$row.name}</a></td>
<td><a href="{uri args="categories/acp_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="acp/comments/adm_list/action_delete_com_by_mod"}" method="post" id="comments">
<form action="{uri args="comments/acp_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="acp/comments/adm_list/module_`$row.module`"}" title="{lang values="comments|show_comments"}">{$row.name}</a></td>
<td><a href="{uri args="comments/acp_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="acp/comments/adm_list/action_delete_comments"}" method="post" id="comments">
<form action="{uri args="comments/acp_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="acp/comments/edit/id_`$row.id`"}" title="{lang values="comments|edit"}">{$row.name}</a></td>
<td><a href="{uri args="comments/acp_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="acp/contact/adm_list/action_edit"}" method="post" accept-charset="UTF-8">
<form action="{uri args="contact/acp_list/action_edit"}" method="post" accept-charset="UTF-8">
<fieldset>
<legend>{lang values="contact|imprint"}</legend>
<dl>
......
<form action="{uri args="acp/emoticons/adm_list/action_delete"}" method="post" id="emoticons">
<form action="{uri args="emoticons/acp_list/action_delete"}" method="post" id="emoticons">
<div id="adm-list">
<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="{uri args="emoticons/acp_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="acp/emoticons/edit/id_`$row.id`"}" title="{lang values="emoticons|edit"}">{$row.description}</a></td>
<td><a href="{uri args="emoticons/acp_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="acp/files/adm_list/action_delete"}" method="post" id="files">
<form action="{uri args="files/acp_list/action_delete"}" method="post" id="files">
<div id="adm-list">
<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="{uri args="files/acp_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="acp/files/edit/id_`$row.id`"}" title="{lang values="files|edit"}">{$row.link_title}</a></td>
<td><a href="{uri args="files/acp_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>
......
......@@ -19,9 +19,9 @@
<input type="submit" name="submit" value="{lang values="common|submit"}" class="form" />
</div>
</form>
<form action="{uri args="acp/gallery/edit_gallery/id_$gallery_id/action_delete_picture"}" method="post" id="gallery">
<form action="{uri args="gallery/acp_edit_gallery/id_$gallery_id/action_delete_picture"}" method="post" id="gallery">
<div id="adm-list">
<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="{uri args="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="acp/gallery/edit_picture/id_`$row.id`"}" title="{lang values="gallery|edit_picture"}">{$row.pic}</a></td>
<td><a href="{uri args="gallery/acp_edit_picture/id_`$row.id`"}" title="{lang values="gallery|edit_picture"}">{$row.pic}</a></td>
<td>{$row.file}</td>
<td>{$row.description}</td>
</tr>
......
<form action="{uri args="acp/gallery/adm_list/action_delete_gallery"}" method="post" id="gallery">
<form action="{uri args="gallery/acp_list/action_delete_gallery"}" method="post" id="gallery">
<div id="adm-list">
<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="{uri args="gallery/acp_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="acp/gallery/edit_gallery/id_`$row.id`"}" title="{lang values="gallery|edit_gallery"}">{$row.name}</a></td>
<td><a href="{uri args="gallery/acp_edit_gallery/id_`$row.id`"}" title="{lang values="gallery|edit_gallery"}">{$row.name}</a></td>
<td>{$row.pictures}</td>
</tr>
{/foreach}
......
{if $guestbook}
<form action="{uri args="acp/guestbook/adm_list/action_delete"}" method="post" id="guestbook">
<form action="{uri args="guestbook/acp_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="acp/guestbook/edit/id_`$row.id`"}" title="{lang values="guestbook|edit"}">{$row.name}</a></td>
<td><a href="{uri args="guestbook/acp_edit/id_`$row.id`"}" title="{lang values="guestbook|edit"}">{$row.name}</a></td>
<td>{$row.message}</td>
</tr>
{/foreach}
......
<form action="{uri args="acp/news/adm_list/action_delete"}" method="post" id="news">
<form action="{uri args="news/acp_list/action_delete"}" method="post" id="news">
<div id="adm-list">
<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="{uri args="news/acp_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="acp/news/edit/id_`$row.id`"}" title="{lang values="news|edit"}">{$row.headline}</a></td>
<td><a href="{uri args="news/acp_edit/id_`$row.id`"}" title="{lang values="news|edit"}">{$row.headline}</a></td>
<td>{$row.cat}</td>
</tr>
{/foreach}
......
<form action="{uri args="acp/newsletter/adm_list/action_delete"}" method="post" id="newsletter">
<form action="{uri args="newsletter/acp_list/action_delete"}" method="post" id="newsletter">
<div id="adm-list">
<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="{uri args="newsletter/compose"}" title="{lang values="newsletter|compose"}"><img src="{icon path="32/nl_compose"}" alt="{lang values="newsletter|compose"}" /></a>
<a href="{uri args="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="acp/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="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="acp/pages/adm_list/action_delete"}" method="post" id="pages">
<form action="{uri args="pages/acp_list/action_delete"}" method="post" id="pages">
<div id="adm-list">
<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="{uri args="pages/acp_create"}" title="{lang values="pages|create"}"><img src="{icon path="32/create_page"}" alt="{lang values="pages|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="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="acp/pages/edit/id_`$row.id`"}" title="{lang values="pages|edit"}">{$row.title}</a></td>
<td><a href="{uri args="pages/acp_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="acp/pages/adm_list_blocks/action_delete_blocks"}" method="post" id="blocks">
<form action="{uri args="pages/acp_list_blocks/action_delete_blocks"}" method="post" id="blocks">
<div id="adm-list">
<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="{uri args="pages/acp_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="acp/pages/edit_block/id_`$row.id`"}" title="{lang values="pages|edit_block"}">{$row.title}</a></td>
<td><a href="{uri args="pages/acp_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="acp/polls/adm_list/action_delete"}" method="post" id="polls">
<form action="{uri args="polls/acp_list/action_delete"}" method="post" id="polls">
<div id="adm-list">
<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="{uri args="polls/acp_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="acp/polls/edit/id_`$row.id`"}" title="{lang values="polls|edit"}">{$row.question}</a></td>
<td><a href="{uri args="polls/acp_edit/id_`$row.id`"}" title="{lang values="polls|edit"}">{$row.question}</a></td>
</tr>
{/foreach}
</tbody>
......
<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>
<a href="{uri args="system/modules"}" title="{lang values="system|mod_list"}"><img src="{icon path="32/blocks_modules"}" alt="{lang values="system|mod_list"}" /></a>
<a href="{uri args="system/languages"}" title="{lang values="system|languages"}"><img src="{icon path="32/languages"}" alt="{lang values="system|languages"}" /></a>
<a href="{uri args="system/designs"}" title="{lang values="system|designs"}"><img src="{icon path="32/designs"}" alt="{lang values="system|designs"}" /></a>
</div>
<hr />
<div class="error">
......
<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>
<a href="{uri args="system/maintenance"}" title="{lang values="system|maintenance"}"><img src="{icon path="32/maintenance"}" alt="{lang values="system|maintenance"}" /></a>
<a href="{uri args="system/extensions"}" title="{lang values="system|extensions"}"><img src="{icon path="32/extensions"}" alt="{lang values="system|extensions"}" /></a>
<a href="{uri args="system/software"}" title="{lang values="system|software"}"><img src="{icon path="32/software"}" alt="{lang values="system|software"}" /></a>
<a href="{uri args="system/configuration"}" title="{lang values="system|configuration"}"><img src="{icon path="32/settings"}" alt="{lang values="system|configuration"}" /></a>
</div>
<hr />
<div class="error">
......
<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>
<a href="{uri args="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="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="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">
......
......@@ -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="acp/system/sql_optimisation/action_do"}" class="form">{lang values="common|forward"}</a>
<a href="{uri args="system/sql_optimisation/action_do"}" class="form">{lang values="common|forward"}</a>
</div>
{else}
<table style="width:66%">
......
<form action="{uri args="acp/users/adm_list/action_delete"}" method="post" id="users">
<form action="{uri args="users/acp_list/action_delete"}" method="post" id="users">
<div id="adm-list">
<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="{uri args="users/acp_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="acp/users/edit/id_`$row.id`"}" title="{lang values="users|edit"}">{$row.nickname}</a></td>
<td><a href="{uri args="users/acp_edit/id_`$row.id`"}" title="{lang values="users|edit"}">{$row.nickname}</a></td>
<td>{$row.mail}</td>
<td>{$row.access}</td>
</tr>
......
<div id="adm-list">
<a href="{uri args="users/edit_profile"}" title="{lang values="users|edit_profile}"><img src="{icon path="32/edit_profile"}" alt="{lang values="users|edit_profile}" /></a>
<a href="{uri args="users/edit_settings"}" title="{lang values="users|edit_settings}"><img src="{icon path="32/settings"}" alt="{lang values="users|edit_settings}" /></a>
<a href="{uri args="users/acp_edit_profile"}" title="{lang values="users|edit_profile}"><img src="{icon path="32/edit_profile"}" alt="{lang values="users|edit_profile}" /></a>
<a href="{uri args="users/acp_edit_settings"}" title="{lang values="users|edit_settings}"><img src="{icon path="32/settings"}" alt="{lang values="users|edit_settings}" /></a>
</div>
<br />
<form action="{$request_uri}" method="post" accept-charset="UTF-8">
......
......@@ -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="acp/`$row.dir`"}">{$row.name}</a></li>
<li><a href="{uri args="`$row.dir`/acp_list"}">{$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="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>
<li><a href="{uri args="system/acp_configuration"}">{lang values="system|configuration"}</a></li>
<li><a href="{uri args="system/acp_software"}">{lang values="system|software"}</a></li>
<li><a href="{uri args="system/acp_extensions"}">{lang values="system|extensions"}</a></li>
<li><a href="{uri args="system/acp_maintenance"}">{lang values="system|maintenance"}</a></li>
</ul>
</li>
{/if}
<li><a href="{uri args="acp/users/signoff"}">{lang values="users|sign_off"}</a></li>
<li><a href="{uri args="users/signoff"}">{lang values="users|sign_off"}</a></li>
</ul>
\ No newline at end of file
......@@ -66,7 +66,7 @@ class breadcrumb
global $modules, $tpl;
// Brotkrümelspur für das Frontend
if (defined('IN_ACP3') && $mode == 1) {
if (defined('IN_FRONTEND') && $mode == 1) {
// Zusätzlich zugewiesene Brotkrumen holen und Einträge zählen
$c_steps = count($this->steps);
if ($c_steps > 0) {
......@@ -84,7 +84,7 @@ class breadcrumb
}
return $tpl->fetch('common/breadcrumb.html');
// Brotkrümelspur für das Admin Panel
} elseif (defined('IN_ADM') && $mode == 1) {
} elseif (defined('IN_ACP') && $mode == 1) {
// Ausgangsstufe der Brotkrümelspur
$breadcrumb[0]['uri'] = uri('acp');
$breadcrumb[0]['title'] = lang('common', 'acp');
......@@ -92,7 +92,7 @@ class breadcrumb
// 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) {
if (($modules->page == 'acp_list' || $modules->page == 'entry') && $c_steps == 0) {
$tpl->assign('end', lang($modules->mod, $modules->mod));
} else {
if ($c_steps > 0) {
......@@ -100,7 +100,7 @@ class breadcrumb
$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]['uri'] = uri($modules->mod . '/acp_list');
$breadcrumb[1]['title'] = lang($modules->mod, $modules->mod);
$tpl->assign('end', lang($modules->mod, $modules->page));
}
......@@ -112,7 +112,7 @@ class breadcrumb
if (!empty($this->end)) {
return $this->end;
} else {
return $modules->page != 'list' && $modules->page != 'adm_list' && $modules->page != 'entry' ? lang($modules->mod, $modules->page) : lang($modules->mod, $modules->mod);
return $modules->page != 'list' && $modules->page != 'acp_list' && $modules->page != 'entry' ? lang($modules->mod, $modules->page) : lang($modules->mod, $modules->mod);
}
}
}
......
......@@ -51,30 +51,22 @@ class modules
*/
function __construct()
{
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']));
$query = !empty($_GET['stm']) ? explode('/', $_GET['stm']) : 0;
if (isset($query[1]) && strpos($query[1], 'acp_') !== false) {
define('IN_ACP', true);
} else {
/**
* Definieren, dass man sich im Frontend befindet
*/
define('IN_ACP3', true);
define('IN_FRONTEND', true);
}
$stm = !empty($_GET['stm']) ? explode('/', $_GET['stm']) : 0;
$def_page = defined('IN_ADM') ? 'adm_list' : 'list';
$def_page = defined('IN_ACP') ? 'acp_list' : 'list';
$this->mod = !empty($stm[0]) ? $stm[0] : 'news';
$this->page = !empty($stm[1]) ? $stm[1] : $def_page;
$this->mod = !empty($query[0]) ? $query[0] : 'news';
$this->page = !empty($query[1]) ? $query[1] : $def_page;
$this->cat = !empty($_POST['cat']) ? $_POST['cat'] : '0';
$this->action = !empty($_POST['action']) ? $_POST['action'] : $this->page;
if (!empty($stm[2])) {
$c_stm = count($stm);
if (!empty($query[2])) {
$c_stm = count($query);
// Regex
$pos_regex = '/^(pos_(\d+))$/';
......@@ -84,18 +76,18 @@ class modules
$gen_regex = '/^(([a-z0-9-]+)_(.+))$/';
for ($i = 2; $i < $c_stm; $i++) {
if (!empty($stm[$i])) {
if (!defined('POS') && preg_match($pos_regex, $stm[$i])) {
define('POS', substr($stm[$i], 4));
} elseif (preg_match($id_regex, $stm[$i])) {
$this->id = substr($stm[$i], 3);
} elseif (preg_match($cat_regex, $stm[$i])) {
$this->cat = substr($stm[$i], 4);
} elseif (preg_match($action_regex, $stm[$i])) {
$this->action = substr($stm[$i], 7);
} elseif (preg_match($gen_regex, $stm[$i])) {
$pos = strpos($stm[$i], '_');
$this->gen[substr($stm[$i], 0, $pos)] = substr($stm[$i], $pos + 1, strlen($stm[$i]));
if (!empty($query[$i])) {
if (!defined('POS') && preg_match($pos_regex, $query[$i])) {
define('POS', substr($query[$i], 4));
} elseif (preg_match($id_regex, $query[$i])) {
$this->id = substr($query[$i], 3);
} elseif (preg_match($cat_regex, $query[$i])) {
$this->cat = substr($query[$i], 4);
} elseif (preg_match($action_regex, $query[$i])) {
$this->action = substr($query[$i], 7);
} elseif (preg_match($gen_regex, $query[$i])) {
$pos = strpos($query[$i], '_');
$this->gen[substr($query[$i], 0, $pos)] = substr($query[$i], $pos + 1, strlen($query[$i]));
}
}
}
......
......@@ -44,7 +44,7 @@ if (is_writable('cache/') && !is_dir($path)) {
chmod($path, 0777);
}
$tpl->compile_dir = $path;
$tpl->compile_check = false;
$tpl->compile_check = true;
// Einige Konstanten definieren
define('PHP_SELF', htmlentities($_SERVER['PHP_SELF']));
......
......@@ -253,7 +253,6 @@ function pagination($rows)
if ($rows > CONFIG_ENTRIES) {
// Alle angegeben URL Parameter mit in die URL einbeziehen
$acp = defined('IN_ADM') ? 'acp/' : '';
$id = !empty($modules->id) ? '/id_' . $modules->id : '';
$cat = !empty($modules->cat) ? '/cat_' . $modules->cat : '';
$gen = '';
......@@ -265,7 +264,7 @@ function pagination($rows)
}
}
$tpl->assign('uri', uri($acp . $modules->mod . '/' . $modules->page . $id . $cat . $gen));
$tpl->assign('uri', uri($modules->mod . '/' . $modules->page . $id . $cat . $gen));
// Seitenauswahl
$c_pages = ceil($rows / CONFIG_ENTRIES);
......
......@@ -16,15 +16,15 @@ $tpl->assign('page_title', CONFIG_TITLE);
$tpl->assign('keywords', CONFIG_META_KEYWORDS);
$tpl->assign('description', CONFIG_META_DESCRIPTION);
if (CONFIG_MAINTENANCE == '1' && defined('IN_ACP3')) {
if (CONFIG_MAINTENANCE == '1' && defined('IN_FRONTEND')) {
$tpl->assign('maintenance_msg', CONFIG_MAINTENANCE_MSG);
$tpl->display('offline.html');
} else {
$auth = new auth;
if (!$auth->is_user() && defined('IN_ADM') && $modules->mod != 'users' && $modules->page != 'login') {
if (!$auth->is_user() && defined('IN_ACP') && $modules->mod != 'users' && $modules->page != 'login') {
redirect('users/login');
} elseif ($auth->is_user() && defined('IN_ADM') && empty($_GET['stm'])) {
} elseif ($auth->is_user() && defined('IN_ACP') && empty($_GET['stm'])) {
redirect(0, ROOT_DIR);
}
......
......@@ -7,7 +7,7 @@
* @subpackage Modules
*/
define('pages_adm_list_blocks', 'Blöcke');
define('pages_acp_list_blocks', 'Blöcke');
define('pages_block_title', 'Name des Blocks');
define('pages_block_title_to_short', 'Der Name des Blocks sollte mindestens 3 Zeichen lang sein');
define('pages_blocks', 'Block');
......
......@@ -7,7 +7,7 @@
* @subpackage Modules
*/
define('pages_adm_list_blocks', 'Blocks');
define('pages_acp_list_blocks', 'Blocks');
define('pages_block_title', 'Name of the block');
define('pages_block_title_to_short', 'The name of the block should be at least 3 characters long');
define('pages_blocks', 'Block');
......
......@@ -7,7 +7,7 @@
* @subpackage Modules
*/
if (!defined('IN_ADM'))
if (!defined('IN_ACP'))
exit;
if (isset($_POST['submit'])) {
......@@ -37,6 +37,6 @@ if (!isset($_POST['submit']) || isset($errors) && is_array($errors)) {
}
$tpl->assign('mod_list', $mod_list);
$content = $tpl->fetch('access/create.html');
$content = $tpl->fetch('access/acp_create.html');
}
?>
\ No newline at end of file
......@@ -7,7 +7,7 @@
* @subpackage Modules
*/
if (!defined('IN_ADM'))
if (!defined('IN_ACP'))
exit;
if (!empty($modules->id) && $db->select('id', 'access', 'id = \'' . $modules->id . '\'', 0, 0, 0, 1) == '1') {
......@@ -50,7 +50,7 @@ if (!empty($modules->id) && $db->select('id', 'access', 'id = \'' . $modules->id
}
$tpl->assign('mod_list', $mod_list);
$content = $tpl->fetch('access/edit.html');
$content = $tpl->fetch('access/acp_edit.html');
}
} else {
redirect('errors/404');
......
......@@ -7,7 +7,7 @@
* @subpackage Modules
*/
if (!defined('IN_ADM'))
if (!defined('IN_ACP'))
exit;
if (isset($_POST['entries']) || isset($modules->gen['entries'])) {
......@@ -39,6 +39,6 @@ if (isset($_POST['entries']) || isset($modules->gen['entries'])) {
}
$tpl->assign('access', $access);
}
$content = $tpl->fetch('access/adm_list.html');
$content = $tpl->fetch('access/acp_list.html');
}
?>
\ No newline at end of file