[phpwebapp-commits] CVS: top10/templates/edit_project edit_project.php,1.5.2.1,1.5.2.2 edit_project.
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2004-01-12 15:21:29
|
Update of /cvsroot/phpwebapp/top10/templates/edit_project In directory sc8-pr-cvs1:/tmp/cvs-serv28891/templates/edit_project Modified Files: Tag: maisp edit_project.php edit_project.js edit_project.html Log Message: Index: edit_project.php =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/edit_project/edit_project.php,v retrieving revision 1.5.2.1 retrieving revision 1.5.2.2 diff -C2 -d -r1.5.2.1 -r1.5.2.2 *** edit_project.php 9 Jan 2004 16:32:37 -0000 1.5.2.1 --- edit_project.php 12 Jan 2004 15:21:26 -0000 1.5.2.2 *************** *** 38,44 **** if (!$rs->EOF()) //there is another project with this id { ! $msg = "Another project with unix name '$proj_id' is already " . "registered.\n" ! . "Please change the unix name of the project, or, if you think " . "that there is \n" . "something wrong, contact the admin at '".ADMIN_EMAIL."'."; --- 38,44 ---- if (!$rs->EOF()) //there is another project with this id { ! $msg = "Another project with id '$proj_id' is already " . "registered.\n" ! . "Please change the id of the project, or, if you think " . "that there is \n" . "something wrong, contact the admin at '".ADMIN_EMAIL."'."; *************** *** 122,127 **** //send a notification e-mail to the user ! $to = "dasho"; ! //$to = $email; $subject = "Top10: Modify Project '$proj_id'"; $admin_mail = ADMIN_EMAIL; --- 122,127 ---- //send a notification e-mail to the user ! //$to = "dasho"; ! $to = $email; $subject = "Top10: Modify Project '$proj_id'"; $admin_mail = ADMIN_EMAIL; Index: edit_project.js =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/edit_project/edit_project.js,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** edit_project.js 2 Oct 2003 07:09:40 -0000 1.3 --- edit_project.js 12 Jan 2004 15:21:26 -0000 1.3.2.1 *************** *** 49,55 **** function done_editing() { ! var msg = "This project will be added in the list\n" ! + "after it is approved by the admin.\n" ! + "You will not be able to modify it anymore."; if (!confirm(msg)) return; --- 49,55 ---- function done_editing() { ! var msg = "You will not be able to modify this project anymore.\n" ! + "If you are creating it for the first time, it will be added\n" ! + "in the list only after it is approved by the admin."; if (!confirm(msg)) return; *************** *** 70,73 **** --- 70,74 ---- { elem = form.elements[i]; + if (elem.name=='url2') continue; //this field can be empty if (elem.value=='') { Index: edit_project.html =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/edit_project/edit_project.html,v retrieving revision 1.4.2.1 retrieving revision 1.4.2.2 diff -C2 -d -r1.4.2.1 -r1.4.2.2 *** edit_project.html 9 Jan 2004 16:32:37 -0000 1.4.2.1 --- edit_project.html 12 Jan 2004 15:21:26 -0000 1.4.2.2 *************** *** 12,16 **** <table cellspacing="1" cellpadding="2" bgcolor="#dddddd"> <tr> ! <td bgcolor="eeeeee">Project Unix Name:</td> <td bgcolor="#ffffff"> <If condition="'{{mode}}'=='add'"> --- 12,16 ---- <table cellspacing="1" cellpadding="2" bgcolor="#dddddd"> <tr> ! <td bgcolor="eeeeee">Project ID:</td> <td bgcolor="#ffffff"> <If condition="'{{mode}}'=='add'"> |