]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #2440: Converted clearfloat to clearfix, brought back orig clearfloat
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 3 Nov 2010 05:27:47 +0000 (05:27 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 3 Nov 2010 05:27:47 +0000 (05:27 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7223 36083f99-b078-4883-b0ff-0f9b5a30f544

63 files changed:
engine/lib/users.php
mod/blog/views/default/object/blog.php
mod/bookmarks/views/default/bookmarks/group_bookmarks.php
mod/ecml/views/default/embed/web_services/content.php
mod/embed/views/default/object/file/embedlist.php
mod/file/views/default/file/groupprofile_files.php
mod/file/views/default/widgets/filerepo/view.php
mod/groups/views/default/forum/maintopic.php
mod/groups/views/default/forum/topics.php
mod/groups/views/default/groups/featured.php
mod/groups/views/default/groups/forum_latest.php
mod/groups/views/default/groups/groupprofile.php
mod/groups/views/default/groups/invitationrequests.php
mod/groups/views/default/groups/members.php
mod/groups/views/default/groups/membershiprequests.php
mod/groups/views/default/groups/profileitems.php
mod/groups/views/default/widgets/a_users_groups/view.php
mod/logbrowser/views/default/admin/overview/logbrowser.php
mod/messages/views/default/messages/forms/send.php
mod/messages/views/default/messages/messages.php
mod/messages/views/default/messages/view.php
mod/profile/views/default/profile/admin_menu.php
mod/profile/views/default/profile/commentwall/commentwall_content.php
mod/profile/views/default/profile/profile_ownerblock.php
mod/reportedcontent/views/default/reportedcontent/listing.php
mod/riverdashboard/endpoint/get_comments.php
mod/riverdashboard/views/default/river/item/list.php
mod/riverdashboard/views/default/river/item/wrapper.php
mod/riverdashboard/views/default/river/item/wrapper_classic.php
mod/riverdashboard/views/default/riverdashboard/nav.php
mod/search/views/default/search/comments/entity.php
mod/search/views/default/search/entity.php
mod/sitepages/views/default/canvas/layouts/frontpage.php
mod/sitepages/views/default/sitepages/members.php
mod/sitepages/views/default/sitepages/sidebar.php
mod/sitepages/views/default/sitepages/welcome.php
mod/thewire/views/default/object/thewire.php
mod/thewire/views/default/thewire/forms/add.php
mod/thewire/views/default/thewire/profile_status.php
views/default/account/forms/login_walled_garden.php
views/default/admin/plugins/advanced.php
views/default/admin/plugins/simple.php
views/default/annotation/generic_comment.php
views/default/annotation/latest_comments.php
views/default/annotation/likes.php
views/default/canvas/layouts/administration.php
views/default/canvas/layouts/one_column.php
views/default/canvas/layouts/one_column_with_sidebar.php
views/default/css.php
views/default/css_ie.php
views/default/entities/entity_listing.php
views/default/entities/gallery_listing.php
views/default/friends/picker.php
views/default/likes/forms/edit.php
views/default/navigation/pagination.php
views/default/navigation/site_nav.php
views/default/output/rss_view.php
views/default/page_elements/content_header.php
views/default/page_elements/content_header_member.php
views/default/page_elements/elgg_footer.php
views/default/page_elements/elgg_topbar.php
views/default/page_elements/owner_block.php
views/default/page_shells/walled_garden.php

index 0075c9baae0f030a553ccac25db1be91f4077741..7533b2af01148b1be0571d24c4b8cb76121740c6 100644 (file)
@@ -1328,7 +1328,7 @@ function registration_page_handler($page_elements) {
 function elgg_user_login_page_handler() {
        $content = elgg_view_layout('one_column', elgg_view('account/forms/login'));
        $content = '
-       <div id="elgg_content" class="clearfloat">
+       <div id="elgg_content" class="clearfix">
        ' .     elgg_view('account/forms/login') . '
        </div>
        ';
index b93608b7e7afeadd53d3a6791ab9474ef5216c79..eaf25d726b93774a1f9b17a35e99786baf2626bb 100644 (file)
@@ -75,11 +75,11 @@ if ($blog->canEdit()) {
 if ($full) {
 
 echo <<<___END
-<div class="blogpost clearfloat">
-       <div id="content_header" class="clearfloat">
+<div class="blogpost clearfix">
+       <div id="content_header" class="clearfix">
                <div class="content_header_title"><h2>{$blog->title}</h2></div>
        </div>
-       <div class="clearfloat">
+       <div class="clearfix">
        <div class="entity_listing_icon">
                $owner_icon
        </div>
@@ -101,7 +101,7 @@ ___END;
 
 } else {
        echo <<<___END
-<div class="blog $status_class entity_listing clearfloat">
+<div class="blog $status_class entity_listing clearfix">
        <div class="entity_listing_icon">
                $owner_icon
        </div>
index 59619d5876f6d7fd76669f72221cc9f628f0d024..83d6c97ea9cb31d79bd6b8cfa41770bce5bf1878 100755 (executable)
@@ -26,7 +26,7 @@ if($bookmarks){
                $info .= "<p class='entity_subtext'>{$friendlytime}</p>";
                $info .= "</div>";
                //display 
-               echo "<div class='entity_listing clearfloat'>" . $info . "</div>";
+               echo "<div class='entity_listing clearfix'>" . $info . "</div>";
        } 
 } else {
        $create_bookmark = elgg_get_site_url() . "pg/bookmarks/" . elgg_get_page_owner()->username . "/add";
index cfe9fccf5bc9cf3fb79dd7ba5f7709d48e64cbf3..5c46dfad4236da8561cb3475197cf8b043edc144 100644 (file)
@@ -15,7 +15,7 @@ $keywords = ecml_get_keywords();
 elgg_sort_3d_array_by_value($keywords, 'name');
 
 $keyword_js_array = array();
-$keywords_html = "<ul class='ecml_web_service_list clearfloat'>";
+$keywords_html = "<ul class='ecml_web_service_list clearfix'>";
 // include support for standard ECML so you can get previews and validation.
 //$keyword_html = '<li class="ecml_web_service"><a class="ecml">Generic ECML</a></li>';
 
index 1f287b93850622781a616e917bb2ae78a8670e23..bf306b4e7d587d0b5d4457c9e15d5a0270b49743 100644 (file)
@@ -7,7 +7,7 @@
        $icon = "<a href=\"{$file->getURL()}\">" . elgg_view("file/icon", array("mimetype" => $file->mimetype, 'thumbnail' => $file->thumbnail, 'file_guid' => $file->guid, 'size' => 'small')) . "</a>";
 ?>
 <div id="embed_entity_<?php echo $file->guid; ?>">
-       <div class="entity_listing clearfloat">
+       <div class="entity_listing clearfix">
                <div class="entity_listing_icon">
                        <?php echo $icon; ?>
                </div>
index 23b087c3165d801ae582a54f3c4c9c2460fbb07d..745c5f0535b2c585cc2fad7b325cb13e45dab48e 100644 (file)
@@ -30,7 +30,7 @@
             foreach($files as $f){
 
                 $mime = $f->mimetype;
-                echo "<div class='entity_listing clearfloat'>";
+                echo "<div class='entity_listing clearfix'>";
                echo "<div class='entity_listing_icon'><a href=\"{$f->getURL()}\">" . elgg_view("file/icon", array("mimetype" => $mime, 'thumbnail' => $f->thumbnail, 'file_guid' => $f->guid)) . "</a></div>";
                echo "<div class='entity_listing_info'>";
                echo "<p class='entity_title'>" . $f->title . "</p>";
index aac2c4012cc31035c1e9642f27ff42ccbf89a617..09c29a3ce54569c51426e7ee54c59b45fd6d5f0e 100644 (file)
@@ -45,7 +45,7 @@
             foreach($files as $f){
 
                 $mime = $f->mimetype;
-                echo "<div class='filerepo_widget_singleitem clearfloat'>";
+                echo "<div class='filerepo_widget_singleitem clearfix'>";
                echo "<div class='filerepo_listview_icon'><a href=\"{$f->getURL()}\">" . elgg_view("file/icon", array("mimetype" => $mime, 'thumbnail' => $f->thumbnail, 'file_guid' => $f->guid)) . "</a></div>";
                echo "<div class='filerepo_widget_content'>";
                echo "<div class='filerepo_listview_title'><p class='filerepo_title'>" . $f->title . "</p></div>";
index 61b6c49fd64299e300dc46abc5f15c14df3f63e8..fc4dd3b3291b4d89bf2225c68bef91c98e72d87c 100644 (file)
@@ -13,7 +13,7 @@
        \r
 ?>\r
 \r
-<div class="entity_listing topic clearfloat">\r
+<div class="entity_listing topic clearfix">\r
 <a class="anchor_link" name="<?php echo $vars['entity']->id; ?>"></a>\r
        <?php\r
        // get infomation about the owner of the comment\r
index ea6431037abdda6db3d1fdca02040acd11aa536e..beab468a3f5572316284e5baee96ba9207f27f9d 100644 (file)
@@ -4,7 +4,7 @@
  */
 ?>
 
-<div id="content_header" class="clearfloat">
+<div id="content_header" class="clearfix">
        <div class="content_header_title">
                <h2><?php echo elgg_echo("groups:forum"); ?></h2>
        </div>
index e811642f8ab1459abaf86baa374f87066e161643..580f1ca0fe3fc981ef6dc88eff1a06e729c4932b 100644 (file)
@@ -18,7 +18,7 @@
                                'size' => 'tiny',
                        ));
                                
-                       echo "<div class='featured_group'>".$icon."<p class='entity_title clearfloat'><a href=\"" . $group->getUrl() . "\">" . $group->name . "</a></p>";
+                       echo "<div class='featured_group'>".$icon."<p class='entity_title clearfix'><a href=\"" . $group->getUrl() . "\">" . $group->name . "</a></p>";
                        echo "<p class='entity_subtext'>" . $group->briefdescription . "</p></div>";
                }
        }
index ed4e41c0d42643b71215fee1cc713be228c85305..d78a47456b9bf97aacbf39e1cab33e0afd3a2ee0 100644 (file)
@@ -16,7 +16,7 @@ if($vars['entity']->forum_enable != 'no'){
                    
                 $count_annotations = $f->countAnnotations("generic_comment");
                  
-                   echo "<div class='entity_listing clearfloat'>";
+                   echo "<div class='entity_listing clearfix'>";
                    echo "<div class='entity_listing_icon'>" . elgg_view('profile/icon',array('entity' => $f->getOwnerEntity(), 'size' => 'tiny')) . "</div>";
                echo "<div class='entity_listing_info'><p class='entity_title'><a href=\"".elgg_get_site_url()."mod/groups/topicposts.php?topic={$f->guid}&group_guid={$vars['entity']->guid}\">" . $f->title . "</a></p>";
                echo "<p class='entity_subtext'>".elgg_echo('comments').": " . $count_annotations . "</p></div>";
index 9d8aae8fc0a5203bc3823bfacf95cd1a0a82df28..0bf980a96a8cda651dc1a07b3b1219742fbd2dbe 100644 (file)
@@ -61,7 +61,7 @@ echo elgg_view('navigation/breadcrumbs');
 
 // build and display header
 echo <<<__HTML
-<div id="content_header" class="clearfloat">
+<div id="content_header" class="clearfix">
        <div class="content_header_title">
                <h2>{$vars['entity']->name}</h2>
        </div>
@@ -70,7 +70,7 @@ echo <<<__HTML
 __HTML;
 
 ?>
-<div class="group_profile clearfloat">
+<div class="group_profile clearfix">
        <div class="group_profile_column icon">
                <div class="group_profile_icon">
                <?php
index c905cf8f70b7ebd3d89dbec63d97055cfdd7410b..cf84a6ab043dd7280e04eb213b18697e3b424e1c 100644 (file)
@@ -6,7 +6,7 @@ if (!empty($vars['invitations']) && is_array($vars['invitations'])) {
                if ($group instanceof ElggGroup) {
                
                ?>
-               <div class="entity_listing group_invitations clearfloat">
+               <div class="entity_listing group_invitations clearfix">
                        <?php
                                echo "<div class='entity_listing_icon'>";
                                echo elgg_view("profile/icon", array(
index eaf469cd7c975fd2209e9beb432c7063cbf1dae1..4738edf288117be3dbd080fb439c199c1ca448b4 100644 (file)
@@ -9,7 +9,7 @@
         //var_export($vars['entity']);
 ?>
 
-<div id="group_members" class="clearfloat">
+<div id="group_members" class="clearfix">
 <h3><?php echo elgg_echo("groups:members"); ?></h3>
 
 <?php
index dbd65a667843441c7ad4d061ac491400d954c8c1..9a5163b1d23d9becdf1d052f98fd50020b5634ca 100644 (file)
@@ -6,7 +6,7 @@
                                if ($request instanceof ElggUser) {
        
        ?>
-               <div class="entity_listing group_invitations clearfloat">
+               <div class="entity_listing group_invitations clearfix">
                                <?php
                                        echo "<div class='entity_listing_icon'>";
                                        echo elgg_view("profile/icon", array(
index 7191cf6d149d017c207c5ea6680ce98805f4f0b1..6f5fa32ce9ec7c8b5588b32b182f9611bdc27bf5 100644 (file)
@@ -6,15 +6,15 @@
 */ 
         
 // tools widget area
-echo "<div id='group_tools_latest' class='clearfloat'>";
+echo "<div id='group_tools_latest' class='clearfix'>";
 
        // activity latest 
-       echo "<div class='group_tool_widget activity clearfloat'>";
+       echo "<div class='group_tool_widget activity clearfix'>";
        echo elgg_view("groups/activity_latest",array('entity' => $vars['entity']));
        echo "</div>";
         
        // forum latest
-       echo "<div class='group_tool_widget forum clearfloat'>";
+       echo "<div class='group_tool_widget forum clearfix'>";
        echo elgg_view("groups/forum_latest",array('entity' => $vars['entity']));
        echo "</div>";
        
index ec74443ffb651c17814276e76581db4944687d1c..462ac419c94ddbd70de9c8774cb709ab77b081f7 100644 (file)
@@ -45,7 +45,7 @@ if ($groups) {
                        $group->briefdescription
                </p>
        </div>
-       <div class="clearfloat"></div>
+       <div class="clearfix"></div>
 </div>
 ___END;
 
index d3b5f13be0b78e8e02640f075eadd1387cdd0cd0..5ff3df0961481250144f9011ef3f4fa5b51643c0 100644 (file)
@@ -58,7 +58,7 @@ $list = elgg_view_entity_list($log_entries, $count, $offset, $limit, false, fals
 $body = <<<__HTML
 $title
 $form
-<div class="admin_settings log_browser radius8 clearfloat">
+<div class="admin_settings log_browser radius8 clearfix">
        $list
 </div>
 __HTML;
index a2d37354958f27534d75c7d908c70180191de898..c779314541e446d33f1060b124eb6d3309be9d6e 100644 (file)
@@ -31,7 +31,7 @@ unset($_SESSION['msg_contents']);
                        //get the user object  
                $user = get_user($send_to);
                
-               echo "<div class='entity_listing messages clearfloat'><div class='entity_listing_icon'>".elgg_view("profile/icon",array('entity' => $user, 'size' => 'tiny'))."</div>";
+               echo "<div class='entity_listing messages clearfix'><div class='entity_listing_icon'>".elgg_view("profile/icon",array('entity' => $user, 'size' => 'tiny'))."</div>";
                
                //draw it
                        echo "<div class='entity_listing_info'>".elgg_echo("messages:to").": <a href='".elgg_get_site_url()."pg/profile/".$user->username."'>".$user->name."</a>";
index 9eeaa9ef4c80a8c852773d50a4fe12394d5dab86..4d593a6213a7184ac6994cd7f66153f98b5e7c78 100644 (file)
@@ -41,7 +41,7 @@ if (isloggedin())
                        echo elgg_view('navigation/breadcrumbs');
 ?>
 <!-- display the content header block -->
-                       <div id="content_header" class="clearfloat">
+                       <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>
@@ -55,7 +55,7 @@ if (isloggedin())
                                </div>
                        </div>
 
-                               <div class="entity_listing messages clearfloat">
+                               <div class="entity_listing messages clearfix">
                                        <?php
                                                // we need a different user icon and name depending on whether the user is reading the message
                                                // from their inbox or sentbox. If it is the inbox, then the icon and name will be the person who sent
@@ -77,7 +77,7 @@ if (isloggedin())
                                        </div>
                                </div>
 
-                               <div class="messagebody margin_top clearfloat">
+                               <div class="messagebody margin_top clearfix">
                                        <?php
                                                // if the message is a reply, display the message the reply was for
                                                // @todo I need to figure out how to get the description out using -> (anyone?)
index 13f6fec827b9f207473d76e0d7768329dc5faad2..65091689a3847d95eef177fc784b34b643bab000 100644 (file)
@@ -28,9 +28,9 @@ if (is_array($vars['entity']) && sizeof($vars['entity']) > 0) {
                                if($message->hiddenFrom != 1){
                                        // check to see if the message has been read, if so, set the correct container class
                                        if($message->readYet == 1){
-                               echo "<div class='message read clearfloat'>";
+                               echo "<div class='message read clearfix'>";
                            }else{
-                               echo "<div class='message notread clearfloat'>";
+                               echo "<div class='message notread clearfix'>";
                            }
                                    // get the icon of the user who owns the message
                                    $from = get_entity($message->fromId);
@@ -68,7 +68,7 @@ if (is_array($vars['entity']) && sizeof($vars['entity']) > 0) {
 
                                        //get the correct user entity
                                        $user = get_entity($message->toId);
-                                       echo "<div class='message sent clearfloat'>";
+                                       echo "<div class='message sent clearfix'>";
                                        //get the icon for the user the message was sent to
                                        echo "<div class='entity_listing_icon'>".elgg_view("profile/icon",array('entity' => $user, 'size' => 'tiny'))."</div>";
                                        echo "<div class='entity_listing_info'><div class='message_sender'>".get_loggedin_user()->name."<p class='entity_subtext'>".elgg_view_friendly_time($message->time_created)."</p></div>";
index 434da5a7423ff4c4252281014d56e5e36c2ab72c..99ed3a4f5760238e70d976542283eb95af0e22e3 100755 (executable)
@@ -12,7 +12,7 @@ if (isadminloggedin()){
                $token = generate_action_token($ts);
 
 ?>
-<div class="owner_block_links clearfloat">
+<div class="owner_block_links clearfix">
 <ul class="admin_menu">
 <li><a href="#" onclick="elgg_slide_toggle(this,'.owner_block_links','.admin_menu_options');">Admin options&hellip;</a>
        
index c334e33d8f2303bff5316122b4dd769c5059bcc7..15cb2584eccb33283677cc3379ecbdaf9a8fe58a 100644 (file)
@@ -3,7 +3,7 @@
 * Elgg Message board individual item display page
  */
 ?>
-<div class="entity_listing clearfloat">
+<div class="entity_listing clearfix">
     <!-- display the user icon of the user that posted the message -->
     <div class="entity_listing_icon">          
         <?php
index f80f54cc27ba4b76ef0ff860a7f0620bbfd0386e..fd3ff6b114442d4d9fdd160d34a32f101b181bb4 100755 (executable)
@@ -29,7 +29,7 @@ if ($section == 'details') {
        $icon_class = "large";
 } else {
        $icon = elgg_view("profile/icon",array('entity' => $user, 'size' => 'small'));
-       $more_info = "<div class='owner_block_contents clearfloat'>";
+       $more_info = "<div class='owner_block_contents clearfix'>";
        $more_info .= "<h3><a href='{$url}'>{$user->name}</a></h3>";
        $more_info .= "<p class='profile_info briefdescription'>{$user->briefdescription}</p>";
        $more_info .= "<p class='profile_info location'>{$location}</p>";
@@ -37,7 +37,7 @@ if ($section == 'details') {
 }
 $profile_actions = "";
 if (isloggedin() && (get_loggedin_userid() == elgg_get_page_owner_guid())) {
-       $profile_actions = "<div class='clearfloat profile_actions'>";
+       $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 .= "</div>";
index 1004effc912f4277270da227060b9c09b5416483..4236894c2123e286b7f95c1b11c9f35d5b657bf8 100644 (file)
@@ -24,7 +24,7 @@ if($vars['entity']){
         }
 
         echo "<div class='admin_settings reported_content {$reportedcontent_background}'>";
-        echo "<div class='clearfloat controls'>";
+        echo "<div class='clearfix controls'>";
         if($report->state != 'archived')
                  echo "<a class='action_button' href=\"" . elgg_add_action_tokens_to_url(elgg_get_site_url() . "action/reportedcontent/archive?item={$report->guid}") . "\">" . elgg_echo('reportedcontent:archive') . "</a>";
         echo "<a class='action_button disabled' href=\"" . elgg_add_action_tokens_to_url(elgg_get_site_url() . "action/reportedcontent/delete?item={$report->guid}") . "\" onclick=\"return confirm('" . elgg_echo('reportedcontent:areyousure') . "')\">" . elgg_echo('reportedcontent:delete') . "</a></div>";
index cc210b126c1a7d5fa53e90589a25e440e00ff804..22d89bcfd940c5f7b3d6ecc8bc90f71772970639 100644 (file)
@@ -25,7 +25,7 @@ foreach ($comments as $comment) {
        $comment_owner_url = $comment_owner->getURL();
 
        //display comment
-       echo "<div class='river_comment clearfloat'>";
+       echo "<div class='river_comment clearfix'>";
        echo "<span class='river_comment_owner_icon'>";
        echo elgg_view("profile/icon", array('entity' => $comment_owner, 'size' => 'tiny'));
        echo "</span>";
index e980f5dbdc2cf680d8f792294634b75c53dc4335..a0f547e452e1bc3ef77331df6fa044d2c8b4bbb4 100644 (file)
@@ -48,7 +48,7 @@ if ($vars['pagination'] !== false) {
        }
 
        if (!empty($nav)) {
-               echo '<div class="pagination clearfloat">'.$nav.'</div>';
+               echo '<div class="pagination clearfix">'.$nav.'</div>';
        }
 }
 
index cd474df2a7c279be51fe2041cd05cda3e1200a84..98c240de5922b30ab89a40dbc66f6d38f6cea115 100644 (file)
@@ -46,7 +46,7 @@ if ($comment_count < 3) {
                <?php echo elgg_view("profile/icon",array('entity' => $user, 'size' => 'small')); ?>
        </span>
 
-       <div class="river_item_contents clearfloat">
+       <div class="river_item_contents clearfix">
 <?php
 
 // body contents, generated by the river view in each plugin
@@ -56,7 +56,7 @@ echo $vars['body'];
 if ($comments){
        $counter = 0;
 
-       echo "<div class='river_comments_tabs clearfloat'>";
+       echo "<div class='river_comments_tabs clearfix'>";
        echo "<a class='river_more_comments show_comments_button link'>" . elgg_echo('comments') . '</a>';
 
        if ($likes_count != 0) {
@@ -95,7 +95,7 @@ if ($comments){
                        $alt = 'penultimate';
                }
                //display comment
-               echo "<div class='river_comment $alt clearfloat'>";
+               echo "<div class='river_comment $alt clearfix'>";
                echo "<span class='river_comment_owner_icon'>";
                echo elgg_view("profile/icon", array('entity' => $comment_owner, 'size' => 'tiny'));
                echo "</span>";
@@ -115,7 +115,7 @@ if ($comments){
 } else {
        // tab bar nav - for users that liked object
        if ($vars['item']->type != 'user' && $likes_count != 0) {
-               echo "<div class='river_comments_tabs clearfloat'>";
+               echo "<div class='river_comments_tabs clearfix'>";
        }
 
        if ($likes_count != 0) {
index 384beef4d3f2120cdd4d6b41145700eaa43d661b..60568642aa30d1b985b7e4aac85ace4c97f751b0 100644 (file)
@@ -12,7 +12,7 @@
 echo elgg_view("profile/icon",array('entity' => get_entity($vars['item']->subject_guid), 'size' => 'small'));\r
 ?>\r
        </span>\r
-       <div class="river_item_contents clearfloat">\r
+       <div class="river_item_contents clearfix">\r
 <?php\r
 echo $vars['body'];\r
 ?>\r
index f5e016b476a6afe8f5e57d673b05d022e63b7547..820ebb5ae37398d141a7eacdbee94301f99206ab 100644 (file)
@@ -54,4 +54,4 @@ switch($vars['orient']) {
        ?>
        <input type="hidden" name="display" id="display" value="<?php echo htmlentities($vars['orient']); ?>" />
 </div>
-<div id="riverdashboard_updates" class="clearfloat"></div>
+<div id="riverdashboard_updates" class="clearfix"></div>
index 279d7a94fd638dcaf5156a47994d4cf88adc4eda..0084552423af89e85e4eda8d5a4d302b1b212a77 100644 (file)
@@ -45,7 +45,7 @@ $tc = $entity->getVolatileData('search_matched_comment_time_created');;
 $time = elgg_view_friendly_time($tc);
 
 echo <<<___END
-       <div class="search_listing clearfloat">
+       <div class="search_listing clearfix">
                <div class="search_listing_icon">$icon</div>
                <div class="search_listing_info">
                        <p class="entity_title">$title</p>$description
index 917ebe9d731c5a456b6ef53ba4d5a923656bc7e4..e008da10d33e646b699d1638316288bbb58f6078 100644 (file)
@@ -53,7 +53,7 @@ if (!$time) {
        $time = elgg_view_friendly_time(($tu > $tc) ? $tu : $tc);
 }
 ?>
-       <div class="search_listing clearfloat">
+       <div class="search_listing clearfix">
        <div class="search_listing_icon"><?php echo $icon; ?></div>
                <div class="search_listing_info">
                        <p class="entity_title"><?php echo $title; ?></p>
index 04ae755042ca67a9a87f57e9f24cd2c1653a8e3e..00e978492bf4dd6290ee19b04c4ffeb3dd4cf6ee 100644 (file)
@@ -1,7 +1,7 @@
 <?php\r
 \r
 ?>\r
-<div id="elgg_content" class="clearfloat">\r
+<div id="elgg_content" class="clearfix">\r
        <div id="elgg_sidebar" class="frontpage">\r
                <?php \r
                        if (isset($vars['area2'])) echo $vars['area2']; \r
@@ -9,7 +9,7 @@
                ?>\r
        </div>\r
        \r
-       <div id="elgg_page_contents" class="frontpage clearfloat">\r
+       <div id="elgg_page_contents" class="frontpage clearfix">\r
                <?php \r
                        if (isset($vars['area1'])) echo $vars['area1'];\r
                ?>\r
index 1a9513e54f429323b6bff4c2c9cbfe2ca48ca96b..73a01033245a8fc06e8314c4bc7bbe779e348868 100644 (file)
@@ -1,4 +1,4 @@
-<div class="sidebar_container clearfloat">\r
+<div class="sidebar_container clearfix">\r
 <?php\r
        $newest_members = $vars['members'];\r
 ?>\r
index aacbc43ac0b553879bb9c901219d1f6f32f94c02..8326a3087ce5bca16d6d7c23eb68bf0b6985d0cc 100644 (file)
@@ -8,6 +8,6 @@ $sidebartitle = $sitepages_object->sidebartitle;
 $sidebarmessage = $sitepages_object->sidebarmessage;\r
  \r
 if($sidebarmessage){\r
-       echo "<div class='sidebar_container clearfloat'><h3>" . $sidebartitle . "</h3>";\r
+       echo "<div class='sidebar_container clearfix'><h3>" . $sidebartitle . "</h3>";\r
        echo $sidebarmessage ."</div>";\r
 }
\ No newline at end of file
index 471b504908f1fd11967cebcf860ea8c2a62c4997..584dd1c0b6866b52372ebd584cc55e79b176d3a5 100644 (file)
@@ -8,6 +8,6 @@ $welcometitle = $sitepages_object->welcometitle;
 $welcomemessage = $sitepages_object->welcomemessage;\r
 \r
 if($welcomemessage){\r
-       echo "<div class='sitepages_welcome clearfloat'><h2>" . $welcometitle . "</h2>";\r
-       echo "<div class='sitepages_message clearfloat'>".$welcomemessage."</div></div>";\r
+       echo "<div class='sitepages_welcome clearfix'><h2>" . $welcometitle . "</h2>";\r
+       echo "<div class='sitepages_message clearfix'>".$welcomemessage."</div></div>";\r
 }
\ No newline at end of file
index 9e59596ac84696d6c28b2f797768f44461795cfb..4ef51cae61c1f98e693243c32e88b85c7078b9ab 100644 (file)
@@ -18,7 +18,7 @@ if (isset($vars['entity'])) {
        $note_owner = elgg_echo("thewire:notedeleted");                 
 ?>
 <div class="wire_post">
-       <div class="wire_post_contents clearfloat radius8">
+       <div class="wire_post_contents clearfix radius8">
 
            <div class="wire_post_icon">
            <?php
index 5e29549e27c9eb4f0f1cb9e657471291c2cea267..536ec6ee27ef363bf273acec8474861dcdc10412 100644 (file)
@@ -11,7 +11,7 @@
                if (!empty($wire_user)) { $msg = '@' . $wire_user . ' '; } else { $msg = ''; }
 
 ?>
-<div class="new_wire_post clearfloat">
+<div class="new_wire_post clearfix">
 <h3><?php echo elgg_echo("thewire:doing"); ?></h3>
 <script type="text/javascript" src="<?php echo elgg_get_site_url(); ?>mod/thewire/views/default/thewire/scripts/counter.js"></script>
 <form action="<?php echo elgg_get_site_url(); ?>action/thewire/add" method="post" name="new_post">
index dbcb7385cabe2d1ebe2510243a3f53ffed2c6608..6750a29cb77fc664478b474457fb7481944ed5ec 100644 (file)
@@ -22,7 +22,7 @@ if ($latest_wire) {
                $time = "<p class='entity_subtext'> (" . elgg_view_friendly_time($lw->time_created) . ")</p>";
        }
 
-       echo "<div class='wire_post'><div class='wire_post_contents clearfloat radius8'>";
+       echo "<div class='wire_post'><div class='wire_post_contents clearfix radius8'>";
        echo $content;
        if ($owner == get_loggedin_userid()) {
                $text = elgg_echo('thewire:update');
index 4bfc3afda6ce4643318e43a62d9de48072b13105..8f0faefe8e3a982badb81c23b9169d9ede9a7e67 100644 (file)
@@ -39,8 +39,8 @@ if ($CONFIG->allow_registration) {
        ));
 
        echo <<<__HTML
-<div id="registration_form" class="hidden clearfloat">
-<div id="hiddenform_body" class="clearfloat">
+<div id="registration_form" class="hidden clearfix">
+<div id="hiddenform_body" class="clearfix">
        <h2>$title</h2>
        $body
 </div><div id="hiddenform_bottom"></div></div>
@@ -55,8 +55,8 @@ __HTML;
        $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 clearfloat">
-       <div id="hiddenform_body" class="clearfloat">
+<div id="lostpassword_form" class="hidden clearfix">
+       <div id="hiddenform_body" class="clearfix">
                <h2><?php echo elgg_echo('user:password:lost'); ?></h2>
                <?php
                        echo elgg_view('input/form', array(
index 9aae4a05b671f669468669fc5137869a7c308002..306ddfd7f4702fb77921ac87853b564525bed446 100644 (file)
@@ -67,7 +67,7 @@ $buttons .= $category_form;
 
 // construct page header
 ?>
-<div id="content_header" class="clearfloat">
+<div id="content_header" class="clearfix">
        <div class="content_header_title"><?php echo $title ?></div>
        <div class="content_header_options"><?php echo $buttons ?></div>
 </div>
index 846dde9d46ee3880525daffd50a3f82923a6e156..017c6e7fea67cd23ef80568f30cd62ee7aa2a00f 100644 (file)
@@ -25,7 +25,7 @@ foreach ($installed_plugins as $installed_name => $plugin) {
 
 ksort($plugin_list);
 $form_body  .= <<<___END
-       <div id="content_header" class="clearfloat">
+       <div id="content_header" class="clearfix">
                <div class="content_header_title">$title</div>
        </div>
        <ul class="admin_plugins margin_top">
index 492c04eab2bdebcb268bb6d97bc6a1c8411a2d0b..b2487e1ef821a417c8e81a00e5530364511319be 100644 (file)
@@ -7,7 +7,7 @@ $owner = get_user($vars['annotation']->owner_guid);
 
 ?>
 <a class="anchor_link" name="comment_<?php echo $vars['annotation']->id; ?>"></a>
-<div class="generic_comment clearfloat">
+<div class="generic_comment clearfix">
        <div class="generic_comment_icon">
                <?php
                        echo elgg_view("profile/icon", array(
index 43f44f43b10f14542797c8bb662b06b5ceac80c5..8e1f3e81b226fb74f95ed8d33f1b28661ee3ff46 100644 (file)
@@ -28,7 +28,7 @@ if($vars['comments']){
                        $url_display = $objecttitle;
                }
        
-               echo "<div class='generic_comment latest clearfloat'><span class='generic_comment_icon'>" . elgg_view("profile/icon",array('entity' => $comment_owner, 'size' => 'tiny')) . "</span>";
+               echo "<div class='generic_comment latest clearfix'><span class='generic_comment_icon'>" . elgg_view("profile/icon",array('entity' => $comment_owner, 'size' => 'tiny')) . "</span>";
                echo "<div class='generic_comment_details'><span class='entity_subtext'><a href=\"".elgg_get_site_url()."pg/profile/{$comment_owner->username}\">{$comment_owner->name}</a> " . elgg_echo('on') . " <span class='entity_title'>{$url_display}</span> ({$friendlytime})</span></div>";
                echo "</div>";
        
index 8b6be92200cacf8fdda64efbd521bfd76c740e44..cfa7e47e078d614ceedc8da913c9d3d0a8f5cdad 100644 (file)
@@ -6,7 +6,7 @@
 $owner = get_user($vars['annotation']->owner_guid);
 
 ?>
-<div class="elgg_likes_user clearfloat">
+<div class="elgg_likes_user clearfix">
        <div class="entity_listing_icon">
                <?php
                        echo elgg_view("profile/icon", array(
index 335fb55e552f929f5ff6e1ecd5f1111e84b9c5d9..c8d8e31e436b3afa1a069a831bda34c24e289ad6 100644 (file)
@@ -165,7 +165,7 @@ h2 {
        border-bottom:1px solid #CCCCCC;
        padding-bottom:5px;
 }
-.clearfloat:after {
+.clearfix:after {
        content: ".";
        display: block;
        height: 0;
@@ -882,14 +882,14 @@ ul.admin_plugins {
        </h2></span>
 </div>
 
-<div id="elgg_content" class="clearfloat admin_area">
+<div id="elgg_content" class="clearfix admin_area">
        
-       <div id="elgg_page_contents" class="clearfloat">
+       <div id="elgg_page_contents" class="clearfix">
                <?php 
                        if (isset($vars['area1'])) echo $vars['area1'];
                ?>
        </div>
-       <div id="elgg_sidebar" class="clearfloat">
+       <div id="elgg_sidebar" class="clearfix">
                <?php
                        echo elgg_view('page_elements/elgg_sidebar', $vars);
                ?>
index e9c2cb113462af5118b5288020210a3dce4cf944..67366efc60670003dd1f95031313662e3991b703 100644 (file)
@@ -6,8 +6,8 @@
  * @subpackage Core
  */
 ?>
-<div id="elgg_content" class="clearfloat">
-       <div id="elgg_page_contents" class="clearfloat one_column">
+<div id="elgg_content" class="clearfix">
+       <div id="elgg_page_contents" class="clearfix one_column">
                <?php echo $vars['area1']; ?>
        </div>
 </div>
\ No newline at end of file
index b7efee4d064b81a0c5aa888210c57a6c6ce03837..5b6207a92ba48b76a3edf8a26d5f518217ac13c1 100644 (file)
@@ -6,14 +6,14 @@
  * @subpackage Core
  */
 ?>
-<div id="elgg_content" class="clearfloat sidebar">
+<div id="elgg_content" class="clearfix sidebar">
        <div id="elgg_sidebar">
                <?php
                        echo elgg_view('page_elements/elgg_sidebar', $vars);
                ?>
        </div>
        
-       <div id="elgg_page_contents" class="clearfloat">
+       <div id="elgg_page_contents" class="clearfix">
                <?php 
                        if (isset($vars['area1'])) {
                                echo $vars['area1'];
index 076bfdb627e18606324bd7bca54bab0660717b7d..c442081a2fdecd763c440099ac80409e296887bc 100644 (file)
@@ -1,7 +1,6 @@
 /**
  * ELGG DEFAULT CSS
- * @uses $vars['wwwroot'] The site URL
-*/
+ */
 
 /* Table of Contents:
 
@@ -192,13 +191,11 @@ h2 {
        border-bottom:1px solid #CCCCCC;
        padding-bottom:5px;
 }
-.clearfloat:after {
-       content: ".";
-       display: block;
-       height: 0;
-       clear: both;
-       visibility: hidden;
-}
+
+/* Float-related */
+.clearfix:after {content:"."; display:block; height:0; clear:both; visibility:hidden;}
+.clearfloat {clear:both;}
+
 .link {
        cursor:pointer;
 }
index 3e0c91c404bf79a17cfb15039e845a5be7480f23..e07fddf473204ca38b152e2d7b4fc130d241f705 100644 (file)
@@ -10,8 +10,8 @@
 .navigation li a:hover ul li a {display:block;}
 .navigation li.navigation_more ul li a {width:150px;background-color: #dedede;}
 
-.clearfloat { display: block; }
-.hidden.clearfloat { display: none; }
+.clearfix { display: block; }
+.hidden.clearfix { display: none; }
 #elgg_page_contents {overflow: hidden;} /* remove horizontal scroll on riverdash */
 #breadcrumbs {top:-2px; margin-bottom: 5px;}
 
index 6e0d9c0f8fb872bbece1f37a02cca3570ee74c2a..e547bbc680b881b756fbc771ab1e0e7336d1758e 100644 (file)
@@ -9,7 +9,7 @@
  * @uses string $vars['info'] Info about the entity.
  */
 ?>
-<div class="entity_listing clearfloat">
+<div class="entity_listing clearfix">
        <div class="entity_listing_icon">
                <?php echo $vars['icon']; ?>
        </div>
index 897509b0a15ad7b9bd89439a240ea452fa553a89..58fa5e26b55b513e45054d6943a492d414c4370f 100644 (file)
@@ -11,7 +11,7 @@
 
 ?>
 
-<div class="gallery_listing clearfloat">
+<div class="gallery_listing clearfix">
        <div class="gallery_listing_icon">
                <?php echo $vars['icon']; ?>
        </div>
index 34a02d086c7d072ae631c8927150049dd12b69a0..9e1d556f6c8292f3f55f6a45a0abd4daedbe1587 100644 (file)
@@ -259,7 +259,7 @@ if ($formtarget) {
                echo $vars['formcontents'];
 
 ?>
-       <div class="clearfloat"></div>
+       <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();" />
index d438ff3be54dbde6954f48463a9a9cab893af14c..96092d118a5783e0e9703df5536c503a4c220454 100644 (file)
@@ -32,7 +32,7 @@ if (isset($vars['entity']) && isloggedin()) {
                echo "<a class='likes_list_button link {$likes_classname}' {$likes_titletag}>" . elgg_count_likes($vars['entity']) . " " . $user_string . "</a>";
 
                //show the users who liked the object
-               echo "<div class='likes_list hidden clearfloat'>";
+               echo "<div class='likes_list hidden clearfix'>";
                echo list_annotations($vars['entity']->getGUID(), 'likes', 99);
                echo "</div>";  
        }
index 846598d1bd55ae9fffc394f3518d02fe507fa79e..de401eae4645fd0b733024bc983b8863bb4f4211 100644 (file)
@@ -29,7 +29,7 @@ if (($count > $limit || $offset > 0) && elgg_get_context() != 'widget') {
 
        ?>
 
-       <div class="pagination clearfloat">
+       <div class="pagination clearfix">
        <?php
 
        if ($offset > 0) {
index a7f31c5f9ce828f800bae0672aa3726892e927e1..325f5a18b51a11f8acfc67c128c766eb4c425be8 100644 (file)
@@ -75,7 +75,7 @@ if ($more_nav_html) {
 // only display, if there are nav items to display
 if ($nav_html) {
        echo <<<___END
-       <div id="elgg_main_nav" class="clearfloat">
+       <div id="elgg_main_nav" class="clearfix">
                <ul class="navigation">
                        $nav_html
                </ul>
index 725f1619a68ffa9962a7dfc7c8acde828ac3d213..0e45ce1dfa383c427540eee97ed0d828addd2aaf 100644 (file)
@@ -4,4 +4,4 @@
         * @todo check this - it doesn't appear this view is ever called
         **/
 ?>
-<div class="rss_link clearfloat"><a href="" title="RSS feed for the wire">RSS feed for the wire</a></div>
\ No newline at end of file
+<div class="rss_link clearfix"><a href="" title="RSS feed for the wire">RSS feed for the wire</a></div>
\ No newline at end of file
index 12e4eec44f233cb696bf63a11ad4ff3430fef4ad..4d382b9f5cf25ef78a074ca25a13f0c58ec68d00 100644 (file)
@@ -86,7 +86,7 @@ if (isloggedin()) {
 }
 
 echo <<<HTML
-<div id="content_header" class="clearfloat">
+<div id="content_header" class="clearfix">
        $title $new_button
 </div>
 HTML;
index 82909e1b5a3829c4de05c9a50222fc0d74f5256d..3d4a0f853a873a02d65eeeedf91c03d92ad6cd50 100644 (file)
@@ -18,7 +18,7 @@ $title = elgg_echo($type);
 $title = $name . "'s " . $type;\r
 ?>\r
 \r
-<div id="content_header" class="clearfloat">\r
+<div id="content_header" class="clearfix">\r
        <?php echo '<div class="content_header_title">' . elgg_view_title($title) . '</div>'; ?>\r
 </div>\r
 \r
index 6d6fd89651923853ae30b33c8ab198675b45cf92..93aac4d9694f2bf009f2e8221e91e0e35c745c2e 100644 (file)
@@ -10,7 +10,7 @@
 
 ?>
 <div id="elgg_footer">
-       <div id="elgg_footer_contents" class="clearfloat">
+       <div id="elgg_footer_contents" class="clearfix">
                <?php echo elgg_view('footer/links'); ?>
                <a href="http://www.elgg.org" class="powered_by_elgg_badge">
                        <img src="<?php echo elgg_get_site_url(); ?>_graphics/powered_by_elgg_badge_drk_bckgnd.gif" alt="Powered by Elgg" />
index 4908625e47ab0697fa7dab1f40e3f3b9f6e36085..3530cf197fe820d07d3f6cffc906a62fb7bc7b2f 100644 (file)
@@ -6,7 +6,7 @@
 
 $user = get_loggedin_user();
 if (($user instanceof ElggUser) && ($user->guid > 0)) {
-       echo '<div id="elgg_topbar" class="clearfloat">';
+       echo '<div id="elgg_topbar" class="clearfix">';
        echo '<div id="elgg_topbar_contents">';
        
        // Elgg logo
index 45e4f70af85f353bb1d0b6ff79b78eb47d28bc25..ab1344b219dab241a648ae615a7deb2d15b86089 100644 (file)
@@ -22,7 +22,7 @@ if (isset($autofeed) && $autofeed == true) {
        $url = elgg_format_url($url);
        $label = elgg_echo('feed:rss');
        $contents .= <<<END
-       <div class="rss_link clearfloat"><a href="{$url}" rel="nofollow" title="{$label}">{$label}</a></div>
+       <div class="rss_link clearfix"><a href="{$url}" rel="nofollow" title="{$label}">{$label}</a></div>
 END;
 }
 
@@ -35,7 +35,7 @@ if(is_plugin_enabled('profile')) {
                $icon = elgg_view('profile/icon', array('entity' => $owner, 'size' => 'tiny'));
                $owner_url = $owner->getURL();
                $display = "<div class='owner_block_icon'>$icon</div>";
-               $display .= '<div class="owner_block_contents clearfloat">';
+               $display .= '<div class="owner_block_contents clearfix">';
                $display .= "<h3><a href=\"$owner_url\">{$owner->name}</a></h3>";
 
                if ($owner->briefdescription) {
@@ -67,7 +67,7 @@ if(is_plugin_enabled('profile')) {
                // Allow plugins to extend the owner block contents
                $display .= elgg_view('owner_block/profile_extend');
 
-               $contents .= "<div id='owner_block' class='clearfloat'>$display</div>";
+               $contents .= "<div id='owner_block' class='clearfix'>$display</div>";
        }
 }
 
index 4f88501d964bbf4967477e2c52a7dd6f68f6da24..0da1aeb67d8190748fda33f73e1e0b52072a221b 100644 (file)
@@ -269,10 +269,10 @@ body {background: white;}
 <?php
 $view = elgg_view('messages/list', array('object' => $vars['sysmessages']));
 
-echo "<div id='walledgarden_sysmessages' class='clearfloat'>$view</div>";       
-echo '<div id="walledgarden_container"><div id="walledgarden" class="clearfloat">';
-echo "<div class=\"walledgardenintro clearfloat\"><h1>Welcome to:<br />$title</h1></div>";
-echo "<div class=\"walledgardenlogin clearfloat\">{$vars['body']}</div>";
+echo "<div id='walledgarden_sysmessages' class='clearfix'>$view</div>";       
+echo '<div id="walledgarden_container"><div id="walledgarden" class="clearfix">';
+echo "<div class=\"walledgardenintro clearfix\"><h1>Welcome to:<br />$title</h1></div>";
+echo "<div class=\"walledgardenlogin clearfix\">{$vars['body']}</div>";
 echo '</div>';
 echo '<div id="walledgarden_bottom"></div>';
 echo '</div>';