[phpwebapp-commits] CVS: top10/templates/proj_list proj_list.php,1.1.1.1,1.2 proj_list.html,1.1.1.1,
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2003-09-24 14:01:43
|
Update of /cvsroot/phpwebapp/top10/templates/proj_list In directory sc8-pr-cvs1:/tmp/cvs-serv24770/templates/proj_list Modified Files: proj_list.php proj_list.html Log Message: Index: proj_list.php =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/proj_list/proj_list.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** proj_list.php 23 Sep 2003 14:04:12 -0000 1.1.1.1 --- proj_list.php 24 Sep 2003 14:01:36 -0000 1.2 *************** *** 33,37 **** $order = WebApp::getSVar("filter->order_by"); ! if ($order=='points') $order .= " DESC"; WebApp::addVar("order", $order); $this->highlight(); //highlight the search term --- 33,40 ---- $order = WebApp::getSVar("filter->order_by"); ! if ($order=='points' or $order=='nr_comments') ! { ! $order .= " DESC"; ! } WebApp::addVar("order", $order); $this->highlight(); //highlight the search term Index: proj_list.html =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/proj_list/proj_list.html,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** proj_list.html 23 Sep 2003 14:04:12 -0000 1.1.1.1 --- proj_list.html 24 Sep 2003 14:01:36 -0000 1.2 *************** *** 15,21 **** <a href="javascript:proj_details('{{proj_id}}')">{{proj_id}}</a> </td> <td bgcolor="white">{{proj_name}}</td> <td bgcolor="white">{{proj_descr}}</td> - <td bgcolor="white"><strong>{{points}}</strong></td> <td bgcolor="white"> <input type="checkbox" name="project" value="{{proj_id}}"> --- 15,22 ---- <a href="javascript:proj_details('{{proj_id}}')">{{proj_id}}</a> </td> + <td bgcolor="white" align="right"><strong>{{points}}</strong></td> <td bgcolor="white">{{proj_name}}</td> + <td bgcolor="white" align="right">{{nr_comments}}</td> <td bgcolor="white">{{proj_descr}}</td> <td bgcolor="white"> <input type="checkbox" name="project" value="{{proj_id}}"> |