From nobunobu @ users.sourceforge.jp Mon Jan 1 02:37:49 2007 From: nobunobu @ users.sourceforge.jp (NobuNobu) Date: Mon, 1 Jan 2007 02:37:49 +0900 Subject: [xoops-cvslog 6079] CVS update: xoops2jp/html/kernel Message-ID: <20061231173749.A0DDF2AC083@users.sourceforge.jp> Index: xoops2jp/html/kernel/group.php diff -u xoops2jp/html/kernel/group.php:1.2.8.4 xoops2jp/html/kernel/group.php:1.2.8.4.2.1 --- xoops2jp/html/kernel/group.php:1.2.8.4 Tue May 16 22:25:07 2006 +++ xoops2jp/html/kernel/group.php Mon Jan 1 02:37:49 2007 @@ -1,5 +1,5 @@ db->prefix('groups_users_link') . ' WHERE groupid='.intval($groupid); @@ -448,7 +448,7 @@ /** * @see getUsersByGroup */ - function getUsersByNoGroup($groupid, $limit=0, $start=0) + function &getUsersByNoGroup($groupid, $limit=0, $start=0) { $ret = array(); Index: xoops2jp/html/kernel/member.php diff -u xoops2jp/html/kernel/member.php:1.2.8.7 xoops2jp/html/kernel/member.php:1.2.8.7.2.1 --- xoops2jp/html/kernel/member.php:1.2.8.7 Sun Apr 23 00:53:00 2006 +++ xoops2jp/html/kernel/member.php Mon Jan 1 02:37:49 2007 @@ -1,5 +1,5 @@ _mHandler->getUsersByGroup($group_id, $limit, $start); if (!$asobject) { @@ -351,7 +351,7 @@ /** * @see getUsersByGroup */ - function getUsersByNoGroup($group_id, $asobject = false, $limit = 0, $start = 0) + function &getUsersByNoGroup($group_id, $asobject = false, $limit = 0, $start = 0) { $user_ids =& $this->_mHandler->getUsersByNoGroup($group_id, $limit, $start); if (!$asobject) { @@ -410,7 +410,7 @@ } /** - * logs in a user with an nd5 encrypted password + * logs in a user with an md5 encrypted password * * @param string $uname username * @param string $md5pwd password encrypted with md5 From nobunobu @ users.sourceforge.jp Wed Jan 3 23:56:07 2007 From: nobunobu @ users.sourceforge.jp (NobuNobu) Date: Wed, 3 Jan 2007 23:56:07 +0900 Subject: [xoops-cvslog 6080] CVS update: xoops2jp/html/class Message-ID: <20070103145607.3B42F2AC0AD@users.sourceforge.jp> Index: xoops2jp/html/class/module.textsanitizer.php diff -u xoops2jp/html/class/module.textsanitizer.php:1.2.8.9.2.3 xoops2jp/html/class/module.textsanitizer.php:1.2.8.9.2.4 --- xoops2jp/html/class/module.textsanitizer.php:1.2.8.9.2.3 Sat Dec 9 23:11:48 2006 +++ xoops2jp/html/class/module.textsanitizer.php Wed Jan 3 23:56:07 2007 @@ -1,5 +1,5 @@ checkUrlString($matches[2])) { + return $matches[0]; + } else { + return ""; + } + } + + /** + * Checks if invalid strings are included in URL + * + * @param string $text + * @return bool + */ + function checkUrlString($text) + { + // Check control code + if (preg_match("/[\\0-\\31]/", $text)) { + return false; + } + // check black pattern(deprecated) + return !preg_match("/^(javascript|vbscript|about):/i", $text); + } + + /** * Convert linebreaks to
tags * * @param string $text @@ -244,6 +275,30 @@ } /** + * Filters textarea data for display + * (This method makes overhead but needed for compatibility) + * + * @param string $text + * @param bool $html allow html? + * @param bool $smiley allow smileys? + * @param bool $xcode allow xoopscode? + * @param bool $image allow inline images? + * @param bool $br convert linebreaks? + * @return string + **/ + + function _ToShowTarea($text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1) { + $text = $this->codePreConv($text, $xcode); + if ($html != 1) $text = $this->htmlSpecialChars($text); + $text = $this->makeClickable($text); + if ($smiley != 0) $text = $this->smiley($text); + if ($xcode != 0) $text = $this->xoopsCodeDecode($text, $image); + if ($br != 0) $text = $this->nl2Br($text); + $text = $this->codeConv($text, $xcode, $image); + return $text; + } + + /** * Filters textarea form data in DB for display * * @param string $text @@ -256,7 +311,7 @@ **/ function &displayTarea(&$text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1) { - $text = $this->mTextFilter->ToShowTarea($text, $html, $smiley, $xcode, $image, $br, true); + $text = $this->_ToShowTarea($text, $html, $smiley, $xcode, $image, $br); return $text; } @@ -274,7 +329,7 @@ function &previewTarea(&$text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1) { $text =& $this->stripSlashesGPC($text); - $text = $this->mTextFilter->ToShowTarea($text, $html, $smiley, $xcode, $image, $br, true); + $text = $this->_ToShowTarea($text, $html, $smiley, $xcode, $image, $br); return $text; } @@ -337,14 +392,14 @@ */ function sanitizeForDisplay($text, $allowhtml = 0, $smiley = 1, $bbcode = 1) { - $text = $this->mTextFilter->ToShowTarea($text, $allowhtml, $smiley, $bbcode, 1, 1, true); + $text = $this->_ToShowTarea($text, $allowhtml, $smiley, $bbcode, 1, 1); return $text; } function sanitizeForPreview($text, $allowhtml = 0, $smiley = 1, $bbcode = 1) { $text = $this->oopsStripSlashesGPC($text); - $text = $this->mTextFilter->ToShowTarea($text, $allowhtml, $smiley, $bbcode, 1, 1, true); + $text = $this->_ToShowTarea($text, $allowhtml, $smiley, $bbcode, 1, 1); return $text; } From nobunobu @ users.sourceforge.jp Thu Jan 4 23:05:26 2007 From: nobunobu @ users.sourceforge.jp (NobuNobu) Date: Thu, 4 Jan 2007 23:05:26 +0900 Subject: [xoops-cvslog 6081] CVS update: xoops2jp/html/modules/legacy/admin/actions Message-ID: <20070104140526.07DEB2AC21C@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/admin/actions/HelpAction.class.php diff -u xoops2jp/html/modules/legacy/admin/actions/HelpAction.class.php:1.1.2.4 xoops2jp/html/modules/legacy/admin/actions/HelpAction.class.php:1.1.2.5 --- xoops2jp/html/modules/legacy/admin/actions/HelpAction.class.php:1.1.2.4 Thu Nov 9 15:11:30 2006 +++ xoops2jp/html/modules/legacy/admin/actions/HelpAction.class.php Thu Jan 4 23:05:25 2007 @@ -1,7 +1,7 @@ mModuleObject =& $moduleHandler->getByDirname($this->_mDirname); - $language =& $controller->mRoot->mContext->getXoopsConfig('language'); + $language = $controller->mRoot->mContext->getXoopsConfig('language'); // // TODO We must change the following lines to ActionForm. From nobunobu @ users.sourceforge.jp Sun Jan 7 00:30:44 2007 From: nobunobu @ users.sourceforge.jp (NobuNobu) Date: Sun, 7 Jan 2007 00:30:44 +0900 Subject: [xoops-cvslog 6082] CVS update: xoops2jp/html/modules/legacy/admin/templates Message-ID: <20070106153044.02D942AC101@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/admin/templates/comment_list.html diff -u xoops2jp/html/modules/legacy/admin/templates/comment_list.html:1.1.2.5 xoops2jp/html/modules/legacy/admin/templates/comment_list.html:1.1.2.6 --- xoops2jp/html/modules/legacy/admin/templates/comment_list.html:1.1.2.5 Fri Nov 10 20:29:15 2006 +++ xoops2jp/html/modules/legacy/admin/templates/comment_list.html Sun Jan 7 00:30:43 2007 @@ -9,7 +9,7 @@
"; + } + + return $buf; + } + return null; } } From minahito @ users.sourceforge.jp Thu Jan 18 14:05:11 2007 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 18 Jan 2007 14:05:11 +0900 Subject: [xoops-cvslog 6110] CVS update: xoops2jp/html/modules/legacy/admin/actions Message-ID: <20070118050511.B91B92AC03B@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php diff -u xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php:1.1.2.5 xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php:1.1.2.6 --- xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php:1.1.2.5 Wed Jan 17 19:14:46 2007 +++ xoops2jp/html/modules/legacy/admin/actions/BlockEditAction.class.php Thu Jan 18 14:05:11 2007 @@ -1,7 +1,7 @@ _mOptionForm = $this->_getOptionForm(); + $render->setAttribute('hasVisibleOptionForm', $this->_hasVisibleOptionForm()); $render->setAttribute('optionForm', $this->_mOptionForm); } + + /** + * @private + * Gets a value indicating whether the option form needs the row in the table to display its form. + * @remark This method is requred for the compatibility with XOOPS2. + * @return bool + */ + function _hasVisibleOptionForm() + { + $block =& Legacy_Utils::createBlockProcedure($this->mObject); + return $block->_hasVisibleOptionForm(); + } /** * Gets rendered HTML buffer of the block optional edit form. From minahito @ users.sourceforge.jp Thu Jan 18 14:05:22 2007 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 18 Jan 2007 14:05:22 +0900 Subject: [xoops-cvslog 6111] CVS update: xoops2jp/html/modules/legacy/admin/templates Message-ID: <20070118050522.B44FA2AC03B@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/admin/templates/blockinstall_edit.html diff -u xoops2jp/html/modules/legacy/admin/templates/blockinstall_edit.html:1.1.2.5 xoops2jp/html/modules/legacy/admin/templates/blockinstall_edit.html:1.1.2.6 --- xoops2jp/html/modules/legacy/admin/templates/blockinstall_edit.html:1.1.2.5 Sun Dec 3 00:50:20 2006 +++ xoops2jp/html/modules/legacy/admin/templates/blockinstall_edit.html Thu Jan 18 14:05:22 2007 @@ -19,6 +19,9 @@ <{xoops_token form=$actionForm}> <{xoops_input type=hidden name=bid value=$actionForm->get('bid')}> + <{if !$hasVisibleOptionForm && $optionForm != null}> + <{$optionForm}> + <{/if}> @@ -67,7 +70,7 @@ - <{if $optionForm != null}> + <{if $hasVisibleOptionForm && $optionForm != null}>
<{$smarty.const._AD_LEGACY_LANG_BLOCK_INSTALL}>
<{$smarty.const._AD_LEGACY_LANG_OPTIONS}> "> Index: xoops2jp/html/modules/legacy/admin/templates/block_edit.html diff -u xoops2jp/html/modules/legacy/admin/templates/block_edit.html:1.1.2.6 xoops2jp/html/modules/legacy/admin/templates/block_edit.html:1.1.2.7 --- xoops2jp/html/modules/legacy/admin/templates/block_edit.html:1.1.2.6 Thu Dec 14 22:02:49 2006 +++ xoops2jp/html/modules/legacy/admin/templates/block_edit.html Thu Jan 18 14:05:22 2007 @@ -19,6 +19,9 @@ <{xoops_token form=$actionForm}> <{xoops_input type=hidden name=bid value=$actionForm->get('bid')}> + <{if !$hasVisibleOptionForm && $optionForm != null}> + <{$optionForm}> + <{/if}> @@ -73,7 +76,7 @@ - <{if $optionForm != null}> + <{if $hasVisibleOptionForm && $optionForm != null}>
<{$smarty.const._AD_LEGACY_LANG_BLOCK_EDIT}>
<{$smarty.const._AD_LEGACY_LANG_OPTIONS}> "> From minahito @ users.sourceforge.jp Thu Jan 18 14:05:32 2007 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 18 Jan 2007 14:05:32 +0900 Subject: [xoops-cvslog 6112] CVS update: xoops2jp/html/modules/legacy/kernel Message-ID: <20070118050532.0EBB42AC042@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/kernel/Legacy_BlockProcedure.class.php diff -u xoops2jp/html/modules/legacy/kernel/Legacy_BlockProcedure.class.php:1.1.2.9 xoops2jp/html/modules/legacy/kernel/Legacy_BlockProcedure.class.php:1.1.2.10 --- xoops2jp/html/modules/legacy/kernel/Legacy_BlockProcedure.class.php:1.1.2.9 Wed Jan 17 19:15:20 2007 +++ xoops2jp/html/modules/legacy/kernel/Legacy_BlockProcedure.class.php Thu Jan 18 14:05:31 2007 @@ -1,7 +1,7 @@ _mDisplayFlag; } + function _hasVisibleOptionForm() + { + return ($this->_mBlock->get('func_file') && $this->_mBlock->get('edit_func')); + } + function getOptionForm() { if ($this->_mBlock->get('func_file') && $this->_mBlock->get('edit_func')) { From minahito @ users.sourceforge.jp Thu Jan 18 14:17:25 2007 From: minahito @ users.sourceforge.jp (Minahito) Date: Thu, 18 Jan 2007 14:17:25 +0900 Subject: [xoops-cvslog 6113] CVS update: xoops2jp/html/modules/legacy/kernel Message-ID: <20070118051725.1BFA72AC0D4@users.sourceforge.jp> Index: xoops2jp/html/modules/legacy/kernel/Legacy_BlockProcedure.class.php diff -u xoops2jp/html/modules/legacy/kernel/Legacy_BlockProcedure.class.php:1.1.2.10 xoops2jp/html/modules/legacy/kernel/Legacy_BlockProcedure.class.php:1.1.2.11 --- xoops2jp/html/modules/legacy/kernel/Legacy_BlockProcedure.class.php:1.1.2.10 Thu Jan 18 14:05:31 2007 +++ xoops2jp/html/modules/legacy/kernel/Legacy_BlockProcedure.class.php Thu Jan 18 14:17:24 2007 @@ -1,7 +1,7 @@ Index: xoops2jp/html/class/module.textsanitizer.php diff -u xoops2jp/html/class/module.textsanitizer.php:1.2.8.9.2.4 xoops2jp/html/class/module.textsanitizer.php:1.2.8.9.2.5 --- xoops2jp/html/class/module.textsanitizer.php:1.2.8.9.2.4 Wed Jan 3 23:56:07 2007 +++ xoops2jp/html/class/module.textsanitizer.php Thu Jan 18 19:20:41 2007 @@ -1,5 +1,5 @@ mTextFilter->Smiley($text); + $text = $this->mTextFilter->smiley($text); return $text; } @@ -138,7 +138,7 @@ **/ function &makeClickable(&$text) { - $text = $this->mTextFilter->MakeClickable($text); + $text = $this->mTextFilter->makeClickable($text); // RaiseEvent : 'MyTextSanitizer.MakeClickablePostFilter' // Delegate may convert output text with quickApplyFilter rule @@ -159,7 +159,7 @@ **/ function &xoopsCodeDecode(&$text, $allowimage = 1) { - $text = $this->mTextFilter->ConvertXCode($text, $allowimage); + $text = $this->mTextFilter->convertXCode($text, $allowimage); // RaiseEvent : 'MyTextSanitizer.XoopsCodePostFilter' // Delegate may convert output text with quickApplyFilter rule @@ -211,7 +211,7 @@ */ function &nl2Br($text) { - $ret = $this->mTextFilter->Nl2Br($text); + $ret = $this->mTextFilter->nl2Br($text); return $ret; } @@ -254,9 +254,9 @@ function &htmlSpecialChars($text, $forEdit=false) { if (!$forEdit) { - $ret = $this->mTextFilter->ToShow($text, true); + $ret = $this->mTextFilter->toShow($text, true); } else { - $ret = $this->mTextFilter->ToEdit($text); + $ret = $this->mTextFilter->toEdit($text); } return $ret; } @@ -373,14 +373,14 @@ */ function codePreConv($text, $xcode = 1) { if($xcode != 0){ - $text = $this->mTextFilter->PreConvertXCode($text, $xcode); + $text = $this->mTextFilter->preConvertXCode($text, $xcode); } return $text; } function codeConv($text, $xcode = 1, $image = 1){ if($xcode != 0){ - $text = $this->mTextFilter->PostConvertXCode($text, $xcode); + $text = $this->mTextFilter->postConvertXCode($text, $xcode); } return $text; } @@ -410,26 +410,26 @@ function makeTboxData4Show($text, $smiley=0) { - $text = $this->mTextFilter->ToShow($text, true); + $text = $this->mTextFilter->toShow($text, true); return $text; } function makeTboxData4Edit($text) { - return $this->mTextFilter->ToEdit($text); + return $this->mTextFilter->toEdit($text); } function makeTboxData4Preview($text, $smiley=0) { $text = $this->stripSlashesGPC($text); - $text = $this->mTextFilter->ToShow($text, true); + $text = $this->mTextFilter->toShow($text, true); return $text; } function makeTboxData4PreviewInForm($text) { $text = $this->stripSlashesGPC($text); - return $this->mTextFilter->ToEdit($text); + return $this->mTextFilter->toEdit($text); } function makeTareaData4Save($text) @@ -445,7 +445,7 @@ function makeTareaData4Edit($text) { - return $this->mTextFilter->ToEdit($text); + return $this->mTextFilter->toEdit($text); } function &makeTareaData4Preview(&$text, $html=1, $smiley=1, $xcode=1) @@ -458,12 +458,12 @@ { //if magic_quotes_gpc is on, do stipslashes $text = $this->stripSlashesGPC($text); - return $this->mTextFilter->ToEdit($text); + return $this->mTextFilter->toEdit($text); } function makeTareaData4InsideQuotes($text) { - return $this->mTextFilter->ToShow($text, true); + return $this->mTextFilter->toShow($text, true); } function &oopsStripSlashesGPC($text) @@ -488,7 +488,7 @@ function &oopsHtmlSpecialChars($text) { - $ret = $this->mTextFilter->ToShow($text, true); + $ret = $this->mTextFilter->toShow($text, true); return $ret; } From nobunobu @ users.sourceforge.jp Thu Jan 18 19:20:41 2007 From: nobunobu @ users.sourceforge.jp (NobuNobu) Date: Thu, 18 Jan 2007 19:20:41 +0900 Subject: [xoops-cvslog 6115] CVS update: xoops2jp/html/class/smarty/plugins Message-ID: <20070118102041.DCEB62AC0D7@users.sourceforge.jp> 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 * @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 * @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 * @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 * @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 * @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': From nobunobu @ users.sourceforge.jp Thu Jan 18 19:20:42 2007 From: nobunobu @ users.sourceforge.jp (NobuNobu) Date: Thu, 18 Jan 2007 19:20:42 +0900 Subject: [xoops-cvslog 6116] CVS update: xoops2jp/html/core Message-ID: <20070118102042.108A12AC0E4@users.sourceforge.jp> Index: xoops2jp/html/core/XCube_TextFilter.class.php diff -u xoops2jp/html/core/XCube_TextFilter.class.php:1.1.2.2 xoops2jp/html/core/XCube_TextFilter.class.php:1.1.2.3 --- xoops2jp/html/core/XCube_TextFilter.class.php:1.1.2.2 Tue Dec 26 23:30:54 2006 +++ xoops2jp/html/core/XCube_TextFilter.class.php Thu Jan 18 19:20:41 2007 @@ -2,7 +2,7 @@ /** * * @package XCube - * @version $Id: XCube_TextFilter.class.php,v 1.1.2.2 2006/12/26 14:30:54 nobunobu Exp $ + * @version $Id: XCube_TextFilter.class.php,v 1.1.2.3 2007/01/18 10:20:41 nobunobu Exp $ * @copyright Copyright 2005, 2006 XOOPS Cube Project * @license http://xoopscube.sourceforge.net/bsd_licenses.txt Modified BSD license * @@ -22,11 +22,11 @@ } } - function ToShow($str) { + function toShow($str) { return htmlspecialchars($str, ENT_QUOTES); } - function ToEdit($str) { + function toEdit($str) { return htmlspecialchars($str, ENT_QUOTES); } From nobunobu @ users.sourceforge.jp Thu Jan 18 19:20:42 2007 From: nobunobu @ users.sourceforge.jp (NobuNobu) Date: Thu, 18 Jan 2007 19:20:42 +0900 Subject: [xoops-cvslog 6117] CVS update: xoops2jp/html/modules/legacyRender/kernel Message-ID: <20070118102042.392D32AC0D7@users.sourceforge.jp> Index: xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php diff -u xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.30.2.16 xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.30.2.17 --- xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.30.2.16 Sun Dec 3 00:48:30 2006 +++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php Thu Jan 18 19:20:42 2007 @@ -1,6 +1,6 @@ tags for 2.0.x themes 'xoops_js' => '//-->