diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-29 23:54:04 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-29 23:54:04 +0000 |
commit | 947eda7867df1f4846f18fc0326ff0ed20626c34 (patch) | |
tree | 75aecbac51ef5aa67fc2e747fffb3d80ad4ab502 /views/default/input | |
parent | dcba493d8defdeb9ab6f41bf07826474bc41e9a6 (diff) | |
download | elgg-947eda7867df1f4846f18fc0326ff0ed20626c34.tar.gz elgg-947eda7867df1f4846f18fc0326ff0ed20626c34.tar.bz2 |
stage 1 in moving the forms markup to elgg- namespaced css - buttons still need work
git-svn-id: http://code.elgg.org/elgg/trunk@7763 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input')
-rw-r--r-- | views/default/input/access.php | 2 | ||||
-rw-r--r-- | views/default/input/checkbox.php | 2 | ||||
-rw-r--r-- | views/default/input/checkboxes.php | 2 | ||||
-rw-r--r-- | views/default/input/email.php | 2 | ||||
-rw-r--r-- | views/default/input/file.php | 2 | ||||
-rw-r--r-- | views/default/input/longtext.php | 2 | ||||
-rw-r--r-- | views/default/input/password.php | 2 | ||||
-rw-r--r-- | views/default/input/plaintext.php | 2 | ||||
-rw-r--r-- | views/default/input/pulldown.php | 2 | ||||
-rw-r--r-- | views/default/input/radio.php | 2 | ||||
-rw-r--r-- | views/default/input/tags.php | 2 | ||||
-rw-r--r-- | views/default/input/text.php | 2 | ||||
-rw-r--r-- | views/default/input/url.php | 2 |
13 files changed, 13 insertions, 13 deletions
diff --git a/views/default/input/access.php b/views/default/input/access.php index d4f366363..56123d49a 100644 --- a/views/default/input/access.php +++ b/views/default/input/access.php @@ -14,7 +14,7 @@ * */ -$class = "input-access"; +$class = "elgg-input-access"; if (isset($vars['class'])) { $class = $vars['class']; } diff --git a/views/default/input/checkbox.php b/views/default/input/checkbox.php index 59af3216f..0fea3d3c6 100644 --- a/views/default/input/checkbox.php +++ b/views/default/input/checkbox.php @@ -15,7 +15,7 @@ */ $defaults = array( - 'class' => 'input-checkbox', + 'class' => 'elgg-input-checkbox', ); $vars = array_merge($defaults, $vars); diff --git a/views/default/input/checkboxes.php b/views/default/input/checkboxes.php index 4abeabf58..2222875d8 100644 --- a/views/default/input/checkboxes.php +++ b/views/default/input/checkboxes.php @@ -29,7 +29,7 @@ if (!isset($vars['value']) || $vars['value'] === FALSE) { $vars['value'] = elgg_get_sticky_value($vars['internalname']); } -$class = (isset($vars['class'])) ? $vars['class'] : 'input-checkboxes'; +$class = (isset($vars['class'])) ? $vars['class'] : 'elgg-input-checkboxes'; $value = (isset($vars['value'])) ? $vars['value'] : NULL; $value_array = (is_array($value)) ? array_map('strtolower', $value) : array(strtolower($value)); $internalname = (isset($vars['internalname'])) ? $vars['internalname'] : ''; diff --git a/views/default/input/email.php b/views/default/input/email.php index c973ff7e4..577cfbbdb 100644 --- a/views/default/input/email.php +++ b/views/default/input/email.php @@ -8,7 +8,7 @@ */ $defaults = array( - 'class' => 'input-text', //@todo input-email? + 'class' => 'elgg-input-email', 'disabled' => FALSE, ); diff --git a/views/default/input/file.php b/views/default/input/file.php index 8f0461083..28ab54f94 100644 --- a/views/default/input/file.php +++ b/views/default/input/file.php @@ -19,7 +19,7 @@ if (!empty($vars['value'])) { echo elgg_echo('fileexists') . "<br />"; } -$class = "input-file"; +$class = "elgg-input-file"; if (isset($vars['class'])) { $class = $vars['class']; } diff --git a/views/default/input/longtext.php b/views/default/input/longtext.php index d784c6014..d9862f95c 100644 --- a/views/default/input/longtext.php +++ b/views/default/input/longtext.php @@ -14,7 +14,7 @@ * @uses $vars['disabled'] Is the input field disabled? */ -$class = "input-textarea"; +$class = "elgg-input-textarea"; if (isset($vars['class'])) { $class = $vars['class']; } diff --git a/views/default/input/password.php b/views/default/input/password.php index 0d1523977..86bae9c7f 100644 --- a/views/default/input/password.php +++ b/views/default/input/password.php @@ -14,7 +14,7 @@ $class = $vars['class']; if (!$class) { - $class = "input-password"; + $class = "elgg-input-password"; } ?> diff --git a/views/default/input/plaintext.php b/views/default/input/plaintext.php index e2b8c5ed2..0ca8c07ee 100644 --- a/views/default/input/plaintext.php +++ b/views/default/input/plaintext.php @@ -14,7 +14,7 @@ $class = $vars['class']; if (!$class) { - $class = "input-textarea"; + $class = "elgg-input-textarea"; } if (!isset($vars['value']) || $vars['value'] === FALSE) { diff --git a/views/default/input/pulldown.php b/views/default/input/pulldown.php index f789d1020..25e3e3c37 100644 --- a/views/default/input/pulldown.php +++ b/views/default/input/pulldown.php @@ -18,7 +18,7 @@ $class = $vars['class']; if (!$class) { - $class = "input-pulldown"; + $class = "elgg-input-dropdown"; } if (!isset($vars['value'])) { diff --git a/views/default/input/radio.php b/views/default/input/radio.php index 0a5885f8b..b2b67616c 100644 --- a/views/default/input/radio.php +++ b/views/default/input/radio.php @@ -15,7 +15,7 @@ $class = $vars['class']; if (!$class) { - $class = "input-radio"; + $class = "elgg-input-radio"; } if (!isset($vars['value']) || $vars['value'] === FALSE) { diff --git a/views/default/input/tags.php b/views/default/input/tags.php index 6ce074a2a..c48793518 100644 --- a/views/default/input/tags.php +++ b/views/default/input/tags.php @@ -8,7 +8,7 @@ */ $defaults = array( - 'class' => 'input-tags', + 'class' => 'elgg-input-tags', 'disabled' => FALSE, ); diff --git a/views/default/input/text.php b/views/default/input/text.php index 9f3076ed3..668102d81 100644 --- a/views/default/input/text.php +++ b/views/default/input/text.php @@ -8,7 +8,7 @@ */ $defaults = array( - 'class' => 'input-text', + 'class' => 'elgg-input-text', 'disabled' => FALSE, ); diff --git a/views/default/input/url.php b/views/default/input/url.php index fddf44a5b..607720078 100644 --- a/views/default/input/url.php +++ b/views/default/input/url.php @@ -8,7 +8,7 @@ */ $defaults = array( - 'class' => 'input-url', + 'class' => 'elgg-input-url', ); $vars = array_merge($defaults, $vars); |