From 40d299e8221ba5d641e07c18ef19f4ac13ff9b85 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 4 Nov 2006 05:07:59 +0000 Subject: --- system/helpers/html_helper.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'system/helpers/html_helper.php') diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php index e32abfbf2..90a776386 100644 --- a/system/helpers/html_helper.php +++ b/system/helpers/html_helper.php @@ -178,6 +178,27 @@ function nbs($num = 1) return str_repeat(" ", $num); } +// ------------------------------------------------------------------------ + +/** + * Generates meta tags from an array of key/values + * + * @access public + * @param array + * @return string + */ +function meta($meta = array(), $newline = "\n") +{ + $str = ''; + foreach ($meta as $key => $val) + { + $str .= ''.$newline; + } + + return $str; +} + + ?> \ No newline at end of file -- cgit v1.2.3-24-g4f1b