[CS-Project-svn_notify] SF.net SVN: cs-project: [886] trunk/1.2
Brought to you by:
crazedsanity
From: <cra...@us...> - 2008-05-05 16:18:39
|
Revision: 886 http://cs-project.svn.sourceforge.net/cs-project/?rev=886&view=rev Author: crazedsanity Date: 2008-05-05 09:14:13 -0700 (Mon, 05 May 2008) Log Message: ----------- Remove unused admin "config" settings, fix invalid call to logging. Modified Paths: -------------- trunk/1.2/includes/content/settings.inc trunk/1.2/lib/mainRecordClass.php trunk/1.2/templates/content/settings/admin.content.tmpl Modified: trunk/1.2/includes/content/settings.inc =================================================================== --- trunk/1.2/includes/content/settings.inc 2008-05-02 04:45:07 UTC (rev 885) +++ trunk/1.2/includes/content/settings.inc 2008-05-05 16:14:13 UTC (rev 886) @@ -131,11 +131,6 @@ if(count($page->ftsSections) == 3 && $page->ftsSections[2] == 'admin') { if($user->is_admin() == 1) { - #debug_print(get_class($page)); - - $config = new config(); - $config->build_update_interface($page); - //create an object with administrative capabilities. $adminUserClass = new adminUserClass($page->db); Modified: trunk/1.2/lib/mainRecordClass.php =================================================================== --- trunk/1.2/lib/mainRecordClass.php 2008-05-02 04:45:07 UTC (rev 885) +++ trunk/1.2/lib/mainRecordClass.php 2008-05-05 16:14:13 UTC (rev 886) @@ -634,7 +634,7 @@ } else { $details = __METHOD__ .": no data for ancestry (". $ancestryString .") with recordId=(". $recordId ."), or couldn't find lastRecordId (". $this->lastRecordId .")::: ". debug_print($data); - $this->log_by_class($details, 'error'); + $this->logsObj->log_by_class($details, 'error'); throw new exception($details); } $this->isHelpdeskIssue = $oldIsHelpdesk; Modified: trunk/1.2/templates/content/settings/admin.content.tmpl =================================================================== --- trunk/1.2/templates/content/settings/admin.content.tmpl 2008-05-02 04:45:07 UTC (rev 885) +++ trunk/1.2/templates/content/settings/admin.content.tmpl 2008-05-05 16:14:13 UTC (rev 886) @@ -2,63 +2,7 @@ <h2><font color="red">Administrative Settings</font></h2> -<a name="config" /> -<table border="1" cellpadding="3" cellspacing="0" width="80%"> -<tr> - <th colspan="2">Config Settings</th> -</tr> -<tr> - <td colspan="2" align="center"> - <div class="note" style="width:60em"><b>NOTE:</b> You should be <font color="red"><b>absolutely certain</b></font> of the - effects of the changes you make here. Changing an item to an incorrect value make render the - installation useless. To rectify a broken configuration, you would need to modify the - <b>{CONFIG_FILE_LOCATION}</b> file manually.</div> - </td> -</tr> -<tr> - <th width="80%">Name/Description</th> - <th width="20%">Value/Select Option</th> -</tr> -<!-- BEGIN setting_text --> - <tr> - <td> - <b>%%title%%</b> (%%index%%)<BR> - %%description%% - </td> - - <td><input name="%%index%%" type="text" value="%%value%%" %%disabled%%></td> - </tr> -<!-- END setting_text --> -<!-- BEGIN setting_select --> - <tr> - <td> - <b>%%title%%</b> (%%index%%)<BR> - %%description%% - </td> - - <td> - <select name="%%index%%" %%disabled%%> - %%setting_select__normal%% - </select> - </td> - </tr> -<!-- END setting_select --> -<!-- BEGIN setting_locked --> - <tr> - <td> - <b>%%title%%</b> (%%index%%)<BR> - %%description%% - </td> - - <td> - <!-- NOTE: should we even have hidden elements in the form? --> - <input type="text" name="%%index%%" value="%%value%%" disabled> - </td> - </tr> -<!-- END setting_locked --> -</table> - <a name="group" /> <table border=1 cellpadding=3 cellspacing=0> <tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |