diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php
index 62397dee..4880d245 100644
--- a/libs/Smarty.class.php
+++ b/libs/Smarty.class.php
@@ -760,6 +760,9 @@ class Smarty extends Smarty_Internal_Data {
}
}
+/**
+ * Autoloader
+ */
function smartyAutoload($class)
{
$_class = strtolower($class);
@@ -768,11 +771,16 @@ function smartyAutoload($class)
}
}
+/**
+ * Smarty exception class
+ */
Class SmartyException extends Exception {
}
+/**
+ * Smarty compiler exception class
+ */
Class SmartyCompilerException extends SmartyException {
}
-
?>
\ No newline at end of file
diff --git a/libs/plugins/block.php.php b/libs/plugins/block.php.php
index 7e907bfe..84a0275e 100644
--- a/libs/plugins/block.php.php
+++ b/libs/plugins/block.php.php
@@ -1,21 +1,21 @@
allow_php_tag) {
@@ -24,4 +24,5 @@ function smarty_block_php($params, $content, $smarty, &$repeat, $template)
eval($content);
return '';
}
+
?>
\ No newline at end of file
diff --git a/libs/plugins/block.textformat.php b/libs/plugins/block.textformat.php
index f578bfb9..733f6e23 100644
--- a/libs/plugins/block.textformat.php
+++ b/libs/plugins/block.textformat.php
@@ -1,37 +1,37 @@
-* Name: textformat
-* Purpose: format text a certain way with preset styles
-* or custom wrap/indent settings
-*
-* @link http://smarty.php.net/manual/en/language.function.textformat.php {textformat}
- (Smarty online manual)
-* @param array $params parameters
-*
-* Params: style: string (email)
-* indent: integer (0)
-* wrap: integer (80)
-* wrap_char string ("\n")
-* indent_char: string (" ")
-* wrap_boundary: boolean (true)
-*
-* @author Monte Ohrt
-* @param string $content contents of the block
-* @param object $smarty Smarty object
-* @param boolean &$repeat repeat flag
-* @param object $template template object
-* @return string content re-formatted
-*/
+ * Smarty {textformat}{/textformat} block plugin
+ *
+ * Type: block function
+ * Name: textformat
+ * Purpose: format text a certain way with preset styles
+ * or custom wrap/indent settings
+ *
+ * @link http://smarty.php.net/manual/en/language.function.textformat.php {textformat}
+ * (Smarty online manual)
+ * @param array $params parameters
+ *
+ * Params: style: string (email)
+ * indent: integer (0)
+ * wrap: integer (80)
+ * wrap_char string ("\n")
+ * indent_char: string (" ")
+ * wrap_boundary: boolean (true)
+ *
+ * @author Monte Ohrt
+ * @param string $content contents of the block
+ * @param object $smarty Smarty object
+ * @param boolean &$repeat repeat flag
+ * @param object $template template object
+ * @return string content re-formatted
+ */
function smarty_block_textformat($params, $content, $smarty, &$repeat, $template)
{
if (is_null($content)) {
@@ -100,4 +100,4 @@ function smarty_block_textformat($params, $content, $smarty, &$repeat, $template
return $assign ? $template->assign($assign, $_output) : $_output;
}
-?>
+?>
\ No newline at end of file
diff --git a/libs/plugins/function.counter.php b/libs/plugins/function.counter.php
index 7ad64807..e2ce8059 100644
--- a/libs/plugins/function.counter.php
+++ b/libs/plugins/function.counter.php
@@ -5,7 +5,6 @@
* @subpackage PluginsFunction
*/
-
/**
* Smarty {counter} function plugin
*
@@ -74,4 +73,5 @@ function smarty_function_counter($params, $smarty)
return $retval;
}
+
?>
\ No newline at end of file
diff --git a/libs/plugins/function.cycle.php b/libs/plugins/function.cycle.php
index 2b616d11..5d976456 100644
--- a/libs/plugins/function.cycle.php
+++ b/libs/plugins/function.cycle.php
@@ -1,6 +1,7 @@
\ No newline at end of file
diff --git a/libs/plugins/function.fetch.php b/libs/plugins/function.fetch.php
index 391ff1bb..0a511830 100644
--- a/libs/plugins/function.fetch.php
+++ b/libs/plugins/function.fetch.php
@@ -1,11 +1,11 @@
+?>
\ No newline at end of file
diff --git a/libs/plugins/function.html_checkboxes.php b/libs/plugins/function.html_checkboxes.php
index ac72f3fd..328faf44 100644
--- a/libs/plugins/function.html_checkboxes.php
+++ b/libs/plugins/function.html_checkboxes.php
@@ -1,11 +1,11 @@
+?>
\ No newline at end of file
diff --git a/libs/plugins/function.html_image.php b/libs/plugins/function.html_image.php
index be31b18e..e2714a67 100644
--- a/libs/plugins/function.html_image.php
+++ b/libs/plugins/function.html_image.php
@@ -1,39 +1,39 @@
-* Name: html_image
-* Date: Feb 24, 2003
-* Purpose: format HTML tags for the image
-* Examples: {html_image file="/images/masthead.gif"}
-* Output:
-*
-* @link http://smarty.php.net/manual/en/language.function.html.image.php {html_image}
- (Smarty online manual)
-* @author Monte Ohrt
-* @author credits to Duda
-* @version 1.0
-* @param array $params parameters
-* Input:
-* - file = file (and path) of image (required)
-* - height = image height (optional, default actual height)
-* - 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)
-* @param object $smarty Smarty object
-* @param object $template template object
-* @return string
-* @uses smarty_function_escape_special_chars()
-*/
+ * Smarty {html_image} function plugin
+ *
+ * Type: function
+ * Name: html_image
+ * Date: Feb 24, 2003
+ * Purpose: format HTML tags for the image
+ * Examples: {html_image file="/images/masthead.gif"}
+ * Output:
+ *
+ * @link http://smarty.php.net/manual/en/language.function.html.image.php {html_image}
+ * (Smarty online manual)
+ * @author Monte Ohrt
+ * @author credits to Duda
+ * @version 1.0
+ * @param array $params parameters
+ * Input:
+ * - file = file (and path) of image (required)
+ * - height = image height (optional, default actual height)
+ * - 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)
+ * @param object $smarty Smarty object
+ * @param object $template template object
+ * @return string
+ * @uses smarty_function_escape_special_chars()
+ */
function smarty_function_html_image($params, $smarty, $template)
{
require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php');
diff --git a/libs/plugins/function.html_options.php b/libs/plugins/function.html_options.php
index 85b05f7d..a4725809 100644
--- a/libs/plugins/function.html_options.php
+++ b/libs/plugins/function.html_options.php
@@ -1,35 +1,34 @@
-* Name: html_options
-* Purpose: Prints the list of