aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/forms
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-22 22:35:45 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-22 22:35:45 +0000
commite22a24721de8750f5b61250a38be0d87f33e2c44 (patch)
tree5063de36f1350792d5bbb126e37cfb52b0135833 /mod/pages/views/default/forms
parent243215ec60e151099b366251be521b12b7c1e02b (diff)
downloadelgg-e22a24721de8750f5b61250a38be0d87f33e2c44.tar.gz
elgg-e22a24721de8750f5b61250a38be0d87f33e2c44.tar.bz2
adding elgg namespace to button css classes
git-svn-id: http://code.elgg.org/elgg/trunk@7704 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/views/default/forms')
-rw-r--r--mod/pages/views/default/forms/pages/edit.php4
-rw-r--r--mod/pages/views/default/forms/pages/editwelcome.php5
2 files changed, 6 insertions, 3 deletions
diff --git a/mod/pages/views/default/forms/pages/edit.php b/mod/pages/views/default/forms/pages/edit.php
index 5c052b1c6..94e969a57 100644
--- a/mod/pages/views/default/forms/pages/edit.php
+++ b/mod/pages/views/default/forms/pages/edit.php
@@ -87,7 +87,9 @@ if ($container_guid) {
?>
<input type="hidden" name="parent_guid" value="<?php if (!$new_page) echo $vars['entity']->parent_guid; else echo $parent_guid; ?>" />
<input type="hidden" name="owner_guid" value="<?php if (!$new_page) echo $vars['entity']->owner_guid; else echo elgg_get_page_owner_guid(); ?>" />
- <input type="submit" class="submit-button" value="<?php echo elgg_echo("save"); ?>" />
+<?php
+ echo elgg_view('input/submit', array('value' => elgg_echo('save')));
+?>
</p>
</form>
diff --git a/mod/pages/views/default/forms/pages/editwelcome.php b/mod/pages/views/default/forms/pages/editwelcome.php
index 883939fd4..a0ad3131b 100644
--- a/mod/pages/views/default/forms/pages/editwelcome.php
+++ b/mod/pages/views/default/forms/pages/editwelcome.php
@@ -49,7 +49,8 @@ $page_owner = $vars['owner']->guid;
<input type="hidden" name="object_guid" value="<?php echo $object_guid; ?>" />
<?php
}
- ?>
-<input type="submit" class="submit-button" value="<?php echo elgg_echo("save"); ?>" />
+ echo elgg_view('input/submit', array('value' => elgg_echo('save')));
+?>
+
</form>