From ff845f94cc8876bc6c23c2f55b695bc569038512 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Thu, 26 Jun 2008 17:05:55 +0000 Subject: changed your-site.com to example.com doc-wide --- user_guide/helpers/form_helper.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'user_guide/helpers/form_helper.html') diff --git a/user_guide/helpers/form_helper.html b/user_guide/helpers/form_helper.html index 5e556dca2..3f1e87a27 100644 --- a/user_guide/helpers/form_helper.html +++ b/user_guide/helpers/form_helper.html @@ -84,7 +84,7 @@ in the event your URLs ever change.

The above example would create a form that points to your base URL plus the "email/send" URI segments, like this:

-<form method="post" action="http:/www.your-site.com/index.php/email/send" /> +<form method="post" action="http:/example.com/index.php/email/send" />

Adding Attributes

@@ -97,7 +97,7 @@ echo form_open('email/send', $attributes);

The above example would create a form similar to this:

-<form method="post" action="http:/www.your-site.com/index.php/email/send"  class="email"  id="myform" /> +<form method="post" action="http:/example.com/index.php/email/send"  class="email"  id="myform" />

Adding Hidden Input Fields

@@ -110,7 +110,7 @@ echo form_open('email/send', '', $hidden);

The above example would create a form similar to this:

-<form method="post" action="http:/www.your-site.com/index.php/email/send">
+<form method="post" action="http:/example.com/index.php/email/send">
<input type="hidden" name="username" value="Joe" />
<input type="hidden" name="member_id" value="234" />
@@ -134,7 +134,7 @@ which is necessary if you would like to use the form to upload files with.

$data = array(
              'name'  => 'John Doe',
              'email' => 'john@example.com',
-              'url'   => 'http://www.example.com'
+              'url'   => 'http://example.com'
            );

echo form_hidden($data);
@@ -142,7 +142,7 @@ echo form_hidden($data);
// Would produce:

<input type="hidden" name="name" value="John Doe" />
<input type="hidden" name="email" value="john@example.com" />
-<input type="hidden" name="url" value="http://www.example.com" />
+<input type="hidden" name="url" value="http://example.com" />
-- cgit v1.2.3-24-g4f1b