[xoops-cvslog 6115] CVS update: xoops2jp/html/class/smarty/plugins

Back to archive index

NobuNobu nobun****@users*****
2007年 1月 18日 (木) 19:20:41 JST


Index: xoops2jp/html/class/smarty/plugins/function.xoops_dhtmltarea.php
diff -u xoops2jp/html/class/smarty/plugins/function.xoops_dhtmltarea.php:1.1.2.4.2.2 xoops2jp/html/class/smarty/plugins/function.xoops_dhtmltarea.php:1.1.2.4.2.3
--- xoops2jp/html/class/smarty/plugins/function.xoops_dhtmltarea.php:1.1.2.4.2.2	Sat Dec 16 23:10:29 2006
+++ xoops2jp/html/class/smarty/plugins/function.xoops_dhtmltarea.php	Thu Jan 18 19:20:41 2007
@@ -2,7 +2,7 @@
 /**
  *
  * @package Legacy
- * @version $Id: function.xoops_dhtmltarea.php,v 1.1.2.4.2.2 2006/12/16 14:10:29 nobunobu Exp $
+ * @version $Id: function.xoops_dhtmltarea.php,v 1.1.2.4.2.3 2007/01/18 10:20:41 nobunobu Exp $
  * @copyright Copyright 2005, 2006 XOOPSCube.org <http://xoopscube.org/> 
  * @license http://www.gnu.org/licenses/gpl.txt GNU GENERAL PUBLIC LICENSE Version 2
  *
@@ -58,7 +58,7 @@
 		$class = isset($params['class']) ? trim($params['class']) : null;
 		$cols = isset($params['cols']) ? intval($params['cols']) : XOOPS_DHTMLTAREA_DEFAULT_COLS;
 		$rows = isset($params['rows']) ? intval($params['rows']) : XOOPS_DHTMLTAREA_DEFAULT_ROWS;
-		$value = isset($params['value']) ? $textFilter->ToEdit(trim($params['value'])) : null;
+		$value = isset($params['value']) ? $textFilter->toEdit(trim($params['value'])) : null;
 		$id = isset($params['id']) ? trim($params['id']) : XOOPS_DHTMLTAREA_DEFID_PREFIX . $name;
 
 		//
Index: xoops2jp/html/class/smarty/plugins/function.xoops_input.php
diff -u xoops2jp/html/class/smarty/plugins/function.xoops_input.php:1.1.2.9.2.3 xoops2jp/html/class/smarty/plugins/function.xoops_input.php:1.1.2.9.2.4
--- xoops2jp/html/class/smarty/plugins/function.xoops_input.php:1.1.2.9.2.3	Sat Dec 16 23:10:29 2006
+++ xoops2jp/html/class/smarty/plugins/function.xoops_input.php	Thu Jan 18 19:20:41 2007
@@ -2,7 +2,7 @@
 /**
  *
  * @package Legacy
- * @version $Id: function.xoops_input.php,v 1.1.2.9.2.3 2006/12/16 14:10:29 nobunobu Exp $
+ * @version $Id: function.xoops_input.php,v 1.1.2.9.2.4 2007/01/18 10:20:41 nobunobu Exp $
  * @copyright Copyright 2005, 2006 XOOPSCube.org <http://xoopscube.org/> 
  * @license http://www.gnu.org/licenses/gpl.txt GNU GENERAL PUBLIC LICENSE Version 2
  *
@@ -54,7 +54,7 @@
 		$name = trim($params['name']);
 		$key = isset($params['key']) ? trim($params['key']) : null;
 		$type = isset($params['type']) ? strtolower(trim($params['type'])) : "text";
-		$value = isset($params['value']) ? $textFilter->ToEdit($params['value']) : null;
+		$value = isset($params['value']) ? $textFilter->toEdit($params['value']) : null;
 		$class = isset($params['class']) ? trim($params['class']) : null;
 		$id = isset($params['id']) ? trim($params['id']) : XOOPS_INPUT_DEFID_PREFIX . $name;
 		$size = isset($params['size']) ? intval($params['size']) : null;
Index: xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php
diff -u xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php:1.1.2.4.2.4 xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php:1.1.2.4.2.5
--- xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php:1.1.2.4.2.4	Sat Dec 16 23:10:29 2006
+++ xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php	Thu Jan 18 19:20:41 2007
@@ -2,7 +2,7 @@
 /**
  *
  * @package Legacy
- * @version $Id: function.xoops_optionsArray.php,v 1.1.2.4.2.4 2006/12/16 14:10:29 nobunobu Exp $
+ * @version $Id: function.xoops_optionsArray.php,v 1.1.2.4.2.5 2007/01/18 10:20:41 nobunobu Exp $
  * @copyright Copyright 2005, 2006 XOOPSCube.org <http://xoopscube.org/> 
  * @license http://www.gnu.org/licenses/gpl.txt GNU GENERAL PUBLIC LICENSE Version 2
  *
@@ -41,8 +41,8 @@
     $root =& XCube_Root::getSingleton();
     $textFilter =& $root->getTextFilter();
 	foreach ($objectArr as $object) {
-	    $value = $textFilter->ToShow($object->get($params['value']));
-	    $label = $textFilter->ToShow($object->get($params['label']));
+	    $value = $textFilter->toShow($object->get($params['value']));
+	    $label = $textFilter->toShow($object->get($params['label']));
 		
 		$selected = "";
 		if (is_array($default) && in_array($object->get($params['value']), $default)) {
Index: xoops2jp/html/class/smarty/plugins/function.xoops_textarea.php
diff -u xoops2jp/html/class/smarty/plugins/function.xoops_textarea.php:1.1.2.5.2.2 xoops2jp/html/class/smarty/plugins/function.xoops_textarea.php:1.1.2.5.2.3
--- xoops2jp/html/class/smarty/plugins/function.xoops_textarea.php:1.1.2.5.2.2	Sat Dec 16 23:10:29 2006
+++ xoops2jp/html/class/smarty/plugins/function.xoops_textarea.php	Thu Jan 18 19:20:41 2007
@@ -2,7 +2,7 @@
 /**
  *
  * @package Legacy
- * @version $Id: function.xoops_textarea.php,v 1.1.2.5.2.2 2006/12/16 14:10:29 nobunobu Exp $
+ * @version $Id: function.xoops_textarea.php,v 1.1.2.5.2.3 2007/01/18 10:20:41 nobunobu Exp $
  * @copyright Copyright 2005, 2006 XOOPSCube.org <http://xoopscube.org/> 
  * @license http://www.gnu.org/licenses/gpl.txt GNU GENERAL PUBLIC LICENSE Version 2
  *
@@ -53,7 +53,7 @@
 		$class = isset($params['class']) ? trim($params['class']) : null;
 		$cols = isset($params['cols']) ? intval($params['cols']) : XOOPS_TEXTAREA_DEFAULT_COLS;
 		$rows = isset($params['rows']) ? intval($params['rows']) : XOOPS_TEXTAREA_DEFAULT_ROWS;
-		$value = isset($params['value']) ? $textFilter->ToEdit($params['value']) : null;
+		$value = isset($params['value']) ? $textFilter->toEdit($params['value']) : null;
 		$id = isset($params['id']) ? trim($params['id']) : XOOPS_TEXTAREA_DEFID_PREFIX . $name;
 		$readonly = isset($params['readonly']) ? trim($params['readonly']) : null;
 
Index: xoops2jp/html/class/smarty/plugins/modifier.xoops_escape.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.xoops_escape.php:1.1.2.2 xoops2jp/html/class/smarty/plugins/modifier.xoops_escape.php:1.1.2.3
--- xoops2jp/html/class/smarty/plugins/modifier.xoops_escape.php:1.1.2.2	Sat Dec 16 23:10:29 2006
+++ xoops2jp/html/class/smarty/plugins/modifier.xoops_escape.php	Thu Jan 18 19:20:41 2007
@@ -2,7 +2,7 @@
 /**
  *
  * @package Legacy
- * @version $Id: modifier.xoops_escape.php,v 1.1.2.2 2006/12/16 14:10:29 nobunobu Exp $
+ * @version $Id: modifier.xoops_escape.php,v 1.1.2.3 2007/01/18 10:20:41 nobunobu Exp $
  * @copyright Copyright 2005, 2006 XOOPSCube.org <http://xoopscube.org/> 
  * @license http://www.gnu.org/licenses/gpl.txt GNU GENERAL PUBLIC LICENSE Version 2
  *
@@ -29,10 +29,10 @@
     $textFilter =& $root->getTextFilter();
     switch ($esc_type) {
         case 'show':
-            return $textFilter->ToShow($string);
+            return $textFilter->toShow($string);
 
         case 'edit':
-            return $textFilter->ToEdit($string);
+            return $textFilter->toEdit($string);
 
         case 'plain':
         case 'link':


xoops-cvslog メーリングリストの案内
Back to archive index