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

Back to archive index

NobuNobu nobun****@users*****
2006年 1月 27日 (金) 23:34:11 JST


Index: xoops2jp/html/class/smarty/plugins/block.textformat.php
diff -u xoops2jp/html/class/smarty/plugins/block.textformat.php:1.2 xoops2jp/html/class/smarty/plugins/block.textformat.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/block.textformat.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/block.textformat.php	Fri Jan 27 23:34:11 2006
@@ -23,6 +23,7 @@
  *           indent_char: string (" ")
  *           wrap_boundary: boolean (true)
  * </pre>
+ * @author Monte Ohrt <monte at ohrt dot com>
  * @param string contents of the block
  * @param Smarty clever simulation of a method
  * @return string string $content re-formatted
Index: xoops2jp/html/class/smarty/plugins/compiler.assign.php
diff -u xoops2jp/html/class/smarty/plugins/compiler.assign.php:1.1 xoops2jp/html/class/smarty/plugins/compiler.assign.php:1.1.8.1
--- xoops2jp/html/class/smarty/plugins/compiler.assign.php:1.1	Fri Mar 18 21:56:02 2005
+++ xoops2jp/html/class/smarty/plugins/compiler.assign.php	Fri Jan 27 23:34:11 2006
@@ -13,6 +13,8 @@
  * Purpose:  assign a value to a template variable
  * @link http://smarty.php.net/manual/en/language.custom.functions.php#LANGUAGE.FUNCTION.ASSIGN {assign}
  *       (Smarty online manual)
+ * @author Monte Ohrt <monte at ohrt dot com> (initial author)
+ * @auther messju mohr <messju at lammfellpuschen dot de> (conversion to compiler function)
  * @param string containing var-attribute and value-attribute
  * @param Smarty_Compiler
  */
Index: xoops2jp/html/class/smarty/plugins/function.assign_debug_info.php
diff -u xoops2jp/html/class/smarty/plugins/function.assign_debug_info.php:1.2 xoops2jp/html/class/smarty/plugins/function.assign_debug_info.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/function.assign_debug_info.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/function.assign_debug_info.php	Fri Jan 27 23:34:11 2006
@@ -11,6 +11,7 @@
  * Type:     function<br>
  * Name:     assign_debug_info<br>
  * Purpose:  assign debug info to the template<br>
+ * @author Monte Ohrt <monte at ohrt dot com>
  * @param array unused in this plugin, this plugin uses {@link Smarty::$_config},
  *              {@link Smarty::$_tpl_vars} and {@link Smarty::$_smarty_debug_info}
  * @param Smarty
Index: xoops2jp/html/class/smarty/plugins/function.config_load.php
diff -u xoops2jp/html/class/smarty/plugins/function.config_load.php:1.1.8.1 xoops2jp/html/class/smarty/plugins/function.config_load.php:1.1.8.2
--- xoops2jp/html/class/smarty/plugins/function.config_load.php:1.1.8.1	Sun Nov 20 17:05:54 2005
+++ xoops2jp/html/class/smarty/plugins/function.config_load.php	Fri Jan 27 23:34:11 2006
@@ -13,6 +13,8 @@
  * Purpose:  load config file vars
  * @link http://smarty.php.net/manual/en/language.function.config.load.php {config_load}
  *       (Smarty online manual)
+ * @author Monte Ohrt <monte at ohrt dot com>
+ * @author messju mohr <messju at lammfellpuschen dot de> (added use of resources)
  * @param array Format:
  * <pre>
  * array('file' => required config file name,
Index: xoops2jp/html/class/smarty/plugins/function.counter.php
diff -u xoops2jp/html/class/smarty/plugins/function.counter.php:1.2 xoops2jp/html/class/smarty/plugins/function.counter.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/function.counter.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/function.counter.php	Fri Jan 27 23:34:11 2006
@@ -12,6 +12,7 @@
  * Type:     function<br>
  * Name:     counter<br>
  * Purpose:  print out a counter value
+ * @author Monte Ohrt <monte at ohrt dot com>
  * @link http://smarty.php.net/manual/en/language.function.counter.php {counter}
  *       (Smarty online manual)
  * @param array parameters
Index: xoops2jp/html/class/smarty/plugins/function.eval.php
diff -u xoops2jp/html/class/smarty/plugins/function.eval.php:1.2 xoops2jp/html/class/smarty/plugins/function.eval.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/function.eval.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/function.eval.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  evaluate a template variable as a template<br>
  * @link http://smarty.php.net/manual/en/language.function.eval.php {eval}
  *       (Smarty online manual)
+ * @author Monte Ohrt <monte at ohrt dot com>
  * @param array
  * @param Smarty
  */
Index: xoops2jp/html/class/smarty/plugins/function.fetch.php
diff -u xoops2jp/html/class/smarty/plugins/function.fetch.php:1.2.8.1 xoops2jp/html/class/smarty/plugins/function.fetch.php:1.2.8.2
--- xoops2jp/html/class/smarty/plugins/function.fetch.php:1.2.8.1	Sun Nov 20 17:05:54 2005
+++ xoops2jp/html/class/smarty/plugins/function.fetch.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  fetch file, web or ftp data and display results
  * @link http://smarty.php.net/manual/en/language.function.fetch.php {fetch}
  *       (Smarty online manual)
+ * @author Monte Ohrt <monte at ohrt dot com>
  * @param array
  * @param Smarty
  * @return string|null if the assign parameter is passed, Smarty assigns the
Index: xoops2jp/html/class/smarty/plugins/function.html_image.php
diff -u xoops2jp/html/class/smarty/plugins/function.html_image.php:1.2.8.1 xoops2jp/html/class/smarty/plugins/function.html_image.php:1.2.8.2
--- xoops2jp/html/class/smarty/plugins/function.html_image.php:1.2.8.1	Sun Nov 20 17:05:54 2005
+++ xoops2jp/html/class/smarty/plugins/function.html_image.php	Fri Jan 27 23:34:11 2006
@@ -19,9 +19,10 @@
  *         - width = image width (optional, default actual width)
  *         - basedir = base directory for absolute paths, default
  *                     is environment variable DOCUMENT_ROOT
+ *         - path_prefix = prefix for path output (optional, default empty)
  *
- * Examples: {html_image file="images/masthead.gif"}
- * Output:   <img src="images/masthead.gif" width=400 height=23>
+ * Examples: {html_image file="/images/masthead.gif"}
+ * Output:   <img src="/images/masthead.gif" width=400 height=23>
  * @link http://smarty.php.net/manual/en/language.function.html.image.php {html_image}
  *      (Smarty online manual)
  * @author   Monte Ohrt <monte at ohrt dot com>
@@ -44,6 +45,7 @@
     $extra = '';
     $prefix = '';
     $suffix = '';
+    $path_prefix = '';
     $server_vars = ($smarty->request_use_auto_globals) ? $_SERVER : $GLOBALS['HTTP_SERVER_VARS'];
     $basedir = isset($server_vars['DOCUMENT_ROOT']) ? $server_vars['DOCUMENT_ROOT'] : '';
     foreach($params as $_key => $_val) {
@@ -52,6 +54,7 @@
             case 'height':
             case 'width':
             case 'dpi':
+            case 'path_prefix':
             case 'basedir':
                 $$_key = $_val;
                 break;
@@ -90,15 +93,9 @@
     } else {
         $_image_path = $file;
     }
-
+    
     if(!isset($params['width']) || !isset($params['height'])) {
-        if ($smarty->security &&
-            ($_params = array('resource_type' => 'file', 'resource_name' => $_image_path)) &&
-            (require_once(SMARTY_CORE_DIR . 'core.is_secure.php')) &&
-            (!smarty_core_is_secure($_params, $smarty)) ) {
-            $smarty->trigger_error("html_image: (secure) '$_image_path' not in secure directory", E_USER_NOTICE);
-
-        } elseif (!$_image_data = @getimagesize($_image_path)) {
+        if(!$_image_data = @getimagesize($_image_path)) {
             if(!file_exists($_image_path)) {
                 $smarty->trigger_error("html_image: unable to find '$_image_path'", E_USER_NOTICE);
                 return;
@@ -110,7 +107,13 @@
                 return;
             }
         }
-
+        if ($smarty->security &&
+            ($_params = array('resource_type' => 'file', 'resource_name' => $_image_path)) &&
+            (require_once(SMARTY_CORE_DIR . 'core.is_secure.php')) &&
+            (!smarty_core_is_secure($_params, $smarty)) ) {
+            $smarty->trigger_error("html_image: (secure) '$_image_path' not in secure directory", E_USER_NOTICE);
+        }        
+        
         if(!isset($params['width'])) {
             $width = $_image_data[0];
         }
@@ -131,7 +134,7 @@
         $height = round($height * $_resize);
     }
 
-    return $prefix . '<img src="'.$file.'" alt="'.$alt.'" width="'.$width.'" height="'.$height.'"'.$extra.' />' . $suffix;
+    return $prefix . '<img src="'.$path_prefix.$file.'" alt="'.$alt.'" width="'.$width.'" height="'.$height.'"'.$extra.' />' . $suffix;
 }
 
 /* vim: set expandtab: */
Index: xoops2jp/html/class/smarty/plugins/function.html_options.php
diff -u xoops2jp/html/class/smarty/plugins/function.html_options.php:1.2.8.1 xoops2jp/html/class/smarty/plugins/function.html_options.php:1.2.8.2
--- xoops2jp/html/class/smarty/plugins/function.html_options.php:1.2.8.1	Sun Nov 20 17:05:54 2005
+++ xoops2jp/html/class/smarty/plugins/function.html_options.php	Fri Jan 27 23:34:11 2006
@@ -21,6 +21,7 @@
  *           the passed parameters
  * @link http://smarty.php.net/manual/en/language.function.html.options.php {html_image}
  *      (Smarty online manual)
+ * @author Monte Ohrt <monte at ohrt dot com>
  * @param array
  * @param Smarty
  * @return string
Index: xoops2jp/html/class/smarty/plugins/function.html_select_date.php
diff -u xoops2jp/html/class/smarty/plugins/function.html_select_date.php:1.2.8.1 xoops2jp/html/class/smarty/plugins/function.html_select_date.php:1.2.8.2
--- xoops2jp/html/class/smarty/plugins/function.html_select_date.php:1.2.8.1	Sun Nov 20 17:05:54 2005
+++ xoops2jp/html/class/smarty/plugins/function.html_select_date.php	Fri Jan 27 23:34:11 2006
@@ -27,7 +27,8 @@
  * @link http://smarty.php.net/manual/en/language.function.html.select.date.php {html_select_date}
  *      (Smarty online manual)
  * @version 1.3.2
- * @author   Andrei Zmievski
+ * @author Andrei Zmievski
+ * @author Monte Ohrt <monte at ohrt dot com>
  * @param array
  * @param Smarty
  * @return string
Index: xoops2jp/html/class/smarty/plugins/function.html_select_time.php
diff -u xoops2jp/html/class/smarty/plugins/function.html_select_time.php:1.2 xoops2jp/html/class/smarty/plugins/function.html_select_time.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/function.html_select_time.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/function.html_select_time.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,8 @@
  * Purpose:  Prints the dropdowns for time selection
  * @link http://smarty.php.net/manual/en/language.function.html.select.time.php {html_select_time}
  *          (Smarty online manual)
+ * @author Roberto Berto <rober****@berto*****>
+ * @credits Monte Ohrt <monte AT ohrt DOT com>
  * @param array
  * @param Smarty
  * @return string
Index: xoops2jp/html/class/smarty/plugins/function.math.php
diff -u xoops2jp/html/class/smarty/plugins/function.math.php:1.2.8.1 xoops2jp/html/class/smarty/plugins/function.math.php:1.2.8.2
--- xoops2jp/html/class/smarty/plugins/function.math.php:1.2.8.1	Sun Nov 20 17:05:54 2005
+++ xoops2jp/html/class/smarty/plugins/function.math.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  handle math computations in template<br>
  * @link http://smarty.php.net/manual/en/language.function.math.php {math}
  *          (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param array
  * @param Smarty
  * @return string
@@ -57,7 +58,7 @@
                 $smarty->trigger_error("math: parameter $key: is not numeric");
                 return;
             }
-            $equation = preg_replace("/\b$key\b/",$val, $equation);
+            $equation = preg_replace("/\b$key\b/", " \$params['$key'] ", $equation);
         }
     }
 
Index: xoops2jp/html/class/smarty/plugins/function.popup.php
diff -u xoops2jp/html/class/smarty/plugins/function.popup.php:1.2.8.1 xoops2jp/html/class/smarty/plugins/function.popup.php:1.2.8.2
--- xoops2jp/html/class/smarty/plugins/function.popup.php:1.2.8.1	Sun Nov 20 17:05:54 2005
+++ xoops2jp/html/class/smarty/plugins/function.popup.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  make text pop up in windows via overlib
  * @link http://smarty.php.net/manual/en/language.function.popup.php {popup}
  *          (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param array
  * @param Smarty
  * @return string
@@ -88,6 +89,7 @@
             case 'vauto':
             case 'mouseoff':
             case 'followmouse':
+            case 'closeclick':
                 if ($_value) $append .= ',' . strtoupper($_key);
                 break;
 
Index: xoops2jp/html/class/smarty/plugins/function.popup_init.php
diff -u xoops2jp/html/class/smarty/plugins/function.popup_init.php:1.2 xoops2jp/html/class/smarty/plugins/function.popup_init.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/function.popup_init.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/function.popup_init.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  initialize overlib
  * @link http://smarty.php.net/manual/en/language.function.popup.init.php {popup_init}
  *          (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param array
  * @param Smarty
  * @return string
Index: xoops2jp/html/class/smarty/plugins/modifier.capitalize.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.capitalize.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.capitalize.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.capitalize.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.capitalize.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  capitalize words in the string
  * @link http://smarty.php.net/manual/en/language.modifiers.php#LANGUAGE.MODIFIER.CAPITALIZE
  *      capitalize (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @return string
  */
Index: xoops2jp/html/class/smarty/plugins/modifier.count_characters.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.count_characters.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.count_characters.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.count_characters.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.count_characters.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  count the number of characters in a text
  * @link http://smarty.php.net/manual/en/language.modifier.count.characters.php
  *          count_characters (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @param boolean include whitespace in the character count
  * @return integer
Index: xoops2jp/html/class/smarty/plugins/modifier.count_paragraphs.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.count_paragraphs.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.count_paragraphs.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.count_paragraphs.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.count_paragraphs.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  count the number of paragraphs in a text
  * @link http://smarty.php.net/manual/en/language.modifier.count.paragraphs.php
  *          count_paragraphs (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @return integer
  */
Index: xoops2jp/html/class/smarty/plugins/modifier.count_sentences.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.count_sentences.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.count_sentences.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.count_sentences.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.count_sentences.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  count the number of sentences in a text
  * @link http://smarty.php.net/manual/en/language.modifier.count.paragraphs.php
  *          count_sentences (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @return integer
  */
Index: xoops2jp/html/class/smarty/plugins/modifier.count_words.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.count_words.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.count_words.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.count_words.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.count_words.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  count the number of words in a text
  * @link http://smarty.php.net/manual/en/language.modifier.count.words.php
  *          count_words (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @return integer
  */
Index: xoops2jp/html/class/smarty/plugins/modifier.date_format.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.date_format.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.date_format.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.date_format.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.date_format.php	Fri Jan 27 23:34:11 2006
@@ -21,6 +21,7 @@
  *         - default_date: default date if $string is empty
  * @link http://smarty.php.net/manual/en/language.modifier.date.format.php
  *          date_format (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @param string
  * @param string
Index: xoops2jp/html/class/smarty/plugins/modifier.debug_print_var.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.debug_print_var.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.debug_print_var.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.debug_print_var.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.debug_print_var.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  formats variable contents for display in the console
  * @link http://smarty.php.net/manual/en/language.modifier.debug.print.var.php
  *          debug_print_var (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param array|object
  * @param integer
  * @param integer
Index: xoops2jp/html/class/smarty/plugins/modifier.default.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.default.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.default.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.default.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.default.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  designate default value for empty variables
  * @link http://smarty.php.net/manual/en/language.modifier.default.php
  *          default (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @param string
  * @return string
Index: xoops2jp/html/class/smarty/plugins/modifier.escape.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.escape.php:1.2.8.1 xoops2jp/html/class/smarty/plugins/modifier.escape.php:1.2.8.2
--- xoops2jp/html/class/smarty/plugins/modifier.escape.php:1.2.8.1	Sun Nov 20 17:05:54 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.escape.php	Fri Jan 27 23:34:11 2006
@@ -14,22 +14,26 @@
  * Purpose:  Escape the string according to escapement type
  * @link http://smarty.php.net/manual/en/language.modifier.escape.php
  *          escape (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @param html|htmlall|url|quotes|hex|hexentity|javascript
  * @return string
  */
-function smarty_modifier_escape($string, $esc_type = 'html')
+function smarty_modifier_escape($string, $esc_type = 'html', $char_set = 'ISO-8859-1')
 {
     switch ($esc_type) {
         case 'html':
-            return htmlspecialchars($string, ENT_QUOTES);
+            return htmlspecialchars($string, ENT_QUOTES, $char_set);
 
         case 'htmlall':
-            return htmlentities($string, ENT_QUOTES);
+            return htmlentities($string, ENT_QUOTES, $char_set);
 
         case 'url':
             return rawurlencode($string);
 
+        case 'urlpathinfo':
+            return str_replace('%2F','/',rawurlencode($string));
+            
         case 'quotes':
             // escape unescaped single quotes
             return preg_replace("%(?<!\\\\)'%", "\\'", $string);
@@ -68,13 +72,13 @@
            // escape non-standard chars, such as ms document quotes
            $_res = '';
            for($_i = 0, $_len = strlen($string); $_i < $_len; $_i++) {
-               $_ord = ord($string{$_i});
+               $_ord = ord(substr($string, $_i, 1));
                // non-standard char, escape it
                if($_ord >= 126){
                    $_res .= '&#' . $_ord . ';';
                }
                else {
-                   $_res .= $string{$_i};
+                   $_res .= substr($string, $_i, 1);
                }
            }
            return $_res;
Index: xoops2jp/html/class/smarty/plugins/modifier.indent.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.indent.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.indent.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.indent.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.indent.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  indent lines of text
  * @link http://smarty.php.net/manual/en/language.modifier.indent.php
  *          indent (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @param integer
  * @param string
Index: xoops2jp/html/class/smarty/plugins/modifier.lower.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.lower.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.lower.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.lower.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.lower.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  convert string to lowercase
  * @link http://smarty.php.net/manual/en/language.modifier.lower.php
  *          lower (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @return string
  */
Index: xoops2jp/html/class/smarty/plugins/modifier.regex_replace.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.regex_replace.php:1.2.8.1 xoops2jp/html/class/smarty/plugins/modifier.regex_replace.php:1.2.8.2
--- xoops2jp/html/class/smarty/plugins/modifier.regex_replace.php:1.2.8.1	Sun Nov 20 17:05:54 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.regex_replace.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  regular epxression search/replace
  * @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php
  *          regex_replace (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @param string|array
  * @param string|array
Index: xoops2jp/html/class/smarty/plugins/modifier.replace.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.replace.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.replace.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.replace.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.replace.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  simple search/replace
  * @link http://smarty.php.net/manual/en/language.modifier.replace.php
  *          replace (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @param string
  * @param string
Index: xoops2jp/html/class/smarty/plugins/modifier.spacify.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.spacify.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.spacify.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.spacify.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.spacify.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  add spaces between characters in a string
  * @link http://smarty.php.net/manual/en/language.modifier.spacify.php
  *          spacify (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @param string
  * @return string
Index: xoops2jp/html/class/smarty/plugins/modifier.string_format.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.string_format.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.string_format.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.string_format.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.string_format.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  format strings via sprintf
  * @link http://smarty.php.net/manual/en/language.modifier.string.format.php
  *          string_format (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @param string
  * @return string
Index: xoops2jp/html/class/smarty/plugins/modifier.strip_tags.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.strip_tags.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.strip_tags.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.strip_tags.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.strip_tags.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  strip html tags from text
  * @link http://smarty.php.net/manual/en/language.modifier.strip.tags.php
  *          strip_tags (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @param boolean
  * @return string
Index: xoops2jp/html/class/smarty/plugins/modifier.truncate.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.truncate.php:1.2.8.1 xoops2jp/html/class/smarty/plugins/modifier.truncate.php:1.2.8.2
--- xoops2jp/html/class/smarty/plugins/modifier.truncate.php:1.2.8.1	Sun Nov 20 17:05:54 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.truncate.php	Fri Jan 27 23:34:11 2006
@@ -16,6 +16,7 @@
  *           appending the $etc string or inserting $etc into the middle.
  * @link http://smarty.php.net/manual/en/language.modifier.truncate.php
  *          truncate (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @param integer
  * @param string
Index: xoops2jp/html/class/smarty/plugins/modifier.upper.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.upper.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.upper.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.upper.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.upper.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  convert string to uppercase
  * @link http://smarty.php.net/manual/en/language.modifier.upper.php
  *          upper (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @return string
  */
Index: xoops2jp/html/class/smarty/plugins/modifier.wordwrap.php
diff -u xoops2jp/html/class/smarty/plugins/modifier.wordwrap.php:1.2 xoops2jp/html/class/smarty/plugins/modifier.wordwrap.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/modifier.wordwrap.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/modifier.wordwrap.php	Fri Jan 27 23:34:11 2006
@@ -14,6 +14,7 @@
  * Purpose:  wrap a string of text at a given length
  * @link http://smarty.php.net/manual/en/language.modifier.wordwrap.php
  *          wordwrap (Smarty online manual)
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @param integer
  * @param string
Index: xoops2jp/html/class/smarty/plugins/shared.escape_special_chars.php
diff -u xoops2jp/html/class/smarty/plugins/shared.escape_special_chars.php:1.2 xoops2jp/html/class/smarty/plugins/shared.escape_special_chars.php:1.2.8.1
--- xoops2jp/html/class/smarty/plugins/shared.escape_special_chars.php:1.2	Fri Mar 18 21:51:55 2005
+++ xoops2jp/html/class/smarty/plugins/shared.escape_special_chars.php	Fri Jan 27 23:34:11 2006
@@ -12,6 +12,7 @@
  * Function: smarty_function_escape_special_chars<br>
  * Purpose:  used by other smarty functions to escape
  *           special chars except for already escaped ones
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @return string
  */
Index: xoops2jp/html/class/smarty/plugins/shared.make_timestamp.php
diff -u xoops2jp/html/class/smarty/plugins/shared.make_timestamp.php:1.2.8.1 xoops2jp/html/class/smarty/plugins/shared.make_timestamp.php:1.2.8.2
--- xoops2jp/html/class/smarty/plugins/shared.make_timestamp.php:1.2.8.1	Sun Nov 20 17:05:54 2005
+++ xoops2jp/html/class/smarty/plugins/shared.make_timestamp.php	Fri Jan 27 23:34:11 2006
@@ -10,6 +10,7 @@
  * Function: smarty_make_timestamp<br>
  * Purpose:  used by other smarty functions to make a timestamp
  *           from a string.
+ * @author   Monte Ohrt <monte at ohrt dot com>
  * @param string
  * @return string
  */


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