summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries
diff options
context:
space:
mode:
authorPascal Kriete <pascal.kriete@ellislab.com>2011-02-14 19:25:30 +0100
committerPascal Kriete <pascal.kriete@ellislab.com>2011-02-14 19:25:30 +0100
commitfeba2de9287ed2c5d43e555fc52ce2bdedfed0d9 (patch)
tree2a74dd6c1fc3dc33d17418914c311863151994cc /user_guide/libraries
parent8761ef56b465a190489ed555c6a0ab58470bfc73 (diff)
Whitespace tweaks to put code examples in line with our guidelines
Diffstat (limited to 'user_guide/libraries')
-rw-r--r--user_guide/libraries/cart.html2
-rw-r--r--user_guide/libraries/file_uploading.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/libraries/cart.html b/user_guide/libraries/cart.html
index bc0721bb4..fe87a23f2 100644
--- a/user_guide/libraries/cart.html
+++ b/user_guide/libraries/cart.html
@@ -178,7 +178,7 @@ $this->cart->insert($data);
&lt;?php $i = 1; ?>
-&lt;?php foreach($this->cart->contents() as $items): ?>
+&lt;?php foreach ($this->cart->contents() as $items): ?>
&lt;?php echo form_hidden($i.'[rowid]', $items['rowid']); ?>
diff --git a/user_guide/libraries/file_uploading.html b/user_guide/libraries/file_uploading.html
index c5eab4695..5c3162819 100644
--- a/user_guide/libraries/file_uploading.html
+++ b/user_guide/libraries/file_uploading.html
@@ -125,7 +125,7 @@ In it, place this code and save it to your <samp>applications/views/</samp> fold
&lt;h3>Your file was successfully uploaded!&lt;/h3>
&lt;ul>
-&lt;?php foreach($upload_data as $item => $value):?>
+&lt;?php foreach ($upload_data as $item => $value):?>
&lt;li>&lt;?php echo $item;?>: &lt;?php echo $value;?>&lt;/li>
&lt;?php endforeach; ?>
&lt;/ul>