summaryrefslogtreecommitdiffstats
path: root/user_guide/helpers/smiley_helper.html
diff options
context:
space:
mode:
authorBarry Mieny <barry@mieny.com>2010-10-04 16:33:58 +0200
committerBarry Mieny <barry@mieny.com>2010-10-04 16:33:58 +0200
commitdd6719738936be31cdaa1758ca86d5eb14dcab3d (patch)
treeb5ef66e31b2d0f4f2c1cbccc367bde92c156e1f9 /user_guide/helpers/smiley_helper.html
parent3351fbc56cea19ec3dd603836beb0a420b1ded65 (diff)
Cleanup of stray spaces and tabs
Diffstat (limited to 'user_guide/helpers/smiley_helper.html')
-rw-r--r--user_guide/helpers/smiley_helper.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/user_guide/helpers/smiley_helper.html b/user_guide/helpers/smiley_helper.html
index 661330aab..d95562d94 100644
--- a/user_guide/helpers/smiley_helper.html
+++ b/user_guide/helpers/smiley_helper.html
@@ -91,7 +91,7 @@ a publicly accessible place on your server. This helper also assumes you have t
<p>In your <dfn>application/controllers/</dfn> folder, create a file called <kbd>smileys.php</kbd> and place the code below in it.</p>
-<p><strong>Important:</strong> Change the URL in the <dfn>get_clickable_smileys()</dfn> function below so that it points to
+<p><strong>Important:</strong> Change the URL in the <dfn>get_clickable_smileys()</dfn> function below so that it points to
your <dfn>smiley</dfn> folder.</p>
<p>You'll notice that in addition to the smiley helper we are using the <a href="../libraries/table.html">Table Class</a>.</p>
@@ -105,21 +105,21 @@ class Smileys extends Controller {
{
parent::Controller();
}
-
+
function index()
{
$this->load->helper('smiley');
$this->load->library('table');
-
+
$image_array = get_clickable_smileys('http://example.com/images/smileys/', 'comments');
-
+
$col_array = $this->table->make_columns($image_array, 8);
-
+
$data['smiley_table'] = $this->table->generate($col_array);
-
+
$this->load->view('smiley_view', $data);
}
-
+
}
?&gt;
</textarea>