[CS-Project-svn_notify] SF.net SVN: cs-project: [885] trunk/1.2
Brought to you by:
crazedsanity
From: <cra...@us...> - 2008-05-02 04:45:17
|
Revision: 885 http://cs-project.svn.sourceforge.net/cs-project/?rev=885&view=rev Author: crazedsanity Date: 2008-05-01 21:45:07 -0700 (Thu, 01 May 2008) Log Message: ----------- Minor changes to rename "Todo" to "Task". Modified Paths: -------------- trunk/1.2/includes/content/task.inc trunk/1.2/includes/setup/3.inc trunk/1.2/lib/taskClass.php trunk/1.2/templates/content/helpdesk/view.content.tmpl Modified: trunk/1.2/includes/content/task.inc =================================================================== --- trunk/1.2/includes/content/task.inc 2008-05-02 04:25:50 UTC (rev 884) +++ trunk/1.2/includes/content/task.inc 2008-05-02 04:45:07 UTC (rev 885) @@ -73,14 +73,14 @@ if($action == "create" && $retval > 0) { set_message_wrapper(array( "title" => "Creation Successful", - "message" => "Todo #$retval was created successfully.", + "message" => "Task #$retval was created successfully.", "type" => "notice" )); } elseif($retval == 1) { set_message_wrapper(array( "title" => "Update Successful", - "message" => "Todo was updated successfully.", + "message" => "Task was updated successfully.", "type" => "notice" )); } @@ -120,7 +120,7 @@ } //update the title. - create_page_title($page, array('title' => "Create New Todo")); + create_page_title($page, array('title' => "Create New Task")); //show the proper drop-downs. $page->add_template_var("user_assign_list", $proj->create_user_option_list()); @@ -143,7 +143,7 @@ $taskDetails = $proj->taskObj->get_task($taskId); //set the page's title. - create_page_title($page, array('title' => "Todo #". $taskId .": \"". $taskDetails['name'] ."\"")); + create_page_title($page, array('title' => "Task #". $taskId .": \"". $taskDetails['name'] ."\"")); //format the body, so long sentences fit properly. Modified: trunk/1.2/includes/setup/3.inc =================================================================== --- trunk/1.2/includes/setup/3.inc 2008-05-02 04:25:50 UTC (rev 884) +++ trunk/1.2/includes/setup/3.inc 2008-05-02 04:45:07 UTC (rev 885) @@ -7,7 +7,7 @@ if($_POST) { $validSubmission = test_submitted_data($page, $_POST['users']); - if($validSubmission === TRUE) { + if($validSubmission === TRUE) { $obj = new __setupDefaultValues(); store_setup_data(3, $obj->go(), 'text'); $obj->finish($page); @@ -347,7 +347,7 @@ 4 => 'General', 5 => 'Project', 6 => 'Helpdesk', - 7 => 'Todo', + 7 => 'Task', 8 => 'Tags', 9 => 'Estimates', 10 => 'Navigation', @@ -395,12 +395,12 @@ 7 => array(2, 6, 'Helpdesk: Information'), 8 => array(1, 6, 'Helpdesk: ERROR'), 9 => array(6, 6, 'Helpdesk: Report'), - 10 => array(3, 7, 'Todo: created record'), - 11 => array(5, 7, 'Todo: deleted record'), - 12 => array(4, 7, 'Todo: updated record'), + 10 => array(3, 7, 'Task: created record'), + 11 => array(5, 7, 'Task: deleted record'), + 12 => array(4, 7, 'Task: updated record'), 13 => array(1, 1, 'Database Error'), 14 => array(6, 5, 'Project: Activity Report'), - 15 => array(6, 7, 'Todo: Activity Report'), + 15 => array(6, 7, 'Task: Activity Report'), 16 => array(3, 2, 'User logged-in'), 17 => array(5, 2, 'User logged-out'), 18 => array(6, 2, 'Login/Logout Report'), @@ -414,7 +414,7 @@ 26 => array(1, 9, 'Error: Estimates'), 27 => array(2, 5, 'Information: Project'), 28 => array(4, 3, 'Update: Users'), - 29 => array(1, 7, 'Error: Todo'), + 29 => array(1, 7, 'Error: Task'), 30 => array(3, 3, 'Create: Users') ); @@ -476,7 +476,7 @@ // {record_type_id} => array({name}, {module}) $recordTypes = array( 1 => array('Project', 'project'), - 2 => array('Todo', 'task'), + 2 => array('Task', 'task'), 3 => array('Helpdesk', 'helpdesk') ); @@ -822,7 +822,7 @@ 1 => array('startModule', 'helpdesk', 'Starting on Module', 'Defines which section will be loaded upon login if nothing was selected.'), 5 => array('sorting_helpdesk', 'public_id|DESC', 'Helpdesk Sorting', 'Define the type of sorting for the helpdesk page.'), 6 => array('sorting_project', 'priority|ASC', 'Project Sorting', 'Define the type of sorting for the helpdesk page.'), - 7 => array('projectDetails_taskDisplayOnlyMine', 'all', 'Project Details: Todo display', 'Define what tasks are displayed on a project\'s details page.'), + 7 => array('projectDetails_taskDisplayOnlyMine', 'all', 'Project Details: Task display', 'Define what tasks are displayed on a project\'s details page.'), 8 => array('projectDetails_showCompletedIssues', '1', 'Project Details: Display completed issues', 'Should completed issues display in the details of a project?') ); Modified: trunk/1.2/lib/taskClass.php =================================================================== --- trunk/1.2/lib/taskClass.php 2008-05-02 04:25:50 UTC (rev 884) +++ trunk/1.2/lib/taskClass.php 2008-05-02 04:45:07 UTC (rev 885) @@ -38,7 +38,7 @@ } //create the logging object. - $this->logsObj = new logsClass($this->db, 'Todo'); + $this->logsObj = new logsClass($this->db, 'Task'); }//end taskClass() //================================================================================================ Modified: trunk/1.2/templates/content/helpdesk/view.content.tmpl =================================================================== --- trunk/1.2/templates/content/helpdesk/view.content.tmpl 2008-05-02 04:25:50 UTC (rev 884) +++ trunk/1.2/templates/content/helpdesk/view.content.tmpl 2008-05-02 04:45:07 UTC (rev 885) @@ -187,7 +187,7 @@ <td style="border-bottom:solid #000 1px;" width="650" colspan="2" nowrap><code>{subject}</code></td> </tr> <tr> - <th>Todos:</th> + <th>Tasks:</th> <td> <div id="related_task">{related_task}</div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |