Ignore:
Timestamp:
06/05/09 10:28:37 (15 years ago)
Author:
nanardon
Message:
  • use session to remember settings in massedit
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LATMOS-Accounts-Web/root/html/includes/filter.tt

    r221 r225  
    11<!-- $Id$ --> 
    22<p>Filtre:</p> 
    3 <form action="[% formuri %]" method="POST"> 
     3<form action="[% c.action.namespace %]" method="POST"> 
    44<input type="hidden" name="otype" value="[% otype | html %]"> 
    55[% FOREACH item = [0, 1, 2 ] %] 
     
    1313<option value=""></option> 
    1414[% FOREACH f = db.list_canonical_fields(otype, 'r') %] 
    15 <option value="[% f | html %]" [% ' selected="1"' IF c.req.params.attr.$item == f %]> 
     15<option value="[% f | html %]" [% ' selected="1"' IF filter.attr.$item == f %]> 
    1616    [% c.model('AttrForms').attr_label(f) | html %] 
    1717</option> 
     
    1919</select> 
    2020</td> 
    21 <td><input type="text" name="attrval" value="[% c.req.params.attrval.$item | html %]"></td></tr> 
     21<td><input type="text" name="attrval" value="[% filter.attrval.$item | html %]"></td></tr> 
    2222[% IF loop.last %] 
    2323</table> 
Note: See TracChangeset for help on using the changeset viewer.