Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 58966151

Von Thomas Heck vor mehr als 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/oe/search.html
54 54
    </tr>
55 55
    <tr>
56 56
     <th align="right">[% 'Employee' | $T8 %]</th>
57
     <td>[% L.select_tag('employee_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), style='width:250px') %]</td>
57
     <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %]</td>
58 58
    </tr>
59 59
    <tr>
60 60
     <th align="right">[% 'Salesman' | $T8 %]</th>
61
     <td>[% L.select_tag('salesman_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), style='width:250px') %]</td>
61
     <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %]</td>
62 62
    </tr>
63 63
    <tr>
64 64
     <th align="right">[% 'Transaction description' | $T8 %]</th>

Auch abrufbar als: Unified diff