aboutsummaryrefslogtreecommitdiff
path: root/documentation/css/preview/forms.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-05 03:31:43 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-05 03:31:43 +0000
commit383f4572b9ce1d48db168b3bdc42163e02d97657 (patch)
treeb80fa4047629f2d5d3983c912c60a11a572a9d2a /documentation/css/preview/forms.php
parentdeb2f017851520137695afa6c9d594fd4560698d (diff)
downloadelgg-383f4572b9ce1d48db168b3bdc42163e02d97657.tar.gz
elgg-383f4572b9ce1d48db168b3bdc42163e02d97657.tar.bz2
cleaned up navigation of the css preview documentation
git-svn-id: http://code.elgg.org/elgg/trunk@8025 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'documentation/css/preview/forms.php')
-rw-r--r--documentation/css/preview/forms.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/documentation/css/preview/forms.php b/documentation/css/preview/forms.php
index 8dd028dc5..b2be5b0bb 100644
--- a/documentation/css/preview/forms.php
+++ b/documentation/css/preview/forms.php
@@ -7,11 +7,12 @@ $title = 'Forms and Buttons';
require dirname(__FILE__) . '/head.php';
+$url = current_page_url();
+
?>
<body>
- <div class="elgg-page" style="width: 800px; margin: 20px auto;">
- <h1 class="mbl"><?php echo $title; ?></h1>
- <div class="mbl"><a href="index.php">return to index</a></div>
+ <div class="elgg-page mal">
+ <h1 class="mbl"><a href="index.php">Index</a> > <?php echo $title; ?></h1>
<h2>Form</h2>
<form action="#">
<fieldset>
@@ -162,7 +163,7 @@ require dirname(__FILE__) . '/head.php';
</p>
<p>
<?php echo elgg_view('output/url', array(
- 'href' => '#',
+ 'href' => "$url#",
'text' => 'a.elgg-submit-button',
'class' => 'elgg-button elgg-submit-button',
));
@@ -170,7 +171,7 @@ require dirname(__FILE__) . '/head.php';
</p>
<p>
<?php echo elgg_view('output/url', array(
- 'href' => '#',
+ 'href' => "$url#",
'text' => 'submit button disabled',
'class' => 'elgg-button elgg-submit-button disabled',
));
@@ -185,7 +186,7 @@ require dirname(__FILE__) . '/head.php';
</p>
<p>
<?php echo elgg_view('output/url', array(
- 'href' => '#',
+ 'href' => "$url#",
'text' => 'a.elgg-cancel-button',
'class' => 'elgg-button elgg-cancel-button',
));
@@ -193,7 +194,7 @@ require dirname(__FILE__) . '/head.php';
</p>
<p>
<?php echo elgg_view('output/url', array(
- 'href' => '#',
+ 'href' => "$url#",
'text' => 'a.elgg-action-button',
'class' => 'elgg-action-button',
));
@@ -201,7 +202,7 @@ require dirname(__FILE__) . '/head.php';
</p>
<p>
<?php echo elgg_view('output/url', array(
- 'href' => '#',
+ 'href' => "$url#",
'text' => 'action button disabled',
'class' => 'elgg-action-button disabled',
));