]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #2700 changed underscores to hyphens for the forms css elements
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 2 Dec 2010 01:19:33 +0000 (01:19 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 2 Dec 2010 01:19:33 +0000 (01:19 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7492 36083f99-b078-4883-b0ff-0f9b5a30f544

90 files changed:
mod/blog/views/default/blog/css.php
mod/blog/views/default/blog/forms/edit.php
mod/blog/views/default/object/blog.php
mod/bookmarks/views/default/object/bookmarks.php
mod/defaultwidgets/views/default/defaultwidgets/editor.php
mod/ecml/views/default/ecml/input_ext.php
mod/ecml/views/default/embed/web_services/content.php
mod/embed/views/default/embed/css.php
mod/embed/views/default/embed/link.php
mod/file/views/default/object/file.php
mod/groups/views/default/forms/forums/addtopic.php
mod/groups/views/default/forms/forums/edittopic.php
mod/groups/views/default/forms/groups/edit.php
mod/groups/views/default/forum/maintopic.php
mod/groups/views/default/forum/topics.php
mod/groups/views/default/groups/css.php
mod/groups/views/default/groups/groupprofile.php
mod/groups/views/default/groups/invitationrequests.php
mod/groups/views/default/groups/membershiprequests.php
mod/groups/views/default/object/groupforumtopic.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/index.php
mod/messages/sent.php
mod/messages/views/default/messages/css.php
mod/messages/views/default/messages/forms/reply.php
mod/messages/views/default/messages/forms/send.php
mod/messages/views/default/messages/forms/view.php
mod/messages/views/default/messages/messages.php
mod/messages/views/default/messages/view.php
mod/pages/views/default/forms/pages/edit.php
mod/pages/views/default/forms/pages/editwelcome.php
mod/profile/views/default/admin/appearance/defaultprofile.php
mod/profile/views/default/profile/commentwall/commentwall_content.php
mod/profile/views/default/profile/css.php
mod/profile/views/default/profile/edit.php
mod/profile/views/default/profile/editdefaultprofileitems.php
mod/profile/views/default/profile/editicon.php
mod/profile/views/default/profile/profile_ownerblock.php
mod/reportedcontent/views/default/object/reported_content.php
mod/riverdashboard/views/default/riverdashboard/css.php
mod/sitepages/views/default/sitepages/forms/editfrontsimple.php
mod/thewire/views/default/object/thewire.php
mod/thewire/views/default/thewire/css.php
mod/thewire/views/default/thewire/forms/add.php
mod/thewire/views/default/thewire/profile_status.php
mod/tinymce/views/default/input/longtext.php
mod/twitter/views/default/twitter/css.php
mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php
views/default/account/forms/register.php
views/default/account/login_walled_garden.php
views/default/admin/components/plugin.php
views/default/admin/components/plugin_settings.php
views/default/admin/plugins/advanced.php
views/default/admin/plugins/simple.php
views/default/annotation/generic_comment.php
views/default/annotation/likes.php
views/default/css/admin.php
views/default/css/components/forms.php
views/default/css/ie.php
views/default/css/ie6.php
views/default/css/screen.php
views/default/friends/picker.php
views/default/input/access.php
views/default/input/button.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/input/userpicker.php
views/default/js/upload_js.php
views/default/layouts/widgets.php
views/default/page_elements/content_header.php
views/default/page_shells/walled_garden.php
views/default/usersettings/form.php
views/default/widgets/add_button.php
views/installation/input/access.php
views/installation/input/button.php
views/installation/input/longtext.php
views/installation/input/password.php
views/installation/input/text.php

index 7578f5955aaad855d3e60d2bf2388ca2ebf27796..d9e565ee6b55edc7193545cef951369afa79af03 100644 (file)
@@ -37,7 +37,7 @@
 }
 
 /* blogs edit/create form */
-form#blog_post_edit .submit_button {
+form#blog_post_edit .submit-button {
        margin-right:15px;
 }
 /* force tinymce input height for a more useful editing / blog creation area */
index 60012dac6454687a064b9b676cc46f657ccb5c98..5da9c3cd15998f95975ebb2af64f4646dc8f3809 100644 (file)
@@ -68,7 +68,7 @@ if (isset ($vars['entity'])) {
        $delete_link = elgg_view('output/confirmlink', array(
                'href' => $delete_url,
                'text' => elgg_echo('delete'),
-               'class' => 'action_button disabled'
+               'class' => 'action-button disabled'
        ));
 }
 
index 7f91ae6085424405344e368161e8753e5e34a6f1..91fc7f594b0593297bb5add3cd4f2ac5b1edee96 100644 (file)
@@ -52,7 +52,7 @@ if ($blog->canEdit()) {
        $edit_link = "<span class='entity_edit'><a href=\"$edit_url\">" . elgg_echo('edit') . '</a></span>';
 
        $delete_url = "action/blog/delete?guid={$blog->getGUID()}";
-       $delete_link = "<span class='delete_button'>" . elgg_view('output/confirmlink', array(
+       $delete_link = "<span class='delete-button'>" . elgg_view('output/confirmlink', array(
                'href' => $delete_url,
                'text' => elgg_echo('delete'),
                'confirm' => elgg_echo('deleteconfirm')
index 09d91a3c37de76b48dfb621c8103d6ac41cd94a3..7438f1570b43154d730eff9065dd9bd146fa0b6e 100644 (file)
@@ -59,7 +59,7 @@ if (@file_exists($faviconurl)) {
 
 //delete
 if($vars['entity']->canEdit()){
-       $delete .= "<span class='delete_button'>" . elgg_view('output/confirmlink',array(
+       $delete .= "<span class='delete-button'>" . elgg_view('output/confirmlink',array(
                                'href' => "action/bookmarks/delete?bookmark_guid=" . $vars['entity']->guid,
                                'text' => elgg_echo("delete"),
                                'confirm' => elgg_echo("bookmarks:delete:confirm"),
index e63e84a7901263d7e5c1ce9da4372d27d8c3bbb7..0e251969075ba6b60965f051c7442114ff28047b 100644 (file)
@@ -262,7 +262,7 @@ $(document).ready(function () {
 ?>
 <input type="hidden" name="context" value="<?php echo $context; ?>" />
 <input type="hidden" name="owner" value="<?php echo elgg_get_page_owner_guid(); ?>" />
-<input type="submit" value="<?php echo elgg_echo('save'); ?>" class="submit_button"  />
+<input type="submit" value="<?php echo elgg_echo('save'); ?>" class="submit-button"  />
 
 </form>
 </div><!-- /customise_editpanel -->
index f9ab942e0e64c0730991da7562dad21034295444..045f30288369c91b86006831866df161cb13807a 100644 (file)
@@ -7,4 +7,4 @@
 
 $docs_href = elgg_get_site_url()."pg/ecml";
 ?>
-<a href="<?php echo $docs_href; ?>" class="longtext_control" title="<?php echo elgg_echo('ecml:help'); ?>" target="_new"><img src="<?php echo elgg_get_site_url(); ?>mod/ecml/graphics/ecml.png" width="50" height="15" alt="ECML" /></a>
\ No newline at end of file
+<a href="<?php echo $docs_href; ?>" class="longtext-control" title="<?php echo elgg_echo('ecml:help'); ?>" target="_new"><img src="<?php echo elgg_get_site_url(); ?>mod/ecml/graphics/ecml.png" width="50" height="15" alt="ECML" /></a>
\ No newline at end of file
index b609db448ad59cc4cdb06a66f7832d70b6793a95..4697eedab91218743a395d5af95652f8bcb97b1e 100644 (file)
@@ -45,7 +45,7 @@ $embed = elgg_view('input/submit', array(
        'internalid' => 'embed_submit',
        'type' => 'button',
        'value' => elgg_echo('embed:embed'),
-       'class' => 'submit_button disabled',
+       'class' => 'submit-button disabled',
        'disabled' => TRUE
 ));
 
index 1fed16080d7de6498666d0fbb50eb0957c9cf8c9..559cd456d93c142c40e41ae06b0901bceb304903 100644 (file)
 }
 
 /* input field classes */
-#facebox .content .input_text,
-#facebox .content .input_tags {
+#facebox .content .input-text,
+#facebox .content .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 .input-text:focus,
+#facebox .content .input-tags:focus {
        border: solid 1px #4690d6;
        background: #e4ecf5;
        color:#333333;
 }
-#facebox .content .input_file {
+#facebox .content .input-file {
        background-color: white;
 }
 #facebox .content p {
index e2c3b1bff11b5bfaadb714f2bcc1e1313801f337..bb8f74b4c4e05de9aab398cf65cee1462781dd40 100644 (file)
@@ -11,4 +11,4 @@ if (is_plugin_enabled('ecml')) {
 }
 
 ?>
-<a class="longtext_control small link" href="<?php echo elgg_get_site_url() . 'pg/embed'; ?>?<?php echo $active_section; ?>internal_name=<?php echo $vars['internalname']; ?>" rel="facebox"><?php echo elgg_echo('media:insert'); ?></a>
+<a class="longtext-control small link" href="<?php echo elgg_get_site_url() . 'pg/embed'; ?>?<?php echo $active_section; ?>internal_name=<?php echo $vars['internalname']; ?>" rel="facebox"><?php echo elgg_echo('media:insert'); ?></a>
index 054184c7b5b67e472bab107a5938bc68b8e9b793..3b9731ed66b3d7c7af1e8216b23def525edb7374 100644 (file)
 
                ?>
 
-               <div class="filerepo_download"><p><a class="action_button small" href="<?php echo elgg_get_site_url(); ?>mod/file/download.php?file_guid=<?php echo $file_guid; ?>"><?php echo elgg_echo("file:download"); ?></a></p></div>
+               <div class="filerepo_download"><p><a class="action-button small" href="<?php echo elgg_get_site_url(); ?>mod/file/download.php?file_guid=<?php echo $file_guid; ?>"><?php echo elgg_echo("file:download"); ?></a></p></div>
 
 <?php
 
index 72e66480bdcbf6aa17f508352aa6759142f180e7..af8c0a447849549c2bf24c19a39c47211b77440b 100644 (file)
@@ -97,7 +97,7 @@
        <!-- required hidden info and submit button -->
        <p>
                <input type="hidden" name="group_guid" value="<?php echo $group_guid; ?>" />
-               <input type="submit" class="submit_button" value="<?php echo elgg_echo('post'); ?>" />
+               <input type="submit" class="submit-button" value="<?php echo elgg_echo('post'); ?>" />
        </p>
 
 </form>
index 1426385edca851e7963cbc561037c88757d72552..6321a953649d71d1b57859129ba90cee1b5419c3 100644 (file)
@@ -90,7 +90,7 @@
                        <input type="hidden" name="group_guid" value="<?php echo $group_guid; ?>" />
                        <input type="hidden" name="topic" value="<?php echo $topic_guid; ?>" />
                        <input type="hidden" name="message_id" value="<?php echo $message_id; ?>" />
-                       <input type="submit" class="submit_button" value="<?php echo elgg_echo('save'); ?>" />
+                       <input type="submit" class="submit-button" value="<?php echo elgg_echo('save'); ?>" />
                </p>
        
        </form>
\ No newline at end of file
index a78e0b982bf14c0f20087a2cbc0e176333d4279b..32e9f6ff36c62431fe8e9ba1379f7f348316574f 100644 (file)
@@ -140,7 +140,7 @@ if (is_array($vars['config']->group) && sizeof($vars['config']->group) > 0)
                <?php
                        }
                ?>
-               <input type="submit" class="submit_button" value="<?php echo elgg_echo("save"); ?>" />
+               <input type="submit" class="submit-button" value="<?php echo elgg_echo("save"); ?>" />
                
        </p>
 
@@ -156,7 +156,7 @@ if ($vars['entity']) {
                                $warning = elgg_echo("groups:deletewarning");
                        ?>
                        <input type="hidden" name="group_guid" value="<?php echo $vars['entity']->getGUID(); ?>" />
-                       <input type="submit" class="action_button disabled" name="delete" value="<?php echo elgg_echo('groups:delete'); ?>" onclick="javascript:return confirm('<?php echo $warning; ?>')"/><?php 
+                       <input type="submit" class="action-button disabled" name="delete" value="<?php echo elgg_echo('groups:delete'); ?>" onclick="javascript:return confirm('<?php echo $warning; ?>')"/><?php 
                ?>
        </form>
 </div>
index fc4dd3b3291b4d89bf2225c68bef91c98e72d87c..8cf2e4a7615dcd83c32643ce09f4c573bebe38b9 100644 (file)
@@ -25,7 +25,7 @@
            // if comment owner, group owner, or site admin - display edit and delete options\r
            if (groups_can_edit_discussion($vars['entity'], elgg_get_page_owner()->owner_guid)) {\r
                        echo "<div class='entity_metadata'>";\r
-               echo "<span class='delete_button'>".elgg_view("output/confirmlink",array(\r
+               echo "<span class='delete-button'>".elgg_view("output/confirmlink",array(\r
                                'href' => "action/groups/deletepost?post=" . $vars['entity']->id . "&topic=" . get_input('topic') . "&group=" . get_input('group_guid'),\r
                                'text' => elgg_echo('delete'),\r
                                'confirm' => elgg_echo('deleteconfirm')\r
index beab468a3f5572316284e5baee96ba9207f27f9d..1426ba27419e6d3485ef21447b97e8f690af588e 100644 (file)
@@ -12,7 +12,7 @@
                if(elgg_get_page_owner()->isMember(get_loggedin_user())) {
        ?>
                <div class="content_header_options">
-                       <a class="action_button" href="<?php echo elgg_get_site_url(); ?>mod/groups/addtopic.php?group_guid=<?php echo $vars['group_guid']; ?>"><?php echo elgg_echo("groups:addtopic"); ?></a>
+                       <a class="action-button" href="<?php echo elgg_get_site_url(); ?>mod/groups/addtopic.php?group_guid=<?php echo $vars['group_guid']; ?>"><?php echo elgg_echo("groups:addtopic"); ?></a>
                </div>
        <?php
                }
index a2333d02f85e12789b807de438416d4ef30d3e87..eb93c4bd9abfdd5a3294716c4f372f27dced669b 100644 (file)
@@ -34,8 +34,8 @@
 
 
 /* group invitations */
-.group_invitations a.action_button,
-.group_invitations a.submit_button {
+.group_invitations a.action-button,
+.group_invitations a.submit-button {
        float:right;
        margin:0 0 0 14px;
 }
index 44613c08d558a1cb47e49665db28c2ff1de96058..4369013684050a827c886baa2699dc19057bd06d 100644 (file)
@@ -52,7 +52,7 @@ $action_buttons = '';
 if (!empty($actions)) {
        $action_buttons = '<div class="content_header_options">';
        foreach ($actions as $url => $action) {
-               $action_buttons .= "<a class=\"action_button\" href=\"$url\">$action</a>";
+               $action_buttons .= "<a class=\"action-button\" href=\"$url\">$action</a>";
        }
        $action_buttons .= '</div>';
 }
index cf84a6ab043dd7280e04eb213b18697e3b424e1c..4674a3c2390542c64179d48340f962e260c63284 100644 (file)
@@ -18,9 +18,9 @@ if (!empty($vars['invitations']) && is_array($vars['invitations'])) {
                        $url = elgg_add_action_tokens_to_url(elgg_get_site_url()."action/groups/join?user_guid={$user->guid}&group_guid={$group->guid}");
                        ?>
                        <div class="entity_listing_info">
-                       <a href="<?php echo $url; ?>" class="submit_button"><?php echo elgg_echo('accept'); ?></a>
+                       <a href="<?php echo $url; ?>" class="submit-button"><?php echo elgg_echo('accept'); ?></a>
                        <?php           
-                               echo str_replace('<a', '<a class="action_button disabled" ', elgg_view('output/confirmlink',array(
+                               echo str_replace('<a', '<a class="action-button disabled" ', elgg_view('output/confirmlink',array(
                                        'href' => "action/groups/killinvitation?user_guid={$user->getGUID()}&group_guid={$group->getGUID()}",
                                        'confirm' => elgg_echo('groups:invite:remove:check'),
                                        'text' => elgg_echo('delete'),
index 9a5163b1d23d9becdf1d052f98fd50020b5634ca..6cb5f75f6336b93adf71d79e9527af438c0de542 100644 (file)
@@ -19,9 +19,9 @@
                                        $url = elgg_add_action_tokens_to_url(elgg_get_site_url()."action/groups/addtogroup?user_guid={$request->guid}&group_guid={$vars['entity']->guid}");
                                        ?>
                                        <div class="entity_listing_info">
-                                       <a href="<?php echo $url; ?>" class="submit_button"><?php echo elgg_echo('accept'); ?></a>
+                                       <a href="<?php echo $url; ?>" class="submit-button"><?php echo elgg_echo('accept'); ?></a>
                                        <?php   
-                                       echo str_replace('<a', '<a class="action_button disabled" ', elgg_view('output/confirmlink',array(
+                                       echo str_replace('<a', '<a class="action-button disabled" ', elgg_view('output/confirmlink',array(
                                                'href' => 'action/groups/killrequest?user_guid='.$request->guid.'&group_guid=' . $vars['entity']->guid,
                                                'confirm' => elgg_echo('groups:joinrequest:remove:check'),
                                                'text' => elgg_echo('delete'),
index 4250e9affa7120261bb418222540ab572ecacf91..efa4dee792892f98b3ff39d2429e8a6d5afbb7e3 100644 (file)
@@ -59,7 +59,7 @@ if (elgg_get_context() == "search") {
                        $info .= '</span>';
 
                        // display the delete link to those allowed to delete
-                       $info .= '<span class="delete_button">' . elgg_view("output/confirmlink", array(
+                       $info .= '<span class="delete-button">' . elgg_view("output/confirmlink", array(
                                                                                                                                                        'href' => "action/groups/deletetopic?topic=" . $vars['entity']->guid . "&group=" . $vars['entity']->container_guid,
                                                                                                                                                        'text' => elgg_echo('delete'),
                                                                                                                                                        'confirm' => elgg_echo('deleteconfirm'),
index 8bf397d547a9e571993db2a05f0e78964e58ab1b..f189d4525e8f9d33763f5b928ec0ecdd4f9ae3f1 100644 (file)
@@ -17,13 +17,13 @@ if ($CONFIG->allow_registration) {
 <p class="margin_top">
        <label>
                $introduction
-               <textarea class="input_textarea" name="emails" ></textarea>
+               <textarea class="input-textarea" name="emails" ></textarea>
        </label>
 </p>
 <p>
        <label>
                $message
-               <textarea class="input_textarea" name="emailmessage" >$default</textarea>
+               <textarea class="input-textarea" name="emailmessage" >$default</textarea>
        </label>
 </p>
 HTML;
index d44e477bf8d47da6bc4fe58d333748c6630225d0..6003bade7e92cbbacf5f6f39bbefab0b9cf417b2 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="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 8c1abb47bb3e0da4d097df3468c38a75fe304b6a..2f85a16ac18d639f6b697800760d55c44962baf8 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="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 5b79a54ae9774c8c690a23172cd15f36f4d7e732..496a8ee9d0f02078d1071204808781a8478e6789 100644 (file)
@@ -32,7 +32,7 @@ $messages = elgg_get_entities_from_metadata(array(
 // Set the page title
 $area2 = "<div id='content_header'><div class='content_header_title'>";
 $area2 .= elgg_view_title(elgg_echo("messages:inbox"))."</div>";
-$area2 .= "<div class='content_header_options'><a class='action_button' href='".elgg_get_site_url()."mod/messages/send.php'>" . elgg_echo('messages:compose') . "</a></div></div>";
+$area2 .= "<div class='content_header_options'><a class='action-button' href='".elgg_get_site_url()."mod/messages/send.php'>" . elgg_echo('messages:compose') . "</a></div></div>";
 
 // Display them. The last variable 'page_view' is to allow the view page to know where this data is coming from,
 // in this case it is the inbox, this is necessary to ensure the correct display
index 89771d6b7761b42122ed086560add3858e36ccf9..7331a8d5252102febc7b63e6dc82132734941621 100644 (file)
@@ -28,7 +28,7 @@ $messages = elgg_get_entities_from_metadata(array('metadata_name' => 'fromId', '
 // Set the page title
 $area2 = "<div id='content_header'><div class='content_header_title'>";
 $area2 .= elgg_view_title(elgg_echo("messages:sentmessages"))."</div>";
-$area2 .= "<div class='content_header_options'><a class='action_button' href='".elgg_get_site_url()."mod/messages/send.php'>" . elgg_echo('messages:compose') . "</a></div></div>";
+$area2 .= "<div class='content_header_options'><a class='action-button' href='".elgg_get_site_url()."mod/messages/send.php'>" . elgg_echo('messages:compose') . "</a></div></div>";
 
 // Set content
 $area2 .= elgg_view("messages/forms/view",array('entity' => $messages, 'page_view' => "sent", 'limit' => $limit, 'offset' => $offset));
index 95bcba10839200cb741668dcf829524b01b7523b..b186400f88291ca678789ca1d9bac6a9446861f5 100644 (file)
@@ -74,7 +74,7 @@ a.privatemessages.new span {
        width:513px;
        padding-top:6px;
 }
-.message .delete_button {
+.message .delete-button {
        margin-top:3px;
 }
 .entity_listing.messages:hover {
index 998c0071f5484ff61bcb719dd0b26b442d656ac9..15eb3ebd07296b0a2413e74d5a71c3903bcc4646 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="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>
            <?php
@@ -28,7 +28,7 @@
            echo "<input type='hidden' name='send_to' value='BAAA" . $vars['entity']->fromId . "' />";
        
            ?>
-           <input type="submit" class="submit_button" value="<?php echo elgg_echo("messages:fly"); ?>" />
+           <input type="submit" class="submit-button" value="<?php echo elgg_echo("messages:fly"); ?>" />
        </p>
        
 </form>
index c779314541e446d33f1060b124eb6d3309be9d6e..43ece8d898e14da19e0db19b7a46a152dde765bf 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="input-text" /></label></p>
        <p class="longtext_inputarea"><label><?php echo elgg_echo("messages:message"); ?>:</label>
        <?php
                echo elgg_view("input/longtext", array(
@@ -66,5 +66,5 @@ unset($_SESSION['msg_contents']);
                ));
        ?>
        </p>
-       <p><input type="submit" class="submit_button" value="<?php echo elgg_echo("messages:fly"); ?>" /></p>
+       <p><input type="submit" class="submit-button" value="<?php echo elgg_echo("messages:fly"); ?>" /></p>
 </form>
index f8fce93a9c4fd980ae2a8c9bc043cfc06922f370..272ac91c6e26e71429f66eb91c253acc28ca130a 100644 (file)
@@ -16,7 +16,7 @@ if($vars['page_view'] == "inbox"){
        $body .= '<input type="submit" name="submit" value="'.elgg_echo('messages:markread').'" /> ';
 }
 
-$body .= '<input class="cancel_button" type="button" onclick="javascript:$(\'input[type=checkbox]\').click();" value="'.elgg_echo('messages:toggle').'" />';
+$body .= '<input class="cancel-button" type="button" onclick="javascript:$(\'input[type=checkbox]\').click();" value="'.elgg_echo('messages:toggle').'" />';
 $body .= '</div>';
 
 echo elgg_view('input/form',array('body' => $body, 'action' => 'action/messages/delete', 'method' => 'post', 'internalid' => 'messages_list_form'));
\ No newline at end of file
index 4d593a6213a7184ac6994cd7f66153f98b5e7c78..6fc87ac0e83373ce9d6d9ddb9cacb9065380e7be 100644 (file)
@@ -44,12 +44,12 @@ if (isloggedin())
                        <div id="content_header" class="clearfix">
                                <div class="content_header_title"><h2><?php echo $vars['entity']->title; ?></h2></div>
                                <div class="content_header_options">
-                                       <a class="action_button message_reply" onclick="elgg_slide_toggle(this,'#elgg_page_contents','#message_reply_form');"><?php echo elgg_echo('messages:answer'); ?></a>
+                                       <a class="action-button message_reply" onclick="elgg_slide_toggle(this,'#elgg_page_contents','#message_reply_form');"><?php echo elgg_echo('messages:answer'); ?></a>
                                        <?php echo elgg_view("output/confirmlink", array(
                                                'href' => "action/messages/delete?message_id=" . $vars['entity']->getGUID() . "&type={$type}&submit=" . elgg_echo('delete'),
                                                'text' => elgg_echo('delete'),
                                                'confirm' => elgg_echo('deleteconfirm'),
-                                               'class' => "action_button disabled"
+                                               'class' => "action-button disabled"
                                                ));
                                ?>
                                </div>
@@ -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="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",
@@ -108,7 +108,7 @@ if (isloggedin())
                                                //pass along the owner of the message being replied to
                                                echo "<input type='hidden' name='send_to' value='" . $vars['entity']->fromId . "' />";
                                        ?>
-                                       <input type="submit" class="submit_button" value="<?php echo elgg_echo("messages:fly"); ?>" />
+                                       <input type="submit" class="submit-button" value="<?php echo elgg_echo("messages:fly"); ?>" />
                                        </form>
                                </div>
 
index 65091689a3847d95eef177fc784b34b643bab000..76fa4a00c7239a3ca40707030e936f65e8ba11c9 100644 (file)
@@ -40,7 +40,7 @@ if (is_array($vars['entity']) && sizeof($vars['entity']) > 0) {
                                        // display message subject
                                        echo "<div class='message_subject'>";
                                        // display delete button
-                                       echo "<span class='delete_button'>" . elgg_view("output/confirmlink", array(
+                                       echo "<span class='delete-button'>" . elgg_view("output/confirmlink", array(
                                                'href' => "action/messages/delete?message_id=" . $message->getGUID() . "&type=inbox&submit=" . urlencode(elgg_echo('delete')),
                                                'text' => elgg_echo('delete'),
                                                'confirm' => elgg_echo('deleteconfirm'),
@@ -75,7 +75,7 @@ if (is_array($vars['entity']) && sizeof($vars['entity']) > 0) {
                                        // display message subject
                                        echo "<div class='message_subject'>";
                                        //display the link to 'delete'
-                                       echo "<div class='delete_button'>" . elgg_view("output/confirmlink", array(
+                                       echo "<div class='delete-button'>" . elgg_view("output/confirmlink", array(
                                                'href' => "action/messages/delete?message_id=" . $message->getGUID() . "&type=sent&submit=" . urlencode(elgg_echo('delete')),
                                                'text' => elgg_echo('delete'),
                                                'confirm' => elgg_echo('deleteconfirm'),
index e866037cc0408f436a0d15ea2305dfb8dba97fbc..5c052b1c6d37fafeae824a7f5954a7133ecaeab4 100644 (file)
@@ -87,7 +87,7 @@ if ($container_guid) {
 ?>
        <input type="hidden" name="parent_guid" value="<?php if (!$new_page) echo $vars['entity']->parent_guid; else echo $parent_guid; ?>" />
        <input type="hidden" name="owner_guid" value="<?php if (!$new_page) echo $vars['entity']->owner_guid; else echo elgg_get_page_owner_guid(); ?>" />
-       <input type="submit" class="submit_button" value="<?php echo elgg_echo("save"); ?>" />
+       <input type="submit" class="submit-button" value="<?php echo elgg_echo("save"); ?>" />
 </p>
 
 </form>
index 625628639a55d9e89890d2586c7ba496ec54b98d..883939fd450a37b649f1485a81d5f9c21d9ef1f6 100644 (file)
@@ -51,5 +51,5 @@ $page_owner = $vars['owner']->guid;
                }
        ?>
 
-<input type="submit" class="submit_button" value="<?php echo elgg_echo("save"); ?>" />
+<input type="submit" class="submit-button" value="<?php echo elgg_echo("save"); ?>" />
 </form>
index b935797fba7f3b16475969bffbe3151c38f3fdd6..b63525bf17e2dc4e1f7c4fc3543acba0e424ff08 100644 (file)
@@ -30,7 +30,7 @@ $listing = elgg_view('profile/editdefaultprofileitems',array('items' => $items,
 
 $resetlisting = elgg_view('input/form',
                                                array (
-                                                       'body' => elgg_view('input/submit', array('value' => elgg_echo('profile:resetdefault'), 'class' => 'action_button disabled')),
+                                                       'body' => elgg_view('input/submit', array('value' => elgg_echo('profile:resetdefault'), 'class' => 'action-button disabled')),
                                                        'action' => 'action/profile/editdefault/reset'
                                                )
                                        );
index 15cb2584eccb33283677cc3379ecbdaf9a8fe58a..a7a7ca14d420be93d6ec12a403bfa59f91c7c9c9 100644 (file)
@@ -15,7 +15,7 @@
        <?php
         // if the user looking at the comment can edit, show the delete link
            if ($vars['annotation']->canEdit()) {
-                              echo "<div class='entity_metadata'><span class='delete_button'>" . elgg_view("output/confirmlink",array(
+                              echo "<div class='entity_metadata'><span class='delete-button'>" . elgg_view("output/confirmlink",array(
                                                        'href' => "action/profile/deletecomment?annotation_id=" . $vars['annotation']->id,
                                                                'text' => elgg_echo('delete'),
                                                                'confirm' => elgg_echo('deleteconfirm'),
index 22ebaa8f18e958debbece6cb76fc6e5538be313d..d1941bbc81cf8ae1eb7c83b9c2835dfa8e0ce664 100644 (file)
@@ -135,7 +135,7 @@ img.medium {
 #owner_block .profile_actions {
        margin-top:10px;
 }
-#owner_block .profile_actions a.action_button {
+#owner_block .profile_actions a.action-button {
        margin-bottom:4px;
        display: table;
 }
@@ -366,7 +366,7 @@ p.visit_twitter a {
        border-top: 1px solid #dedede;
        margin-top:30px;
 }
-.default_profile_reset .action_button {
+.default_profile_reset .action-button {
        float:right;
 }
 /* field re-order */
index 5e9cef774c828f0c6e16d1dc6381a6cb9c87ac44..4ca72338538cb40b3fdc52b651b15f17b3d5b000 100644 (file)
@@ -74,7 +74,7 @@
 
        <p>
                <input type="hidden" name="username" value="<?php echo elgg_get_page_owner()->username; ?>" />
-               <input type="submit" class="submit_button" value="<?php echo elgg_echo("save"); ?>" />
+               <input type="submit" class="submit-button" value="<?php echo elgg_echo("save"); ?>" />
        </p>
 
 </form>
\ No newline at end of file
index 3685291181c8e78951d8b0d1eafc5a70bc3483b6..4c093cb2211b7ece851657ecdc3e29e79de1e522 100644 (file)
@@ -50,7 +50,7 @@ END;
 
                //$even_odd = ( 'odd' != $even_odd ) ? 'odd' : 'even';
                $url = elgg_add_action_tokens_to_url(elgg_get_site_url()."action/profile/editdefault/delete?id={$item->shortname}");
-               echo "<li id=\"{$item->shortname}\"><div class='delete_button'><a href=\"$url\">" . elgg_echo('delete') . "</a></div>";
+               echo "<li id=\"{$item->shortname}\"><div class='delete-button'><a href=\"$url\">" . elgg_echo('delete') . "</a></div>";
                echo "<img width='16' height='16' class='handle' alt='move' title='Drag here to reorder this item' src='".elgg_get_site_url()."mod/profile/graphics/drag_handle.png'/>";
                echo "<b class=\"profile_field_editable\"><span class=\"{$item->shortname}_editable\">$item->translation</span></b>:  [".elgg_echo($item->type)."]";
                echo "</li>";
index cdfa68a8a3827726029e62ea153cbdb6dafe33ad..9e1987d55b8acb3629041ea60a12e86af84ce252 100644 (file)
@@ -39,7 +39,7 @@ $currentuser = get_loggedin_user();
                        
                        echo elgg_view("input/file",array('internalname' => 'profileicon'));
                ?>
-               <br /><input type="submit" class="submit_button" value="<?php echo elgg_echo("upload"); ?>" />
+               <br /><input type="submit" class="submit-button" value="<?php echo elgg_echo("upload"); ?>" />
        </p>
        </form>
 </div>
index bfed3aec19466d70eacb265385e17ae958afaad9..216734aa500c58ac29c415ab0c960aab0480db3e 100755 (executable)
@@ -38,8 +38,8 @@ if ($section == 'details') {
 $profile_actions = "";
 if (isloggedin() && (get_loggedin_userid() == elgg_get_page_owner_guid())) {
        $profile_actions = "<div class='clearfix profile_actions'>";
-       $profile_actions .= "<a href='".elgg_get_site_url()."pg/profile/{$user->username}/edit/details' class='action_button'>". elgg_echo('profile:edit') ."</a>";
-       $profile_actions .= "<a href='".elgg_get_site_url()."pg/profile/{$user->username}/edit/icon' class='action_button'>". elgg_echo('profile:editicon') ."</a>";
+       $profile_actions .= "<a href='".elgg_get_site_url()."pg/profile/{$user->username}/edit/details' class='action-button'>". elgg_echo('profile:edit') ."</a>";
+       $profile_actions .= "<a href='".elgg_get_site_url()."pg/profile/{$user->username}/edit/icon' class='action-button'>". elgg_echo('profile:editicon') ."</a>";
        $profile_actions .= "</div>";
 } else {
        $profile_actions = "<div class='profile_actions'>";
@@ -48,16 +48,16 @@ if (isloggedin() && (get_loggedin_userid() == elgg_get_page_owner_guid())) {
                        if ($user->isFriend()) {
                                $url = elgg_get_site_url()."action/friends/remove?friend={$user->getGUID()}";
                                $url = elgg_add_action_tokens_to_url($url);
-                               $profile_actions .= "<a href=\"$url\" class='action_button'>" . elgg_echo('friend:remove') . "</a>";
+                               $profile_actions .= "<a href=\"$url\" class='action-button'>" . elgg_echo('friend:remove') . "</a>";
                        } else {
                                $url = elgg_get_site_url()."action/friends/add?friend={$user->getGUID()}";
                                $url = elgg_add_action_tokens_to_url($url);
-                               $profile_actions .= "<a href=\"$url\" class='action_button'>" . elgg_echo('friend:add') . "</a>";
+                               $profile_actions .= "<a href=\"$url\" class='action-button'>" . elgg_echo('friend:add') . "</a>";
                        }
                }
        }
        if (is_plugin_enabled('messages') && isloggedin()) {
-               $profile_actions .= "<a href=\"".elgg_get_site_url()."mod/messages/send.php?send_to={$user->guid}\" class='action_button'>". elgg_echo('messages:send') ."</a>";
+               $profile_actions .= "<a href=\"".elgg_get_site_url()."mod/messages/send.php?send_to={$user->guid}\" class='action-button'>". elgg_echo('messages:send') ."</a>";
        }
        $profile_actions .= "</div>";
 }
index fa809bae69ab3b81c8aa3bfe8bca24d33bf8d734..1c4647cfe9807b00f65f91e02b12e9627a9c2d0b 100644 (file)
@@ -28,7 +28,7 @@ if ($report->state == 'archived') {
                        'href' => $archive_url,
                        'text' => elgg_echo('reportedcontent:archive'),
                        'is_action' => true,
-                       'class' => 'action_button',
+                       'class' => 'action-button',
                );
                echo elgg_view('output/url', $params);
        }
@@ -36,7 +36,7 @@ if ($report->state == 'archived') {
                'href' => $delete_url,
                'text' => elgg_echo('reportedcontent:delete'),
                'is_action' => true,
-               'class' => 'action_button disabled',
+               'class' => 'action-button disabled',
        );
        echo elgg_view('output/url', $params);
 ?>
index ec27f9686733e14aeb25f6f474fc13dfb659dfb0..a09a32712f490f67d072caadf9fc328d15d1205b 100644 (file)
        padding:5px;
        height:26px;
 }
-.river_comment_form.hidden .input_text {
+.river_comment_form.hidden .input-text {
        width:560px;
        padding:3px;
 }
-#profile_content .river_comment_form.hidden .input_text { /* when activity is displayed on profile page */
+#profile_content .river_comment_form.hidden .input-text { /* when activity is displayed on profile page */
        width:535px;
 }
-.river_comment_form.hidden .submit_button {
+.river_comment_form.hidden .submit-button {
        margin:0 0 0 10px;
        float:right;
 }
index b38fcd03b542d284273f297dc5ca0ff5dfa9a255..c426e9ad92dc1e5db593c43c31630143fbbb08c3 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' => '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' => 'input-textarea monospace'\r
 ));;\r
 \r
 $page_type = elgg_view('input/hidden', array(\r
index a94d3a4aa64883ae5e41806d4224b4cb51ec27dc..66debd5e21ffdc2ed2a20001251718c0114cebf7 100644 (file)
@@ -30,12 +30,12 @@ if (isset($vars['entity'])) {
                <?php
                        if(isloggedin()){
                ?>
-                       <a href="<?php echo elgg_get_site_url(); ?>mod/thewire/add.php?wire_username=<?php echo $vars['entity']->getOwnerEntity()->username; ?>" class="action_button reply small"><?php echo elgg_echo('thewire:reply'); ?></a>
+                       <a href="<?php echo elgg_get_site_url(); ?>mod/thewire/add.php?wire_username=<?php echo $vars['entity']->getOwnerEntity()->username; ?>" class="action-button reply small"><?php echo elgg_echo('thewire:reply'); ?></a>
                        <?php
                        }//close reply if statement
                        // if the user looking at thewire post can edit, show the delete link
                        if ($vars['entity']->canEdit()) {
-                       echo "<span class='delete_button'>" . elgg_view("output/confirmlink",array(
+                       echo "<span class='delete-button'>" . elgg_view("output/confirmlink",array(
                                        'href' => "action/thewire/delete?thewirepost=" . $vars['entity']->getGUID(),
                                        'text' => elgg_echo('delete'),
                                        'confirm' => elgg_echo('deleteconfirm'),
index 36c9bc844154c64305f650fb40e5a265ecbbeff3..230711c49744090302ca1e592a9fb5bd529420b8 100644 (file)
        float:right;
        width:65px;
 }
-.wire_post_options .action_button.reply.small {
+.wire_post_options .action-button.reply.small {
        float:right;
 }
-.wire_post_options .delete_button {
+.wire_post_options .delete-button {
        position: absolute;
        bottom:5px;
        right:5px;
@@ -88,7 +88,7 @@
 
 
 /* latest wire post on profile page */
-.wire_post .action_button.update.small {
+.wire_post .action-button.update.small {
        float:right;
        padding:4px;
        position: absolute;
index 536ec6ee27ef363bf273acec8474861dcdc10412..a7f7977b7ecf77682c752db7982a36f12c1fdcd4 100644 (file)
@@ -18,7 +18,7 @@
        <?php
                $action_txt = elgg_echo('post');
            $display .= "<textarea name='new_post_textarea' value='' onKeyDown=\"textCounter(document.new_post.new_post_textarea,document.new_post.remLen1,140)\" onKeyUp=\"textCounter(document.new_post.new_post_textarea,document.new_post.remLen1,140)\">{$msg}</textarea>";
-        $display .= "<input type='submit' class='action_button' value='{$action_txt}' />";
+        $display .= "<input type='submit' class='action-button' value='{$action_txt}' />";
         $display .= "<div class='character_count'><input readonly type=\"text\" name=\"remLen1\" size=\"3\" maxlength=\"3\" value=\"140\">";
         echo $display;
         echo elgg_echo("thewire:charleft") . "</div>";
index 6750a29cb77fc664478b474457fb7481944ed5ec..9a9c95ec09a7eb1f26f8ee7cbc46b08d0eef8c2f 100644 (file)
@@ -26,7 +26,7 @@ if ($latest_wire) {
        echo $content;
        if ($owner == get_loggedin_userid()) {
                $text = elgg_echo('thewire:update');
-               echo "<a class='action_button update small' href=\"{$url_to_wire}\">$text</a>";
+               echo "<a class='action-button update small' href=\"{$url_to_wire}\">$text</a>";
        }
        echo $time;
        echo "</div></div>";
index 2f90d5a1c884ab1c22456566bd4fd7f7c25a03fa..995cd8fd19027d77729b9bb493d6fde5207f9938 100644 (file)
@@ -84,9 +84,9 @@ 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>
+<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="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 1a0b21394ae91d72d1ad572eb67ec650a6f655a5..5c7b4eec59e6171120bd09f828e903c65edb5ed6 100644 (file)
@@ -35,7 +35,7 @@ p.visit_twitter a {
     padding:0 0 0 20px;
     margin:0;
 }
-p.twitter_username .input_text {
+p.twitter_username .input-text {
        width:200px;
 }
 .visit_twitter {
index 75898b4e29d49047d206ccf77d5b680e14f3ff4b..1c1567aec19c682b02296165fe742924f76866dd 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=\"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 157104b2d4489545bdb450249774f3ac31e14735..b0a48cf351bf297b16c729f3674dbfafa36c0b47 100644 (file)
@@ -22,11 +22,11 @@ if ($loggedin_user && $loggedin_user->isAdmin() && isset($vars['show_admin'])) {
        $admin_option = true;
 }
 
-$form_body  = "<p><label>" . elgg_echo('name') . "<br />" . elgg_view('input/text' , array('internalname' => 'name', 'class' => "input_text name", 'value' => $name)) . "</label></p>";
-$form_body .= "<p><label>" . elgg_echo('email') . "<br />" . elgg_view('input/text' , array('internalname' => 'email', 'class' => "input_text", 'value' => $email)) . "</label></p>";
-$form_body .= "<p><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text' , array('internalname' => 'username', 'class' => "input_text", 'value' => $username)) . "</label></p>";
-$form_body .= "<p><label>" . elgg_echo('password') . "<br />" . elgg_view('input/password' , array('internalname' => 'password', 'class' => "input_password")) . "</label></p>";
-$form_body .= "<p><label>" . elgg_echo('passwordagain') . "<br />" . elgg_view('input/password' , array('internalname' => 'password2', 'class' => "input_password")) . "</label></p>";
+$form_body  = "<p><label>" . elgg_echo('name') . "<br />" . elgg_view('input/text' , array('internalname' => 'name', 'class' => "input-text name", 'value' => $name)) . "</label></p>";
+$form_body .= "<p><label>" . elgg_echo('email') . "<br />" . elgg_view('input/text' , array('internalname' => 'email', 'class' => "input-text", 'value' => $email)) . "</label></p>";
+$form_body .= "<p><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text' , array('internalname' => 'username', 'class' => "input-text", 'value' => $username)) . "</label></p>";
+$form_body .= "<p><label>" . elgg_echo('password') . "<br />" . elgg_view('input/password' , array('internalname' => 'password', 'class' => "input-password")) . "</label></p>";
+$form_body .= "<p><label>" . elgg_echo('passwordagain') . "<br />" . elgg_view('input/password' , array('internalname' => 'password2', 'class' => "input-password")) . "</label></p>";
 
 // view to extend to add more fields to the registration form
 $form_body .= elgg_view('register/extend');
index f97e8c73187b9ecfb9b2c5076a02b93cd79b1672..e24c80f78e784b83e085a71d4de86f7b2429af51 100644 (file)
@@ -57,7 +57,7 @@ __HTML;
        $lostpassword_form_body .= "<p class='margin_none'><label>". elgg_echo('username') . " "
                . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login_textarea lostusername')) . "</label></p>";
        $lostpassword_form_body .= elgg_view('input/captcha');
-       $lostpassword_form_body .= "<p>" . elgg_view('input/submit', array('value' => elgg_echo('request'))) . "<input class='action_button disabled cancel_request' type='reset' value='Cancel'></p>";
+       $lostpassword_form_body .= "<p>" . elgg_view('input/submit', array('value' => elgg_echo('request'))) . "<input class='action-button disabled cancel_request' type='reset' value='Cancel'></p>";
        
        ?>
 <div id="lostpassword_form" class="hidden clearfix">
@@ -76,7 +76,7 @@ $(document).ready(function() {
        $('input.username').focus();
        
        // add cancel button to inline register form
-       $('#registration_form').find('input.submit_button').after("<input class='action_button disabled cancel_request' type='reset' value='Cancel'>");
+       $('#registration_form').find('input.submit-button').after("<input class='action-button disabled cancel_request' type='reset' value='Cancel'>");
        
        function elgg_slide_hiddenform(activateLink, parentElement, toggleElement) {
                $(activateLink).closest(parentElement).find(toggleElement).animate({"width": "563px", duration: 400});
index 013f0cd07926025bcbd7858c73394329633471fe..ad3d0ad96b53313470e419f205912127d7e56faf 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="cancel_button" href="' . elgg_format_url($url) . '">' . elgg_echo('disable') . '</a>';
+       $enable_disable = '<a class="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="submit_button" href="' . elgg_format_url($url) . '">' . elgg_echo('enable') . '</a>';
+       $enable_disable = '<a class="submit-button" href="' . elgg_format_url($url) . '">' . elgg_echo('enable') . '</a>';
 }
 
 
index e96f77635982ff0c95f874e7170101b9b6d041bd..4e32b0e14223113b5e1fe9e0dc3fd25e78d55b09 100644 (file)
@@ -12,7 +12,7 @@ $plugin_info = load_plugin_manifest($plugin);
 $form_body = elgg_view("settings/{$plugin}/edit", $vars);
 $form_body .= elgg_view('input/hidden', array('internalname' => 'plugin', 'value' => $plugin));
 $form_body .= "<div class='divider'></div>" . elgg_view('input/submit', array('value' => elgg_echo('save')));
-$form_body .= elgg_view('input/reset', array('value' => elgg_echo('reset'), 'class' => 'action_button disabled'));
+$form_body .= elgg_view('input/reset', array('value' => elgg_echo('reset'), 'class' => 'action-button disabled'));
 
 echo elgg_view_title($plugin_info['name']);
 
index dc5846108e75c28e14dfc74b29f01c7643aa738d..ee43666798c9a81d1a05a44764bdbc0515c6824a 100644 (file)
@@ -45,7 +45,7 @@ $category_pulldown = elgg_view('input/pulldown', array(
 
 $category_button = elgg_view('input/submit', array(
        'value' => elgg_echo('filter'),
-       'class' => 'action_button'
+       'class' => 'action-button'
 ));
 
 $category_form = elgg_view('input/form', array(
@@ -57,7 +57,7 @@ $title = elgg_view_title(elgg_echo('admin:plugins'));
 
 // @todo Until "en/disable all" means "All plugins on this page" hide when not looking at all.
 if (!isset($show_category) || empty($show_category)) {
-       $buttons = "<a class='action_button' href=\"{$CONFIG->url}action/admin/plugins/enableall?__elgg_token=$token&amp;__elgg_ts=$ts\">".elgg_echo('enableall')."</a>  <a class='action_button disabled' href=\"{$CONFIG->url}action/admin/plugins/disableall?__elgg_token=$token&amp;__elgg_ts=$ts\">".elgg_echo('disableall')."</a> ";
+       $buttons = "<a class='action-button' href=\"{$CONFIG->url}action/admin/plugins/enableall?__elgg_token=$token&amp;__elgg_ts=$ts\">".elgg_echo('enableall')."</a>  <a class='action-button disabled' href=\"{$CONFIG->url}action/admin/plugins/disableall?__elgg_token=$token&amp;__elgg_ts=$ts\">".elgg_echo('disableall')."</a> ";
        $buttons .= "<br /><br />";
 } else {
        $buttons = '';
index 9b989794418ca240c1bdc9d8110804f53aaaa52d..8a269c43b8ced735a2a42b5c36aa179de7f9b821 100644 (file)
@@ -85,7 +85,7 @@ ___END;
 
 $form_body .= '</ul>';
 $form_body .= elgg_view('input/submit', array('value' => elgg_echo('save')));
-$form_body .= elgg_view('input/reset', array('value' => elgg_echo('reset'), 'class' => 'action_button disabled'));
+$form_body .= elgg_view('input/reset', array('value' => elgg_echo('reset'), 'class' => 'action-button disabled'));
 
 echo elgg_view('input/form', array(
        'action' => "action/admin/plugins/simple_update_states",
index b2487e1ef821a417c8e81a00e5530364511319be..f016609e2196fcb360069145143580f13b16142d 100644 (file)
@@ -22,7 +22,7 @@ $owner = get_user($vars['annotation']->owner_guid);
                // if the user looking at the comment can edit, show the delete link
                if ($vars['annotation']->canEdit()) {
                ?>
-                       <span class="delete_button">
+                       <span class="delete-button">
                                <?php echo elgg_view("output/confirmlink",array(
                                                'href' => "action/comments/delete?annotation_id=" . $vars['annotation']->id,
                                                'text' => elgg_echo('delete'),
index cfa7e47e078d614ceedc8da913c9d3d0a8f5cdad..6538e65dc28308ac9e8e741eda58c84738f282a5 100644 (file)
@@ -21,7 +21,7 @@ $owner = get_user($vars['annotation']->owner_guid);
                // if the user looking at the like listing can edit, show the delete link
                if ($vars['annotation']->canEdit()) {
                ?>
-                       <div class="entity_metadata"><span class="delete_button">
+                       <div class="entity_metadata"><span class="delete-button">
                                <?php echo elgg_view("output/confirmlink",array(
                                                'href' => "action/likes/delete?annotation_id=" . $vars['annotation']->id,
                                                'text' => elgg_echo('remove'),
index 1cc97f54cdd09ad82cafb131ebc0db5b4450320f..af2a16f5527850cba8f318539edb8d86ccd6796a 100644 (file)
@@ -328,13 +328,13 @@ table.mceLayout {
        font-size:100%;
        font-weight:normal;
 }
-.admin_area .input_textarea {
+.admin_area .input-textarea {
        width:98%;
 }
 .admin_area form#plugin_settings {
        margin-top: 10px;
 }
-.admin_area form#plugin_settings .action_button.disabled {
+.admin_area form#plugin_settings .action-button.disabled {
        margin-top:10px;
        float:right;
 }
@@ -344,24 +344,24 @@ table.mceLayout {
        GENERAL FORM ELEMENTS
 *************************************** */
 /* default elgg core input field classes */
-.admin_area .input_text,
-.admin_area .input_tags,
-.admin_area .input_url,
-.admin_area .input_textarea {
+.admin_area .input-text,
+.admin_area .input-tags,
+.admin_area .input-url,
+.admin_area .input-textarea {
        width:98%;
 }
-.admin_area .input_access {
+.admin_area .input-access {
        margin:5px 0 0 0;
 }
-.admin_area .input_password {
+.admin_area .input-password {
        width:200px;
 }
-.admin_area .input_textarea {
+.admin_area .input-textarea {
        height: 200px;
        width:718px;
 }
 .admin_area input[type="checkbox"],
-.admin_area input.input_radio {
+.admin_area input.input-radio {
        margin:0 3px 0 0;
        padding:0;
        border:none;
@@ -393,15 +393,15 @@ table.mceLayout {
        background: #f5f5f5;
        color:#333333;
 }
-.admin_area .input_textarea.monospace {
+.admin_area .input-textarea.monospace {
        font-family:Monaco,"Courier New",Courier,monospace;
        font-size:13px;
 }
-.admin_area a.longtext_control {
+.admin_area a.longtext-control {
        float:right;
        margin-left:14px;
 }
-.admin_area .submit_button {
+.admin_area .submit-button {
        font-size: 14px;
        font-weight: bold;
        color: white;
@@ -421,7 +421,7 @@ table.mceLayout {
        -webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
        -moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
 }
-.admin_area .submit_button:hover {
+.admin_area .submit-button:hover {
        color: white;
        border-color: #333333;
        text-decoration:none;
@@ -465,7 +465,7 @@ table.mceLayout {
        background-repeat:  repeat-x;
        background-position:  left 10px;
 }
-.admin_area .cancel_button {
+.admin_area .cancel-button {
        font-size: 14px;
        font-weight: bold;
        text-decoration:none;
@@ -482,18 +482,18 @@ table.mceLayout {
        margin:10px 0 10px 10px;
        cursor: pointer;
 }
-.admin_area .cancel_button:hover {
+.admin_area .cancel-button:hover {
        background-color: #999999;
        background-position:  left 10px;
        text-decoration:none;
        color:white;
 }
-.admin_area .content_header_options .action_button {
+.admin_area .content_header_options .action-button {
        margin-top:0;
        margin-left:10px;
 }
-.admin_area input.action_button,
-.admin_area a.action_button {
+.admin_area input.action-button,
+.admin_area a.action-button {
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        background-color:#cccccc;
@@ -511,10 +511,10 @@ table.mceLayout {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
 }
-.admin_area input.action_button:hover,
-.admin_area a.action_button:hover,
-.admin_area input.action_button:focus,
-.admin_area a.action_button:focus {
+.admin_area input.action-button:hover,
+.admin_area a.action-button:hover,
+.admin_area input.action-button:focus,
+.admin_area a.action-button:focus {
        background-position:0 -15px;
        background-image:  url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif);
        background-repeat:  repeat-x;
@@ -523,33 +523,33 @@ table.mceLayout {
        background-color:#cccccc;
        border:1px solid #999999;
 }
-.admin_area .action_button:active {
+.admin_area .action-button:active {
        background-image:none;
 }
-.admin_area .action_button.disabled {
+.admin_area .action-button.disabled {
        color:#999999;
        padding:2px 7px 2px 7px;
 }
-.admin_area .action_button.disabled:hover {
+.admin_area .action-button.disabled:hover {
        background-position:0 -15px;
        color:#111111;
        border:1px solid #999999;
 }
-.admin_area .action_button.disabled:active {
+.admin_area .action-button.disabled:active {
        background-image:none;
 }
-.admin_area .action_button.download {
+.admin_area .action-button.download {
        padding: 5px 9px 5px 6px;
 }
-.admin_area .action_button.download:hover {
+.admin_area .action-button.download:hover {
 
 }
-.admin_area .action_button.download img {
+.admin_area .action-button.download img {
        margin-right:6px;
        position:relative;
        top:5px;
 }
-.admin_area .action_button.small {
+.admin_area .action-button.small {
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        width: auto;
@@ -558,7 +558,7 @@ table.mceLayout {
        font-size: 0.9em;
        line-height: 0.6em;
 }
-.admin_area .action_button.small:hover {
+.admin_area .action-button.small:hover {
        background-color: #0054A7;
        background-image: none;
        border-color: #0054A7;
@@ -596,7 +596,7 @@ table.mceLayout {
 .content_header_options {
        float:right;
 }
-.content_header_options .action_button {
+.content_header_options .action-button {
        float:right;
        margin:0 0 5px 10px;
 }
@@ -710,7 +710,7 @@ table.mceLayout {
        float: left;
        width: 150px;
 }
-form.admin_plugins_simpleview .submit_button {
+form.admin_plugins_simpleview .submit-button {
        margin-right:20px;
 }
 .plugin_info {
@@ -758,7 +758,7 @@ ul.admin_plugins {
 .configure_menuitems {
        margin-bottom:30px;
 }
-.admin_settings.menuitems .input_pulldown {
+.admin_settings.menuitems .input-pulldown {
        margin-right:15px;
        margin-bottom:10px;
 }
index 344ae7d863de9f17b90712a4a067e9073d6edaa7..c9e85e5a3e8b4d504dfcba3061ece745cfef4fdb 100644 (file)
        Form Elements
 *************************************** */
 /* default elgg core input field classes */
-.input_text,
-.input_tags,
-.input_url,
-.input_textarea {
+.input-text,
+.input-tags,
+.input-url,
+.input-textarea {
        width:98%;
 }
-.input_access {
+.input-access {
        margin:5px 0 0 0;
 }
-.input_password {
+.input-password {
        width:200px;
 }
-.input_textarea {
+.input-textarea {
        height: 200px;
        width:718px;
 }
 input[type="checkbox"],
-input.input_radio {
+input.input-radio {
        margin:0 3px 0 0;
        padding:0;
        border:none;
@@ -59,15 +59,15 @@ input[type="text"]:focus {
        background: #e4ecf5;
        color:#333333;
 }
-.input_textarea.monospace {
+.input-textarea.monospace {
        font-family:Monaco,"Courier New",Courier,monospace;
        font-size:13px;
 }
-a.longtext_control {
+a.longtext-control {
        float:right;
        margin-left:14px;
 }
-.submit_button {
+.submit-button {
        font-size: 14px;
        font-weight: bold;
        color: white;
@@ -87,7 +87,7 @@ a.longtext_control {
        -webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
        -moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
 }
-.submit_button:hover {
+.submit-button:hover {
        color: white;
        border-color: #0054a7;
        text-decoration:none;
@@ -96,12 +96,12 @@ a.longtext_control {
        background-repeat:  repeat-x;
        background-position:  left 10px;
 }
-.submit_button.disabled {
+.submit-button.disabled {
        background-color:#999999;
        border-color:#999999;
        color:#dedede;
 }
-.submit_button.disabled:hover {
+.submit-button.disabled:hover {
        background-color:#999999;
        border-color:#999999;
        color:#dedede;
@@ -141,7 +141,7 @@ input[type="submit"]:hover {
        background-repeat:  repeat-x;
        background-position:  left 10px;
 }
-.cancel_button {
+.cancel-button {
        font-size: 14px;
        font-weight: bold;
        text-decoration:none;
@@ -158,14 +158,14 @@ input[type="submit"]:hover {
        margin:10px 0 10px 10px;
        cursor: pointer;
 }
-.cancel_button:hover {
+.cancel-button:hover {
        background-color: #999999;
        background-position:  left 10px;
        text-decoration:none;
        color:white;
 }
-input.action_button,
-a.action_button {
+input.action-button,
+a.action-button {
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        background-color:#cccccc;
@@ -183,10 +183,10 @@ a.action_button {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
 }
-input.action_button:hover,
-a.action_button:hover,
-input.action_button:focus,
-a.action_button:focus {
+input.action-button:hover,
+a.action-button:hover,
+input.action-button:focus,
+a.action-button:focus {
        background-position:0 -15px;
        background-image:  url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif);
        background-repeat:  repeat-x;
@@ -195,33 +195,33 @@ a.action_button:focus {
        background-color:#cccccc;
        border:1px solid #999999;
 }
-.action_button:active {
+.action-button:active {
        background-image:none;
 }
-.action_button.disabled {
+.action-button.disabled {
        color:#999999;
        padding:2px 7px 2px 7px;
 }
-.action_button.disabled:hover {
+.action-button.disabled:hover {
        background-position:0 -15px;
        color:#111111;
        border:1px solid #999999;
 }
-.action_button.disabled:active {
+.action-button.disabled:active {
        background-image:none;
 }
-.action_button.download {
+.action-button.download {
        padding: 5px 9px 5px 6px;
 }
-.action_button.download:hover {
+.action-button.download:hover {
 
 }
-.action_button.download img {
+.action-button.download img {
        margin-right:6px;
        position:relative;
        top:5px;
 }
-.action_button.small {
+.action-button.small {
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        width: auto;
@@ -230,7 +230,7 @@ a.action_button:focus {
        font-size: 0.9em;
        line-height: 0.6em;
 }
-.action_button.small:hover {
+.action-button.small:hover {
        background-color: #4690d6;
        background-image: none;
        border-color: #4690d6;
@@ -238,13 +238,13 @@ a.action_button:focus {
        text-shadow:0 -1px 0 black;
 }
 /* small round delete button */
-.delete_button {
+.delete-button {
        width:14px;
        height:14px;
        margin:0;
        float:right;
 }
-.delete_button a {
+.delete-button a {
        display:block;
        cursor: pointer;
        width:14px;
@@ -253,6 +253,6 @@ a.action_button:focus {
        text-indent: -9000px;
        text-align: left;
 }
-.delete_button a:hover {
+.delete-button a:hover {
        background-position: -200px -16px;
 }
index d22417adaa07bc54935d259ca88eb0c73ccd8793..95f2d34a9198d395dd71b907b38ce6892d7b8322 100644 (file)
 
 .likes_list {display:none;}
 .likes_list_holder .likes_list {top:20px !important;} /* position likes list below link in IE to prevent clipping */
-.elgg_likes_user .entity_metadata .delete_button {float:none;}
+.elgg_likes_user .entity_metadata .delete-button {float:none;}
 
 /* profile */
 .elgg_horizontal_tabbed_nav.profile .profile_name {margin-left: -260px;}
-#profile_content .river_comment_form.hidden .input_text { width:510px; }
+#profile_content .river_comment_form.hidden .input-text { width:510px; }
 
 /* notifications */
 .friends_picker_navigation {margin:0;padding:0;}
@@ -54,7 +54,7 @@
 #riverdashboard_updates {clear:both;}
 #riverdashboard_updates a.update_link {margin:0 0 9px 0;}
 .riverdashboard_filtermenu {margin:10px 0 0 0;}
-.river_comment_form.hidden .input_text {
+.river_comment_form.hidden .input-text {
        width:530px;
        float:left;
 }
index 57890e62d03ed720fb3371e88025975170524d76..943b94e325b8f3e0ea0566b6e1b51ea58c77b211 100644 (file)
@@ -12,5 +12,5 @@
 .navigation li.navigation_more ul li a {width:150px;background-color: #dedede;}
 
 /* @todo check this one */
-.delete_button a { background-position-y: 2px; }
-.delete_button a:hover { background-position-y: -14px; }
\ No newline at end of file
+.delete-button a { background-position-y: 2px; }
+.delete-button a:hover { background-position-y: -14px; }
\ No newline at end of file
index 9221d810fd22b73cddd1917c3cc2e2159316c8c0..59016b777f72bbd6a274e655b1bbd5884f8ea6c5 100644 (file)
@@ -963,7 +963,7 @@ a.widget_edit_button:hover, a.widget_delete_button:hover {
        font-weight:normal;
        font-size:100%;
 }
-.loginbox .submit_button {
+.loginbox .submit-button {
        margin-right: 15px;
 }
 #login .persistent_login {
@@ -1059,7 +1059,7 @@ a.widget_edit_button:hover, a.widget_delete_button:hover {
        font-weight:normal;
        font-size: 100%;
 }
-#login_dropdown #signin_menu .submit_button {
+#login_dropdown #signin_menu .submit-button {
        margin-right:15px;
 }
 
@@ -1091,7 +1091,7 @@ a.widget_edit_button:hover, a.widget_delete_button:hover {
 .content_header_options {
        float:right;
 }
-.content_header_options .action_button {
+.content_header_options .action-button {
        float:right;
        margin:0 0 5px 10px;
 }
@@ -1218,7 +1218,7 @@ a.widget_edit_button:hover, a.widget_delete_button:hover {
 .entity_metadata .entity_edit a:hover {
        color:#555555;
 }
-.entity_metadata .delete_button {
+.entity_metadata .delete-button {
        margin-top:3px;
 }
 /* override hover for lists of site users/members */
@@ -1391,8 +1391,8 @@ a.widget_edit_button:hover, a.widget_delete_button:hover {
 .friends_picker_navigation_r:hover {
        background: url("<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png") no-repeat -60px -44px;
 }
-.friendspicker_savebuttons .submit_button,
-.friendspicker_savebuttons .cancel_button {
+.friendspicker_savebuttons .submit-button,
+.friendspicker_savebuttons .cancel-button {
        margin:5px 20px 5px 5px;
 }
 #collectionMembersTable {
@@ -1476,7 +1476,7 @@ p.elgg_likes_owner {
        margin-top:5px;
        border-bottom:1px solid #cccccc;
 }
-.user_picker_entry .delete_button {
+.user_picker_entry .delete-button {
        margin-right:10px;
 }
 
index 6a9551732abba71813643220c62726209c12934a..f348b754df3ad744ca891bce8835b411ded742c4 100644 (file)
@@ -270,8 +270,8 @@ if ($formtarget) {
 ?>
        <div class="clearfix"></div>
        <div class="friendspicker_savebuttons">
-               <input type="submit" class="submit_button" value="<?php echo elgg_echo('save'); ?>" />
-               <input type="button" class="cancel_button" value="<?php echo elgg_echo('cancel'); ?>" onclick="$('a.collectionmembers<?php echo $friendspicker; ?>').click();" />
+               <input type="submit" class="submit-button" value="<?php echo elgg_echo('save'); ?>" />
+               <input type="button" class="cancel-button" value="<?php echo elgg_echo('cancel'); ?>" onclick="$('a.collectionmembers<?php echo $friendspicker; ?>').click();" />
        <br /></div>
        </form>
 
index b7273acb1e0f02e195d6ecb78652e7207b05f95e..d4f3663637c0caa0753affba6e8927f9367cd49d 100644 (file)
@@ -14,7 +14,7 @@
  *
  */
 
-$class = "input_access";
+$class = "input-access";
 if (isset($vars['class'])) {
        $class = $vars['class'];
 }
index 1be03e3eb59abe7e11c3991a7e3a7927c8660d72..1c8bdaf3ccebedc0fc6bd98ca6775f0f5ae0c520 100644 (file)
@@ -12,7 +12,7 @@ global $CONFIG;
 
 $defaults = array(
        'type' => 'button',
-       'class' => 'submit_button',
+       'class' => 'submit-button',
 );
 
 $vars = array_merge($defaults, $vars);
index e70064ddbca73eda4b17503cccf4007808100450..59af3216fa75eae4acd645dc31be6db0096ab775 100644 (file)
@@ -15,7 +15,7 @@
  */
 
 $defaults = array(
-       'class' => 'input_checkbox',
+       'class' => 'input-checkbox',
 );
 
 $vars = array_merge($defaults, $vars);
index 94f01867c477b7fb42be52c87e1e1f352d3ae950..4abeabf58d5e2cba7d939f52bc1e6313cdb11c2e 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'] : '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 81e61747611dea16c516ae16f12d402e4cffc0d5..c973ff7e4d6feaa8ffc8a8a0a94fb6fb5505fb28 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 $defaults = array(
-       'class' => 'input_text', //@todo input_email?
+       'class' => 'input-text', //@todo input-email?
        'disabled' => FALSE,
 );
 
index bf9101991f80f0e1ae17d9535d957ed420691eea..8f046108339bee587c48f5471f04116cdfdfbc3b 100644 (file)
@@ -19,7 +19,7 @@ if (!empty($vars['value'])) {
        echo elgg_echo('fileexists') . "<br />";
 }
 
-$class = "input_file";
+$class = "input-file";
 if (isset($vars['class'])) {
        $class = $vars['class'];
 }
index 6fe2c9e8ebc75a0980eeb7294aeedc3e3ab3efe7..d784c601439949d72b29177f07472404888ff312 100644 (file)
@@ -14,7 +14,7 @@
  * @uses $vars['disabled'] Is the input field disabled?
  */
 
-$class = "input_textarea";
+$class = "input-textarea";
 if (isset($vars['class'])) {
        $class = $vars['class'];
 }
index 90864a4a7154428faf1e4c9a083b6c8b17618741..0d15239777af3e19e2dd94c3803260600428e37f 100644 (file)
@@ -14,7 +14,7 @@
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "input_password";
+       $class = "input-password";
 }
 ?>
 
index cf798e4d803cc543856b2f72b65e60c17df13321..e2b8c5ed290370d447ee62b242c5cfa32cc4053d 100644 (file)
@@ -14,7 +14,7 @@
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "input_textarea";
+       $class = "input-textarea";
 }
 
 if (!isset($vars['value']) || $vars['value'] === FALSE) {
index 7eb9456b4cdd328f299709eb367127992e8937a5..f789d102051fa70b367642edafc928a8f84ceef1 100644 (file)
@@ -18,7 +18,7 @@
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "input_pulldown";
+       $class = "input-pulldown";
 }
 
 if (!isset($vars['value'])) {
index 82c49fea45703dcad807a2f819256ac5e556a99f..0a5885f8b1b0bdf32be2794cdb05dd88a63dd21b 100644 (file)
@@ -15,7 +15,7 @@
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "input_radio";
+       $class = "input-radio";
 }
 
 if (!isset($vars['value']) || $vars['value'] === FALSE) {
index 1cafb79041055cccbdeebd0855988320c2b5ac31..6ce074a2a28930b5038d4d7071a9a41b25cdd850 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 $defaults = array(
-       'class' => 'input_tags',
+       'class' => 'input-tags',
        'disabled' => FALSE,
 );
 
index 3e8de2c351aa6fc77bc1672b5d50aabdab1da1b0..9f3076ed36460a664ec900ac7782020052ad6c65 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 $defaults = array(
-       'class' => 'input_text',
+       'class' => 'input-text',
        'disabled' => FALSE,
 );
 
index 29f5edb3097886f3ca7a08ee501f96c5b6b65342..fddf44a5b0b95ccf65657161168f9049f6001ee6 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 $defaults = array(
-       'class' => 'input_url',
+       'class' => 'input-url',
 );
 
 $vars = array_merge($defaults, $vars);
index fb98afc9715682e743b50e30d4b0c5b5d2459d94..74ec10818b185beee05f294eb99abde106af778e 100644 (file)
@@ -31,7 +31,7 @@ function user_picker_add_user($user_id) {
        $code = '<li class="user_picker_entry">';
        $code .= "<img class=\"livesearch_icon\" src=\"$icon\" />";
        $code .= "$user->name - $user->username";
-       $code .= '<div class="delete_button">';
+       $code .= '<div class="delete-button">';
        $code .= "<a onclick=\"userPickerRemoveUser(this, $user_id)\"><strong>X</strong></a>";
        $code .= '</div>';
        $code .= "<input type=\"hidden\" name=\"members[]\" value=\"$user_id\">";
@@ -145,7 +145,7 @@ function userPickerAddUser(event, data, formatted) {
                var formatted = userPickerFormatItem(data);
 
                // add guid as hidden input and to list.
-               var li = formatted + ' <div class="delete_button"><a onclick="userPickerRemoveUser(this, ' + info.guid + ')"><strong>X</strong></a></div>'
+               var li = formatted + ' <div class="delete-button"><a onclick="userPickerRemoveUser(this, ' + info.guid + ')"><strong>X</strong></a></div>'
                + '<input type="hidden" name="' + internalName + '[]" value="' + info.guid + '" />';
                $('<li class="user_picker_entry">').html(li).appendTo(users);
 
index 83530d67a27c9ad2f3f0c191753cbcca5281f0f8..cdd011729a6bc98c05c1aae157e2d0ab70f1126e 100644 (file)
@@ -45,7 +45,7 @@ function file_addtoform() {
     var o,el;
     o = document.getElementById('option_container');
     title_label = "<?php echo elgg_echo("title"); ?>";
-    bit = file_generate_bit(title_label,'title_','input_text','text',0);
+    bit = file_generate_bit(title_label,'title_','input-text','text',0);
     o.appendChild(bit);
     file_label = "<?php echo elgg_echo("file:file"); ?>";
     bit = file_generate_bit(file_label,'upload_','input-file','file',30);
index 4b097dcf6139adbb7ff22b58596d375f33c978c2..afb44f551c2025ac56a84b7322db9259fba437d6 100644 (file)
@@ -19,7 +19,7 @@ $widgets = elgg_get_widgets($owner->guid, $context);
 
 if (elgg_can_edit_widget_layout($context)) {
        if ($show_add_widgets) {
-               echo elgg_view('widgets/add_button');
+               echo elgg_view('widgets/add-button');
        }
        $params = array(
                'widgets' => $widgets,
index 4d382b9f5cf25ef78a074ca25a13f0c58ec68d00..f10d8b7adbbfcd4ed9cbb15f8ba462665fa3e4a7 100644 (file)
@@ -70,10 +70,10 @@ if (isloggedin()) {
                // @todo remove the hard coded reference to the videolist plugin
                if (elgg_get_context() == "videolist"){
                        $video_link = elgg_get_site_url() . "pg/videolist/browse/$username/";
-                       $new_button = "<a href=\"{$video_link}\" class='action_button'>" . elgg_echo('videolist:browsemenu') . '</a>';
+                       $new_button = "<a href=\"{$video_link}\" class='action-button'>" . elgg_echo('videolist:browsemenu') . '</a>';
                } else {
                        $new_link = elgg_normalize_url((isset($vars['new_link'])) ? $vars['new_link'] : "pg/$type/$username/new");
-                       $new_button = "<a href=\"{$new_link}\" class='action_button'>" . elgg_echo($type . ':new') . '</a>';
+                       $new_button = "<a href=\"{$new_link}\" class='action-button'>" . elgg_echo($type . ':new') . '</a>';
                }
                $new_button = "<div class='content_header_options'>$new_button</div>";
        }
index cdd3982ecd15d46fdbf209d480a858184d25a27e..7d96c80d8ad16143ebe400b638166d1774ddbbba 100644 (file)
@@ -128,10 +128,10 @@ body {background: white;}
        -moz-box-shadow: none;
        box-shadow: none;       
 }
-.walledgardenlogin .input_password {
+.walledgardenlogin .input-password {
        width:200px;
 }
-.walledgardenlogin input.input_password:focus {
+.walledgardenlogin input.input-password:focus {
        border: solid 1px #4690d6;
        background-color: #e4ecf5;
        color:#333333;
index 05cef83d29e21d93311d5eada529de23c772238f..2e3526aa384266a878c0d8bc3a60c8563a139f35 100644 (file)
@@ -5,6 +5,6 @@
  */
 
 $form_body = elgg_view("usersettings/user");
-$form_body .= "<div class='divider'></div>".elgg_view('input/submit', array('value' => elgg_echo('save'), 'class' => 'submit_button usersettings_save'));
+$form_body .= "<div class='divider'></div>".elgg_view('input/submit', array('value' => elgg_echo('save'), 'class' => 'submit-button usersettings_save'));
 
 echo elgg_view('input/form', array('action' => "action/usersettings/save", 'body' => $form_body));
\ No newline at end of file
index 2957513b67bb4d3b3e2165624a4f3c051be3d02b..dc84528f298da78689464bef6107d5c32b2397c9 100644 (file)
@@ -6,7 +6,7 @@
 $options = array(
        'href' => '#',
        'text' => elgg_echo('widgets:add'),
-       'class' => 'action_button',
+       'class' => 'action-button',
 );
 echo elgg_view('output/url', $options);
 ?>
index 01ce69b80636fdf99d142692a36435651092d557..51b8dfa00cb752feb9cee03551763e68f61f67ca 100644 (file)
@@ -16,7 +16,7 @@ if (isset($vars['class'])) {
        $class = $vars['class'];
 }
 if (!$class) {
-       $class = "input_access";
+       $class = "input-access";
 }
 
 if ((!isset($vars['options'])) || (!is_array($vars['options']))) {
index 1b70800e98ee40e61972195343479f0f3900d147..759752c8c1073a0a83c137f5410dd17e0acbc5d5 100644 (file)
@@ -19,7 +19,7 @@ global $CONFIG;
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "submit_button";
+       $class = "submit-button";
 }
 
 if (isset($vars['type'])) {
index 766cd68e413848a195cfaa399e37ff0766d50899..c7e465e9fd43b8a01b1bb60546d4e1a56ce295f1 100644 (file)
@@ -14,7 +14,7 @@
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "input_textarea";
+       $class = "input-textarea";
 }
 
 ?>
index 34578a1e2d66a639f7606b831bbcee188c9299fb..541728ee32e7a9e12c23215d1d1544358dd15c15 100644 (file)
@@ -14,7 +14,7 @@
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "input_password";
+       $class = "input-password";
 }
 ?>
 
index c8ce7266e453df90eb1b610650a01cf05e03d109..73801dcf742f2b22ba02227610258d3639659a77 100644 (file)
@@ -17,7 +17,7 @@
 
 $class = $vars['class'];
 if (!$class) {
-       $class = "input_text";
+       $class = "input-text";
 }
 
 ?>