Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5bb3340b

Von Moritz Bunkus vor mehr als 16 Jahren hinzugefügt

  • ID 5bb3340b7662ec24fd113adff967792c551e85b2
  • Vorgänger d43904e8
  • Nachfolger 712e3a83

Auswahlen von Radiobuttons auf Selectboxen umgestellt.

Unterschiede anzeigen:

templates/webpages/am/config_de.html
121 121
     <tr>
122 122
      <th align="right">Men?setup</th>
123 123
      <td>
124
       <input name="menustyle" id="menustyle_v3" type="radio" class="radio" value="v3" [% IF menustyle_v3 %]checked[% END %]>&nbsp;
125
       <label for="menustyle_v3">Oben (mit CSS)</label>
126
       <input name="menustyle" id="menustyle_neu" type="radio" class="radio" value="neu" [% IF menustyle_neu %]checked[% END %]>&nbsp;
127
       <label for="menustyle_neu">Oben (mit Javascript)</label>
128
       <input name="menustyle" id="menustyle_xml" type="radio" class="radio" value="xml" [% IF menustyle_xml %]checked[% END %]>&nbsp;
129
       <label for="menustyle_xml">Oben (XUL; nur f&uuml;r Mozilla Firefox)</label>
130
       <input name="menustyle" id="menustyle_old" type="radio" class="radio" value="old" [% IF menustyle_old %]checked[% END %]>&nbsp;
131
       <label for="menustyle_old">Alt (seitlich)</label>
124
       <select name="menustyle">
125
        <option value="v3"[% IF myconfig_menustyle == 'v3' %] selected[% END %]>Oben (mit CSS)</option>
126
        <option value="neu"[% IF myconfig_menustyle == 'neu' %] selected[% END %]>Oben (mit Javascript)</option>
127
        <option value="xml"[% IF myconfig_menustyle == 'xml' %] selected[% END %]>Oben (XUL; nur f&uuml;r Mozilla Firefox)</option>
128
        <option value="old"[% IF myconfig_menustyle == 'old' %] selected[% END %]>Alt (seitlich)</option>
129
       </select>
132 130
      </td>
133 131
     </tr>
134 132

  
......
140 138
     <tr>
141 139
      <th align="right">Formulardetails (zweite Positionszeile)</th>
142 140
      <td>
143
       <input type="radio" id="rad_show_form_details" name="show_form_details" value="1" [% IF myconfig_show_form_details %]checked[% END %]>&nbsp;
144
       <label for="rad_show_form_details">Standardm&auml;&szlig;ig anzeigen</label>
145
       <input type="radio" id="rad_hide_form_details" name="show_form_details" value="0" [% UNLESS myconfig_show_form_details %]checked[% END %]>&nbsp;
146
       <label for="rad_hide_form_details">Standardm&auml;&szlig;ig verstecken</label></td>
141
       <select name="show_form_details">
142
        <option value="1"[% IF  myconfig_show_form_details %] selected[% END %]>Standardm&auml;&szlig;ig anzeigen</option>
143
        <option value="0"[% IF !myconfig_show_form_details %] selected[% END %]>Standardm&auml;&szlig;ig verstecken</option>
144
       </select>
145
      </td>
147 146
     </tr>
148 147
    </table>
149 148

  
templates/webpages/am/config_master.html
121 121
     <tr>
122 122
      <th align="right"><translate>Setup Menu</translate></th>
123 123
      <td>
124
       <input name="menustyle" id="menustyle_v3" type="radio" class="radio" value="v3" [% IF menustyle_v3 %]checked[% END %]>&nbsp;
125
       <label for="menustyle_v3"><translate>Top (CSS)</translate></label>
126
       <input name="menustyle" id="menustyle_neu" type="radio" class="radio" value="neu" [% IF menustyle_neu %]checked[% END %]>&nbsp;
127
       <label for="menustyle_neu"><translate>Top (Javascript)</translate></label>
128
       <input name="menustyle" id="menustyle_xml" type="radio" class="radio" value="xml" [% IF menustyle_xml %]checked[% END %]>&nbsp;
129
       <label for="menustyle_xml"><translate>Top (XUL; only for Mozilla Firefox)</translate></label>
130
       <input name="menustyle" id="menustyle_old" type="radio" class="radio" value="old" [% IF menustyle_old %]checked[% END %]>&nbsp;
131
       <label for="menustyle_old"><translate>Old (on the side)</translate></label>
124
       <select name="menustyle">
125
        <option value="v3"[% IF myconfig_menustyle == 'v3' %] selected[% END %]><translate>Top (CSS)</translate></option>
126
        <option value="neu"[% IF myconfig_menustyle == 'neu' %] selected[% END %]><translate>Top (Javascript)</translate></option>
127
        <option value="xml"[% IF myconfig_menustyle == 'xml' %] selected[% END %]><translate>Top (XUL; only for Mozilla Firefox)</translate></option>
128
        <option value="old"[% IF myconfig_menustyle == 'old' %] selected[% END %]><translate>Old (on the side)</translate></option>
129
       </select>
132 130
      </td>
133 131
     </tr>
134 132

  
......
140 138
     <tr>
141 139
      <th align="right"><translate>Form details (second row)</translate></th>
142 140
      <td>
143
       <input type="radio" id="rad_show_form_details" name="show_form_details" value="1" [% IF myconfig_show_form_details %]checked[% END %]>&nbsp;
144
       <label for="rad_show_form_details"><translate>Show by default</translate></label>
145
       <input type="radio" id="rad_hide_form_details" name="show_form_details" value="0" [% UNLESS myconfig_show_form_details %]checked[% END %]>&nbsp;
146
       <label for="rad_hide_form_details"><translate>Hide by default</translate></label></td>
141
       <select name="show_form_details">
142
        <option value="1"[% IF  myconfig_show_form_details %] selected[% END %]><translate>Show by default</translate></option>
143
        <option value="0"[% IF !myconfig_show_form_details %] selected[% END %]><translate>Hide by default</translate></option>
144
       </select>
145
      </td>
147 146
     </tr>
148 147
    </table>
149 148

  

Auch abrufbar als: Unified diff