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>
templates/webpages/io/select_item.html
5 5

  
6 6
  <table width="100%">
7 7
   <tr class="listheading">
8
    [%- IF myconfig_item_multiselect %]
8
    [%- IF MYCONFIG.item_multiselect %]
9 9
      <th>[% LxERP.t8('Qty') %]</th>
10 10
    [%- ELSE %]
11 11
      <th>&nbsp;</th>
......
26 26

  
27 27
   [%- FOREACH item = ITEM_LIST %]
28 28
   <tr class="listrow[% loop.count % 2 %]">
29
    [%- IF myconfig_item_multiselect %]
29
    [%- IF MYCONFIG.item_multiselect %]
30 30
      <td>[% L.input_tag('select_qty_' _ HTML.escape(item.id), '', size => 5) %]</td>
31 31
    [%- ELSE %]
32 32
      <td><input name="select_item_id" class="radio" type="radio" value="[% HTML.escape(item.id) %]"[% IF loop.first %] checked[% END %]></td>
......
57 57
  [% L.submit_tag('action', LxERP.t8('Continue')) %]
58 58
 </form>
59 59

  
60
[%- IF myconfig_item_multiselect %]
60
[%- IF MYCONFIG.item_multiselect %]
61 61
 <script type='text/javascript'>
62 62
   var first_click = 1;;
63 63
   [%- FOREACH item = ITEM_LIST %]
templates/webpages/letter/edit.html
36 36
             id_sub        = 'vc_keys',
37 37
             label_key     = 'name',
38 38
             select        = vc_select,
39
             limit         = myconfig_vclimit,
39
             limit         = MYCONFIG.vclimit,
40 40
             allow_textbox = 1,
41 41
             force_textbox = limit_exceeded_all_customer
42 42
             onChange      = "document.getElementById('update_button').click();" -%]
......
46 46
        <input type='hidden' name='letter.oldcustomer' value='[% letter.oldcustomer | html %]'>
47 47
        <input type='hidden' name='letter.customer_id' value='[% letter.customer_id | html %]'>
48 48
        <input type='hidden' name='customer_id' value='[% customer_id | html %]'>
49
[%- UNLESS myconfig_vclimit < ALL_CUSTOMERS.size %]
49
[%- UNLESS MYCONFIG.vclimit < ALL_CUSTOMERS.size %]
50 50
        <input type="hidden" name="letter.select[% vc %]" value="1">
51 51
[%- END %]
52 52
      </tr>
......
196 196

  
197 197
    <script type="text/javascript">
198 198
     <!--
199
       Calendar.setup({ inputField : "date", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "date_button" });
199
       Calendar.setup({ inputField : "date", ifFormat :"[% MYCONFIG.jsc_dateformat %]", align : "BL", button : "date_button" });
200 200
     //-->
201 201
    </script>
202 202
    <script type="text/javascript" src="js/show_vc_details.js"></script>
templates/webpages/letter/search.html
5 5
 <script type="text/javascript">
6 6
  <!--
7 7
      function on_load() {
8
        Calendar.setup({ inputField : "date_from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "date_from_trigger" });
9
        Calendar.setup({ inputField : "date_to",   ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "date_to_trigger" });
8
        Calendar.setup({ inputField : "date_from", ifFormat :"[% MYCONFIG.jsc_dateformat %]", align : "BR", button : "date_from_trigger" });
9
        Calendar.setup({ inputField : "date_to",   ifFormat :"[% MYCONFIG.jsc_dateformat %]", align : "BR", button : "date_to_trigger" });
10 10
        document.Form.subject.focus();
11 11
      }
12 12
    -->
......
33 33
             id_key        = 'id',
34 34
             label_key     = 'name',
35 35
             select        = vc_select,
36
             limit         = myconfig_vclimit,
36
             limit         = MYCONFIG.vclimit,
37 37
             allow_textbox = 1,
38 38
             show_empty    = 1,
39 39
             force_textbox = limit_exceeded_all_customer
40 40
             onChange      = "document.getElementById('update_button').click();" -%]
41
[%- IF myconfig_vclimit > ALL_CUSTOMERS.size %]
41
[%- IF MYCONFIG.vclimit > ALL_CUSTOMERS.size %]
42 42
       <input type="hidden" name='selectcustomer' value="1">
43 43
[%- END %]
44 44
     </td>
templates/webpages/login/company_logo.html
29 29
   <table border="0">
30 30
    <tr>
31 31
     <th align="left"><a href="am.pl?action=config" title="[% 'Preferences' | $T8 %]">[% 'User' | $T8 %]</a></th>
32
     <td>[% HTML.escape(myconfig_name) %]</td>
32
     <td>[% HTML.escape(MYCONFIG.name) %]</td>
33 33
    </tr>
34 34
    <tr>
35 35
     <th align="left">[% IF AUTH_RIGHTS_ADMIN %]<a href="controller.pl?action=ClientConfig/edit" title="[% 'Client Configuration' | $T8 %]">[% END %][% 'Client' | $T8 %][% IF AUTH_RIGHTS_ADMIN %]</a>[% END %]</th>
......
37 37
    </tr>
38 38
    <tr>
39 39
     <th align="left"><a href="am.pl?action=config" title="[% 'Preferences' | $T8 %]">[% 'Language' | $T8 %]</a></th>
40
     <td>[% HTML.escape(myconfig_countrycode) %]</td>
40
     <td>[% HTML.escape(MYCONFIG.countrycode) %]</td>
41 41
    </tr>
42 42
    <tr>
43 43
     <th align="left">[% 'Webserver interface' | $T8 %]</th>
templates/webpages/oe/sales_order.html
85 85
  <script type='text/javascript'>
86 86
    $(function() {
87 87
      setTimeout(function(){
88
        [% SWITCH( myconfig_focus_position ) %]
88
        [% SWITCH( MYCONFIG.focus_position ) %]
89 89
          [% CASE 'last_partnumber' %]
90 90
            $('#display_row tr.row:gt(-3):lt(-1) input[name*="partnumber"]').focus();
91 91
          [% CASE 'last_description' %]
templates/webpages/ustva/config_step2.html
153 153
           [% input_steuernummer %]
154 154
[%- ELSE %]
155 155
[% 'Please enter the taxnumber in the client configuration.' | $T8 %]
156
[% 'Current value:' | $T8 %] [% HTML.escape(myconfig_taxnumber) %]
156
[% 'Current value:' | $T8 %] [% HTML.escape(MYCONFIG.taxnumber) %]
157 157
[%- END %]
158 158

  
159 159

  

Auch abrufbar als: Unified diff