Thread: [phpwebapp-commits] CVS: top10/templates/proj_list/filter filter.php,1.2,1.3 filter.html,1.3,1.4
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2004-07-22 09:39:03
|
Update of /cvsroot/phpwebapp/top10/templates/proj_list/filter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10079/templates/proj_list/filter Modified Files: filter.php filter.html Log Message: Index: filter.php =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/proj_list/filter/filter.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** filter.php 2 Oct 2003 07:09:40 -0000 1.2 --- filter.php 22 Jul 2004 09:38:22 -0000 1.3 *************** *** 45,50 **** --- 45,57 ---- function onRender() { + WebApp::addVars( array( + 'points_selected' => '', + 'nr_comments_selected' => '', + 'proj_id_selected' => '', + 'register_date_selected' => '', + )); $order_by = $this->getSVar("order_by"); WebApp::addVar($order_by."_selected", "selected"); + if (ADMIN=='true') { Index: filter.html =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/proj_list/filter/filter.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** filter.html 2 Oct 2003 07:09:40 -0000 1.3 --- filter.html 22 Jul 2004 09:38:22 -0000 1.4 *************** *** 1,4 **** ! <Include SRC="{{LISTBOX_PATH}}listbox.html" /> ! <WebBox ID="filter"> <table class="filter-table"> <form name="filter" onsubmit="return false;"> --- 1,4 ---- ! <include src="{{LISTBOX_PATH}}listbox.html" /> ! <webbox id="filter"> <table class="filter-table"> <form name="filter" onsubmit="return false;"> *************** *** 6,10 **** <td align="right">Language:</td> <td> ! <WebObject Class="listbox" Name="language" width="------" onchange="set_language(this)" /> --- 6,10 ---- <td align="right">Language:</td> <td> ! <webobject class="listbox" name="language" width="------" onchange="set_language(this)" /> *************** *** 12,16 **** <td align="right">License:</td> <td> ! <WebObject Class="listbox" Name="license" width="------" onchange="set_license(this)" /> --- 12,16 ---- <td align="right">License:</td> <td> ! <webobject class="listbox" name="license" width="------" onchange="set_license(this)" /> *************** *** 20,28 **** <input type="text" size="10" name="search_term" value="{{search_term}}" ! onblur="set_search_term(this)"> </td> <td align="right">Category:</td> <td> ! <WebObject Class="listbox" Name="category" onchange="set_category(this)" /> </td> --- 20,28 ---- <input type="text" size="10" name="search_term" value="{{search_term}}" ! onblur="set_search_term(this)" /> </td> <td align="right">Category:</td> <td> ! <webobject class="listbox" name="category" onchange="set_category(this)" /> </td> *************** *** 30,43 **** <td> <select onchange="set_order(this)"> ! <option value="points" {{points_selected}}> Number of Points </option> ! <option value="nr_comments" {{nr_comments_selected}}> Nr of Comments </option> ! <option value="proj_id" {{proj_id_selected}}> SF id (alphabetically) </option> ! <option value="register_date" {{register_date_selected}}> SF Register Date </option> --- 30,43 ---- <td> <select onchange="set_order(this)"> ! <option value="points" selected="{{points_selected}}"> Number of Points </option> ! <option value="nr_comments" selected="{{nr_comments_selected}}"> Nr of Comments </option> ! <option value="proj_id" selected="{{proj_id_selected}}"> SF id (alphabetically) </option> ! <option value="register_date" selected="{{register_date_selected}}"> SF Register Date </option> *************** *** 45,51 **** </td> <td> ! <If condition="'{{ADMIN}}'=='true'"> ! New:<input type="checkbox" {{new_checked}} onclick="set_new(this)"> ! </If> </td> <td> --- 45,51 ---- </td> <td> ! <if condition="'{{ADMIN}}'=='true'"> ! New:<input type="checkbox" checked="{{new_checked}}" onclick="set_new(this)" /> ! </if> </td> <td> *************** *** 55,57 **** </form> </table> ! </WebBox> --- 55,57 ---- </form> </table> ! </webbox> |