From 53433d73e36f36ccff2df95447c48c433ba0efef Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 5 Feb 2011 16:19:52 +0000 Subject: changed named from css preview to theming preview git-svn-id: http://code.elgg.org/elgg/trunk@8029 36083f99-b078-4883-b0ff-0f9b5a30f544 --- documentation/theming/preview/forms.php | 220 ++++++++++++++++++++++++++++++++ 1 file changed, 220 insertions(+) create mode 100644 documentation/theming/preview/forms.php (limited to 'documentation/theming/preview/forms.php') diff --git a/documentation/theming/preview/forms.php b/documentation/theming/preview/forms.php new file mode 100644 index 000000000..89caf8e8b --- /dev/null +++ b/documentation/theming/preview/forms.php @@ -0,0 +1,220 @@ + + +
+

+ Index > +

+ +

Form

+
+
+ Form legend +

+ + 'f1', + 'internalid' => 'f1', + 'value' => 'input text', + )); + ?> +

+

+ + 'f2', + 'internalid' => 'f2', + 'value' => 'password', + )); + ?> +

+

+
+ 'f3', + 'internalid' => 'f3', + 'options' => array(1, 2), + )); + ?> +

+

+
+ 'f4', + 'internalid' => 'f4', + 'options' => array(1, 2), + )); + ?> +

+

+
+ 'f5', + 'internalid' => 'f5', + 'options' => array('option 1', 'option 2'), + )); + ?> +

+

+ + 'f6', + 'internalid' => 'f6', + 'value' => ACCESS_PUBLIC, + )); + ?> +

+

+ + 'f7', + 'internalid' => 'f7', + )); + ?> +

+

+ + 'f8', + 'internalid' => 'f8', + 'value' => 'http://elgg.org/', + )); + ?> +

+

+ + 'f9', + 'internalid' => 'f9', + 'value' => 'one, two, three', + )); + ?> +

+

+ + 'f10', + 'internalid' => 'f10', + 'value' => 'noone@elgg.org', + )); + ?> +

+

+ + 'f11', + 'internalid' => 'f11', + 'match_on' => 'users', + )); + ?> +

+

+ + 'f12', + 'internalid' => 'f12', + )); + ?> +

+

+ + 'f13', + 'internalid' => 'f13', + )); + ?> +

+

+ + 'f14', + 'internalid' => 'f14', + 'value' => $ipsum, + )); + ?> +

+

+ + 'f15', + 'internalid' => 'f15', + 'value' => $ipsum, + )); + ?> +

+
+
+ +
+

Buttons

+

+ 'b1', + 'value' => 'input[type=submit]', + )); + ?> +

+

+ "$url#", + 'text' => 'a.elgg-submit-button', + 'class' => 'elgg-button elgg-submit-button', + )); + ?> +

+

+ "$url#", + 'text' => 'submit button disabled', + 'class' => 'elgg-button elgg-submit-button disabled', + )); + ?> +

+

+ 'b3', + 'value' => 'input[type=button]', + )); + ?> +

+

+ "$url#", + 'text' => 'a.elgg-cancel-button', + 'class' => 'elgg-button elgg-cancel-button', + )); + ?> +

+

+ "$url#", + 'text' => 'a.elgg-action-button', + 'class' => 'elgg-action-button', + )); + ?> +

+

+ "$url#", + 'text' => 'action button disabled', + 'class' => 'elgg-action-button disabled', + )); + ?> +

+
+ +
+ + \ No newline at end of file -- cgit v1.2.3