Thread: [phpwebapp-commits] CVS: top10/templates/proj_list/filter filter.php,1.2.2.1,1.2.2.2 filter.html,1.3
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2004-07-22 14:10:08
|
Update of /cvsroot/phpwebapp/top10/templates/proj_list/filter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17879/templates/proj_list/filter Modified Files: Tag: maisp 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.2.1 retrieving revision 1.2.2.2 diff -C2 -d -r1.2.2.1 -r1.2.2.2 *** filter.php 14 Jan 2004 16:25:59 -0000 1.2.2.1 --- filter.php 22 Jul 2004 14:09:28 -0000 1.2.2.2 *************** *** 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.2.1 retrieving revision 1.3.2.2 diff -C2 -d -r1.3.2.1 -r1.3.2.2 *** filter.html 13 Jan 2004 14:13:50 -0000 1.3.2.1 --- filter.html 22 Jul 2004 14:09:28 -0000 1.3.2.2 *************** *** 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;"> *************** *** 9,18 **** <td align="right">Category:</td> <td> ! <WebObject Class="listbox" Name="category" onchange="set_category(this)" /> </td> <td align="right">License:</td> <td> ! <WebObject Class="listbox" Name="license" width="------" onchange="set_license(this)" /> --- 9,18 ---- <td align="right">Category:</td> <td> ! <webobject class="listbox" name="category" onchange="set_category(this)" /> </td> <td align="right">License:</td> <td> ! <webobject class="listbox" name="license" width="------" onchange="set_license(this)" /> *************** *** 20,24 **** <td align="right">Language:</td> <td> ! <WebObject Class="listbox" Name="language" width="------" onchange="set_language(this)" /> --- 20,24 ---- <td align="right">Language:</td> <td> ! <webobject class="listbox" name="language" width="------" onchange="set_language(this)" /> *************** *** 36,54 **** <input type="text" size="10" name="search_term" value="{{search_term}}" ! onblur="set_search_term(this)"> </td> <td align="right">Order by:</td> <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}}> Project id </option> ! <option value="register_date" {{register_date_selected}}> Register Date </option> --- 36,54 ---- <input type="text" size="10" name="search_term" value="{{search_term}}" ! onblur="set_search_term(this)" /> </td> <td align="right">Order by:</td> <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}}"> Project id </option> ! <option value="register_date" selected="{{register_date_selected}}"> Register Date </option> *************** *** 56,62 **** </td> <td> ! <If condition="'{{ADMIN}}'=='true'"> ! New:<input type="checkbox" {{new_checked}} onclick="set_new(this)"> ! </If> </td> <td> --- 56,62 ---- </td> <td> ! <if condition="'{{ADMIN}}'=='true'"> ! New:<input type="checkbox" checked="{{new_checked}}" onclick="set_new(this)" /> ! </if> </td> <td> *************** *** 69,71 **** </form> </table> ! </WebBox> --- 69,71 ---- </form> </table> ! </webbox> |