[pLog-svn] r843 - in plog/trunk: class/action/admin locale templates/admin

oscar at devel.plogworld.net oscar at devel.plogworld.net
Tue Jan 25 21:42:19 GMT 2005


Author: oscar
Date: 2005-01-25 21:42:18 +0000 (Tue, 25 Jan 2005)
New Revision: 843

Modified:
   plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php
   plog/trunk/locale/locale_en_UK.php
   plog/trunk/templates/admin/blogsettings.template
Log:
fixed a small issue

Modified: plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php	2005-01-25 21:29:21 UTC (rev 842)
+++ plog/trunk/class/action/admin/adminupdateblogsettingsaction.class.php	2005-01-25 21:42:18 UTC (rev 843)
@@ -38,7 +38,7 @@
 			$this->registerField( "blogCommentsEnabled" );
 			$this->registerField( "blogCommentsOrder" );
 			$this->registerField( "blogShowFuturePosts" );
-			$this->registerFieldValidator( "blogTimeOffset", new IntegerValidator());
+			//$this->registerFieldValidator( "blogTimeOffset", new IntegerValidator());
 			$this->registerField( "properties" );
 			$this->registerField( "blogCategoriesOrder" );
 			$this->registerField( "blogLinkCategoriesOrder" );

Modified: plog/trunk/locale/locale_en_UK.php
===================================================================
--- plog/trunk/locale/locale_en_UK.php	2005-01-25 21:29:21 UTC (rev 842)
+++ plog/trunk/locale/locale_en_UK.php	2005-01-25 21:42:18 UTC (rev 843)
@@ -512,6 +512,7 @@
 $messages['select'] = 'Select';
 $messages['error_updating_settings'] = 'There was an error updating the blog settings. Please check the data and try again';
 $messages['error_invalid_number'] = 'The number is not correct';
+$messages['error_incorrect_time_offset'] = 'The time offset is not valid';
 $messages['blog_settings_updated_ok'] = 'Blog settings updated successfully';
 
 // user settings

Modified: plog/trunk/templates/admin/blogsettings.template
===================================================================
--- plog/trunk/templates/admin/blogsettings.template	2005-01-25 21:29:21 UTC (rev 842)
+++ plog/trunk/templates/admin/blogsettings.template	2005-01-25 21:42:18 UTC (rev 843)
@@ -187,7 +187,7 @@
        <option {if $blogTimeOffset == 19} selected="selected"{/if} value="19">+19 {$locale->tr("hours")}</option>
        <option {if $blogTimeOffset == 20} selected="selected"{/if} value="20">+20 {$locale->tr("hours")}</option>	   
       </select>
-      {include file="$admintemplatepath/validate.template" field=blogTimeOffset message=$locale->tr("error_incorrect_time_offset")}
+      {** include file="$admintemplatepath/validate.template" field=blogTimeOffset message=$locale->tr("error_incorrect_time_offset") **}
 	 </div>  
      
     </fieldset>




More information about the pLog-svn mailing list