aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/submit.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/submit.php')
-rw-r--r--views/default/input/submit.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/default/input/submit.php b/views/default/input/submit.php
new file mode 100644
index 000000000..df369b3b4
--- /dev/null
+++ b/views/default/input/submit.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Create a submit input button
+ *
+ * @package Elgg
+ * @subpackage Core
+ *
+ * @uses $vars['class'] CSS class that replaces elgg-button-submit
+ */
+
+$vars['type'] = 'submit';
+$vars['class'] = elgg_extract('class', $vars, 'elgg-button-submit');
+
+echo elgg_view('input/button', $vars); \ No newline at end of file