cs-project-svn_notify Mailing List for CS-Project (Page 17)
Brought to you by:
crazedsanity
You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(65) |
Dec
(47) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(34) |
Feb
(82) |
Mar
(21) |
Apr
(12) |
May
(16) |
Jun
|
Jul
(6) |
Aug
(8) |
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(1) |
Feb
(52) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(9) |
Aug
(5) |
Sep
(12) |
Oct
(11) |
Nov
(4) |
Dec
(15) |
2010 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(9) |
2012 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: <cra...@us...> - 2007-11-20 17:26:29
|
Revision: 641 http://cs-project.svn.sourceforge.net/cs-project/?rev=641&view=rev Author: crazedsanity Date: 2007-11-20 09:26:26 -0800 (Tue, 20 Nov 2007) Log Message: ----------- New user email template. Added Paths: ----------- trunk/templates/email/new_user.tmpl Copied: trunk/templates/email/new_user.tmpl (from rev 638, trunk/templates/email/lost_password.tmpl) =================================================================== --- trunk/templates/email/new_user.tmpl (rev 0) +++ trunk/templates/email/new_user.tmpl 2007-11-20 17:26:26 UTC (rev 641) @@ -0,0 +1,20 @@ + +<h1>User Registration Confirmation</h1> + +<hr> + +<p><font color="red"><b>This email contains SENSITIVE INFORMATION. Please make +sure it is stored in a safe location.</b></font></p> + +<p>Thank you for registering!<br> + Username: {username}<br> + Password: {password}<br> + Email: {email} +</p> + +<hr> +Generated by:<br> +{PROJECT_NAME} (cs-project) v{VERSION_STRING} + +<hr> +$Id$ Property changes on: trunk/templates/email/new_user.tmpl ___________________________________________________________________ Name: svn:keywords + Id HeadURL Date Revision Author Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 17:26:10
|
Revision: 640 http://cs-project.svn.sourceforge.net/cs-project/?rev=640&view=rev Author: crazedsanity Date: 2007-11-20 09:26:02 -0800 (Tue, 20 Nov 2007) Log Message: ----------- Keywords with "$Id$" in the bottom of the email. Modified Paths: -------------- trunk/templates/email/helpdesk-new.tmpl trunk/templates/email/helpdesk-remark.tmpl trunk/templates/email/lost_password.tmpl Modified: trunk/templates/email/helpdesk-new.tmpl =================================================================== --- trunk/templates/email/helpdesk-new.tmpl 2007-11-20 17:08:57 UTC (rev 639) +++ trunk/templates/email/helpdesk-new.tmpl 2007-11-20 17:26:02 UTC (rev 640) @@ -42,5 +42,8 @@ Generated by: {PROJ_NAME} v{VERSION_STRING} +<hr> +$Id$ + </body> </html> \ No newline at end of file Modified: trunk/templates/email/helpdesk-remark.tmpl =================================================================== --- trunk/templates/email/helpdesk-remark.tmpl 2007-11-20 17:08:57 UTC (rev 639) +++ trunk/templates/email/helpdesk-remark.tmpl 2007-11-20 17:26:02 UTC (rev 640) @@ -50,5 +50,8 @@ Generated by: {PROJ_NAME} v{VERSION_STRING} +<hr> +$Id$ + </body> </html> \ No newline at end of file Modified: trunk/templates/email/lost_password.tmpl =================================================================== --- trunk/templates/email/lost_password.tmpl 2007-11-20 17:08:57 UTC (rev 639) +++ trunk/templates/email/lost_password.tmpl 2007-11-20 17:26:02 UTC (rev 640) @@ -33,3 +33,7 @@ Generated by:<br> {PROJECT_NAME} (cs-project) v{VERSION_STRING} + +<hr> +$Id$ + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 17:09:18
|
Revision: 639 http://cs-project.svn.sourceforge.net/cs-project/?rev=639&view=rev Author: crazedsanity Date: 2007-11-20 09:08:57 -0800 (Tue, 20 Nov 2007) Log Message: ----------- Remove the "stall" button for now. Modified Paths: -------------- trunk/templates/content/helpdesk/view.content.tmpl Modified: trunk/templates/content/helpdesk/view.content.tmpl =================================================================== --- trunk/templates/content/helpdesk/view.content.tmpl 2007-11-20 17:04:59 UTC (rev 638) +++ trunk/templates/content/helpdesk/view.content.tmpl 2007-11-20 17:08:57 UTC (rev 639) @@ -186,7 +186,6 @@ <!-- END update_button --> <!-- BEGIN owner_options --> <input name="action" value="solve" type="submit"> - <input name="action" value="stall" type="submit"> <!-- END owner_options --> </td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 17:05:01
|
Revision: 638 http://cs-project.svn.sourceforge.net/cs-project/?rev=638&view=rev Author: crazedsanity Date: 2007-11-20 09:04:59 -0800 (Tue, 20 Nov 2007) Log Message: ----------- Added the Subversion property "svn:eol-style" as "native". For M$ users. Modified Paths: -------------- trunk/includes/login.inc Property Changed: ---------------- trunk/includes/content.inc trunk/includes/extern.inc trunk/includes/help.inc trunk/includes/login.inc trunk/includes/setup.inc Property changes on: trunk/includes/content.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/extern.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/help.inc ___________________________________________________________________ Name: svn:eol-style + native Modified: trunk/includes/login.inc =================================================================== --- trunk/includes/login.inc 2007-11-20 17:04:33 UTC (rev 637) +++ trunk/includes/login.inc 2007-11-20 17:04:59 UTC (rev 638) @@ -1,63 +1,63 @@ -<?php -/* - * SVN INFORMATION::: - * ------------------ - * Last Author::::::::: $Author$ - * Current Revision:::: $Revision$ - * Repository Location: $HeadURL$ - * Last Updated:::::::: $Date$ - */ - - -$page->clear_content("header"); - -$db = new cs_phpDB; -$db->connect(get_config_db_params()); -$page->db = &$db; - -if(isset($_GET['loginDestination']) && strlen($_GET['loginDestination'])) { - $_SESSION['loginDestination'] = $_GET['loginDestination']; -} - -if(!$_GET['logout'] && !$_POST && $page->session->sid_check == 1) { - //they came here & need to be redirected. - conditional_header("/content?from=login&reason=alreadyLoggedIn"); - exit; -} -elseif($_GET['logout']) { - //call the logout function. - $res = $page->session->logout(); - conditional_header("/login.php?redirFrom=logout"); - exit; -} -elseif($_POST['username'] && $_POST['password']) { - - - $loginRes = $page->session->login($_POST['username'],$_POST['password']); - - if($loginRes == 1) { - //TODO: use their "startmodule" (or whatever it's called) is if nothing specific is requested. - $goHere = "/content?from=login"; - if(strlen($_SESSION['loginDestination']) && urldecode($_SESSION['loginDestination']) !== '/') { - //go where they asked. - $goHere = urldecode($_SESSION['loginDestination']); - unset($_SESSION['loginDestination']); - } - else { - $prefObj = new pref($page->db, $_SESSION['uid']); - $startModule = $prefObj->get_pref_value_by_name('startModule'); - $goHere = "/content/". $startModule; - } - - conditional_header($goHere); - exit; - } -} - -if($_GET['destination']) { - $_SESSION['loginDestination'] = urlencode($_GET['destination']); -} -//show the default page. -$page->change_content(html_file_to_string("login.tmpl")); - +<?php +/* + * SVN INFORMATION::: + * ------------------ + * Last Author::::::::: $Author$ + * Current Revision:::: $Revision$ + * Repository Location: $HeadURL$ + * Last Updated:::::::: $Date$ + */ + + +$page->clear_content("header"); + +$db = new cs_phpDB; +$db->connect(get_config_db_params()); +$page->db = &$db; + +if(isset($_GET['loginDestination']) && strlen($_GET['loginDestination'])) { + $_SESSION['loginDestination'] = $_GET['loginDestination']; +} + +if(!$_GET['logout'] && !$_POST && $page->session->sid_check == 1) { + //they came here & need to be redirected. + conditional_header("/content?from=login&reason=alreadyLoggedIn"); + exit; +} +elseif($_GET['logout']) { + //call the logout function. + $res = $page->session->logout(); + conditional_header("/login.php?redirFrom=logout"); + exit; +} +elseif($_POST['username'] && $_POST['password']) { + + + $loginRes = $page->session->login($_POST['username'],$_POST['password']); + + if($loginRes == 1) { + //TODO: use their "startmodule" (or whatever it's called) is if nothing specific is requested. + $goHere = "/content?from=login"; + if(strlen($_SESSION['loginDestination']) && urldecode($_SESSION['loginDestination']) !== '/') { + //go where they asked. + $goHere = urldecode($_SESSION['loginDestination']); + unset($_SESSION['loginDestination']); + } + else { + $prefObj = new pref($page->db, $_SESSION['uid']); + $startModule = $prefObj->get_pref_value_by_name('startModule'); + $goHere = "/content/". $startModule; + } + + conditional_header($goHere); + exit; + } +} + +if($_GET['destination']) { + $_SESSION['loginDestination'] = urlencode($_GET['destination']); +} +//show the default page. +$page->change_content(html_file_to_string("login.tmpl")); + ?> \ No newline at end of file Property changes on: trunk/includes/login.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/setup.inc ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 17:04:35
|
Revision: 637 http://cs-project.svn.sourceforge.net/cs-project/?rev=637&view=rev Author: crazedsanity Date: 2007-11-20 09:04:33 -0800 (Tue, 20 Nov 2007) Log Message: ----------- Added the Subversion property "svn:eol-style" as "native". For M$ users. Property Changed: ---------------- trunk/includes/content/contacts.inc trunk/includes/content/helpdesk.inc trunk/includes/content/notes.inc trunk/includes/content/project.inc trunk/includes/content/settings.inc trunk/includes/content/summary.inc trunk/includes/content/tags.inc trunk/includes/content/todo.inc trunk/includes/help/lost_password.inc trunk/includes/setup/1.inc trunk/includes/setup/2.inc trunk/includes/setup/3.inc trunk/includes/setup/4.inc trunk/includes/setup/5.inc Property changes on: trunk/includes/content/contacts.inc ___________________________________________________________________ Name: svn:eol-style - + native Property changes on: trunk/includes/content/helpdesk.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/content/notes.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/content/project.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/content/settings.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/content/summary.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/content/tags.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/content/todo.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/help/lost_password.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/setup/1.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/setup/2.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/setup/3.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/setup/4.inc ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/includes/setup/5.inc ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 17:04:11
|
Revision: 636 http://cs-project.svn.sourceforge.net/cs-project/?rev=636&view=rev Author: crazedsanity Date: 2007-11-20 09:04:08 -0800 (Tue, 20 Nov 2007) Log Message: ----------- Added the Subversion property "svn:eol-style" as "native". For M$ users. Property Changed: ---------------- trunk/templates/content/index.content.tmpl Property changes on: trunk/templates/content/index.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 17:03:47
|
Revision: 635 http://cs-project.svn.sourceforge.net/cs-project/?rev=635&view=rev Author: crazedsanity Date: 2007-11-20 09:03:46 -0800 (Tue, 20 Nov 2007) Log Message: ----------- Added the Subversion property "svn:eol-style" as "native". For M$ users. Property Changed: ---------------- trunk/templates/content/tags/shared.content.tmpl trunk/templates/content/todo/create.content.tmpl trunk/templates/content/todo/view.content.tmpl Property changes on: trunk/templates/content/tags/shared.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/todo/create.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/todo/view.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 17:03:22
|
Revision: 634 http://cs-project.svn.sourceforge.net/cs-project/?rev=634&view=rev Author: crazedsanity Date: 2007-11-20 09:03:18 -0800 (Tue, 20 Nov 2007) Log Message: ----------- Added the Subversion property "svn:eol-style" as "native". For M$ users. Modified Paths: -------------- trunk/public_html/images/index.html Property Changed: ---------------- trunk/public_html/.htaccess trunk/public_html/content trunk/public_html/content.php trunk/public_html/css/common.css trunk/public_html/extern trunk/public_html/extern.php trunk/public_html/help trunk/public_html/help.php trunk/public_html/images/index.html trunk/public_html/index.php trunk/public_html/js/builder.js trunk/public_html/js/controls.js trunk/public_html/js/cs-project.js trunk/public_html/js/dragdrop.js trunk/public_html/js/effects.js trunk/public_html/js/prototype.js trunk/public_html/js/scriptaculous.js trunk/public_html/js/slider.js trunk/public_html/js/unittest.js trunk/public_html/login.php trunk/public_html/setup trunk/public_html/setup.php Property changes on: trunk/public_html/.htaccess ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/content ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/content.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/css/common.css ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/extern ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/extern.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/help ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/help.php ___________________________________________________________________ Name: svn:eol-style + native Modified: trunk/public_html/images/index.html =================================================================== --- trunk/public_html/images/index.html 2007-11-20 17:02:38 UTC (rev 633) +++ trunk/public_html/images/index.html 2007-11-20 17:03:18 UTC (rev 634) @@ -1,8 +1,8 @@ -<!doctype html public "-//W3C//DTD HTML 4.0 //EN"> -<html> -<head> -<title>CS-Project - image folder (don't be silly)</title> -</head> -<body> -</body> -</html> +<!doctype html public "-//W3C//DTD HTML 4.0 //EN"> +<html> +<head> +<title>CS-Project - image folder (don't be silly)</title> +</head> +<body> +</body> +</html> Property changes on: trunk/public_html/images/index.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/index.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/js/builder.js ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/js/controls.js ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/js/cs-project.js ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/js/dragdrop.js ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/js/effects.js ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/js/prototype.js ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/js/scriptaculous.js ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/js/slider.js ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/js/unittest.js ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/login.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/setup ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/public_html/setup.php ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 17:02:43
|
Revision: 633 http://cs-project.svn.sourceforge.net/cs-project/?rev=633&view=rev Author: crazedsanity Date: 2007-11-20 09:02:38 -0800 (Tue, 20 Nov 2007) Log Message: ----------- Added the Subversion property "svn:eol-style" as "native". For M$ users. Modified Paths: -------------- trunk/docs/sql/upgrades/upgradeTo1.1.0-BETA3_part1.sql Property Changed: ---------------- trunk/docs/sql/setup/01__storedprocs.sql trunk/docs/sql/setup/02__tables.sql trunk/docs/sql/setup/03__indexes_etc.sql Property changes on: trunk/docs/sql/setup/01__storedprocs.sql ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/docs/sql/setup/02__tables.sql ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/docs/sql/setup/03__indexes_etc.sql ___________________________________________________________________ Name: svn:eol-style + native Modified: trunk/docs/sql/upgrades/upgradeTo1.1.0-BETA3_part1.sql =================================================================== --- trunk/docs/sql/upgrades/upgradeTo1.1.0-BETA3_part1.sql 2007-11-20 17:02:12 UTC (rev 632) +++ trunk/docs/sql/upgrades/upgradeTo1.1.0-BETA3_part1.sql 2007-11-20 17:02:38 UTC (rev 633) @@ -1,8 +1,8 @@ -- -- SVN INFORMATION::: --- SVN Signature::::::: $Id$ --- Last Committted::::: $Date$ --- Last Committed Path: $HeadURL$ +-- SVN Signature::::::: $Id:upgradeTo1.1.0-BETA3_part1.sql 443 2007-10-24 16:56:31Z crazedsanity $ +-- Last Committted::::: $Date:2007-10-24 11:56:31 -0500 (Wed, 24 Oct 2007) $ +-- Last Committed Path: $HeadURL:https://cs-project.svn.sourceforge.net/svnroot/cs-project/trunk/docs/sql/upgrades/upgradeTo1.1.0-BETA3_part1.sql $ -- ALTER TABLE contact_table This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 17:02:18
|
Revision: 632 http://cs-project.svn.sourceforge.net/cs-project/?rev=632&view=rev Author: crazedsanity Date: 2007-11-20 09:02:12 -0800 (Tue, 20 Nov 2007) Log Message: ----------- Added the Subversion property "svn:eol-style" as "native". For M$ users. Property Changed: ---------------- trunk/templates/content/contacts/index.content.tmpl trunk/templates/content/contacts/view.content.tmpl trunk/templates/content/helpdesk/create.content.tmpl trunk/templates/content/helpdesk/index.content.tmpl trunk/templates/content/helpdesk/view.content.tmpl trunk/templates/content/notes/index.shared.tmpl trunk/templates/content/project/create.content.tmpl trunk/templates/content/project/index.content.tmpl trunk/templates/content/project/view/index.content.tmpl trunk/templates/content/project/view/related_issue.content.tmpl trunk/templates/content/project/view/related_note.content.tmpl trunk/templates/content/project/view/related_todo.content.tmpl trunk/templates/content/settings/index.content.tmpl trunk/templates/content/summary/index.content.tmpl Property changes on: trunk/templates/content/contacts/index.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/contacts/view.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/helpdesk/create.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/helpdesk/index.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/helpdesk/view.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/notes/index.shared.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/project/create.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/project/index.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/project/view/index.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/project/view/related_issue.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/project/view/related_note.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/project/view/related_todo.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/settings/index.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/content/summary/index.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 17:01:45
|
Revision: 631 http://cs-project.svn.sourceforge.net/cs-project/?rev=631&view=rev Author: crazedsanity Date: 2007-11-20 09:01:43 -0800 (Tue, 20 Nov 2007) Log Message: ----------- Added the Subversion property "svn:eol-style" as "native". For M$ users. Property Changed: ---------------- trunk/templates/footer.shared.tmpl trunk/templates/header.shared.tmpl trunk/templates/index.content.tmpl trunk/templates/infobar.shared.tmpl trunk/templates/login.tmpl trunk/templates/main.shared.tmpl trunk/templates/tabs.shared.tmpl Property changes on: trunk/templates/footer.shared.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/header.shared.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/index.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/infobar.shared.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/login.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/main.shared.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/tabs.shared.tmpl ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 17:01:06
|
Revision: 630 http://cs-project.svn.sourceforge.net/cs-project/?rev=630&view=rev Author: crazedsanity Date: 2007-11-20 09:01:02 -0800 (Tue, 20 Nov 2007) Log Message: ----------- Added the Subversion property "svn:eol-style" as "native". For M$ users. NOTE: this file had "inconsistent line endings", so I had to edit w/Vi. Modified Paths: -------------- trunk/includes/extern/helpdesk.inc Property Changed: ---------------- trunk/includes/extern/helpdesk.inc Modified: trunk/includes/extern/helpdesk.inc =================================================================== --- trunk/includes/extern/helpdesk.inc 2007-11-20 17:00:25 UTC (rev 629) +++ trunk/includes/extern/helpdesk.inc 2007-11-20 17:01:02 UTC (rev 630) @@ -1,296 +1,296 @@ -<?php -/* - * - * SVN INFORMATION::: - * ------------------ - * Last Author::::::::: $Author$ - * Current Revision:::: $Revision$ - * Repository Location: $HeadURL$ - * Last Updated:::::::: $Date$ - - */ - -$page->set_all_block_rows("header"); - -$myContactId = $page->session->get_cookie('CS_CONTACT_ID'); - -if($_POST) { - $postAction = strtolower($_POST['action']); - if($postAction == "remark") { - $helpdeskId = $_POST['ID']; - - if(is_numeric($helpdeskId)) { - //now check to make sure they can actually remark on it... - $helpdeskData = $proj->helpdeskObj->get_record($helpdeskId); - - if(is_array($helpdeskData)) { - //okay, so they can still remark. - - //get information about the user based on the email address... - if(strlen($_POST['email'])) { - $contactObj = new contactClass($proj->db); - $myContactId = $contactObj->get_contact_id_from_email($_POST['email'], TRUE); - $page->session->create_cookie('CS_CONTACT_ID', $myContactId); - - //Add "contact_id" to the session, so the note gets created properly. - $_SESSION['contact_id'] = $myContactId; - } - - $result = $proj->helpdeskObj->remark($helpdeskId, $_POST['remark']); - - //now tell 'em what happened. - if($result >= 1) { - set_message_wrapper(array( - "title" => "Remark Accepted", - "message" => "Your remark has been added to the database. Thank you for your feedback.", - "type" => "status" - )); - } - else { - set_message_wrapper(array( - "title" => "Remark Failed", - "message" => "Seems like the issue may have been updated in the interim: check your email for a new link to be used for remarking.", - "type" => "error" - )); - } - } - else { - //not an array. Something screwed up in the session? - set_message_wrapper(array( - "title" => "Unable to retrieve issue data", - "message" => "Something went horribly wrong. Tell somebody, would ya?", - "type" => "error" - )); - } - conditional_header("/extern/helpdesk/view?ID=$helpdeskId"); - exit; - } - else { - //hmmm... invalid ID. - set_message_wrapper(array( - "title" => "Data Error", - "message" => "Unable to retrieve the helpdesk issue's ID.<BR>\n" . - "Remarking failed.", - "type" => "error" - )); - conditional_header("/extern/helpdesk/"); - exit; - } - } - elseif($_POST && strtolower($_POST['submit']) == "go" && !isset($_POST['action'])) { - //they're CREATING an issue. - $result = $proj->helpdeskObj->create_record($_POST['data']); - - //first, determine what happened from the result... - if($result > 0) { - //everything worked. - set_message_wrapper(array( - "title" => "Issue Successfully Created", - "message" => "Your issue has been added to the helpdesk. You should receive an email shortly with confirmation.", - "type" => "notice" - )); - } - else { - //something failed. - set_message_wrapper(array( - "title" => "Unable to Create Issue", - "message" => "Something broke. Sorry.", - "type" => "notice" - )); - } - - //send 'em packing. - conditional_header("/extern/helpdesk/view?ID=$result"); - exit; - } - elseif($_POST['action'] == "filter") { - if($_POST['reset_filter']) { - $page->ui->unset_cache("filter"); - } - else { - //store the filter. - $page->ui->set_cache("filter", $_POST['filter']); - } - - //now redirect to the main page: it'll have to pull that filter data & use it. - conditional_header($_GLOBALS['PHP_SELF'] ."?step=kb&from=filter"); - exit; - } -} -else { - $action = $page->ftsSections[2]; - $helpdeskId = $_GET['ID']; - $page->add_template_var("id", $helpdeskId); - if(isset($_GET['sort'])) { - store_and_return_sorting($page, $_GET['sort'], $_GET['sortType']); - conditional_header($GLOBALS['PHP_SELF'] ."?from=re-sort&sortFieldWas=". $_GET['sort']); - exit; - } - elseif($action == 'view' && $_GET['dropCookie']) { - $page->session->drop_cookie('CS_CONTACT_ID'); - $goHere = $_SERVER['PHP_SELF'] .'?ID='. $_GET['ID'] .'&random='. time(); - $page->conditional_header($goHere, TRUE); - } - elseif(($action == "view" || $action == "respond") && is_numeric($helpdeskId)) { - $htmlTitle = "View Issue #$helpdeskId"; - $helpdeskData = $proj->helpdeskObj->get_record($helpdeskId); - - $bbCodeParser = new bbCodeParser($proj, $proj->helpdeskObj); - - //show it's "access" properly.. - $page->add_template_var("select_acc_". $helpdeskData['acc'], "selected"); - - //convert the returned data into htmlentities so brackets show properly. - $helpdeskData['name'] = cleanString($helpdeskData['name'], "htmlspecial"); - $myNotes = $helpdeskData['notes']; - unset($helpdeskData['notes']); - - //make the wrapping SANE. - $helpdeskData['subject'] = wordwrap($helpdeskData['subject'], FORMAT_WORDWRAP); - $helpdeskData['subject'] = $bbCodeParser->parseString($helpdeskData['subject'],FALSE); - - //add everything to the page as a template var... - foreach($helpdeskData as $field=>$value) { - $page->add_template_var($field, $value); - } - - //remove all block rows unless they're supposed to be kept... - $doNotRipRows = array(); - if(is_numeric($page->session->get_cookie('CS_CONTACT_ID'))) { - $doNotRipRows[] = 'remark_showEmail'; - $contactObj = new contactClass($page->db); - $contactObj->set_contact_id($page->session->get_cookie('CS_CONTACT_ID')); - $data = $contactObj->get_contact(); - $page->add_template_var('displayEmail', $data['email']); - } - else { - $doNotRipRows[] = 'remark_editEmail'; - } - - if(in_array($helpdeskData['status_id'], $GLOBALS['STATUS_NOTENDED'])) { - $doNotRipRows[] = 'remark_row'; - } - $page->set_all_block_rows("content", $doNotRipRows); - - //now parse the note rows. - if(is_array($myNotes) && count($myNotes)) { - $baseRow = $page->templateRows['issueNotes']; - foreach($myNotes as $repArr) { - $repArr['body'] = cleanString($repArr['body'], "htmlentity_plus_brackets"); - $repArr['body'] = $bbCodeParser->parseString($repArr['body'], FALSE); - $repArr['subject'] = cleanString($repArr['subject'], "htmlentity_plus_brackets"); - - $repArr['solutionIndicator'] = ""; - if($repArr['is_solution'] == 't') { - $repArr['solutionIndicator'] = "<img src='/images/checkmark_green.jpg' height='14px'>"; - } - $issueNotesRow .= mini_parser($baseRow, $repArr, '%%', '%%'); - } - $page->add_template_var('issueNotes', $issueNotesRow); - } - - } - elseif($action == "create") { - //set the html title. - $page->add_template_var("html_title", "Create a Helpdesk Issue"); - $page->add_template_var("email", $_SESSION['email']); - $page->set_all_block_rows("content", array("create_form")); - +<?php +/* + * + * SVN INFORMATION::: + * ------------------ + * Last Author::::::::: $Author$ + * Current Revision:::: $Revision$ + * Repository Location: $HeadURL$ + * Last Updated:::::::: $Date$ + + */ + +$page->set_all_block_rows("header"); + +$myContactId = $page->session->get_cookie('CS_CONTACT_ID'); + +if($_POST) { + $postAction = strtolower($_POST['action']); + if($postAction == "remark") { + $helpdeskId = $_POST['ID']; + + if(is_numeric($helpdeskId)) { + //now check to make sure they can actually remark on it... + $helpdeskData = $proj->helpdeskObj->get_record($helpdeskId); + + if(is_array($helpdeskData)) { + //okay, so they can still remark. + + //get information about the user based on the email address... + if(strlen($_POST['email'])) { + $contactObj = new contactClass($proj->db); + $myContactId = $contactObj->get_contact_id_from_email($_POST['email'], TRUE); + $page->session->create_cookie('CS_CONTACT_ID', $myContactId); + + //Add "contact_id" to the session, so the note gets created properly. + $_SESSION['contact_id'] = $myContactId; + } + + $result = $proj->helpdeskObj->remark($helpdeskId, $_POST['remark']); + + //now tell 'em what happened. + if($result >= 1) { + set_message_wrapper(array( + "title" => "Remark Accepted", + "message" => "Your remark has been added to the database. Thank you for your feedback.", + "type" => "status" + )); + } + else { + set_message_wrapper(array( + "title" => "Remark Failed", + "message" => "Seems like the issue may have been updated in the interim: check your email for a new link to be used for remarking.", + "type" => "error" + )); + } + } + else { + //not an array. Something screwed up in the session? + set_message_wrapper(array( + "title" => "Unable to retrieve issue data", + "message" => "Something went horribly wrong. Tell somebody, would ya?", + "type" => "error" + )); + } + conditional_header("/extern/helpdesk/view?ID=$helpdeskId"); + exit; + } + else { + //hmmm... invalid ID. + set_message_wrapper(array( + "title" => "Data Error", + "message" => "Unable to retrieve the helpdesk issue's ID.<BR>\n" . + "Remarking failed.", + "type" => "error" + )); + conditional_header("/extern/helpdesk/"); + exit; + } + } + elseif($_POST && strtolower($_POST['submit']) == "go" && !isset($_POST['action'])) { + //they're CREATING an issue. + $result = $proj->helpdeskObj->create_record($_POST['data']); + + //first, determine what happened from the result... + if($result > 0) { + //everything worked. + set_message_wrapper(array( + "title" => "Issue Successfully Created", + "message" => "Your issue has been added to the helpdesk. You should receive an email shortly with confirmation.", + "type" => "notice" + )); + } + else { + //something failed. + set_message_wrapper(array( + "title" => "Unable to Create Issue", + "message" => "Something broke. Sorry.", + "type" => "notice" + )); + } + + //send 'em packing. + conditional_header("/extern/helpdesk/view?ID=$result"); + exit; + } + elseif($_POST['action'] == "filter") { + if($_POST['reset_filter']) { + $page->ui->unset_cache("filter"); + } + else { + //store the filter. + $page->ui->set_cache("filter", $_POST['filter']); + } + + //now redirect to the main page: it'll have to pull that filter data & use it. + conditional_header($_GLOBALS['PHP_SELF'] ."?step=kb&from=filter"); + exit; + } +} +else { + $action = $page->ftsSections[2]; + $helpdeskId = $_GET['ID']; + $page->add_template_var("id", $helpdeskId); + if(isset($_GET['sort'])) { + store_and_return_sorting($page, $_GET['sort'], $_GET['sortType']); + conditional_header($GLOBALS['PHP_SELF'] ."?from=re-sort&sortFieldWas=". $_GET['sort']); + exit; + } + elseif($action == 'view' && $_GET['dropCookie']) { + $page->session->drop_cookie('CS_CONTACT_ID'); + $goHere = $_SERVER['PHP_SELF'] .'?ID='. $_GET['ID'] .'&random='. time(); + $page->conditional_header($goHere, TRUE); + } + elseif(($action == "view" || $action == "respond") && is_numeric($helpdeskId)) { + $htmlTitle = "View Issue #$helpdeskId"; + $helpdeskData = $proj->helpdeskObj->get_record($helpdeskId); + + $bbCodeParser = new bbCodeParser($proj, $proj->helpdeskObj); + + //show it's "access" properly.. + $page->add_template_var("select_acc_". $helpdeskData['acc'], "selected"); + + //convert the returned data into htmlentities so brackets show properly. + $helpdeskData['name'] = cleanString($helpdeskData['name'], "htmlspecial"); + $myNotes = $helpdeskData['notes']; + unset($helpdeskData['notes']); + + //make the wrapping SANE. + $helpdeskData['subject'] = wordwrap($helpdeskData['subject'], FORMAT_WORDWRAP); + $helpdeskData['subject'] = $bbCodeParser->parseString($helpdeskData['subject'],FALSE); + + //add everything to the page as a template var... + foreach($helpdeskData as $field=>$value) { + $page->add_template_var($field, $value); + } + + //remove all block rows unless they're supposed to be kept... + $doNotRipRows = array(); + if(is_numeric($page->session->get_cookie('CS_CONTACT_ID'))) { + $doNotRipRows[] = 'remark_showEmail'; + $contactObj = new contactClass($page->db); + $contactObj->set_contact_id($page->session->get_cookie('CS_CONTACT_ID')); + $data = $contactObj->get_contact(); + $page->add_template_var('displayEmail', $data['email']); + } + else { + $doNotRipRows[] = 'remark_editEmail'; + } + + if(in_array($helpdeskData['status_id'], $GLOBALS['STATUS_NOTENDED'])) { + $doNotRipRows[] = 'remark_row'; + } + $page->set_all_block_rows("content", $doNotRipRows); + + //now parse the note rows. + if(is_array($myNotes) && count($myNotes)) { + $baseRow = $page->templateRows['issueNotes']; + foreach($myNotes as $repArr) { + $repArr['body'] = cleanString($repArr['body'], "htmlentity_plus_brackets"); + $repArr['body'] = $bbCodeParser->parseString($repArr['body'], FALSE); + $repArr['subject'] = cleanString($repArr['subject'], "htmlentity_plus_brackets"); + + $repArr['solutionIndicator'] = ""; + if($repArr['is_solution'] == 't') { + $repArr['solutionIndicator'] = "<img src='/images/checkmark_green.jpg' height='14px'>"; + } + $issueNotesRow .= mini_parser($baseRow, $repArr, '%%', '%%'); + } + $page->add_template_var('issueNotes', $issueNotesRow); + } + + } + elseif($action == "create") { + //set the html title. + $page->add_template_var("html_title", "Create a Helpdesk Issue"); + $page->add_template_var("email", $_SESSION['email']); + $page->set_all_block_rows("content", array("create_form")); + //show the "category" properly. - $categoryList = $proj->helpdeskObj->get_category_list($helpdeskData['helpdesk_cat_id']); + $categoryList = $proj->helpdeskObj->get_category_list($helpdeskData['helpdesk_cat_id']); $page->add_template_var("select_category_list", $categoryList); - $page->add_template_var("select_tags", $categoryList); + $page->add_template_var("select_tags", $categoryList); $page->add_template_var("id", $helpdeskId); - } - else { - - //================================================================================================================ - $titleSub = "Show All"; - //change the content of the page properly. - #$page->change_content(html_file_to_string("modules/helpdesk/helpdesk_main.tmpl")); - $page->set_all_block_rows("content", array("helpdesk_search")); - - $filterData = $page->ui->get_cache("filter"); - $currentSortArr = store_and_return_sorting($page,NULL,NULL); - if(is_array($filterData)) { - $page->add_template_var("filter_keyword", $filterData['keyword']); - $page->add_template_var("filter_field_". $filterData['field'] ."_selected", "selected"); - } - else { - //no filter array... set one. - $filterData = array(); - $page->ui->set_cache("filter", $filterData); - } - $page->add_template_var("filter_status_id_". $filterData['status_id'] ."_selected", "selected"); - unset($filterData['status']); - - //the data will already show only items with the given status, so don't add that to the filter again. - $primaryFilterArr = array("status_id" => $filterData['status_id']); - if($filterData['status_id'] == 'all') { - //literally show ALL records. - $primaryFilterArr = NULL; - } - elseif(!is_numeric($filterData['status_id'])) { - //only show the "not ended" ones. - $primaryFilterArr = array('status_id' => array(0,1,2,6)); - } - $filter = $filterData; - unset($filter['status']); - - //pull the recordset. - $helpdeskArr = $proj->helpdeskObj->get_records($primaryFilterArr, $currentSortArr, $filter); - $page->add_template_var("numRows", count($helpdeskArr)); - - //if there's an array, show it... - if(is_array($helpdeskArr) && count($helpdeskArr) > 0) { - //got good data. - $baseRow = $page->templateRows['helpdesk_row']; - foreach($helpdeskArr as $helpdeskId=>$subData) { - unset($deleteLink); - if($subData['von'] == $_SESSION['uid']) { - $deleteLink = mini_parser($baseDeleteLink, $subData, "%%", "%%"); - } - - - swapValue($bgColor, "rgb(213, 213, 213)", "rgb(194, 194, 194)"); - swapValue($bgColor2, "#d5d5d5", "#c2c2c2"); - - $subData['bgColor'] = $bgColor; - $subData['bgColor2']= $bgColor2; - - //define the text fields, so they can be cleaned & truncated. - $previewLength = 160; - $textFieldArr = array("name", "subject", "solution", "remark"); - foreach($textFieldArr as $cleanThisField) { - //truncate them... - $subData[$cleanThisField] = truncate_string($subData[$cleanThisField], $previewLength, "... [more]", TRUE); - - //now clean 'em (clean after to avoid truncating html special characters. - $subData[$cleanThisField] = cleanString($subData[$cleanThisField], "htmlentity"); - - //more special parsing to ensure GenericPage{} doesn't make the $ (and random characters after it) disappear. - $subData[$cleanThisField] = str_replace('$', '\$', $subData[$cleanThisField]); - } - - //force the "text" preview to wrap. - $subData['subject'] = wordwrap($subData['subject'], (($previewLength * 2)/3), "\n", 1); - - //truncate the email address... - $subData['email'] = truncate_string($subData['email'], 20, "...", TRUE); - - $subData['helpdesk_id'] = $helpdeskId; - unset($subData['id']); - - //show the "created" and "updated" strings properly... - $subData['created'] = parse_date_string($subData['div1'],TRUE); - $subData['updated'] = parse_date_string($subData['div2'],TRUE); - $finalRow .= mini_parser($baseRow, $subData, "%%", "%%"); - } - $page->add_template_var("helpdesk_row", $finalRow); - } - } -} - -#$page->print_page(); - -?> \ No newline at end of file + } + else { + + //================================================================================================================ + $titleSub = "Show All"; + //change the content of the page properly. + #$page->change_content(html_file_to_string("modules/helpdesk/helpdesk_main.tmpl")); + $page->set_all_block_rows("content", array("helpdesk_search")); + + $filterData = $page->ui->get_cache("filter"); + $currentSortArr = store_and_return_sorting($page,NULL,NULL); + if(is_array($filterData)) { + $page->add_template_var("filter_keyword", $filterData['keyword']); + $page->add_template_var("filter_field_". $filterData['field'] ."_selected", "selected"); + } + else { + //no filter array... set one. + $filterData = array(); + $page->ui->set_cache("filter", $filterData); + } + $page->add_template_var("filter_status_id_". $filterData['status_id'] ."_selected", "selected"); + unset($filterData['status']); + + //the data will already show only items with the given status, so don't add that to the filter again. + $primaryFilterArr = array("status_id" => $filterData['status_id']); + if($filterData['status_id'] == 'all') { + //literally show ALL records. + $primaryFilterArr = NULL; + } + elseif(!is_numeric($filterData['status_id'])) { + //only show the "not ended" ones. + $primaryFilterArr = array('status_id' => array(0,1,2,6)); + } + $filter = $filterData; + unset($filter['status']); + + //pull the recordset. + $helpdeskArr = $proj->helpdeskObj->get_records($primaryFilterArr, $currentSortArr, $filter); + $page->add_template_var("numRows", count($helpdeskArr)); + + //if there's an array, show it... + if(is_array($helpdeskArr) && count($helpdeskArr) > 0) { + //got good data. + $baseRow = $page->templateRows['helpdesk_row']; + foreach($helpdeskArr as $helpdeskId=>$subData) { + unset($deleteLink); + if($subData['von'] == $_SESSION['uid']) { + $deleteLink = mini_parser($baseDeleteLink, $subData, "%%", "%%"); + } + + + swapValue($bgColor, "rgb(213, 213, 213)", "rgb(194, 194, 194)"); + swapValue($bgColor2, "#d5d5d5", "#c2c2c2"); + + $subData['bgColor'] = $bgColor; + $subData['bgColor2']= $bgColor2; + + //define the text fields, so they can be cleaned & truncated. + $previewLength = 160; + $textFieldArr = array("name", "subject", "solution", "remark"); + foreach($textFieldArr as $cleanThisField) { + //truncate them... + $subData[$cleanThisField] = truncate_string($subData[$cleanThisField], $previewLength, "... [more]", TRUE); + + //now clean 'em (clean after to avoid truncating html special characters. + $subData[$cleanThisField] = cleanString($subData[$cleanThisField], "htmlentity"); + + //more special parsing to ensure GenericPage{} doesn't make the $ (and random characters after it) disappear. + $subData[$cleanThisField] = str_replace('$', '\$', $subData[$cleanThisField]); + } + + //force the "text" preview to wrap. + $subData['subject'] = wordwrap($subData['subject'], (($previewLength * 2)/3), "\n", 1); + + //truncate the email address... + $subData['email'] = truncate_string($subData['email'], 20, "...", TRUE); + + $subData['helpdesk_id'] = $helpdeskId; + unset($subData['id']); + + //show the "created" and "updated" strings properly... + $subData['created'] = parse_date_string($subData['div1'],TRUE); + $subData['updated'] = parse_date_string($subData['div2'],TRUE); + $finalRow .= mini_parser($baseRow, $subData, "%%", "%%"); + } + $page->add_template_var("helpdesk_row", $finalRow); + } + } +} + +#$page->print_page(); + +?> Property changes on: trunk/includes/extern/helpdesk.inc ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 17:00:28
|
Revision: 629 http://cs-project.svn.sourceforge.net/cs-project/?rev=629&view=rev Author: crazedsanity Date: 2007-11-20 09:00:25 -0800 (Tue, 20 Nov 2007) Log Message: ----------- Added the Subversion property "svn:eol-style" as "native". For M$ users. Modified Paths: -------------- trunk/templates/system/message_box.tmpl Property Changed: ---------------- trunk/templates/email/helpdesk-new.tmpl trunk/templates/email/helpdesk-remark.tmpl trunk/templates/email/lost_password.tmpl trunk/templates/extern/helpdesk/create.content.tmpl trunk/templates/extern/helpdesk/index.content.tmpl trunk/templates/extern/helpdesk/view.content.tmpl trunk/templates/setup/1.content.tmpl trunk/templates/setup/2.content.tmpl trunk/templates/setup/3.content.tmpl trunk/templates/setup/4.content.tmpl trunk/templates/setup/5.content.tmpl trunk/templates/setup/html_title.shared.tmpl trunk/templates/setup/index.content.tmpl trunk/templates/setup/stepData.shared.tmpl trunk/templates/system/404.shared.tmpl trunk/templates/system/message_box.tmpl Property changes on: trunk/templates/email/helpdesk-new.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/email/helpdesk-remark.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/email/lost_password.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/extern/helpdesk/create.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/extern/helpdesk/index.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/extern/helpdesk/view.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/setup/1.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/setup/2.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/setup/3.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/setup/4.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/setup/5.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/setup/html_title.shared.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/setup/index.content.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/setup/stepData.shared.tmpl ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/templates/system/404.shared.tmpl ___________________________________________________________________ Name: svn:eol-style + native Modified: trunk/templates/system/message_box.tmpl =================================================================== --- trunk/templates/system/message_box.tmpl 2007-11-20 16:58:45 UTC (rev 628) +++ trunk/templates/system/message_box.tmpl 2007-11-20 17:00:25 UTC (rev 629) @@ -1,27 +1,27 @@ -<table border="0" cellspacing="0" cellpadding="0" align="center"> - <tr> - <td class="{messageType}" width="5" align="left" valign="top"><img src="/images/frame/crn-white-tl.gif" width="5" height="5" alt=""></td> - <td class="{messageType}"><img src="/images/clear.gif" width="20" height="2" alt=""></td> - <td class="{messageType}" width="5" align="right" valign="top"><img src="/images/frame/crn-white-tr.gif" width="5" height="5" alt=""></td> - </tr> - <tr> - <td class="{messageType}" width="5"><img src="/images/clear.gif" width="5" height="20" alt=""></td> - <td> - <table class="{messageType}" width="100%" border="0" cellspacing="0" cellpadding="5"> - <tr> - <td valign="top"> - <p style="border-style: solid; border-width: 0px 0px 2px 0px" class="title1">{title}</p> -<p style="margin: 5px 0px 5px 0px">{message}</p> - {redirect} </td> - </tr> - </table></td> - <td class="{messageType}" width="5"><img src="/images/clear.gif" width="5" height="20" alt=""></td> - </tr> - <tr> - <td class="{messageType}" width="5" align="left" valign="bottom"><img src="/images/frame/crn-white-bl.gif" width="5" height="5" alt=""></td> - <td class="{messageType}"><img src="/images/clear.gif" width="20" height="2" alt=""></td> - <td class="{messageType}" width="5" align="right" valign="bottom"><img src="/images/frame/crn-white-br.gif" width="5" height="5" alt=""></td> - </tr> - </table> -<br> - +<table border="0" cellspacing="0" cellpadding="0" align="center"> + <tr> + <td class="{messageType}" width="5" align="left" valign="top"><img src="/images/frame/crn-white-tl.gif" width="5" height="5" alt=""></td> + <td class="{messageType}"><img src="/images/clear.gif" width="20" height="2" alt=""></td> + <td class="{messageType}" width="5" align="right" valign="top"><img src="/images/frame/crn-white-tr.gif" width="5" height="5" alt=""></td> + </tr> + <tr> + <td class="{messageType}" width="5"><img src="/images/clear.gif" width="5" height="20" alt=""></td> + <td> + <table class="{messageType}" width="100%" border="0" cellspacing="0" cellpadding="5"> + <tr> + <td valign="top"> + <p style="border-style: solid; border-width: 0px 0px 2px 0px" class="title1">{title}</p> +<p style="margin: 5px 0px 5px 0px">{message}</p> + {redirect} </td> + </tr> + </table></td> + <td class="{messageType}" width="5"><img src="/images/clear.gif" width="5" height="20" alt=""></td> + </tr> + <tr> + <td class="{messageType}" width="5" align="left" valign="bottom"><img src="/images/frame/crn-white-bl.gif" width="5" height="5" alt=""></td> + <td class="{messageType}"><img src="/images/clear.gif" width="20" height="2" alt=""></td> + <td class="{messageType}" width="5" align="right" valign="bottom"><img src="/images/frame/crn-white-br.gif" width="5" height="5" alt=""></td> + </tr> + </table> +<br> + Property changes on: trunk/templates/system/message_box.tmpl ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 16:59:07
|
Revision: 628 http://cs-project.svn.sourceforge.net/cs-project/?rev=628&view=rev Author: crazedsanity Date: 2007-11-20 08:58:45 -0800 (Tue, 20 Nov 2007) Log Message: ----------- added svn:eol-style (native) Property Changed: ---------------- trunk/LICENSE trunk/VERSION trunk/upgrade/upgrade.xml trunk/upgrade/upgradeTo1.1.0-BETA10.php trunk/upgrade/upgradeTo1.1.0-BETA12.php trunk/upgrade/upgradeTo1.1.0-BETA13.php trunk/upgrade/upgradeTo1.1.0-BETA2.php trunk/upgrade/upgradeTo1.1.0-BETA3.php trunk/upgrade/upgradeTo1.1.0-BETA4.php trunk/upgrade/upgradeTo1.1.0-BETA7.php Property changes on: trunk/LICENSE ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/VERSION ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/upgrade/upgrade.xml ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/upgrade/upgradeTo1.1.0-BETA10.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/upgrade/upgradeTo1.1.0-BETA12.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/upgrade/upgradeTo1.1.0-BETA13.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/upgrade/upgradeTo1.1.0-BETA2.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/upgrade/upgradeTo1.1.0-BETA3.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/upgrade/upgradeTo1.1.0-BETA4.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/upgrade/upgradeTo1.1.0-BETA7.php ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 16:57:24
|
Revision: 627 http://cs-project.svn.sourceforge.net/cs-project/?rev=627&view=rev Author: crazedsanity Date: 2007-11-20 08:55:40 -0800 (Tue, 20 Nov 2007) Log Message: ----------- added svn:eol-style (native) Property Changed: ---------------- trunk/lib/_unitTests_/cs-arrayToPath_tests.php trunk/lib/_unitTests_/cs-content_tests.php trunk/lib/_unitTests_/cs-phpxml_tests.php trunk/lib/_unitTests_/data/test.xml trunk/lib/simpletest/HELP_MY_TESTS_DONT_WORK_ANYMORE trunk/lib/simpletest/LICENSE trunk/lib/simpletest/README trunk/lib/simpletest/VERSION trunk/lib/simpletest/authentication.php trunk/lib/simpletest/autorun.php trunk/lib/simpletest/browser.php trunk/lib/simpletest/collector.php trunk/lib/simpletest/compatibility.php trunk/lib/simpletest/cookies.php trunk/lib/simpletest/default_reporter.php trunk/lib/simpletest/detached.php trunk/lib/simpletest/docs/en/authentication_documentation.html trunk/lib/simpletest/docs/en/browser_documentation.html trunk/lib/simpletest/docs/en/docs.css trunk/lib/simpletest/docs/en/expectation_documentation.html trunk/lib/simpletest/docs/en/form_testing_documentation.html trunk/lib/simpletest/docs/en/group_test_documentation.html trunk/lib/simpletest/docs/en/index.html trunk/lib/simpletest/docs/en/mock_objects_documentation.html trunk/lib/simpletest/docs/en/overview.html trunk/lib/simpletest/docs/en/partial_mocks_documentation.html trunk/lib/simpletest/docs/en/reporter_documentation.html trunk/lib/simpletest/docs/en/unit_test_documentation.html trunk/lib/simpletest/docs/en/web_tester_documentation.html trunk/lib/simpletest/docs/fr/authentication_documentation.html trunk/lib/simpletest/docs/fr/browser_documentation.html trunk/lib/simpletest/docs/fr/docs.css trunk/lib/simpletest/docs/fr/expectation_documentation.html trunk/lib/simpletest/docs/fr/form_testing_documentation.html trunk/lib/simpletest/docs/fr/group_test_documentation.html trunk/lib/simpletest/docs/fr/index.html trunk/lib/simpletest/docs/fr/mock_objects_documentation.html trunk/lib/simpletest/docs/fr/overview.html trunk/lib/simpletest/docs/fr/partial_mocks_documentation.html trunk/lib/simpletest/docs/fr/reporter_documentation.html trunk/lib/simpletest/docs/fr/server_stubs_documentation.html trunk/lib/simpletest/docs/fr/unit_test_documentation.html trunk/lib/simpletest/docs/fr/web_tester_documentation.html trunk/lib/simpletest/dumper.php trunk/lib/simpletest/eclipse.php trunk/lib/simpletest/encoding.php trunk/lib/simpletest/errors.php trunk/lib/simpletest/exceptions.php trunk/lib/simpletest/expectation.php trunk/lib/simpletest/extensions/pear_test_case.php trunk/lib/simpletest/extensions/phpunit_test_case.php trunk/lib/simpletest/extensions/testdox/test.php trunk/lib/simpletest/extensions/testdox.php trunk/lib/simpletest/form.php trunk/lib/simpletest/frames.php trunk/lib/simpletest/http.php trunk/lib/simpletest/invoker.php trunk/lib/simpletest/mock_objects.php trunk/lib/simpletest/page.php trunk/lib/simpletest/parser.php trunk/lib/simpletest/reflection_php4.php trunk/lib/simpletest/reflection_php5.php trunk/lib/simpletest/remote.php trunk/lib/simpletest/reporter.php trunk/lib/simpletest/scorer.php trunk/lib/simpletest/selector.php trunk/lib/simpletest/shell_tester.php trunk/lib/simpletest/simpletest.php trunk/lib/simpletest/socket.php trunk/lib/simpletest/tag.php trunk/lib/simpletest/test_case.php trunk/lib/simpletest/unit_tester.php trunk/lib/simpletest/url.php trunk/lib/simpletest/user_agent.php trunk/lib/simpletest/web_tester.php trunk/lib/simpletest/xml.php Property changes on: trunk/lib/_unitTests_/cs-arrayToPath_tests.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/_unitTests_/cs-content_tests.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/_unitTests_/cs-phpxml_tests.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/_unitTests_/data/test.xml ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/HELP_MY_TESTS_DONT_WORK_ANYMORE ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/LICENSE ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/README ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/VERSION ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/authentication.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/autorun.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/browser.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/collector.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/compatibility.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/cookies.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/default_reporter.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/detached.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/en/authentication_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/en/browser_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/en/docs.css ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/en/expectation_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/en/form_testing_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/en/group_test_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/en/index.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/en/mock_objects_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/en/overview.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/en/partial_mocks_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/en/reporter_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/en/unit_test_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/en/web_tester_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/fr/authentication_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/fr/browser_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/fr/docs.css ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/fr/expectation_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/fr/form_testing_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/fr/group_test_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/fr/index.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/fr/mock_objects_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/fr/overview.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/fr/partial_mocks_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/fr/reporter_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/fr/server_stubs_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/fr/unit_test_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/docs/fr/web_tester_documentation.html ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/dumper.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/eclipse.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/encoding.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/errors.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/exceptions.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/expectation.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/extensions/pear_test_case.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/extensions/phpunit_test_case.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/extensions/testdox/test.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/extensions/testdox.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/form.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/frames.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/http.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/invoker.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/mock_objects.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/page.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/parser.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/reflection_php4.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/reflection_php5.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/remote.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/reporter.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/scorer.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/selector.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/shell_tester.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/simpletest.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/socket.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/tag.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/test_case.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/unit_tester.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/url.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/user_agent.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/web_tester.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/simpletest/xml.php ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-20 16:54:14
|
Revision: 626 http://cs-project.svn.sourceforge.net/cs-project/?rev=626&view=rev Author: crazedsanity Date: 2007-11-20 08:54:11 -0800 (Tue, 20 Nov 2007) Log Message: ----------- added svn:eol-style (native) Property Changed: ---------------- trunk/lib/adminUserClass.php trunk/lib/attributeClass.php trunk/lib/globalFunctions.php trunk/lib/logsClass.php trunk/lib/mainRecordClass.php trunk/lib/noteClass.php trunk/lib/prefClass.php trunk/lib/projectClass.php trunk/lib/recordContactLink.class.php trunk/lib/sessionCacheClass.php trunk/lib/session_class.php trunk/lib/site_config.php trunk/lib/tagClass.php trunk/lib/todoClass.php trunk/lib/upgradeClass.php trunk/lib/userClass.php Property changes on: trunk/lib/adminUserClass.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/attributeClass.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/globalFunctions.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/logsClass.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/mainRecordClass.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/noteClass.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/prefClass.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/projectClass.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/recordContactLink.class.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/sessionCacheClass.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/session_class.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/site_config.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/tagClass.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/todoClass.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/upgradeClass.php ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/lib/userClass.php ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-15 17:02:53
|
Revision: 625 http://cs-project.svn.sourceforge.net/cs-project/?rev=625&view=rev Author: crazedsanity Date: 2007-11-15 09:02:49 -0800 (Thu, 15 Nov 2007) Log Message: ----------- Standardization of notice messages. /lib/helpdeskClass.php: * remark(): -- don't send the alert unless the constant HELPDESK_ISSUE_ANNOUNCE_EMAIL appears to be set/valid. * create_record(): -- set subject line when creating normal emails -- send alert with given subject line (prepending "[ALERT] "). Modified Paths: -------------- trunk/lib/helpdeskClass.php Modified: trunk/lib/helpdeskClass.php =================================================================== --- trunk/lib/helpdeskClass.php 2007-11-15 16:09:20 UTC (rev 624) +++ trunk/lib/helpdeskClass.php 2007-11-15 17:02:49 UTC (rev 625) @@ -205,7 +205,7 @@ $details = 'Sent notification(s) of for [helpdesk_id='. $helpdeskId .'] remark to: '. $sendEmailRes; $this->logsObj->log_by_class($details, 'information', NULL, $this->recordTypeId, $helpdeskId); - if($isSolution) { + if($isSolution && strlen(constant('HELPDESK_ISSUE_ANNOUNCE_EMAIL'))) { $subject = '[ALERT] Helpdesk Issue #'. $helpdeskId .' was SOLVED'; if(strlen($_SESSION['login_username'])) { $subject .= ' by '. $_SESSION['login_username']; @@ -326,24 +326,22 @@ $normalEmailExtra = NULL; $emailAddressList = $linkObj->get_record_email_list($newRecord); + if((strlen($_SESSION['login_email'])) && ($_SESSION['login_email'] != $parseArr['email'])) { - send_email( - $emailAddressList, - "Helpdesk Issue #$retval Created [for ".$parseArr['email'] ."]", - $emailTemplate, - $parseArr - ); + $subject = "Created Helpdesk Issue #$retval Created [for ".$parseArr['email'] ."] -- ". $parseArr['name']; + send_email($emailAddressList, $subject, $emailTemplate, $parseArr); $normalEmailExtra = " [registered by ". $_SESSION['login_loginname'] .": uid=". $_SESSION['login_id'] ."]"; } else { - send_email( - $emailAddressList, - "Helpdesk Issue #$retval Created". $normalEmailExtra, - $emailTemplate, - $parseArr - ); + $subject = "Created Helpdesk Issue #$retval Created". $normalEmailExtra ." -- ". $parseArr['name']; + send_email($emailAddressList, $subject, $emailTemplate, $parseArr); } + if(strlen(constant('HELPDESK_ISSUE_ANNOUNCE_EMAIL'))) { + //send the alert!!! + send_email(HELPDESK_ISSUE_ANNOUNCE_EMAIL, '[ALERT] '. $subject, $emailTemplate, $parseArr); + } + //log that it was created. $details = "Helpdesk Issue #". $retval ." ([helpdesk_id=". $retval ."]) Created by (". $dataArr['email'] ."): ". $dataArr['name']; $this->logsObj->log_by_class($details, 'create'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-15 16:09:33
|
Revision: 624 http://cs-project.svn.sourceforge.net/cs-project/?rev=624&view=rev Author: crazedsanity Date: 2007-11-15 08:09:20 -0800 (Thu, 15 Nov 2007) Log Message: ----------- Log the message instead of the exception object. /lib/site_config.php: * exception_handler(): -- now calls Exception::getMessage() instead of just logging the object (the latter works on some versions of PHP5, but not all; when it works, it gives the message along with a stack tra Modified Paths: -------------- trunk/lib/site_config.php Modified: trunk/lib/site_config.php =================================================================== --- trunk/lib/site_config.php 2007-11-15 16:07:13 UTC (rev 623) +++ trunk/lib/site_config.php 2007-11-15 16:09:20 UTC (rev 624) @@ -36,7 +36,7 @@ //attempt to log the problem; if it happens too early, we can't do much about it. try { - print "<pre><h3>FATAL EXCEPTION ENCOUNTERED: </h3>". $exception ."</pre>"; + print "<pre><h3>FATAL EXCEPTION ENCOUNTERED: </h3>". $exception->getMessage() ."</pre>"; include_once(dirname(__FILE__) ."/globalFunctions.php"); if(function_exists('get_config_db_params') && class_exists('cs_phpDB') && class_exists('logsClass')) { $db = new cs_phpDB; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-15 16:07:22
|
Revision: 623 http://cs-project.svn.sourceforge.net/cs-project/?rev=623&view=rev Author: crazedsanity Date: 2007-11-15 08:07:13 -0800 (Thu, 15 Nov 2007) Log Message: ----------- Catch exceptions when sending emails. /lib/globalFunctions.php: * send_email(): -- put calls to send_single_email() into a try/catch block so exceptions will be caught (otherwise user would get the exception screen, and might re-submit until the email goes or they get bored... bad either way). * send_single_email(): -- logs errors or information about the message on success. Yay. -- NOTE: should probably add the email's subject line into the error message for max traceability... Modified Paths: -------------- trunk/lib/globalFunctions.php Modified: trunk/lib/globalFunctions.php =================================================================== --- trunk/lib/globalFunctions.php 2007-11-15 16:02:20 UTC (rev 622) +++ trunk/lib/globalFunctions.php 2007-11-15 16:07:13 UTC (rev 623) @@ -1492,11 +1492,21 @@ //if multiple recipients, must send multiple emails. if(is_array($toAddr)) { foreach($toAddr as $emailAddr) { - $retval = create_list($retval, send_single_email($emailAddr, $subject, $body)); + try { + $retval = create_list($retval, send_single_email($emailAddr, $subject, $body)); + } + catch(exception $e) { + $retval = create_list($retval, $emailAddr ." (failed: ". $e->getMessage() .")"); + } } } else { - $retval = send_single_email($toAddr, $subject, $body); + try { + $retval = send_single_email($toAddr, $subject, $body); + } + catch(exception $e) { + $retval = $toAddr ." (failed: ". $e->getMessage() .")"; + } } } else { @@ -1751,9 +1761,17 @@ $mail->Subject = $subject; $mail->Body = $bbCodeParser->parseString($body); $mail->WordWrap = 75; + + $logsObj = new logsClass($db, 'Email'); + if(!$mail->Send()) { - throw new exception(__FUNCTION__ .": Message could not be sent::: ". $mail->ErrorInfo); + $details = __FUNCTION__ .": Message to (". $toAddr .") could not be sent::: ". $mail->ErrorInfo; + $logsObj->log_by_class($details, 'error'); + throw new exception($details); } + else { + $logsObj->log_by_class('Successfully sent email to ('. $toAddr .'): '. $subject, 'information'); + } return($toAddr); }//end send_single_email() //============================================================================= This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2007-11-15 16:02:26
|
Revision: 622 http://cs-project.svn.sourceforge.net/cs-project/?rev=622&view=rev Author: crazedsanity Date: 2007-11-15 08:02:20 -0800 (Thu, 15 Nov 2007) Log Message: ----------- Add tabindex to the inputs for faster tabbing through the items. Modified Paths: -------------- trunk/templates/content/helpdesk/create.content.tmpl Modified: trunk/templates/content/helpdesk/create.content.tmpl =================================================================== --- trunk/templates/content/helpdesk/create.content.tmpl 2007-11-15 15:19:39 UTC (rev 621) +++ trunk/templates/content/helpdesk/create.content.tmpl 2007-11-15 16:02:20 UTC (rev 622) @@ -16,18 +16,18 @@ <tr> <td>Give your request a name:</td> - <td colspan="5"><input name="data[name]" size="80" maxlength="80" type="text"><br></td> + <td colspan="5"><input name="data[name]" size="80" maxlength="80" type="text" tabindex="1"><br></td> </tr> <tr> <td>Describe your request:</td> - <td colspan="5"><textarea name="data[subject]" cols="65" rows="10"></textarea><br></td> + <td colspan="5"><textarea name="data[subject]" cols="65" rows="10" tabindex="2"></textarea><br></td> </tr> <tr> <td>Issue Category:</td> <td colspan="5"> - <select name="data[initialTag]"> + <select name="data[initialTag]" tabindex="3"> {select_tags} </select> </td> @@ -36,7 +36,7 @@ <td align="right"> <input name="module" value="helpdesk" type="HIDDEN"> <input name="data[parentRecordId]" value="{linked_proj}" type="HIDDEN"> - <input name="submit" value="go" type="submit"> + <input name="submit" value="go" type="submit" tabindex="4"> </td> </tr> </tbody> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |