Changeset 137 for trunk/templates


Ignore:
Timestamp:
10/07/11 15:59:35 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix record list filtering - standardize variable/form input name(s)
Use $filter global (since we so kindly define it while setting up
other session globals)
Note the filter behaviour in pgcount.tmpl; this makes it (somewhat)
more obvious that filtering has been applied to the record list.

Location:
trunk/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/pgcount.tmpl

    r39 r137  
    1 <TMPL_IF ntot>Listing <TMPL_VAR NAME=nfirst> - <TMPL_VAR NAME=npglast> of <TMPL_VAR NAME=ntot><TMPL_ELSE>No <TMPL_VAR NAME=pgtype></TMPL_IF><TMPL_IF NAME=parent> in <TMPL_VAR NAME=parent></TMPL_IF>
     1<TMPL_IF ntot>Listing <TMPL_VAR NAME=nfirst> - <TMPL_VAR NAME=npglast> of <TMPL_VAR NAME=ntot><TMPL_ELSE>No <TMPL_VAR NAME=pgtype></TMPL_IF><TMPL_IF NAME=parent> in <TMPL_VAR NAME=parent></TMPL_IF><TMPL_IF filter> matching "<TMPL_VAR NAME=filter>"</TMPL_IF>
  • trunk/templates/reclist.tmpl

    r100 r137  
    3333                <input type="hidden" name="id" value="<TMPL_VAR NAME=id>" />
    3434                <input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>" />
    35                 <input name="search" />
     35                <input name="filter"<TMPL_IF filter> value="<TMPL_VAR NAME=filter>"</TMPL_IF> />
    3636                <input type="submit" value="Filter" />
    3737                </fieldset>
Note: See TracChangeset for help on using the changeset viewer.