aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/views/default')
-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>