[phpwebapp-commits] CVS: top10/templates/proj_list/footer list_footer.js,1.2,1.3 list_footer.html,1.
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2003-09-30 07:02:46
|
Update of /cvsroot/phpwebapp/top10/templates/proj_list/footer In directory sc8-pr-cvs1:/tmp/cvs-serv18460/templates/proj_list/footer Modified Files: list_footer.js list_footer.html Log Message: Index: list_footer.js =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/proj_list/footer/list_footer.js,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** list_footer.js 26 Sep 2003 15:32:20 -0000 1.2 --- list_footer.js 30 Sep 2003 07:02:41 -0000 1.3 *************** *** 21,24 **** --- 21,29 ---- */ + function add_new_project() + { + SendEvent("module", "add_new_project"); + } + function get_checked_projects() { *************** *** 65,74 **** uncheck_all_projects(); - } - - /** Used by admin to add new projects. */ - function add_project() - { - SendEvent("list_footer", "add"); } --- 70,73 ---- Index: list_footer.html =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/proj_list/footer/list_footer.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** list_footer.html 26 Sep 2003 15:32:20 -0000 1.2 --- list_footer.html 30 Sep 2003 07:02:41 -0000 1.3 *************** *** 26,33 **** <td align="right"> <If condition="'{{ADMIN}}'=='true'"> - <a class="button" href="javascript:add_project()">Add Project</a> - <a class="button" href="javascript:edit_selected()">Edit Selected</a> <a class="button" href="javascript:del_selected()">Delete Selected</a> </If> <a class="button" href="javascript:add_to_list()">Add to My List</a> </td> --- 26,33 ---- <td align="right"> <If condition="'{{ADMIN}}'=='true'"> <a class="button" href="javascript:del_selected()">Delete Selected</a> + <a class="button" href="javascript:edit_selected()">Edit Selected</a> </If> + <a class="button" href="javascript:add_new_project()">Add New Project</a> <a class="button" href="javascript:add_to_list()">Add to My List</a> </td> |