Ignore:
Timestamp:
Feb 6, 2014 11:31:21 PM (10 years ago)
Author:
anonymous
Message:

Empty strings are better than zero for default select options. Updated functionality of Nav::currentPage().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/module_maker/list_template.cli.php

    r457 r461  
    148148    <input type="text" class="sc-small" size="20" name="search_query" value="<\x3fphp echo getFormData('search_query'); \x3f>" title="<\x3fphp echo oTxt(_("Fields searched: __///__.")); \x3f>" />
    149149    <select name="filter___///__">
    150         <\x3fphp // printSelectForm('__///___tbl', "CONCAT(__///___id, '&mdash;', city, '&mdash;', title)", '__///___id', getFormData('filter___///__'), array('Any __///__'), 'ORDER BY __///__ ASC'); \x3f>
     150        <\x3fphp // printSelectForm('__///___tbl', "CONCAT(__///___id, '&mdash;', city, '&mdash;', title)", '__///___id', getFormData('filter___///__'), array('' => 'Any __///__'), 'ORDER BY __///__ ASC'); \x3f>
    151151    </select>
    152152    <input type="submit" name="list" value="<\x3fphp echo _("Search"); \x3f>" />
Note: See TracChangeset for help on using the changeset viewer.