Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision debc9175

Von Sven Schöling vor mehr als 8 Jahren hinzugefügt

  • ID debc917554271ebdbf02ec74219c0394eb53b6ed
  • Vorgänger a6f47843
  • Nachfolger 7e1aba46

template: myconfig_ -> MYCONFIG.

Unterschiede anzeigen:

templates/webpages/am/config.html
19 19
    <table>
20 20
     <tr>
21 21
      <th align="right">[% 'Name' | $T8 %]</th>
22
      <td><input name="name" size="15" value="[% HTML.escape(myconfig_name) %]"></td>
22
      <td><input name="name" size="15" value="[% HTML.escape(MYCONFIG.name) %]"></td>
23 23
     </tr>
24 24

  
25 25
     <tr>
......
35 35

  
36 36
     <tr>
37 37
      <th align="right">[% 'E-mail' | $T8 %]</th>
38
      <td><input name="email" size="30" value="[% HTML.escape(myconfig_email) %]"></td>
38
      <td><input name="email" size="30" value="[% HTML.escape(MYCONFIG.email) %]"></td>
39 39
     </tr>
40 40

  
41 41
     <tr valign="top">
42 42
      <th align="right">[% 'Signature' | $T8 %]</th>
43
      <td><textarea id="signature" name="signature" class="toggletextarea" rows="5" cols="50">[% HTML.escape(myconfig_signature) %] </textarea>
43
      <td><textarea id="signature" name="signature" class="toggletextarea" rows="5" cols="50">[% HTML.escape(MYCONFIG.signature) %] </textarea>
44 44
         <span id="full_signature" class="toggletextarea"> <textarea readonly name="full_signature" rows="10" cols="50" >[% HTML.escape(full_signature) %]</textarea> </span>
45 45
         <a href="#" class="togglelink">[% 'Check full signature' | $T8 %]</a>
46 46
         <a href="#" id="edit_signature" class="togglelink">[% 'Edit user signature' | $T8 %]</a>
47 47
          </td> </tr>
48 48
     <tr>
49 49
      <th align="right">[% 'Phone' | $T8 %]</th>
50
      <td><input name="tel" size="14" value="[% HTML.escape(myconfig_tel) %]"></td>
50
      <td><input name="tel" size="14" value="[% HTML.escape(MYCONFIG.tel) %]"></td>
51 51
     </tr>
52 52

  
53 53
     <tr>
54 54
      <th align="right">[% 'Fax' | $T8 %]</th>
55
      <td><input name="fax" size="14" value="[% HTML.escape(myconfig_fax) %]"></td>
55
      <td><input name="fax" size="14" value="[% HTML.escape(MYCONFIG.fax) %]"></td>
56 56
     </tr>
57 57

  
58 58
      <tr>
59 59
        <th align="right">[% 'taxincluded checked' | $T8 %]</th>
60 60
        <td>
61
          [% L.yes_no_tag('taxincluded_checked', myconfig_taxincluded_checked) %]
61
          [% L.yes_no_tag('taxincluded_checked', MYCONFIG.taxincluded_checked) %]
62 62
        </td>
63 63
      </tr>
64 64

  
......
73 73
              ['last_description', LxERP.t8('Last row, description')],
74 74
              ['last_partnumber', LxERP.t8('Last row, partnumber')],
75 75
            ],
76
            default => myconfig_focus_position)
76
            default => MYCONFIG.focus_position)
77 77
          %]
78 78
        </td>
79 79
      </tr>
......
81 81
      <tr>
82 82
        <th align="right">[% 'Item multi selection with qty' | $T8 %]</th>
83 83
        <td>
84
          [% L.yes_no_tag('item_multiselect', myconfig_item_multiselect) %]
84
          [% L.yes_no_tag('item_multiselect', MYCONFIG.item_multiselect) %]
85 85
        </td>
86 86
      </tr>
87 87

  
......
112 112

  
113 113
     <tr>
114 114
      <th align="right">[% 'Dropdown Limit' | $T8 %]</th>
115
      <td><input name="vclimit" size="10" value="[% HTML.escape(myconfig_vclimit) %]"></td>
115
      <td><input name="vclimit" size="10" value="[% HTML.escape(MYCONFIG.vclimit) %]"></td>
116 116
     </tr>
117 117

  
118 118
     <tr>
......
133 133
      <th align="right">[% 'Setup Menu' | $T8 %]</th>
134 134
      <td>
135 135
       <select name="menustyle">
136
        <option value="old"[% IF myconfig_menustyle == 'old' %] selected[% END %]>[% 'Old (on the side)' | $T8 %]</option>
137
        <option value="v3"[% IF myconfig_menustyle == 'v3' %] selected[% END %]>[% 'Top (CSS)' | $T8 %]</option>
138
        <option value="neu"[% IF myconfig_menustyle == 'neu' %] selected[% END %]>[% 'Top (Javascript)' | $T8 %]</option>
136
        <option value="old"[% IF MYCONFIG.menustyle == 'old' %] selected[% END %]>[% 'Old (on the side)' | $T8 %]</option>
137
        <option value="v3"[% IF MYCONFIG.menustyle == 'v3' %] selected[% END %]>[% 'Top (CSS)' | $T8 %]</option>
138
        <option value="neu"[% IF MYCONFIG.menustyle == 'neu' %] selected[% END %]>[% 'Top (Javascript)' | $T8 %]</option>
139 139
       </select>
140 140
      </td>
141 141
     </tr>
......
144 144
      <th align="right">[% 'Form details (second row)' | $T8 %]</th>
145 145
      <td>
146 146
       <select name="show_form_details">
147
        <option value="1"[% IF  myconfig_show_form_details %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
148
        <option value="0"[% IF !myconfig_show_form_details %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
147
        <option value="1"[% IF  MYCONFIG.show_form_details %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
148
        <option value="0"[% IF !MYCONFIG.show_form_details %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
149 149
       </select>
150 150
      </td>
151 151
     </tr>
......
154 154
      <th align="right">[% 'Show custom variable search inputs' | $T8 %]</th>
155 155
      <td>
156 156
       <select name="hide_cvar_search_options">
157
        <option value="0"[% IF !myconfig_hide_cvar_search_options %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
158
        <option value="1"[% IF  myconfig_hide_cvar_search_options %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
157
        <option value="0"[% IF !MYCONFIG.hide_cvar_search_options %] selected[% END %]>[% 'Show by default' | $T8 %]</option>
158
        <option value="1"[% IF  MYCONFIG.hide_cvar_search_options %] selected[% END %]>[% 'Hide by default' | $T8 %]</option>
159 159
       </select>
160 160
      </td>
161 161
     </tr>
......
163 163
     <tr>
164 164
      <th align="right">[% 'Number of columns of custom variables in form details (second row)' | $T8 %]</th>
165 165
      <td>
166
        [% L.input_tag('form_cvars_nr_cols',  myconfig_form_cvars_nr_cols || 3,  size = 5) %]
166
        [% L.input_tag('form_cvars_nr_cols',  MYCONFIG.form_cvars_nr_cols || 3,  size = 5) %]
167 167
      </td>
168 168
     </tr>
169 169

  
......
173 173
   <div id="page_print_options">
174 174

  
175 175
    <table>
176
     <input name="printer" type="hidden" value="[% HTML.escape(myconfig_printer) %]">
176
     <input name="printer" type="hidden" value="[% HTML.escape(MYCONFIG.printer) %]">
177 177

  
178 178
     <tr>
179 179
      <th align="right">[% 'Default template format' | $T8 %]</th>
......
192 192
     <tr>
193 193
      <th align="right">[% 'Default printer' | $T8 %]</th>
194 194
      <td>
195
       [% L.select_tag('default_printer_id', PRINTERS, default = myconfig_default_printer_id, title_key = 'printer_description', with_empty = 1) %]
195
       [% L.select_tag('default_printer_id', PRINTERS, default = MYCONFIG.default_printer_id, title_key = 'printer_description', with_empty = 1) %]
196 196
      </td>
197 197
     </tr>
198 198

  
199 199
     <tr>
200 200
      <th align="right">[% 'Number of copies' | $T8 %]</th>
201
      <td><input name="copies" size="10" value="[% HTML.escape(myconfig_copies) %]"></td>
201
      <td><input name="copies" size="10" value="[% HTML.escape(MYCONFIG.copies) %]"></td>
202 202
     </tr>
203 203
    </table>
204 204
   </div>

Auch abrufbar als: Unified diff