A lot CSS classes rewritten, please update all your themes.
[mailer.git] / templates / de / html / member / member_surfbar_edit_action_form.tpl
index 9c53c92d7947b2bf670c3aac1dddf9cd997e1fa8..37382bef1cfbba4fe4f091f33cef508a10f92d98 100644 (file)
@@ -1,11 +1,12 @@
-<form id="edit" action="{!URL!}/modules.php?module=login&amp;what=surfbar_list" method="post" onsubmit="return SubmitForm()" onreset="return ResetForm()">
-<div class="member_table dashed" style="width:600px;margin-top:10px">
-       <div class="member_title2 bottom2" style="padding-top:5px;padding-bottom:5px">
+<div align="center">
+<form accept-charset="utf-8" id="edit" action="{%url=modules.php?module=login&amp;what=surfbar_list%}" method="post" onsubmit="return SubmitForm()" onreset="return ResetForm()">
+<div class="table dashed" style="width:600px;margin-top:10px">
+       <div class="table_header bottom" style="padding-top:5px;padding-bottom:5px">
                <strong>URL in Surfbar editieren:</strong>
        </div>
 
-       <div class="member_input bottom2" style="padding-top:5px;padding-bottom:5px">
-               URL eingeben: <input class="member_normal" type="text" name="url" size="20" maxlength="255" value="$content[url]" />
+       <div class="member_input bottom" style="padding-top:5px;padding-bottom:5px">
+               URL eingeben: <input type="text" class="form_field" name="url" size="20" maxlength="255" value="$content[url]" />
        </div>
 
        <div class="member_input" style="padding-top:5px;padding-bottom:5px">
                <input type="radio" id="limited_yes" onfocus="return FocusLimitedYes()" name="limited" value="Y"$content[limited_yes] /> {--YES--}
        </div>
 
-       <div class="member_input bottom2" style="padding-top:5px;padding-bottom:5px">
-               Aufrufe begrenzen auf: <input class="member_normal" type="text" id="limit" name="limit" size="7" maxlength="20" value="$content[views_max]" />
+       <div class="member_input bottom" style="padding-top:5px;padding-bottom:5px">
+               Aufrufe begrenzen auf: <input type="text" class="form_field" id="limit" name="limit" size="7" maxlength="20" value="$content[views_max]" />
        </div>
 
-       <div class="member_title2 top2" style="padding-top:5px;padding-bottom:5px">
-               <input type="reset" class="member_reset" value="{--CLEAR_FORM--}" />
-               <input type="hidden" name="id" value="$content[id]" />
+       <div class="table_header top" style="padding-top:5px;padding-bottom:5px">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="hidden" name="url_id" value="$content[url_id]" />
                <input type="hidden" name="action" value="edit" />
                <input type="hidden" name="execute" value="1" />
-               <input type="submit" class="member_submit" name="ok" value="{--MEMBER_SURFBAR_ACTION_EDIT_SUBMIT--}" />
+               <input type="submit" class="form_submit" name="ok" value="{--MEMBER_SURFBAR_ACTION_EDIT_NOW_SUBMIT--}" />
        </div>
 </div>
 
-<script language="JavaScript" type="text/javascript">
-<!--
-var limit = document.getElementById('limit');
-var span = document.getElementById('span_limit');
-var old_limit = $content[views_max];
-
-function FocusLimitedNo () {
-       if ((limit.value > 0) && (limit.value != '-')) {
-               old_limit = limit.value;
-       }
-       limit.disabled = true;
-       limit.setAttribute('class', 'disabled');
-       limit.style.textAlign = 'center';
-       limit.value = '-';
-}
-
-function FocusLimitedYes () {
-       limit.disabled = false;
-       limit.setAttribute('class', 'member_normal');
-       limit.style.textAlign = 'left';
-       if (old_limit > 0) {
-               limit.value = old_limit;
-       } else {
-               limit.value = '';
-       }
-       limit.focus();
-}
-
-function SubmitForm () {
-       if (limit.value == '-') {
-               limit.value = 0;
-       }
-       return true;
-}
-
-function ResetForm () {
-       old_limit = 0;
-       FocusLimitedNo();
-       return false;
-}
-
-if ($content[limited] == true) {
-       FocusLimitedYes();
-} else {
-       FocusLimitedNo();
-}
-
-//-->
-</script>
+<script src="{%url=js.php?js=surfbar_member_edit%}{%ext,version=surfbar%}&amp;views_max=$content[views_max]&amp;limited=$content[limited]"
+ type="text/javascript"></script>
 </form>
+</div>