Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 1 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 2 | /** |
| 3 | * CodeIgniter |
| 4 | * |
Greg Aker | 741de1c | 2010-11-10 14:52:57 -0600 | [diff] [blame] | 5 | * An open source application development framework for PHP 5.1.6 or newer |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 6 | * |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 7 | * NOTICE OF LICENSE |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 8 | * |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 9 | * Licensed under the Open Software License version 3.0 |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 10 | * |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 11 | * This source file is subject to the Open Software License (OSL 3.0) that is |
| 12 | * bundled with this package in the files license.txt / license.rst. It is |
| 13 | * also available through the world wide web at this URL: |
| 14 | * http://opensource.org/licenses/OSL-3.0 |
| 15 | * If you did not receive a copy of the license and are unable to obtain it |
| 16 | * through the world wide web, please send an email to |
| 17 | * licensing@ellislab.com so we can send you a copy immediately. |
| 18 | * |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 19 | * @package CodeIgniter |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 20 | * @author EllisLab Dev Team |
Greg Aker | 0defe5d | 2012-01-01 18:46:41 -0600 | [diff] [blame] | 21 | * @copyright Copyright (c) 2008 - 2012, EllisLab, Inc. (http://ellislab.com/) |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 22 | * @license http://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 23 | * @link http://codeigniter.com |
| 24 | * @since Version 1.0 |
| 25 | * @filesource |
| 26 | */ |
| 27 | |
| 28 | // ------------------------------------------------------------------------ |
| 29 | |
| 30 | /** |
| 31 | * CodeIgniter HTML Helpers |
| 32 | * |
| 33 | * @package CodeIgniter |
| 34 | * @subpackage Helpers |
| 35 | * @category Helpers |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 36 | * @author EllisLab Dev Team |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 37 | * @link http://codeigniter.com/user_guide/helpers/html_helper.html |
| 38 | */ |
| 39 | |
| 40 | // ------------------------------------------------------------------------ |
| 41 | |
| 42 | /** |
| 43 | * Heading |
| 44 | * |
Derek Jones | 4b9c629 | 2011-07-01 17:40:48 -0500 | [diff] [blame] | 45 | * Generates an HTML heading tag. First param is the data. |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 46 | * Second param is the size of the heading tag. |
| 47 | * |
| 48 | * @access public |
| 49 | * @param string |
| 50 | * @param integer |
| 51 | * @return string |
| 52 | */ |
| 53 | if ( ! function_exists('heading')) |
| 54 | { |
Greg Aker | 826429c | 2011-04-18 09:40:19 -0500 | [diff] [blame] | 55 | function heading($data = '', $h = '1', $attributes = '') |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 56 | { |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 57 | return '<h'.$h.($attributes != '' ? ' ' : '').$attributes.'>'.$data.'</h'.$h.'>'; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 58 | } |
| 59 | } |
| 60 | |
| 61 | // ------------------------------------------------------------------------ |
| 62 | |
| 63 | /** |
| 64 | * Unordered List |
| 65 | * |
| 66 | * Generates an HTML unordered list from an single or multi-dimensional array. |
| 67 | * |
| 68 | * @access public |
| 69 | * @param array |
| 70 | * @param mixed |
| 71 | * @return string |
| 72 | */ |
| 73 | if ( ! function_exists('ul')) |
| 74 | { |
| 75 | function ul($list, $attributes = '') |
| 76 | { |
| 77 | return _list('ul', $list, $attributes); |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | // ------------------------------------------------------------------------ |
| 82 | |
| 83 | /** |
| 84 | * Ordered List |
| 85 | * |
| 86 | * Generates an HTML ordered list from an single or multi-dimensional array. |
| 87 | * |
| 88 | * @access public |
| 89 | * @param array |
| 90 | * @param mixed |
| 91 | * @return string |
| 92 | */ |
| 93 | if ( ! function_exists('ol')) |
| 94 | { |
| 95 | function ol($list, $attributes = '') |
| 96 | { |
| 97 | return _list('ol', $list, $attributes); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | // ------------------------------------------------------------------------ |
| 102 | |
| 103 | /** |
| 104 | * Generates the list |
| 105 | * |
| 106 | * Generates an HTML ordered list from an single or multi-dimensional array. |
| 107 | * |
| 108 | * @access private |
| 109 | * @param string |
| 110 | * @param mixed |
| 111 | * @param mixed |
Derek Allard | 4e8d66a | 2010-03-15 12:23:27 -0400 | [diff] [blame] | 112 | * @param integer |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 113 | * @return string |
| 114 | */ |
| 115 | if ( ! function_exists('_list')) |
| 116 | { |
| 117 | function _list($type = 'ul', $list, $attributes = '', $depth = 0) |
| 118 | { |
| 119 | // If an array wasn't submitted there's nothing to do... |
| 120 | if ( ! is_array($list)) |
| 121 | { |
| 122 | return $list; |
| 123 | } |
| 124 | |
| 125 | // Set the indentation based on the depth |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 126 | $out = str_repeat(' ', $depth); |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 127 | |
Derek Jones | 4b9c629 | 2011-07-01 17:40:48 -0500 | [diff] [blame] | 128 | // Were any attributes submitted? If so generate a string |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 129 | if (is_array($attributes)) |
| 130 | { |
| 131 | $atts = ''; |
| 132 | foreach ($attributes as $key => $val) |
| 133 | { |
| 134 | $atts .= ' ' . $key . '="' . $val . '"'; |
| 135 | } |
| 136 | $attributes = $atts; |
| 137 | } |
Eric Barnes | b13a0dd | 2011-07-18 00:13:07 -0400 | [diff] [blame] | 138 | elseif (is_string($attributes) AND strlen($attributes) > 0) |
| 139 | { |
| 140 | $attributes = ' '. $attributes; |
| 141 | } |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 142 | |
| 143 | // Write the opening list tag |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 144 | $out .= '<'.$type.$attributes.">\n"; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 145 | |
Derek Jones | 4b9c629 | 2011-07-01 17:40:48 -0500 | [diff] [blame] | 146 | // Cycle through the list elements. If an array is |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 147 | // encountered we will recursively call _list() |
| 148 | |
| 149 | static $_last_list_item = ''; |
| 150 | foreach ($list as $key => $val) |
| 151 | { |
| 152 | $_last_list_item = $key; |
| 153 | |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 154 | $out .= str_repeat(' ', $depth + 2).'<li>'; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 155 | |
| 156 | if ( ! is_array($val)) |
| 157 | { |
| 158 | $out .= $val; |
| 159 | } |
| 160 | else |
| 161 | { |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 162 | $out .= $_last_list_item."\n"._list($type, $val, '', $depth + 4).str_repeat(' ', $depth + 2); |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 163 | } |
| 164 | |
| 165 | $out .= "</li>\n"; |
| 166 | } |
| 167 | |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 168 | // Set the indentation for the closing tag and apply it |
| 169 | return $out.str_repeat(' ', $depth).'</'.$type.">\n"; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 170 | } |
| 171 | } |
| 172 | |
| 173 | // ------------------------------------------------------------------------ |
| 174 | |
| 175 | /** |
| 176 | * Generates HTML BR tags based on number supplied |
| 177 | * |
| 178 | * @access public |
| 179 | * @param integer |
| 180 | * @return string |
| 181 | */ |
| 182 | if ( ! function_exists('br')) |
| 183 | { |
| 184 | function br($num = 1) |
| 185 | { |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 186 | return str_repeat('<br />', $num); |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 187 | } |
| 188 | } |
| 189 | |
| 190 | // ------------------------------------------------------------------------ |
| 191 | |
| 192 | /** |
| 193 | * Image |
| 194 | * |
| 195 | * Generates an <img /> element |
| 196 | * |
| 197 | * @access public |
| 198 | * @param mixed |
| 199 | * @return string |
| 200 | */ |
| 201 | if ( ! function_exists('img')) |
| 202 | { |
| 203 | function img($src = '', $index_page = FALSE) |
| 204 | { |
| 205 | if ( ! is_array($src) ) |
| 206 | { |
| 207 | $src = array('src' => $src); |
| 208 | } |
| 209 | |
Derek Allard | a0905f3 | 2010-07-05 08:11:33 -0400 | [diff] [blame] | 210 | // If there is no alt attribute defined, set it to an empty string |
| 211 | if ( ! isset($src['alt'])) |
| 212 | { |
| 213 | $src['alt'] = ''; |
| 214 | } |
| 215 | |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 216 | $img = '<img'; |
| 217 | |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 218 | foreach ($src as $k => $v) |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 219 | { |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 220 | if ($k === 'src' AND strpos($v, '://') === FALSE) |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 221 | { |
| 222 | $CI =& get_instance(); |
| 223 | |
| 224 | if ($index_page === TRUE) |
| 225 | { |
Greg Aker | f7d162a | 2010-11-09 14:52:28 -0600 | [diff] [blame] | 226 | $img .= ' src="'.$CI->config->site_url($v).'"'; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 227 | } |
| 228 | else |
| 229 | { |
Greg Aker | f7d162a | 2010-11-09 14:52:28 -0600 | [diff] [blame] | 230 | $img .= ' src="'.$CI->config->slash_item('base_url').$v.'"'; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 231 | } |
| 232 | } |
| 233 | else |
| 234 | { |
Greg Aker | f7d162a | 2010-11-09 14:52:28 -0600 | [diff] [blame] | 235 | $img .= " $k=\"$v\""; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 236 | } |
| 237 | } |
| 238 | |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 239 | return $img.'/>'; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 240 | } |
| 241 | } |
| 242 | |
| 243 | // ------------------------------------------------------------------------ |
| 244 | |
| 245 | /** |
| 246 | * Doctype |
| 247 | * |
| 248 | * Generates a page document type declaration |
| 249 | * |
| 250 | * Valid options are xhtml-11, xhtml-strict, xhtml-trans, xhtml-frame, |
Derek Jones | 4b9c629 | 2011-07-01 17:40:48 -0500 | [diff] [blame] | 251 | * html4-strict, html4-trans, and html4-frame. Values are saved in the |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 252 | * doctypes config file. |
| 253 | * |
| 254 | * @access public |
| 255 | * @param string type The doctype to be generated |
| 256 | * @return string |
| 257 | */ |
| 258 | if ( ! function_exists('doctype')) |
| 259 | { |
Derek Allard | 93bddd1 | 2009-04-14 19:27:38 +0000 | [diff] [blame] | 260 | function doctype($type = 'xhtml1-strict') |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 261 | { |
| 262 | global $_doctypes; |
| 263 | |
| 264 | if ( ! is_array($_doctypes)) |
| 265 | { |
Greg Aker | d96f882 | 2011-12-27 16:23:47 -0600 | [diff] [blame] | 266 | if (defined('ENVIRONMENT') AND is_file(APPPATH.'config/'.ENVIRONMENT.'/doctypes.php')) |
| 267 | { |
| 268 | include(APPPATH.'config/'.ENVIRONMENT.'/doctypes.php'); |
| 269 | } |
| 270 | elseif (is_file(APPPATH.'config/doctypes.php')) |
| 271 | { |
| 272 | include(APPPATH.'config/doctypes.php'); |
| 273 | } |
Eric Barnes | 9280834 | 2011-03-18 09:02:37 -0400 | [diff] [blame] | 274 | |
bubbafoley | 0ea0414 | 2011-03-17 14:55:41 -0500 | [diff] [blame] | 275 | if ( ! is_array($_doctypes)) |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 276 | { |
| 277 | return FALSE; |
| 278 | } |
| 279 | } |
| 280 | |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 281 | return (isset($_doctypes[$type])) ? $_doctypes[$type] : FALSE; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 282 | } |
| 283 | } |
| 284 | |
| 285 | // ------------------------------------------------------------------------ |
| 286 | |
| 287 | /** |
| 288 | * Link |
| 289 | * |
| 290 | * Generates link to a CSS file |
| 291 | * |
| 292 | * @access public |
| 293 | * @param mixed stylesheet hrefs or an array |
| 294 | * @param string rel |
| 295 | * @param string type |
| 296 | * @param string title |
| 297 | * @param string media |
| 298 | * @param boolean should index_page be added to the css path |
| 299 | * @return string |
| 300 | */ |
| 301 | if ( ! function_exists('link_tag')) |
| 302 | { |
| 303 | function link_tag($href = '', $rel = 'stylesheet', $type = 'text/css', $title = '', $media = '', $index_page = FALSE) |
| 304 | { |
| 305 | $CI =& get_instance(); |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 306 | $link = '<link '; |
| 307 | |
| 308 | if (is_array($href)) |
| 309 | { |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 310 | foreach ($href as $k => $v) |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 311 | { |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 312 | if ($k === 'href' AND strpos($v, '://') === FALSE) |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 313 | { |
| 314 | if ($index_page === TRUE) |
| 315 | { |
Derek Allard | 76763bb | 2009-09-16 11:25:20 +0000 | [diff] [blame] | 316 | $link .= 'href="'.$CI->config->site_url($v).'" '; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 317 | } |
| 318 | else |
| 319 | { |
Derek Allard | 76763bb | 2009-09-16 11:25:20 +0000 | [diff] [blame] | 320 | $link .= 'href="'.$CI->config->slash_item('base_url').$v.'" '; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 321 | } |
| 322 | } |
| 323 | else |
| 324 | { |
| 325 | $link .= "$k=\"$v\" "; |
| 326 | } |
| 327 | } |
| 328 | |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 329 | $link .= '/>'; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 330 | } |
| 331 | else |
| 332 | { |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 333 | if (strpos($href, '://') !== FALSE) |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 334 | { |
Derek Allard | 292dcd8 | 2009-09-16 11:26:32 +0000 | [diff] [blame] | 335 | $link .= 'href="'.$href.'" '; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 336 | } |
| 337 | elseif ($index_page === TRUE) |
| 338 | { |
Derek Allard | 76763bb | 2009-09-16 11:25:20 +0000 | [diff] [blame] | 339 | $link .= 'href="'.$CI->config->site_url($href).'" '; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 340 | } |
| 341 | else |
| 342 | { |
Derek Allard | 76763bb | 2009-09-16 11:25:20 +0000 | [diff] [blame] | 343 | $link .= 'href="'.$CI->config->slash_item('base_url').$href.'" '; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 344 | } |
| 345 | |
| 346 | $link .= 'rel="'.$rel.'" type="'.$type.'" '; |
| 347 | |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 348 | if ($media != '') |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 349 | { |
| 350 | $link .= 'media="'.$media.'" '; |
| 351 | } |
| 352 | |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 353 | if ($title != '') |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 354 | { |
| 355 | $link .= 'title="'.$title.'" '; |
| 356 | } |
| 357 | |
| 358 | $link .= '/>'; |
| 359 | } |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 360 | |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 361 | return $link."\n"; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 362 | } |
| 363 | } |
| 364 | |
| 365 | // ------------------------------------------------------------------------ |
| 366 | |
| 367 | /** |
| 368 | * Generates meta tags from an array of key/values |
| 369 | * |
| 370 | * @access public |
| 371 | * @param array |
| 372 | * @return string |
| 373 | */ |
| 374 | if ( ! function_exists('meta')) |
| 375 | { |
| 376 | function meta($name = '', $content = '', $type = 'name', $newline = "\n") |
| 377 | { |
| 378 | // Since we allow the data to be passes as a string, a simple array |
| 379 | // or a multidimensional one, we need to do a little prepping. |
| 380 | if ( ! is_array($name)) |
| 381 | { |
| 382 | $name = array(array('name' => $name, 'content' => $content, 'type' => $type, 'newline' => $newline)); |
| 383 | } |
| 384 | else |
| 385 | { |
| 386 | // Turn single array into multidimensional |
| 387 | if (isset($name['name'])) |
| 388 | { |
| 389 | $name = array($name); |
| 390 | } |
| 391 | } |
| 392 | |
| 393 | $str = ''; |
| 394 | foreach ($name as $meta) |
| 395 | { |
Barry Mieny | dd67197 | 2010-10-04 16:33:58 +0200 | [diff] [blame] | 396 | $type = ( ! isset($meta['type']) OR $meta['type'] == 'name') ? 'name' : 'http-equiv'; |
| 397 | $name = ( ! isset($meta['name'])) ? '' : $meta['name']; |
| 398 | $content = ( ! isset($meta['content'])) ? '' : $meta['content']; |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 399 | $newline = ( ! isset($meta['newline'])) ? "\n" : $meta['newline']; |
| 400 | |
| 401 | $str .= '<meta '.$type.'="'.$name.'" content="'.$content.'" />'.$newline; |
| 402 | } |
| 403 | |
| 404 | return $str; |
| 405 | } |
| 406 | } |
| 407 | |
| 408 | // ------------------------------------------------------------------------ |
| 409 | |
| 410 | /** |
| 411 | * Generates non-breaking space entities based on number supplied |
| 412 | * |
| 413 | * @access public |
| 414 | * @param integer |
| 415 | * @return string |
| 416 | */ |
| 417 | if ( ! function_exists('nbs')) |
| 418 | { |
| 419 | function nbs($num = 1) |
| 420 | { |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 421 | return str_repeat(' ', $num); |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 422 | } |
| 423 | } |
| 424 | |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 425 | /* End of file html_helper.php */ |
Andrey Andreev | 1e6b72c | 2012-01-06 19:09:22 +0200 | [diff] [blame] | 426 | /* Location: ./system/helpers/html_helper.php */ |