[phpwebapp-commits] CVS: top10/templates module.php,1.3,1.4
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2003-10-02 07:09:46
|
Update of /cvsroot/phpwebapp/top10/templates In directory sc8-pr-cvs1:/tmp/cvs-serv5584/templates Modified Files: module.php Log Message: Index: module.php =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/module.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** module.php 30 Sep 2003 07:06:02 -0000 1.3 --- module.php 2 Oct 2003 07:09:40 -0000 1.4 *************** *** 51,54 **** --- 51,66 ---- } + /** Handles event 'edit_project' sent by list_footer (of proj_list). */ + function on_edit_project($event_args) + { + $proj_id = $event_args["proj_id"]; + + WebApp::setSVar("module", "edit_project"); + WebApp::setSVar("menu->selected", "proj_details"); + + WebApp::setSVar("edit_project->mode", "edit"); + WebApp::setSVar("edit_project->proj_id", $proj_id); + } + /** Handles event 'preference_list' sent by proj_details. */ function on_preference_list($event_args) |