mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 03:44:26 +02:00
Added author title to plugins where they don't exist. I put my name where I was the original or co-author. If there needs to be more credit given somewhere, speak up!
This commit is contained in:
@@ -23,6 +23,7 @@
|
|||||||
* indent_char: string (" ")
|
* indent_char: string (" ")
|
||||||
* wrap_boundary: boolean (true)
|
* wrap_boundary: boolean (true)
|
||||||
* </pre>
|
* </pre>
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string contents of the block
|
* @param string contents of the block
|
||||||
* @param Smarty clever simulation of a method
|
* @param Smarty clever simulation of a method
|
||||||
* @return string string $content re-formatted
|
* @return string string $content re-formatted
|
||||||
|
@@ -13,6 +13,7 @@
|
|||||||
* Purpose: assign a value to a template variable
|
* Purpose: assign a value to a template variable
|
||||||
* @link http://smarty.php.net/manual/en/language.custom.functions.php#LANGUAGE.FUNCTION.ASSIGN {assign}
|
* @link http://smarty.php.net/manual/en/language.custom.functions.php#LANGUAGE.FUNCTION.ASSIGN {assign}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string containing var-attribute and value-attribute
|
* @param string containing var-attribute and value-attribute
|
||||||
* @param Smarty_Compiler
|
* @param Smarty_Compiler
|
||||||
*/
|
*/
|
||||||
|
@@ -11,6 +11,7 @@
|
|||||||
* Type: function<br>
|
* Type: function<br>
|
||||||
* Name: assign_debug_info<br>
|
* Name: assign_debug_info<br>
|
||||||
* Purpose: assign debug info to the template<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},
|
* @param array unused in this plugin, this plugin uses {@link Smarty::$_config},
|
||||||
* {@link Smarty::$_tpl_vars} and {@link Smarty::$_smarty_debug_info}
|
* {@link Smarty::$_tpl_vars} and {@link Smarty::$_smarty_debug_info}
|
||||||
* @param Smarty
|
* @param Smarty
|
||||||
|
@@ -13,6 +13,7 @@
|
|||||||
* Purpose: load config file vars
|
* Purpose: load config file vars
|
||||||
* @link http://smarty.php.net/manual/en/language.function.config.load.php {config_load}
|
* @link http://smarty.php.net/manual/en/language.function.config.load.php {config_load}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param array Format:
|
* @param array Format:
|
||||||
* <pre>
|
* <pre>
|
||||||
* array('file' => required config file name,
|
* array('file' => required config file name,
|
||||||
|
@@ -12,6 +12,7 @@
|
|||||||
* Type: function<br>
|
* Type: function<br>
|
||||||
* Name: counter<br>
|
* Name: counter<br>
|
||||||
* Purpose: print out a counter value
|
* 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}
|
* @link http://smarty.php.net/manual/en/language.function.counter.php {counter}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
* @param array parameters
|
* @param array parameters
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: evaluate a template variable as a template<br>
|
* Purpose: evaluate a template variable as a template<br>
|
||||||
* @link http://smarty.php.net/manual/en/language.function.eval.php {eval}
|
* @link http://smarty.php.net/manual/en/language.function.eval.php {eval}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param array
|
* @param array
|
||||||
* @param Smarty
|
* @param Smarty
|
||||||
*/
|
*/
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: fetch file, web or ftp data and display results
|
* Purpose: fetch file, web or ftp data and display results
|
||||||
* @link http://smarty.php.net/manual/en/language.function.fetch.php {fetch}
|
* @link http://smarty.php.net/manual/en/language.function.fetch.php {fetch}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param array
|
* @param array
|
||||||
* @param Smarty
|
* @param Smarty
|
||||||
* @return string|null if the assign parameter is passed, Smarty assigns the
|
* @return string|null if the assign parameter is passed, Smarty assigns the
|
||||||
|
@@ -21,6 +21,7 @@
|
|||||||
* the passed parameters
|
* the passed parameters
|
||||||
* @link http://smarty.php.net/manual/en/language.function.html.options.php {html_image}
|
* @link http://smarty.php.net/manual/en/language.function.html.options.php {html_image}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param array
|
* @param array
|
||||||
* @param Smarty
|
* @param Smarty
|
||||||
* @return string
|
* @return string
|
||||||
|
@@ -27,7 +27,8 @@
|
|||||||
* @link http://smarty.php.net/manual/en/language.function.html.select.date.php {html_select_date}
|
* @link http://smarty.php.net/manual/en/language.function.html.select.date.php {html_select_date}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
* @version 1.3.2
|
* @version 1.3.2
|
||||||
* @author Andrei Zmievski
|
* @author Andrei Zmievski
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param array
|
* @param array
|
||||||
* @param Smarty
|
* @param Smarty
|
||||||
* @return string
|
* @return string
|
||||||
|
@@ -14,6 +14,8 @@
|
|||||||
* Purpose: Prints the dropdowns for time selection
|
* Purpose: Prints the dropdowns for time selection
|
||||||
* @link http://smarty.php.net/manual/en/language.function.html.select.time.php {html_select_time}
|
* @link http://smarty.php.net/manual/en/language.function.html.select.time.php {html_select_time}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
|
* @author Roberto Berto <roberto@berto.net>
|
||||||
|
* @credits Monte Ohrt <monte AT ohrt DOT com>
|
||||||
* @param array
|
* @param array
|
||||||
* @param Smarty
|
* @param Smarty
|
||||||
* @return string
|
* @return string
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: handle math computations in template<br>
|
* Purpose: handle math computations in template<br>
|
||||||
* @link http://smarty.php.net/manual/en/language.function.math.php {math}
|
* @link http://smarty.php.net/manual/en/language.function.math.php {math}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param array
|
* @param array
|
||||||
* @param Smarty
|
* @param Smarty
|
||||||
* @return string
|
* @return string
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: make text pop up in windows via overlib
|
* Purpose: make text pop up in windows via overlib
|
||||||
* @link http://smarty.php.net/manual/en/language.function.popup.php {popup}
|
* @link http://smarty.php.net/manual/en/language.function.popup.php {popup}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param array
|
* @param array
|
||||||
* @param Smarty
|
* @param Smarty
|
||||||
* @return string
|
* @return string
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: initialize overlib
|
* Purpose: initialize overlib
|
||||||
* @link http://smarty.php.net/manual/en/language.function.popup.init.php {popup_init}
|
* @link http://smarty.php.net/manual/en/language.function.popup.init.php {popup_init}
|
||||||
* (Smarty online manual)
|
* (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param array
|
* @param array
|
||||||
* @param Smarty
|
* @param Smarty
|
||||||
* @return string
|
* @return string
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: capitalize words in the string
|
* Purpose: capitalize words in the string
|
||||||
* @link http://smarty.php.net/manual/en/language.modifiers.php#LANGUAGE.MODIFIER.CAPITALIZE
|
* @link http://smarty.php.net/manual/en/language.modifiers.php#LANGUAGE.MODIFIER.CAPITALIZE
|
||||||
* capitalize (Smarty online manual)
|
* capitalize (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: count the number of characters in a text
|
* Purpose: count the number of characters in a text
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.count.characters.php
|
* @link http://smarty.php.net/manual/en/language.modifier.count.characters.php
|
||||||
* count_characters (Smarty online manual)
|
* count_characters (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @param boolean include whitespace in the character count
|
* @param boolean include whitespace in the character count
|
||||||
* @return integer
|
* @return integer
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: count the number of paragraphs in a text
|
* Purpose: count the number of paragraphs in a text
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.count.paragraphs.php
|
* @link http://smarty.php.net/manual/en/language.modifier.count.paragraphs.php
|
||||||
* count_paragraphs (Smarty online manual)
|
* count_paragraphs (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @return integer
|
* @return integer
|
||||||
*/
|
*/
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: count the number of sentences in a text
|
* Purpose: count the number of sentences in a text
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.count.paragraphs.php
|
* @link http://smarty.php.net/manual/en/language.modifier.count.paragraphs.php
|
||||||
* count_sentences (Smarty online manual)
|
* count_sentences (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @return integer
|
* @return integer
|
||||||
*/
|
*/
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: count the number of words in a text
|
* Purpose: count the number of words in a text
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.count.words.php
|
* @link http://smarty.php.net/manual/en/language.modifier.count.words.php
|
||||||
* count_words (Smarty online manual)
|
* count_words (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @return integer
|
* @return integer
|
||||||
*/
|
*/
|
||||||
|
@@ -21,6 +21,7 @@ require_once $smarty->_get_plugin_filepath('shared','make_timestamp');
|
|||||||
* - default_date: default date if $string is empty
|
* - default_date: default date if $string is empty
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.date.format.php
|
* @link http://smarty.php.net/manual/en/language.modifier.date.format.php
|
||||||
* date_format (Smarty online manual)
|
* date_format (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @param string
|
* @param string
|
||||||
* @param string
|
* @param string
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: formats variable contents for display in the console
|
* Purpose: formats variable contents for display in the console
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.debug.print.var.php
|
* @link http://smarty.php.net/manual/en/language.modifier.debug.print.var.php
|
||||||
* debug_print_var (Smarty online manual)
|
* debug_print_var (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param array|object
|
* @param array|object
|
||||||
* @param integer
|
* @param integer
|
||||||
* @param integer
|
* @param integer
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: designate default value for empty variables
|
* Purpose: designate default value for empty variables
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.default.php
|
* @link http://smarty.php.net/manual/en/language.modifier.default.php
|
||||||
* default (Smarty online manual)
|
* default (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @param string
|
* @param string
|
||||||
* @return string
|
* @return string
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: Escape the string according to escapement type
|
* Purpose: Escape the string according to escapement type
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.escape.php
|
* @link http://smarty.php.net/manual/en/language.modifier.escape.php
|
||||||
* escape (Smarty online manual)
|
* escape (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @param html|htmlall|url|quotes|hex|hexentity|javascript
|
* @param html|htmlall|url|quotes|hex|hexentity|javascript
|
||||||
* @return string
|
* @return string
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: indent lines of text
|
* Purpose: indent lines of text
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.indent.php
|
* @link http://smarty.php.net/manual/en/language.modifier.indent.php
|
||||||
* indent (Smarty online manual)
|
* indent (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @param integer
|
* @param integer
|
||||||
* @param string
|
* @param string
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: convert string to lowercase
|
* Purpose: convert string to lowercase
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.lower.php
|
* @link http://smarty.php.net/manual/en/language.modifier.lower.php
|
||||||
* lower (Smarty online manual)
|
* lower (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: regular epxression search/replace
|
* Purpose: regular epxression search/replace
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php
|
* @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php
|
||||||
* regex_replace (Smarty online manual)
|
* regex_replace (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @param string|array
|
* @param string|array
|
||||||
* @param string|array
|
* @param string|array
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: simple search/replace
|
* Purpose: simple search/replace
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.replace.php
|
* @link http://smarty.php.net/manual/en/language.modifier.replace.php
|
||||||
* replace (Smarty online manual)
|
* replace (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @param string
|
* @param string
|
||||||
* @param string
|
* @param string
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: add spaces between characters in a string
|
* Purpose: add spaces between characters in a string
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.spacify.php
|
* @link http://smarty.php.net/manual/en/language.modifier.spacify.php
|
||||||
* spacify (Smarty online manual)
|
* spacify (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @param string
|
* @param string
|
||||||
* @return string
|
* @return string
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: format strings via sprintf
|
* Purpose: format strings via sprintf
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.string.format.php
|
* @link http://smarty.php.net/manual/en/language.modifier.string.format.php
|
||||||
* string_format (Smarty online manual)
|
* string_format (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @param string
|
* @param string
|
||||||
* @return string
|
* @return string
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: strip html tags from text
|
* Purpose: strip html tags from text
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.strip.tags.php
|
* @link http://smarty.php.net/manual/en/language.modifier.strip.tags.php
|
||||||
* strip_tags (Smarty online manual)
|
* strip_tags (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @param boolean
|
* @param boolean
|
||||||
* @return string
|
* @return string
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
* appending the $etc string or inserting $etc into the middle.
|
* appending the $etc string or inserting $etc into the middle.
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.truncate.php
|
* @link http://smarty.php.net/manual/en/language.modifier.truncate.php
|
||||||
* truncate (Smarty online manual)
|
* truncate (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @param integer
|
* @param integer
|
||||||
* @param string
|
* @param string
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: convert string to uppercase
|
* Purpose: convert string to uppercase
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.upper.php
|
* @link http://smarty.php.net/manual/en/language.modifier.upper.php
|
||||||
* upper (Smarty online manual)
|
* upper (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
* Purpose: wrap a string of text at a given length
|
* Purpose: wrap a string of text at a given length
|
||||||
* @link http://smarty.php.net/manual/en/language.modifier.wordwrap.php
|
* @link http://smarty.php.net/manual/en/language.modifier.wordwrap.php
|
||||||
* wordwrap (Smarty online manual)
|
* wordwrap (Smarty online manual)
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @param integer
|
* @param integer
|
||||||
* @param string
|
* @param string
|
||||||
|
@@ -12,6 +12,7 @@
|
|||||||
* Function: smarty_function_escape_special_chars<br>
|
* Function: smarty_function_escape_special_chars<br>
|
||||||
* Purpose: used by other smarty functions to escape
|
* Purpose: used by other smarty functions to escape
|
||||||
* special chars except for already escaped ones
|
* special chars except for already escaped ones
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
@@ -10,6 +10,7 @@
|
|||||||
* Function: smarty_make_timestamp<br>
|
* Function: smarty_make_timestamp<br>
|
||||||
* Purpose: used by other smarty functions to make a timestamp
|
* Purpose: used by other smarty functions to make a timestamp
|
||||||
* from a string.
|
* from a string.
|
||||||
|
* @author Monte Ohrt <monte at ohrt dot com>
|
||||||
* @param string
|
* @param string
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user