Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 055a6bf2

Von Moritz Bunkus vor fast 18 Jahren hinzugefügt

  • ID 055a6bf2aa1a2ce48d02ea57ed066a813f5c9434
  • Vorgänger d4cfda7f
  • Nachfolger b0e933c2

Das Verhalten der Checkbox "Formulardetails anzeigen/verstecken" kann in den Benutzereinstellungen vorbelegt werden.

Unterschiede anzeigen:

bin/mozilla/am.pl
3001 3001
    $menustyle_v3 = "checked";
3002 3002
  }
3003 3003

  
3004
  my ($show_form_details, $hide_form_details);
3005
  $myconfig{"show_form_details"} = 1
3006
    unless (defined($myconfig{"show_form_details"}));
3007
  $show_form_details = "checked" if ($myconfig{"show_form_details"});
3008
  $hide_form_details = "checked" unless ($myconfig{"show_form_details"});
3009

  
3004 3010
  print qq|
3005 3011
<body>
3006 3012

  
......
3080 3086
    $locale->text("Top (Javascript)") . qq|
3081 3087
    <input name=menustyle type=radio class=radio value=old $menustyle_old>&nbsp;| .
3082 3088
    $locale->text("Old (on the side)") . qq|</td>
3083
	</tr>	
3089
  </tr>
3090
  <tr>
3091
    <th align=right>| . $locale->text('Form details (second row)') . qq|</th>
3092
    <td><input type="radio" id="rad_show_form_details" name="show_form_details" value="1" $show_form_details>&nbsp;
3093
    <label for="rad_show_form_details">| . $locale->text('Show by default') . qq|</label>
3094
    <input type="radio" id="rad_hide_form_details" name="show_form_details" value="0" $hide_form_details>&nbsp;
3095
    <label for="rad_hide_form_details">| . $locale->text('Hide by default') . qq|</label></td>
3096
	</tr>
3084 3097
	<input name=printer type=hidden value="$myconfig{printer}">
3085 3098
	<tr class=listheading>
3086 3099
	  <th colspan=2>| . $locale->text("Print options") . qq|</th>

Auch abrufbar als: Unified diff