[pLog-svn] r1116 - plugins/trunk/secret/class/action

mark at devel.plogworld.net mark at devel.plogworld.net
Thu Feb 17 15:51:22 GMT 2005


Author: mark
Date: 2005-02-17 15:51:21 +0000 (Thu, 17 Feb 2005)
New Revision: 1116

Modified:
   plugins/trunk/secret/class/action/adminsecretpluginupdatesettingsaction.class.php
Log:
I think I should keep the custom field name as english. 

Modified: plugins/trunk/secret/class/action/adminsecretpluginupdatesettingsaction.class.php
===================================================================
--- plugins/trunk/secret/class/action/adminsecretpluginupdatesettingsaction.class.php	2005-02-17 15:46:44 UTC (rev 1115)
+++ plugins/trunk/secret/class/action/adminsecretpluginupdatesettingsaction.class.php	2005-02-17 15:51:21 UTC (rev 1116)
@@ -40,7 +40,7 @@
 			// check if the checkbox fields exists
 			if( !array_key_exists( "password_protected", $blogFields )) {
 				_debug("creating password field!");
-				$protectedField = new CustomField( $this->_locale->tr("password_protected"),
+				$protectedField = new CustomField( "password_protected",
 				                                   $this->_locale->tr("password_protected_help"),
 												   CUSTOM_FIELD_CHECKBOX,
 												   $this->_blogInfo->getId());
@@ -56,7 +56,7 @@
 			// check if the field for the password exists
 			if( !array_key_exists( "password_field", $blogFields )) {
 				_debug("creating pass-word field!");
-				$passwordField = new CustomField( $this->_locale->tr("password_field"),
+				$passwordField = new CustomField( "password_field",
 				                                  $this->_locale->tr("password_field_help"),
 												   CUSTOM_FIELD_TEXTBOX,
 												   $this->_blogInfo->getId());




More information about the pLog-svn mailing list