From 2c2ad03dce82a3fffa575a9a1233345a85e0db34 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Thu, 10 Feb 2011 01:43:36 +0000 Subject: Converted buttons to elgg-object-type naming convention. Added table of buttons to forms theming preview meant for previewing all button types and states (still have to implement those...) git-svn-id: http://code.elgg.org/elgg/trunk@8091 36083f99-b078-4883-b0ff-0f9b5a30f544 --- documentation/theming/preview/forms.php | 106 +++++++++++++++----------------- 1 file changed, 51 insertions(+), 55 deletions(-) (limited to 'documentation') diff --git a/documentation/theming/preview/forms.php b/documentation/theming/preview/forms.php index 89caf8e8b..592f5f844 100644 --- a/documentation/theming/preview/forms.php +++ b/documentation/theming/preview/forms.php @@ -159,62 +159,58 @@ $url = current_page_url();

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', - )); - ?> -

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