Commit 6912d7bd authored by fettesvieh's avatar fettesvieh

- hopefully this will fix all E_NOTICEs, when error_reporting in Smarty in enabled

- fixed some little bugs
- moved some files around
parent 24e9cfca
......@@ -5,7 +5,7 @@
<h2>{lang values="access|access_overview"}</h2>
</div>
<hr />
{if $access}
{if isset($access)}
{$pagination}
<table>
<thead>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset>
<dl>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset>
<dl>
......
<form action="{uri args="acp/categories/delete"}" method="post">
<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="acp/categories/create"}" title="{lang values="categories|create"}"><img src="{icon path="32/folder_new"}" alt="{lang values="categories|create"}" /></a>
<a href="{uri args="acp/categories/settings"}" title="{lang values="categories|settings"}"><img src="{icon path="32/advancedsettings"}" alt="{lang values="categories|settings"}" /></a>
<input type="image" src="{icon path="32/cancel"}" alt="{lang values="common|delete_marked"}" title="{lang values="common|delete_marked"}" />
<h2>{lang values="categories|categories_overview"}</h2>
</div>
<hr />
{if $categories}
{if isset($categories)}
{$pagination}
<table>
<thead>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<fieldset>
<dl>
......@@ -7,7 +9,7 @@
<dt><label for="description">{lang values="common|description"}</label></dt>
<dd><input type="text" name="form[description]" id="description" value="{$form.description}" maxlength="120" /></dd>
<dt><label for="picture">{lang values="categories|picture"}</label></dt>
<dd><input type="file" id="picture" name="picture" value="{$form.picture}" /></dd>
<dd><input type="file" id="picture" name="picture" value="" /></dd>
<dt><label for="module">{lang values="categories|module"}</label></dt>
<dd>
<select name="form[module]" id="module">
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<fieldset>
<dl>
......@@ -7,7 +9,7 @@
<dt><label for="description">{lang values="common|description"}</label></dt>
<dd><input type="text" name="form[description]" id="description" value="{$form.description}" maxlength="120" /></dd>
<dt><label for="picture">{lang values="categories|picture"}</label></dt>
<dd><input type="file" id="picture" name="picture" value="{$form.picture}" /></dd>
<dd><input type="file" id="picture" name="picture" value="" /></dd>
</dl>
</fieldset>
<div class="form-bottom">
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post">
<fieldset>
<dl>
......
{if $comments && $module == '0'}
{if isset($comments) && $module == '0'}
<form action="{uri args="acp/comments/delete_comments_per_module"}" method="post">
<div id="adm-list">
<input type="image" src="{icon path="32/cancel"}" alt="{lang values="common|delete_marked"}" title="{lang values="common|delete_marked"}" />
......@@ -26,7 +26,7 @@
</table>
{mark name="entries"}
</form>
{elseif $comments && $module != '0'}
{elseif isset($comments) && $module != '0'}
<form action="{uri args="acp/comments/delete_comments"}" method="post">
<div id="adm-list">
<input type="image" src="{icon path="32/cancel"}" alt="{lang values="common|delete_marked"}" title="{lang values="common|delete_marked"}" />
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset>
<dl>
......
<h1 id="comments">{lang values="comments|comments"}</h1>
{if $comments}
{if isset($comments)}
{$pagination}
{foreach from=$comments item=row}
<div class="gb">
......@@ -12,7 +12,7 @@
</div>
</div>
<div class="left">
<strong>{lang values="common|name"}:</strong> {if $row.user_id}<a href="{uri args="users/view_profile/id_`$row.user_id`"}" title="{lang values="users|view_profile"}">{$row.name}</a>{else}{$row.name}{/if}<br />
<strong>{lang values="common|name"}:</strong> {if !empty($row.user_id)}<a href="{uri args="users/view_profile/id_`$row.user_id`"}" title="{lang values="users|view_profile"}">{$row.name}</a>{else}{$row.name}{/if}<br />
<strong>{lang values="common|date"}:</strong> {$row.date}
</div>
<div class="content">
......@@ -29,7 +29,9 @@
</div>
{/if}
<hr />
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}#comments" method="post" accept-charset="UTF-8">
<fieldset class="no-border">
<dl>
......
<a href="{$ROOT_DIR}">{$PAGE_TITLE}</a> &raquo; {if $breadcrumb}{foreach from=$breadcrumb item=row}<a href="{$row.uri}">{$row.title}</a> &raquo; {/foreach}{/if}<span>{$end}</span>
\ No newline at end of file
<a href="{$ROOT_DIR}">{$PAGE_TITLE}</a> &raquo; {if isset($breadcrumb)}{foreach from=$breadcrumb item=row}<a href="{$row.uri}">{$row.title}</a> &raquo; {/foreach}{/if}<span>{$end}</span>
\ No newline at end of file
<div class="success">
<div class="successhead">{$text}</div>
<div class="forward">
{if $back}
{if isset($back)}
<a href="{$forward}confirmed_1/" class="form">{lang values="common|yes"}</a>
<a href="{$back}" class="form">{lang values="common|no"}</a>
{else}
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{uri args="acp/contact/adm_list"}" method="post" accept-charset="UTF-8">
<fieldset>
<legend>{lang values="contact|imprint"}</legend>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset class="no-border">
<dl>
<dt><label for="name">{lang values="common|name"}</label></dt>
<dd><input type="text" name="form[name]" id="name" maxlength="20" value="{$form.name}" /></dd>
<dd><input type="text" name="form[name]" id="name" maxlength="20" value="{$form.name}"{$form.name_disabled} /></dd>
<dt><label for="mail">{lang values="common|email"}</label></dt>
<dd><input type="text" name="form[mail]" id="mail" maxlength="120" value="{$form.mail}"{$form.mail_disabled} /></dd>
<dt><label for="message">{lang values="common|message"}</label></dt>
......
......@@ -6,7 +6,7 @@
<h2>{lang values="emoticons|emoticons_overview"}</h2>
</div>
<hr />
{if $emoticons}
{if isset($emoticons)}
{$pagination}
<table>
<thead>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<fieldset style="width:30%">
<dl>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<fieldset style="width:30%">
<dl>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post">
<fieldset>
<dl>
......
......@@ -7,7 +7,7 @@
<link>{$feed.link}</link>
<description>{$feed.description}</description>
<language>{$LANG}</language>
{if $results}
{if isset($results)}
{foreach from=$results item=row}
<item>
<pubDate>{$row.date}</pubDate>
......
......@@ -5,7 +5,7 @@
<h2>{lang values="files|files_overview"}</h2>
</div>
<hr />
{if $files}
{if isset($files)}
{$pagination}
<table>
<thead>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<script type="text/javascript" src="{$DESIGN_PATH}files/script.js"></script>
<form action="{$REQUEST_URI}" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<fieldset>
......@@ -25,7 +27,7 @@
{lang values="files|external_resource"}
</label>
<input type="file" name="file_internal" id="file-internal" value="{$form.file_internal}" />
<input type="text" name="form[file_external]" id="file-external" value="{$form.file_external}" maxlength="120" />
<input type="text" name="form[file_external]" id="file-external" value="" maxlength="120" />
</dd>
</dl>
<dl id="external-filesize" class="hide">
......
{if isset($error_msg)}
{$error_msg}
{/if}
<script type="text/javascript" src="{$DESIGN_PATH}files/script.js"></script>
<form action="{$REQUEST_URI}" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<fieldset>
......@@ -27,7 +29,7 @@
{lang values="files|external_resource"}
</label>
<input type="file" name="file_internal" id="file-internal" value="{$form.file_internal}" />
<input type="text" name="form[file_external]" id="file-external" value="{$form.file_external}" maxlength="120" />
<input type="text" name="form[file_external]" id="file-external" value="" maxlength="120" />
</dd>
</dl>
<dl id="external-filesize" class="hide">
......
{if $files}
{if isset($files)}
{foreach from=$files item=file}
<div class="files">
<div class="date">
......
{if $categories}
{if isset($categories)}
<table>
<thead>
<tr>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<fieldset>
<legend>{lang values="gallery|picture_information"}</legend>
......
......@@ -6,7 +6,7 @@
<h2>{lang values="gallery|galleries_overview"}</h2>
</div>
<hr />
{if $galleries}
{if isset($galleries)}
{$pagination}
<table>
<thead>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset style="width:50%">
<dl>
......
{if $picture}
{if isset($picture)}
<div class="picture">
<img src="{uri args="gallery/image/id_`$picture.id`/action_thumb"}" alt="" />
<div class="picture-description">
{$picture.description}
</div>
<div class="pictures-prev-next">
{if $picture_back}
{if isset($picture_back)}
<a href="{uri args="gallery/details/id_`$picture_back.id`"}" class="picture-prev"><img src="{uri args="gallery/image/id_`$picture_back.id`/action_mini"}" alt="" /></a>
{/if}
{if $picture_next}
{if isset($picture_next)}
<a href="{uri args="gallery/details/id_`$picture_next.id`"}" class="picture-next"><img src="{uri args="gallery/image/id_`$picture_next.id`/action_mini"}" alt="" /></a>
{/if}
<div class="picture-index">
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset style="width:50%">
<dl>
......@@ -26,7 +28,7 @@
<h2>{lang values="gallery|pictures"}</h2>
</div>
<hr />
{if $pictures}
{if isset($pictures)}
{$pagination}
<table>
<thead>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<fieldset>
<legend>{lang values="gallery|picture_information"}</legend>
......
{if $galleries}
{if isset($galleries)}
{$pagination}
{foreach from=$galleries item=row}
<div class="galleries">
......
{if $gallery}
{if isset($gallery)}
<p style="text-align:center">
{foreach from=$gallery item=row}
<a href="{uri args="gallery/details/id_`$row.id`"}"><img src="{uri args="gallery/image/id_`$row.id`/action_mini"}" alt="" /></a>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post">
<fieldset>
<dl>
......
{if $guestbook}
{if isset($guestbook)}
<form action="{uri args="acp/guestbook/delete"}" method="post">
<div id="adm-list">
<input type="image" src="{icon path="32/cancel"}" alt="{lang values="common|delete_marked"}" title="{lang values="common|delete_marked"}" />
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset class="no-border">
<dl>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset>
<dl>
......
......@@ -2,7 +2,7 @@
<a href="{uri args="guestbook/create"}">{lang values="guestbook|create"}</a>
</div>
<hr />
{if $guestbook}
{if isset($guestbook)}
{$pagination}
{foreach from=$guestbook item=row}
<div class="gb">
......@@ -15,9 +15,9 @@
</div>
</div>
<div class="left">
<strong>{lang values="common|name"}:</strong> {if $row.user_id}<a href="{uri args="users/view_profile/id_`$row.user_id`"}" title="{lang values="users|view_profile"}">{$row.name}</a>{else}{$row.name}{/if}<br />
<strong>{lang values="common|name"}:</strong> {if !empty($row.user_id)}<a href="{uri args="users/view_profile/id_`$row.user_id`"}" title="{lang values="users|view_profile"}">{$row.name}</a>{else}{$row.name}{/if}<br />
<strong>{lang values="common|date"}:</strong> {$row.date}<br />
{if $row.hp != ''}
{if $row.website != ''}
<a href="{$row.website}" onclick="window.open(this.href); return false" title="{lang values="guestbook|visit_website"}"><img src="{icon path="16/gohome"}" alt="{$row.website}" /></a>
{/if}
{if $row.mail != ''}
......
......@@ -5,7 +5,7 @@
<h2>{lang values="news|news_overview"}</h2>
</div>
<hr />
{if $news}
{if isset($news)}
{$pagination}
<table>
<thead>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8" id="tabs">
<fieldset>
<legend>{lang values="common|publication_period"}</legend>
......
......@@ -5,7 +5,7 @@
</div>
<div class="content">
{$news.text}
{if $news.uri!='' && $news.link_title!=''}
{if $news.uri != '' && $news.link_title != ''}
<div class="hyperlink">
<strong>{lang values="news|additional_hyperlink"}:</strong> <a href="{$news.uri}"{$news.target}>{$news.link_title}</a>
</div>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8" id="tabs">
<fieldset>
<legend>{lang values="common|publication_period"}</legend>
......
{if $MOD_newsletter}
{if $MODULES->check('newsletter', 'create')}
<div style="text-align:center">
<a href="{uri args="newsletter/create"}">{lang values="newsletter|create"}</a>
</div>
......@@ -7,8 +7,8 @@
{if $categories}
<div class="news">
<div class="headline">
{if $MOD_feeds}
<a href="{uri args="feeds/list/feed_news"}" title="{lang values="news|read_newsfeed"}" style="float:left"><img src="{$ROOT_DIR}images/feed.png" alt="" /></a>
{if $MODULES->check('feeds', 'list')}
<a href="{uri args="feeds/list/feed_news"}" title="{lang values="news|read_newsfeed"}" style="float:left"><img src="{$DESIGN_PATH}images/feed.png" alt="" /></a>
{/if}
<form action="{uri args="news/list"}" method="post" style="text-align:right">
<div>
......
......@@ -7,7 +7,7 @@
<h2>{lang values="newsletter|newsletter_accounts"}</h2>
</div>
<hr />
{if $accounts}
{if isset($accounts)}
{$pagination}
<table>
<thead>
......
......@@ -4,7 +4,7 @@
<h2>{lang values="newsletter|newsletter_archive"}</h2>
</div>
<hr />
{if $newsletter}
{if isset($newsletter)}
{$pagination}
<table>
<thead>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset>
<legend>{lang values="newsletter|newsletter"}</legend>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset class="no-border">
<dl>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset>
<legend>{lang values="newsletter|settings"}</legend>
......
......@@ -6,7 +6,7 @@
<h2>{lang values="pages|pages_overview"}</h2>
</div>
<hr />
{if $pages}
{if isset($pages)}
{$pagination}
<table>
<thead>
......
......@@ -5,7 +5,7 @@
<h2>{lang values="pages|blocks_overview"}</h2>
</div>
<hr />
{if $blocks}
{if isset($blocks)}
{$pagination}
<table>
<thead>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<script type="text/javascript" src="{$DESIGN_PATH}pages/script.js"></script>
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset style="width:70%">
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset>
<dl>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<script type="text/javascript" src="{$DESIGN_PATH}pages/script.js"></script>
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset style="width:70%">
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset>
<dl>
......
......@@ -5,7 +5,7 @@
<h2>{lang values="polls|polls_overview"}</h2>
</div>
<hr />
{if $polls}
{if isset($polls)}
{$pagination}
<table>
<thead>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset>
<legend>{lang values="common|publication_period"}</legend>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset>
<legend>{lang values="common|publication_period"}</legend>
<dl>
<dt><label for="start_day">{lang values="common|start_date"}</label></dt>
<dt><label for="start">{lang values="common|start_date"}</label></dt>
<dd>{$start_date}</dd>
<dt><label for="end_day">{lang values="common|end_date"}</label></dt>
<dt><label for="end">{lang values="common|end_date"}</label></dt>
<dd>{$end_date}</dd>
</dl>
<p>
......
{if $polls}
{if isset($polls)}
<table>
<thead>
<tr>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{uri args="search/list"}" method="post" accept-charset="UTF-8">
<fieldset class="no-border">
<dl>
......
{if $results_mods}
{if isset($results_mods)}
{foreach from=$results_mods item=result_mod}
<h4>{$result_mod.title}</h4>
<ol>
......
......@@ -237,7 +237,7 @@ a.form {
height: 30px;
margin: 0;
padding-left: 10px;
background: url('images/head.png') repeat-x;
background: url('images/header.png') repeat-x;
border-bottom: 1px solid #333;
font: bold 1.3em Verdana, Arial, sans-serif;
list-style: none;
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8" id="tabs">
<fieldset>
<legend>{lang values="system|general"}</legend>
......
{if $export}
{if isset($export)}
<pre>
{$export}
</pre>
{else}
{if isset($error_msg)}
{$error_msg}
{/if}
<script type="text/javascript" src="{$DESIGN_PATH}system/script.js"></script>
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8" id="tabs">
<fieldset>
......
{if !$tables}
{if !isset($tables)}
<div class="error" style="padding-top:0">
<p>
{lang values="system|sql_table_optimisation_description"}
......
<div class="error">
{if $update}
{if isset($update)}
<h4>{$update_text}</h4>
<ul style="margin-bottom:0">
<li><strong>{lang values="system|installed_version"}:</strong> {$update.2}</li>
......
......@@ -5,7 +5,7 @@
<h2>{lang values="users|users_overview"}</h2>
</div>
<hr />
{if $users}
{if isset($users)}
{$pagination}
<table>
<thead>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset>
<legend>{lang values="users|nickname"}, {lang values="common|email"} &amp; {lang values="access|access"}</legend>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset>
<legend>{lang values="users|nickname"}, {lang values="common|email"} &amp; {lang values="access|access"}</legend>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset>
<legend>{lang values="common|general_statements"}</legend>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset>
<dl>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">
<fieldset class="no-border">
<p>
......
<p>
{$LANG_users_found}
</p>
{if $users}
{if isset($users)}
{$pagination}
<table>
<thead>
......
{if isset($error_msg)}
{$error_msg}
{/if}
<form action="{$REQUEST_URI}" method="post" accept-charset="UTF-8">