Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 58966151

Von Thomas Heck vor etwa 12 Jahren hinzugefügt

  • ID 5896615180704b3dddba46f4064a47ff1f094c3c
  • Vorgänger 261cfce2
  • Nachfolger 51d0274d

SL::Template::Plugin::L::select_tag und SL::Template::Plugin::L::options_for_select fusionieren.

Unterschiede anzeigen:

templates/webpages/ar/search.html
52 52
     </tr>
53 53
     <tr>
54 54
      <th align="right">[% 'Employee' | $T8 %]</th>
55
      <td>[% L.select_tag('employee_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), style='width:250px') %]</td>
55
      <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %]</td>
56 56
     </tr>
57 57
    <tr>
58 58
     <th align="right">[% 'Salesman' | $T8 %]</th>
59
     <td>[% L.select_tag('salesman_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), style='width:250px') %]</td>
59
     <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %]</td>
60 60
     </tr>
61 61
     <tr>
62 62
      <th align=right nowrap>[% 'Transaction description' | $T8 %]</th>

Auch abrufbar als: Unified diff