summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-12-07 18:04:56 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-12-07 18:04:56 +0100
commit4b6d493593b7400b7fa81d976fd3dc07ad30fe86 (patch)
tree47101b0343b13efb34912806a6b21c370e4b75e5 /user_guide/libraries
parent3f45bbdcfabac41fa3ee33277a21727f71de991a (diff)
changed some code in examples from <?php to &lt;?php in the event that a local install tries to interpret the example as code
Diffstat (limited to 'user_guide/libraries')
-rw-r--r--user_guide/libraries/file_uploading.html4
-rw-r--r--user_guide/libraries/form_validation.html4
-rw-r--r--user_guide/libraries/validation.html4
-rw-r--r--user_guide/libraries/xmlrpc.html4
4 files changed, 8 insertions, 8 deletions
diff --git a/user_guide/libraries/file_uploading.html b/user_guide/libraries/file_uploading.html
index a840c1ec3..ef8ecf186 100644
--- a/user_guide/libraries/file_uploading.html
+++ b/user_guide/libraries/file_uploading.html
@@ -142,7 +142,7 @@ In it, place this code and save it to your <samp>applications/views/</samp> fold
folder:</p>
-<textarea class="textarea" style="width:100%" cols="50" rows="43"><?php
+<textarea class="textarea" style="width:100%" cols="50" rows="43">&lt;?php
class Upload extends Controller {
@@ -181,7 +181,7 @@ class Upload extends Controller {
}
}
}
-?></textarea>
+?&gt;</textarea>
<h2>The Upload Folder</h2>
diff --git a/user_guide/libraries/form_validation.html b/user_guide/libraries/form_validation.html
index 684fe9b51..b49117ed7 100644
--- a/user_guide/libraries/form_validation.html
+++ b/user_guide/libraries/form_validation.html
@@ -313,7 +313,7 @@ $this->form_validation->set_rules('email', 'Email', 'required');<br />
<p>Your controller should now look like this:</p>
-<textarea class="textarea" style="width:100%" cols="50" rows="28"><?php
+<textarea class="textarea" style="width:100%" cols="50" rows="28">&lt;?php
class Form extends Controller {
@@ -515,7 +515,7 @@ create a callback function that does that. Let's create a example of this.</p>
<p>Then add a new function called <dfn>username_check</dfn> to your controller. Here's how your controller should now look:</p>
-<textarea class="textarea" style="width:100%" cols="50" rows="44"><?php
+<textarea class="textarea" style="width:100%" cols="50" rows="44">&lt;?php
class Form extends Controller {
diff --git a/user_guide/libraries/validation.html b/user_guide/libraries/validation.html
index 394be1901..821e3cfa3 100644
--- a/user_guide/libraries/validation.html
+++ b/user_guide/libraries/validation.html
@@ -240,7 +240,7 @@ $this->validation->set_rules($rules);</code>
<p>Your controller should now look like this:</p>
-<textarea class="textarea" style="width:100%" cols="50" rows="28"><?php
+<textarea class="textarea" style="width:100%" cols="50" rows="28">&lt;?php
class Form extends Controller {
@@ -340,7 +340,7 @@ create a callback function that does that. Let's create a simple example.</p>
<p>Then add a new function called <dfn>username_check</dfn> to your controller. Here's how your controller should look:</p>
-<textarea class="textarea" style="width:100%" cols="50" rows="44"><?php
+<textarea class="textarea" style="width:100%" cols="50" rows="44">&lt;?php
class Form extends Controller {
diff --git a/user_guide/libraries/xmlrpc.html b/user_guide/libraries/xmlrpc.html
index e329e4a95..c5f383929 100644
--- a/user_guide/libraries/xmlrpc.html
+++ b/user_guide/libraries/xmlrpc.html
@@ -319,7 +319,7 @@ XML-RPC Client and Server. You'll use the Client to send a request to the Serve
<p>Using a text editor, create a controller called <dfn>xmlrpc_client.php</dfn>.
In it, place this code and save it to your <samp>applications/controllers/</samp> folder:</p>
-<textarea class="textarea" style="width:100%" cols="50" rows="32"><?php
+<textarea class="textarea" style="width:100%" cols="50" rows="32">&lt;?php
class Xmlrpc_client extends Controller {
@@ -357,7 +357,7 @@ class Xmlrpc_client extends Controller {
<p>Using a text editor, create a controller called <dfn>xmlrpc_server.php</dfn>.
In it, place this code and save it to your <samp>applications/controllers/</samp> folder:</p>
-<textarea class="textarea" style="width:100%" cols="50" rows="30"><?php
+<textarea class="textarea" style="width:100%" cols="50" rows="30">&lt;?php
class Xmlrpc_server extends Controller {