summaryrefslogtreecommitdiffstats
path: root/system/helpers/html_helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/helpers/html_helper.php')
-rw-r--r--system/helpers/html_helper.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php
index 592c33a50..7a61055f7 100644
--- a/system/helpers/html_helper.php
+++ b/system/helpers/html_helper.php
@@ -1,4 +1,4 @@
-<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
@@ -38,7 +38,7 @@
* @param integer
* @return string
*/
-if (! function_exists('heading'))
+if ( ! function_exists('heading'))
{
function heading($data = '', $h = '1')
{
@@ -58,7 +58,7 @@ if (! function_exists('heading'))
* @param mixed
* @return string
*/
-if (! function_exists('ul'))
+if ( ! function_exists('ul'))
{
function ul($list, $attributes = '')
{
@@ -78,7 +78,7 @@ if (! function_exists('ul'))
* @param mixed
* @return string
*/
-if (! function_exists('ol'))
+if ( ! function_exists('ol'))
{
function ol($list, $attributes = '')
{
@@ -100,12 +100,12 @@ if (! function_exists('ol'))
* @param intiger
* @return string
*/
-if (! function_exists('_list'))
+if ( ! function_exists('_list'))
{
function _list($type = 'ul', $list, $attributes = '', $depth = 0)
{
// If an array wasn't submitted there's nothing to do...
- if (! is_array($list))
+ if ( ! is_array($list))
{
return $list;
}
@@ -138,7 +138,7 @@ if (! function_exists('_list'))
$out .= str_repeat(" ", $depth + 2);
$out .= "<li>";
- if (! is_array($val))
+ if ( ! is_array($val))
{
$out .= $val;
}
@@ -171,7 +171,7 @@ if (! function_exists('_list'))
* @param integer
* @return string
*/
-if (! function_exists('br'))
+if ( ! function_exists('br'))
{
function br($num = 1)
{
@@ -190,11 +190,11 @@ if (! function_exists('br'))
* @param mixed
* @return string
*/
-if (! function_exists('img'))
+if ( ! function_exists('img'))
{
function img($src = '', $index_page = FALSE)
{
- if (! is_array($src) )
+ if ( ! is_array($src) )
{
$src = array('src' => $src);
}
@@ -245,7 +245,7 @@ if (! function_exists('img'))
* @param boolean should index_page be added to the css path
* @return string
*/
-if (! function_exists('link_tag'))
+if ( ! function_exists('link_tag'))
{
function link_tag($href = '', $rel = 'stylesheet', $type = 'text/css', $title = '', $media = '', $index_page = FALSE)
{
@@ -320,7 +320,7 @@ if (! function_exists('link_tag'))
* @param array
* @return string
*/
-if (! function_exists('meta'))
+if ( ! function_exists('meta'))
{
function meta($meta = array(), $newline = "\n")
{
@@ -343,7 +343,7 @@ if (! function_exists('meta'))
* @param integer
* @return string
*/
-if (! function_exists('nbs'))
+if ( ! function_exists('nbs'))
{
function nbs($num = 1)
{
@@ -351,6 +351,6 @@ if (! function_exists('nbs'))
}
}
-
-/* End of file html_helper.php */
+
+/* End of file html_helper.php */
/* Location: ./system/helpers/html_helper.php */ \ No newline at end of file