]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
stage 1 in moving the forms markup to elgg- namespaced css - buttons still need work
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 29 Dec 2010 23:54:04 +0000 (23:54 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 29 Dec 2010 23:54:04 +0000 (23:54 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7763 36083f99-b078-4883-b0ff-0f9b5a30f544

34 files changed:
mod/categories/views/default/categories/css.php
mod/embed/views/default/embed/css.php
mod/invitefriends/views/default/invitefriends/formitems.php
mod/messageboard/views/default/messageboard/forms/add.php
mod/messageboard/views/default/widgets/messageboard/content.php
mod/messages/views/default/messages/forms/reply.php
mod/messages/views/default/messages/forms/send.php
mod/messages/views/default/messages/messages.php
mod/sitepages/views/default/sitepages/forms/editfrontsimple.php
mod/tinymce/views/default/input/longtext.php
mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php
views/default/admin/components/plugin.php
views/default/admin/plugins/plugins_advanced.php [moved from views/default/admin/plugins/advanced.php with 100% similarity]
views/default/css/admin.php
views/default/css/elements/forms.php
views/default/css/screen.php
views/default/input/access.php
views/default/input/checkbox.php
views/default/input/checkboxes.php
views/default/input/email.php
views/default/input/file.php
views/default/input/longtext.php
views/default/input/password.php
views/default/input/plaintext.php
views/default/input/pulldown.php
views/default/input/radio.php
views/default/input/tags.php
views/default/input/text.php
views/default/input/url.php
views/default/page/shells/walled_garden.php
views/installation/input/access.php
views/installation/input/checkboxes.php
views/installation/input/longtext.php
views/installation/input/pulldown.php

index 87916c41233bebffc4b0d3c762718877f6894813..7944f9dfef6e940a2f9a2f8bff2ca3ec7ac5acb5 100644 (file)
@@ -6,7 +6,7 @@
  */
 ?>
 
-.categories .input-checkboxes {
+.categories .elgg-input-checkboxes {
        padding:0;
        margin:2px 5px 0 0;
 }
index e8758420550c8d0803ac31bf5b6b7e0480b7d266..fe8cef972f803524fad103a3cd06cda3669cc7e0 100644 (file)
 }
 
 /* input field classes */
-#facebox .content .input-text,
-#facebox .content .input-tags {
+#facebox .content .elgg-input-text,
+#facebox .content .elgg-input-tags {
        font: 120% Arial, Helvetica, sans-serif;
        padding: 5px;
        border: 1px solid #cccccc;
        -moz-box-shadow: none;
        box-shadow: none;
 }
-#facebox .content .input-text:focus,
-#facebox .content .input-tags:focus {
+#facebox .content .elgg-input-text:focus,
+#facebox .content .elgg-input-tags:focus {
        border: solid 1px #4690d6;
        background: #e4ecf5;
        color:#333333;
 }
-#facebox .content .input-file {
+#facebox .content .elgg-input-file {
        background-color: white;
 }
 #facebox .content p {
index 6d381a8ed59d652101da23a64e796f72ed9bd746..c7af78981f4f31042690ebe06caafa3e19a05fad 100644 (file)
@@ -15,13 +15,13 @@ if ($CONFIG->allow_registration) {
 <p class="margin-top">
        <label>
                $introduction
-               <textarea class="input-textarea" name="emails" ></textarea>
+               <textarea class="elgg-input-textarea" name="emails" ></textarea>
        </label>
 </p>
 <p>
        <label>
                $message
-               <textarea class="input-textarea" name="emailmessage" >$default</textarea>
+               <textarea class="elgg-input-textarea" name="emailmessage" >$default</textarea>
        </label>
 </p>
 HTML;
index 6003bade7e92cbbacf5f6f39bbefab0b9cf417b2..cacb5712f7817144d2aae79097d49ea1f6686d9d 100644 (file)
@@ -11,7 +11,7 @@
        <form action="<?php echo elgg_get_site_url(); ?>action/messageboard/add" method="post" name="messageboardForm">
 
                <!-- textarea for the contents -->
-               <textarea name="message_content" value="" class="input-textarea"></textarea><br />
+               <textarea name="message_content" value="" class="elgg-input-textarea"></textarea><br />
 
                <!-- the page owner, this will be the profile owner -->
                <input type="hidden" name="pageOwner" value="<?php echo elgg_get_page_owner_guid(); ?>"  />
index fbf6cb776c27e0c636eafcc95941d49cc48173d9..f4c822b3f8c7ca8d24b59a885f6d893f1c59c685 100644 (file)
@@ -43,7 +43,7 @@ if (isloggedin()) {
 <div id="mb_input_wrapper"><!-- start of mb_input_wrapper div -->
 
        <!-- message textarea -->
-       <textarea name="message_content" class="input-textarea"></textarea>
+       <textarea name="message_content" class="elgg-input-textarea"></textarea>
 
        <!-- the page owner, this will be the profile owner -->
        <input type="hidden" name="pageOwner" value="<?php echo elgg_get_page_owner_guid(); ?>" class="pageOwner"  />
index bdf3d1283c847955f2e1f49ecec765e053651c53..107b8616662974c15faa308a0b5fc00179d34cd6 100644 (file)
@@ -16,8 +16,8 @@
        <?php echo elgg_view('action/securitytoken'); ?>
 
     <!-- populate the title space with the orginal message title, inserting re: before it -->                                                  
-       <p><label><?php echo elgg_echo("messages:title"); ?>: <br /><input type='text' name='title' class="input-text" value='<?php echo $reply_title; ?>' /></label></p>
-       <p><label><?php echo elgg_echo("messages:message"); ?>: <br /><textarea name='message' value='' class="input-textarea" /></textarea></label></p>
+       <p><label><?php echo elgg_echo("messages:title"); ?>: <br /><input type='text' name='title' class="elgg-input-text" value='<?php echo $reply_title; ?>' /></label></p>
+       <p><label><?php echo elgg_echo("messages:message"); ?>: <br /><textarea name='message' value='' class="elgg-input-textarea" /></textarea></label></p>
                
        <p>
            <?php
index 71705bf188fb3d911d2d57a88e5f50a35d8d21cd..6ddf7e5435445bce26a479efb058ed90d29215af 100644 (file)
@@ -57,7 +57,7 @@ unset($_SESSION['msg_contents']);
         }
     ?>
     
-       <p class="margin-top"><label><?php echo elgg_echo("messages:title"); ?>: <br /><input type='text' name='title' value='<?php echo $msg_title; ?>' class="input-text" /></label></p>
+       <p class="margin-top"><label><?php echo elgg_echo("messages:title"); ?>: <br /><input type='text' name='title' value='<?php echo $msg_title; ?>' class="elgg-input-text" /></label></p>
        <p class="longtext_inputarea"><label><?php echo elgg_echo("messages:message"); ?>:</label>
        <?php
                echo elgg_view("input/longtext", array(
index 97036f9b00875dffd60974195ebfdd3ad36584d0..a1a7fd9cadac3de0eca4292d833fb7438d09c50a 100644 (file)
@@ -94,7 +94,7 @@ if (isloggedin())
                                        <h2><?php echo elgg_echo('messages:answer'); ?></h2>
                                        <form action="<?php echo elgg_get_site_url(); ?>action/messages/send" method="post" name="messageForm" class="margin-top" id="messages_send_form">
                                                <?php echo elgg_view('input/securitytoken'); ?>
-                                               <p><label><?php echo elgg_echo("messages:title"); ?>: <br /><input type='text' name='title' class="input-text" value='<?php echo $reply_title; ?>' /></label></p>
+                                               <p><label><?php echo elgg_echo("messages:title"); ?>: <br /><input type='text' name='title' class="elgg-input-text" value='<?php echo $reply_title; ?>' /></label></p>
                                                <p class="longtext_inputarea"><label><?php echo elgg_echo("messages:message"); ?>:</label>
                                                <?php echo elgg_view("input/longtext", array(
                                                                                        "internalname" => "message",
index c426e9ad92dc1e5db593c43c31630143fbbb08c3..e750ee69f9edd1465d2de5f5cd52f5f2456fcc40 100644 (file)
@@ -26,7 +26,7 @@ $welcometitle_form = elgg_view('input/text', array(
 $welcomemessage_form = elgg_view('input/longtext', array(\r
        'internalname' => 'welcomemessage',\r
        'value' => $welcomemessage,\r
-       'class' => 'input-textarea monospace'\r
+       'class' => 'elgg-input-textarea monospace'\r
 ));\r
 $sidebartitle_form = elgg_view('input/text', array(\r
        'internalname' => 'sidebartitle',\r
@@ -35,7 +35,7 @@ $sidebartitle_form = elgg_view('input/text', array(
 $sidebarmessage_form = elgg_view('input/longtext', array(\r
        'internalname' => 'sidebarmessage',\r
        'value' => $sidebarmessage,\r
-       'class' => 'input-textarea monospace'\r
+       'class' => 'elgg-input-textarea monospace'\r
 ));;\r
 \r
 $page_type = elgg_view('input/hidden', array(\r
index 995cd8fd19027d77729b9bb493d6fde5207f9938..daa34b2e8831792df7483a16c21412f0ce3662da 100644 (file)
@@ -86,7 +86,7 @@ function toggleEditor(id) {
 
 <a class="longtext-control toggle_editor small link" href="javascript:toggleEditor('<?php echo $vars['internalname']; ?>');"><?php echo elgg_echo('tinymce:remove'); ?></a>
 <!-- show the textarea -->
-<textarea class="input-textarea mceEditor" name="<?php echo $vars['internalname']; ?>" <?php echo $vars['js']; ?>><?php echo htmlentities($vars['value'], null, 'UTF-8'); ?></textarea>
+<textarea class="elgg-input-textarea mceEditor" name="<?php echo $vars['internalname']; ?>" <?php echo $vars['js']; ?>><?php echo htmlentities($vars['value'], null, 'UTF-8'); ?></textarea>
 
 <script type="text/javascript">
        $(document).ready(function() {
index 1c1567aec19c682b02296165fe742924f76866dd..bc2f7f5d285e141cdec6dad6f564aea524c6c374 100644 (file)
@@ -13,7 +13,7 @@ $user = elgg_get_array_value('theuser', $vars);
 //     'internalname' => 'user_guids',
 //     'options' => array("$user->username - \"$user->name\" &lt;$user->email&gt;" => $user->guid)
 //));
-$checkbox = "<label><input type=\"checkbox\" value=\"$user->guid\" class=\"input-checkboxes\" name=\"user_guids[]\">"
+$checkbox = "<label><input type=\"checkbox\" value=\"$user->guid\" class=\"elgg-input-checkboxes\" name=\"user_guids[]\">"
        . "$user->username - \"$user->name\" &lt;$user->email&gt;</label>";
 
 $created = elgg_echo('uservalidationbyemail:admin:user_created', array(elgg_view_friendly_time($user->time_created)));
index 60a1e3f8669824ce4acca20cac8651def75604dd..ae611af07abfc719636946db9514064270c04565 100644 (file)
@@ -50,10 +50,10 @@ if ($vars['order'] < $vars['maxorder']) {
 
 if ($active) {
        $url = elgg_get_site_url()."action/admin/plugins/disable?plugin=$plugin&__elgg_token=$token&__elgg_ts=$ts";
-       $enable_disable = '<a class="elgg-cancel-button" href="' . elgg_format_url($url) . '">' . elgg_echo('disable') . '</a>';
+       $enable_disable = '<a class="elgg-button elgg-cancel-button" href="' . elgg_format_url($url) . '">' . elgg_echo('disable') . '</a>';
 } else {
        $url = elgg_get_site_url()."action/admin/plugins/enable?plugin=$plugin&__elgg_token=$token&__elgg_ts=$ts";
-       $enable_disable = '<a class="elgg-submit-button" href="' . elgg_format_url($url) . '">' . elgg_echo('enable') . '</a>';
+       $enable_disable = '<a class="elgg-button elgg-submit-button" href="' . elgg_format_url($url) . '">' . elgg_echo('enable') . '</a>';
 }
 
 
index ce31a0036a024653d90ed8b53450ee2a12616b25..d6180db834d41257e289700bd16e9622b365b5d2 100644 (file)
@@ -143,7 +143,7 @@ table.mceLayout {
        font-size:100%;
        font-weight:normal;
 }
-.elgg-admin .input-textarea {
+.elgg-admin .elgg-input-textarea {
        width:98%;
 }
 .elgg-admin form#plugin_settings {
index 698d5fdf3a31927befcf5275a722e1311e4a9b03..b4f8c7429618096f27b490a56eda75c8e513f34a 100644 (file)
        Form Elements
 *************************************** */
 /* default elgg core input field classes */
-.input-text,
-.input-tags,
-.input-url,
-.input-textarea {
-       width:98%;
-}
-.input-access {
-       margin:5px 0 0 0;
-}
-.input-password {
-       width:200px;
-}
-.input-textarea {
-       height: 200px;
-       width:718px;
-}
-input[type="checkbox"],
-input.input-radio {
-       margin:0 3px 0 0;
-       padding:0;
-       border:none;
-}
 label {
        font-weight: bold;
-       color:#333333;
+       color: #333333;
        font-size: 110%;
 }
 input {
        font: 120% Arial, Helvetica, sans-serif;
        padding: 5px;
        border: 1px solid #cccccc;
-       color:#666666;
+       color: #666666;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
 }
+input[type="text"], textarea {
+       width: 96%;
+}
+input[type="password"] {
+       width: 200px;
+}
+input[type="text"]:focus, input[type="password"]:focus {
+       border: solid 1px #4690d6;
+       background: #e4ecf5;
+       color:#333333;
+}
 textarea {
        font: 120% Arial, Helvetica, sans-serif;
        border: solid 1px #cccccc;
@@ -52,50 +41,106 @@ textarea {
        color:#666666;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
+       height: 200px;
+       width: 96%;
 }
-textarea:focus,
-input[type="text"]:focus {
-       border: solid 1px #4690d6;
-       background: #e4ecf5;
-       color:#333333;
-}
-.input-textarea.monospace {
-       font-family:Monaco,"Courier New",Courier,monospace;
-       font-size:13px;
+textarea.monospace {
+       font-family: Monaco,"Courier New",Courier,monospace;
+       font-size: 13px;
 }
 a.longtext-control {
        float:right;
        margin-left:14px;
 }
-.elgg-submit-button {
+.elgg-input-access {
+       margin:5px 0 0 0;
+}
+input[type="checkbox"],
+input[type="radio"] {
+       margin:0 3px 0 0;
+       padding:0;
+       border:none;
+}
+
+input[type="submit"],
+input[type="button"],
+.elgg-button {
        font-size: 14px;
        font-weight: bold;
-       color: white;
-       text-shadow:1px 1px 0px black;
-       text-decoration:none;
-       border: 1px solid #4690d6;
-       background-color:#4690d6;
-       background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
-       background-repeat: repeat-x;
-       background-position: left 10px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        width: auto;
        padding: 2px 4px;
-       margin:0 10px 10px 0;
+       margin: 10px 0 10px 0;
        cursor: pointer;
+       outline: none;
        -webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
        -moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
 }
-.elgg-submit-button:hover {
+input[type="submit"],
+.elgg-submit-button {
        color: white;
+       text-shadow: 1px 1px 0px black;
+       text-decoration: none;
+       border: 1px solid #4690d6;
+       background-color: #4690d6;
+       background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
+       background-repeat: repeat-x;
+       background-position: left 10px;
+}
+input[type="submit"]:hover,
+.elgg-submit-button:hover {
        border-color: #0054a7;
-       text-decoration:none;
-       background-color:#0054a7;
-       background-image:  url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
+       text-decoration: none;
+       color: white;
+       background-color: #0054a7;
+       background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
+       background-repeat: repeat-x;
+       background-position: left 10px;
+}
+.elgg-cancel-button {
+       color: #333333;
+       background-color: #dddddd;
+       background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
+       background-repeat: repeat-x;
+       background-position: left 10px;
+       border: 1px solid #999999;
+}
+.elgg-cancel-button:hover {
+       color: white;
+       background-color: #999999;
+       background-position: left 10px;
+       text-decoration: none;
+}
+.elgg-action-button {
+       background-color:#cccccc;
+       background-image:  url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif);
        background-repeat:  repeat-x;
-       background-position:  left 10px;
+       background-position: 0 0;
+       border:1px solid #999999;
+       color: #333333;
+       padding: 2px 15px 2px 15px;
+       text-align: center;
+       font-weight: bold;
+       text-decoration: none;
+       text-shadow: 0 1px 0 white;
+       cursor: pointer;
+       -webkit-border-radius: 5px;
+       -moz-border-radius: 5px;
+       -webkit-box-shadow: none;
+       -moz-box-shadow: none;
+}
+.elgg-action-button:hover,
+.elgg-action-button:focus {
+       background-position: 0 -15px;
+       background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif);
+       background-repeat: repeat-x;
+       color: #111111;
+       text-decoration: none;
+       background-color: #cccccc;
+       border: 1px solid #999999;
 }
+/*
 .elgg-submit-button.disabled {
        background-color:#999999;
        border-color:#999999;
@@ -106,64 +151,7 @@ a.longtext-control {
        border-color:#999999;
        color:#dedede;
 }
-input[type="password"]:focus {
-       border: solid 1px #4690d6;
-       background-color: #e4ecf5;
-       color:#333333;
-}
-input[type="submit"] {
-       font-size: 14px;
-       font-weight: bold;
-       color: white;
-       text-shadow:1px 1px 0px black;
-       text-decoration:none;
-       border: 1px solid #4690d6;
-       background-color:#4690d6;
-       background-image:  url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
-       background-repeat:  repeat-x;
-       background-position:  left 10px;
-       -webkit-border-radius: 5px;
-       -moz-border-radius: 5px;
-       width: auto;
-       padding: 2px 4px;
-       margin:10px 0 10px 0;
-       cursor: pointer;
-       -moz-outline-style: none;
-       outline: none;
-       -webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
-       -moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
-}
-input[type="submit"]:hover {
-       border-color: #0054a7;
-       text-decoration:none;
-       background-color:#0054a7;
-       background-image:  url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
-       background-repeat:  repeat-x;
-       background-position:  left 10px;
-}
-.elgg-cancel-button {
-       font-size: 14px;
-       font-weight: bold;
-       text-decoration:none;
-       color: #333333;
-       background-color:#dddddd;
-       background-image:  url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png);
-       background-repeat:  repeat-x;
-       background-position:  left 10px;
-       border: 1px solid #999999;
-       -webkit-border-radius: 5px;
-       -moz-border-radius: 5px;
-       width: auto;
-       padding: 2px 4px;
-       margin:10px 0 10px 10px;
-       cursor: pointer;
-}
-.elgg-cancel-button:hover {
-       background-color: #999999;
-       background-position:  left 10px;
-       text-decoration:none;
-       color:white;
-}
+
 .elgg-action-button {
        margin-left: 10px;
 }
@@ -240,6 +228,9 @@ a.elgg-action-button:focus {
        color:white;
        text-shadow:0 -1px 0 black;
 }
+
+*/
+
 /* small round delete button */
 .delete-button {
        width:14px;
index 1aaffaaa810fbeb6e5db75e6df9ef4a6f831b6fb..bccbf9f479aecec38bc9afd249bae009282309a0 100644 (file)
@@ -278,7 +278,7 @@ a.elgg-widget-edit-button:hover, a.elgg-widget-delete-button:hover {
 .elgg-river-content .elgg-user-icon {
        float: left;
 }
-.elgg-river-layout .input-pulldown {
+.elgg-river-layout .elgg-input-dropdown {
        float: right;
        margin: 10px 0;
 }
index d4f3663637c0caa0753affba6e8927f9367cd49d..56123d49a085f6f89775b70b419f336e43b4a3aa 100644 (file)
@@ -14,7 +14,7 @@
  *
  */
 
-$class = "input-access";
+$class = "elgg-input-access";
 if (isset($vars['class'])) {
        $class = $vars['class'];
 }
index 59af3216fa75eae4acd645dc31be6db0096ab775..0fea3d3c6ac6ce330b0483c6aa91881af39c764c 100644 (file)
@@ -15,7 +15,7 @@
  */
 
 $defaults = array(
-       'class' => 'input-checkbox',
+       'class' => 'elgg-input-checkbox',
 );
 
 $vars = array_merge($defaults, $vars);
index 4abeabf58d5e2cba7d939f52bc1e6313cdb11c2e..2222875d84c3d41a46ebd18e7d55664ca78677c9 100644 (file)
@@ -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'] : '';
index c973ff7e4d6feaa8ffc8a8a0a94fb6fb5505fb28..577cfbbdb9249ee2ab62eee7f612a6d3a676340a 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 $defaults = array(
-       'class' => 'input-text', //@todo input-email?
+       'class' => 'elgg-input-email',
        'disabled' => FALSE,
 );
 
index 8f046108339bee587c48f5471f04116cdfdfbc3b..28ab54f940316beb3e5e54d5e26513301d78bf78 100644 (file)
@@ -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'];
 }
index d784c601439949d72b29177f07472404888ff312..d9862f95cfe4506c1347ba1666ccb3123cdada60 100644 (file)
@@ -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'];
 }
index 0d15239777af3e19e2dd94c3803260600428e37f..86bae9c7f048b1d39cdbd40c9df38f7bcad508cc 100644 (file)
@@ -14,7 +14,7 @@
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "input-password";
+       $class = "elgg-input-password";
 }
 ?>
 
index e2b8c5ed290370d447ee62b242c5cfa32cc4053d..0ca8c07ee2bb033e68031ada93b3cc4481e868ae 100644 (file)
@@ -14,7 +14,7 @@
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "input-textarea";
+       $class = "elgg-input-textarea";
 }
 
 if (!isset($vars['value']) || $vars['value'] === FALSE) {
index f789d102051fa70b367642edafc928a8f84ceef1..25e3e3c372c2478de8686ac72fafec8e3be95380 100644 (file)
@@ -18,7 +18,7 @@
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "input-pulldown";
+       $class = "elgg-input-dropdown";
 }
 
 if (!isset($vars['value'])) {
index 0a5885f8b1b0bdf32be2794cdb05dd88a63dd21b..b2b67616cb4bb0e52118984f746df8b8996457da 100644 (file)
@@ -15,7 +15,7 @@
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "input-radio";
+       $class = "elgg-input-radio";
 }
 
 if (!isset($vars['value']) || $vars['value'] === FALSE) {
index 6ce074a2a28930b5038d4d7071a9a41b25cdd850..c48793518b741661b1c11f6fdfcd3aa81f0b2fe4 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 $defaults = array(
-       'class' => 'input-tags',
+       'class' => 'elgg-input-tags',
        'disabled' => FALSE,
 );
 
index 9f3076ed36460a664ec900ac7782020052ad6c65..668102d81033aabe44b684f1b9de89db98c886d4 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 $defaults = array(
-       'class' => 'input-text',
+       'class' => 'elgg-input-text',
        'disabled' => FALSE,
 );
 
index fddf44a5b0b95ccf65657161168f9049f6001ee6..60772007822a8a2d72c1990461e8f141cce0ec11 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 $defaults = array(
-       'class' => 'input-url',
+       'class' => 'elgg-input-url',
 );
 
 $vars = array_merge($defaults, $vars);
index 4e64276c119dde266aca94c3b7f5b7b05bd5bee3..bdd0104966843a9507736cdaf17c8c73be3d99f0 100644 (file)
@@ -128,10 +128,10 @@ body {background: white;}
        -moz-box-shadow: none;
        box-shadow: none;       
 }
-.walledgardenlogin .input-password {
+.walledgardenlogin .elgg-input-password {
        width:200px;
 }
-.walledgardenlogin input.input-password:focus {
+.walledgardenlogin input.elgg-input-password:focus {
        border: solid 1px #4690d6;
        background-color: #e4ecf5;
        color:#333333;
index 51b8dfa00cb752feb9cee03551763e68f61f67ca..3accdaf0c1ef3907a6270486c30dfd1ed2c0c733 100644 (file)
@@ -16,7 +16,7 @@ if (isset($vars['class'])) {
        $class = $vars['class'];
 }
 if (!$class) {
-       $class = "input-access";
+       $class = "elgg-input-access";
 }
 
 if ((!isset($vars['options'])) || (!is_array($vars['options']))) {
index d4e1b494da26c48eab87d907c46a4b6c5d611591..04533f6f57beba0d999917953d20d73bf4f559f0 100644 (file)
@@ -15,7 +15,7 @@
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "input-checkboxes";
+       $class = "elgg-input-checkboxes";
 }
 
 foreach($vars['options'] as $label => $option) {
index c7e465e9fd43b8a01b1bb60546d4e1a56ce295f1..a909f55f2abc5bf38082bdc01b1449f35ee39c88 100644 (file)
@@ -14,7 +14,7 @@
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "input-textarea";
+       $class = "elgg-input-textarea";
 }
 
 ?>
index 70e961c4d9f678717f580687753b7bc19849428f..2f4ff1631196da7224102e18ae6c80d3a918e80f 100644 (file)
@@ -17,7 +17,7 @@
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "input-pulldown";
+       $class = "elgg-input-dropdown";
 }
 ?>
 <select name="<?php echo $vars['internalname']; ?>" <?php echo $vars['js']; ?> <?php if ($vars['disabled']) echo ' disabled="yes" '; ?> class="<?php echo $class; ?>">