1 <form id="edit" action="{?URL?}/modules.php?module=login&what=surfbar_list" method="post" onsubmit="return SubmitForm()" onreset="return ResetForm()">
2 <div class="member_table dashed" style="width:600px;margin-top:10px">
3 <div class="member_title2 bottom2" style="padding-top:5px;padding-bottom:5px">
4 <strong>URL in Surfbar editieren:</strong>
7 <div class="member_input bottom2" style="padding-top:5px;padding-bottom:5px">
8 URL eingeben: <input class="member_normal" type="text" name="url" size="20" maxlength="255" value="$content[url]" />
11 <div class="member_input" style="padding-top:5px;padding-bottom:5px">
12 Soll die Anzahl Aufrufe begrenzt werden?<br />
13 <input type="radio" id="limited_no" onfocus="return FocusLimitedNo()" name="limited" value="N"$content[limited_no] /> {--NO--}
14 <input type="radio" id="limited_yes" onfocus="return FocusLimitedYes()" name="limited" value="Y"$content[limited_yes] /> {--YES--}
17 <div class="member_input bottom2" style="padding-top:5px;padding-bottom:5px">
18 Aufrufe begrenzen auf: <input class="member_normal" type="text" id="limit" name="limit" size="7" maxlength="20" value="$content[views_max]" />
21 <div class="member_title2 top2" style="padding-top:5px;padding-bottom:5px">
22 <input type="reset" class="member_reset" value="{--CLEAR_FORM--}" />
23 <input type="hidden" name="id" value="$content[id]" />
24 <input type="hidden" name="action" value="edit" />
25 <input type="hidden" name="execute" value="1" />
26 <input type="submit" class="member_submit" name="ok" value="{--MEMBER_SURFBAR_ACTION_EDIT_NOW_SUBMIT--}" />
30 <script language="JavaScript" type="text/javascript">
32 var limit = document.getElementById('limit');
33 var span = document.getElementById('span_limit');
34 var old_limit = $content[views_max];
36 function FocusLimitedNo () {
37 if ((limit.value > 0) && (limit.value != '-')) {
38 old_limit = limit.value;
40 limit.disabled = true;
41 limit.setAttribute('class', 'disabled');
42 limit.style.textAlign = 'center';
46 function FocusLimitedYes () {
47 limit.disabled = false;
48 limit.setAttribute('class', 'member_normal');
49 limit.style.textAlign = 'left';
51 limit.value = old_limit;
58 function SubmitForm () {
59 if (limit.value == '-') {
65 function ResetForm () {
71 if ($content[limited] == true) {