Browse Source

Replace some inline styling

spaghetti 7 years ago
parent
commit
10831c4902
40 changed files with 124 additions and 124 deletions
  1. 2
    2
      classes/commentsview.class.php
  2. 2
    2
      classes/donationsview.class.php
  3. 1
    1
      classes/testingview.class.php
  4. 2
    2
      design/views/generic/reply/quickreply.php
  5. 4
    4
      sections/artist/artist.php
  6. 1
    1
      sections/bookmarks/artists.php
  7. 1
    1
      sections/collages/browse.php
  8. 2
    2
      sections/collages/torrent_collage.php
  9. 2
    2
      sections/forums/forum.php
  10. 2
    2
      sections/forums/main.php
  11. 3
    3
      sections/forums/newthread.php
  12. 1
    1
      sections/forums/search.php
  13. 4
    4
      sections/forums/thread.php
  14. 2
    2
      sections/friends/friends.php
  15. 2
    2
      sections/inbox/conversation.php
  16. 1
    1
      sections/inbox/inbox.php
  17. 1
    1
      sections/index/private.php
  18. 1
    1
      sections/questions/popular_questions.php
  19. 1
    1
      sections/questions/questions.php
  20. 1
    1
      sections/questions/view_answers.php
  21. 1
    1
      sections/staffblog/index.php
  22. 2
    2
      sections/store/store.php
  23. 8
    8
      sections/tools/data/registration_log.php
  24. 22
    22
      sections/tools/development/render_base.html
  25. 13
    13
      sections/tools/development/service_stats.php
  26. 1
    1
      sections/tools/managers/change_log.php
  27. 1
    1
      sections/tools/misc/dupe_ip.php
  28. 2
    2
      sections/torrents/browse.php
  29. 9
    9
      sections/torrents/details.php
  30. 1
    1
      sections/torrents/editgroup.php
  31. 2
    2
      sections/torrents/functions.php
  32. 1
    1
      sections/torrents/user.php
  33. 2
    2
      sections/user/linkedfunctions.php
  34. 8
    8
      sections/user/user.php
  35. 4
    4
      sections/userhistory/post_history.php
  36. 3
    3
      sections/userhistory/quote_notifications.php
  37. 2
    2
      sections/userhistory/subscribed_collages.php
  38. 3
    3
      sections/userhistory/subscriptions.php
  39. 1
    1
      static/functions/global.js
  40. 2
    2
      static/functions/news_ajax.js

+ 2
- 2
classes/commentsview.class.php View File

39
       </colgroup>
39
       </colgroup>
40
       <tr class="colhead_dark">
40
       <tr class="colhead_dark">
41
         <td colspan="<?=(Users::has_avatars_enabled() ? 2 : 1)?>">
41
         <td colspan="<?=(Users::has_avatars_enabled() ? 2 : 1)?>">
42
-          <div style="float: left;"><a class="post_id" href="<?=$Link?>">#<?=$PostID?></a>
42
+          <div class="float_left"><a class="post_id" href="<?=$Link?>">#<?=$PostID?></a>
43
             <?=$Header?>
43
             <?=$Header?>
44
 <?    if ($Tools) { ?>
44
 <?    if ($Tools) { ?>
45
             - <a href="#quickpost" onclick="Quote('<?=$PostID?>','<?=$UserInfo['Username']?>', true);" class="brackets">Quote</a>
45
             - <a href="#quickpost" onclick="Quote('<?=$PostID?>','<?=$UserInfo['Username']?>', true);" class="brackets">Quote</a>
50
             - <a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');" class="brackets">Delete</a>
50
             - <a href="#post<?=$PostID?>" onclick="Delete('<?=$PostID?>');" class="brackets">Delete</a>
51
 <?      } ?>
51
 <?      } ?>
52
           </div>
52
           </div>
53
-          <div id="bar<?=$PostID?>" style="float: right;">
53
+          <div id="bar<?=$PostID?>" class="float_right">
54
             <a href="reports.php?action=report&amp;type=comment&amp;id=<?=$PostID?>" class="brackets">Report</a>
54
             <a href="reports.php?action=report&amp;type=comment&amp;id=<?=$PostID?>" class="brackets">Report</a>
55
 <?
55
 <?
56
       if (check_perms('users_warn') && $AuthorID != G::$LoggedUser['ID'] && G::$LoggedUser['Class'] >= $UserInfo['Class']) {
56
       if (check_perms('users_warn') && $AuthorID != G::$LoggedUser['ID'] && G::$LoggedUser['Class'] >= $UserInfo['Class']) {

+ 2
- 2
classes/donationsview.class.php View File

103
       <div class="box">
103
       <div class="box">
104
         <div class="head">
104
         <div class="head">
105
           <span><?=!empty($ProfileRewards['ProfileInfoTitle' . $i]) ? display_str($ProfileRewards['ProfileInfoTitle' . $i]) : "Extra Profile " . ($i + 1)?></span>
105
           <span><?=!empty($ProfileRewards['ProfileInfoTitle' . $i]) ? display_str($ProfileRewards['ProfileInfoTitle' . $i]) : "Extra Profile " . ($i + 1)?></span>
106
-          <span style="float: right;"><a data-toggle-target="#profilediv_<?=$i?>" data-toggle-replace="Show" class="brackets">Hide</a></span>
106
+          <span class="float_right"><a data-toggle-target="#profilediv_<?=$i?>" data-toggle-replace="Show" class="brackets">Hide</a></span>
107
         </div>
107
         </div>
108
         <div class="pad profileinfo" id="profilediv_<?=$i?>">
108
         <div class="pad profileinfo" id="profilediv_<?=$i?>">
109
 <?          echo Text::full_format($ProfileRewards['ProfileInfo' . $i]); ?>
109
 <?          echo Text::full_format($ProfileRewards['ProfileInfo' . $i]); ?>
121
 ?>
121
 ?>
122
     <div class="box box2" id="donation_history_box">
122
     <div class="box box2" id="donation_history_box">
123
       <div class="head">
123
       <div class="head">
124
-        Donation History <a data-toggle-target="#donation_history" class="brackets" style="float: right;">Toggle</a>
124
+        Donation History <a data-toggle-target="#donation_history" class="brackets" style="float_right">Toggle</a>
125
       </div>
125
       </div>
126
       <div class="hidden" id="donation_history">
126
       <div class="hidden" id="donation_history">
127
         <table cellpadding="6" cellspacing="1" border="0" class="border" width="100%">
127
         <table cellpadding="6" cellspacing="1" border="0" class="border" width="100%">

+ 1
- 1
classes/testingview.class.php View File

55
       <div class="box box2">
55
       <div class="box box2">
56
         <div class="head">
56
         <div class="head">
57
           <span><?=self::render_method_definition($Method)?></span>
57
           <span><?=self::render_method_definition($Method)?></span>
58
-          <span style="float: right;">
58
+          <span class="float_right">
59
             <a data-toggle-target="#method_params_<?=$Index?>" class="brackets">Params</a>
59
             <a data-toggle-target="#method_params_<?=$Index?>" class="brackets">Params</a>
60
             <a href="#" class="brackets run" data-gazelle-id="<?=$Index?>" data-gazelle-class="<?=$ClassName?>" data-gazelle-method="<?=$MethodName?>">Run</a>
60
             <a href="#" class="brackets run" data-gazelle-id="<?=$Index?>" data-gazelle-class="<?=$ClassName?>" data-gazelle-method="<?=$MethodName?>">Run</a>
61
           </span>
61
           </span>

+ 2
- 2
design/views/generic/reply/quickreply.php View File

73
             </colgroup>
73
             </colgroup>
74
             <tr class="colhead_dark">
74
             <tr class="colhead_dark">
75
               <td colspan="<?=(Users::has_avatars_enabled() ? 2 : 1)?>">
75
               <td colspan="<?=(Users::has_avatars_enabled() ? 2 : 1)?>">
76
-                <div style="float: left;"><a href="#quickreplypreview">#XXXXXX</a>
76
+                <div class="float_left"><a href="#quickreplypreview">#XXXXXX</a>
77
                   by <strong><?=Users::format_username(G::$LoggedUser['ID'], true, true, true, true)?></strong> Just now
77
                   by <strong><?=Users::format_username(G::$LoggedUser['ID'], true, true, true, true)?></strong> Just now
78
                 </div>
78
                 </div>
79
-                <div style="float: right;">
79
+                <div class="float_right">
80
                   <a href="#quickreplypreview" class="brackets">Report</a>
80
                   <a href="#quickreplypreview" class="brackets">Report</a>
81
                   &nbsp;
81
                   &nbsp;
82
                   <a href="#">&uarr;</a>
82
                   <a href="#">&uarr;</a>

+ 4
- 4
sections/artist/artist.php View File

249
             <strong><?=$DisplayName?></strong>
249
             <strong><?=$DisplayName?></strong>
250
 <?  if (Bookmarks::has_bookmarked('torrent', $GroupID)) { ?>
250
 <?  if (Bookmarks::has_bookmarked('torrent', $GroupID)) { ?>
251
             <span class="remove_bookmark float_right">
251
             <span class="remove_bookmark float_right">
252
-              <a style="float: right;" href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="brackets" onclick="Unbookmark('torrent', <?=$GroupID?>, 'Bookmark'); return false;">Remove bookmark</a>
252
+              <a class="float_right" href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="brackets" onclick="Unbookmark('torrent', <?=$GroupID?>, 'Bookmark'); return false;">Remove bookmark</a>
253
             </span>
253
             </span>
254
 <?  } else { ?>
254
 <?  } else { ?>
255
             <span class="add_bookmark float_right">
255
             <span class="add_bookmark float_right">
256
-              <a style="float: right;" href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="brackets" onclick="Bookmark('torrent', <?=$GroupID?>, 'Remove bookmark'); return false;">Bookmark</a>
256
+              <a class="float_right" href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="brackets" onclick="Bookmark('torrent', <?=$GroupID?>, 'Remove bookmark'); return false;">Bookmark</a>
257
             </span>
257
             </span>
258
 <?  } ?>
258
 <?  } ?>
259
             <div class="tags"><?=$TorrentTags->format('torrents.php?taglist=', $Name)?></div>
259
             <div class="tags"><?=$TorrentTags->format('torrents.php?taglist=', $Name)?></div>
502
 <? foreach ($ZIPList as $ListItem) { ?>
502
 <? foreach ($ZIPList as $ListItem) { ?>
503
             <li id="list<?=$ListItem?>">
503
             <li id="list<?=$ListItem?>">
504
               <input type="hidden" name="list[]" value="<?=$ListItem?>" />
504
               <input type="hidden" name="list[]" value="<?=$ListItem?>" />
505
-              <span style="float: left;"><?=$ZIPOptions[$ListItem]['2']?></span>
506
-              <span class="remove remove_collector"><a href="#" onclick="remove_selection('<?=$ListItem?>'); return false;" style="float: right;" class="brackets tooltip" title="Remove format from the Collector">X</a></span>
505
+              <span class="float_left"><?=$ZIPOptions[$ListItem]['2']?></span>
506
+              <span class="remove remove_collector"><a href="#" onclick="remove_selection('<?=$ListItem?>'); return false;" class="float_right brackets tooltip" title="Remove format from the Collector">X</a></span>
507
               <br style="clear: all;" />
507
               <br style="clear: all;" />
508
             </li>
508
             </li>
509
 <? } ?>
509
 <? } ?>

+ 1
- 1
sections/bookmarks/artists.php View File

66
     <tr class="row bookmark_<?=$ArtistID?>">
66
     <tr class="row bookmark_<?=$ArtistID?>">
67
       <td>
67
       <td>
68
         <a href="artist.php?id=<?=$ArtistID?>"><?=$Name?></a>
68
         <a href="artist.php?id=<?=$ArtistID?>"><?=$Name?></a>
69
-        <span style="float: right;">
69
+        <span class="float_right">
70
 <?
70
 <?
71
   if (check_perms('site_torrents_notify')) {
71
   if (check_perms('site_torrents_notify')) {
72
     if (($Notify = $Cache->get_value('notify_artists_'.$LoggedUser['ID'])) === false) {
72
     if (($Notify = $Cache->get_value('notify_artists_'.$LoggedUser['ID'])) === false) {

+ 1
- 1
sections/collages/browse.php View File

321
     <td>
321
     <td>
322
       <a href="collages.php?id=<?=$ID?>"><?=$Name?></a>
322
       <a href="collages.php?id=<?=$ID?>"><?=$Name?></a>
323
 <?  if ($BookmarkView) { ?>
323
 <?  if ($BookmarkView) { ?>
324
-      <span style="float: right;">
324
+      <span class="float_right">
325
         <a href="#" onclick="Unbookmark('collage', <?=$ID?>, ''); return false;" class="brackets">Remove bookmark</a>
325
         <a href="#" onclick="Unbookmark('collage', <?=$ID?>, ''); return false;" class="brackets">Remove bookmark</a>
326
       </span>
326
       </span>
327
 <?  } ?>
327
 <?  } ?>

+ 2
- 2
sections/collages/torrent_collage.php View File

108
           <strong><?=$DisplayName?></strong>
108
           <strong><?=$DisplayName?></strong>
109
 <?    if (Bookmarks::has_bookmarked('torrent', $GroupID)) { ?>
109
 <?    if (Bookmarks::has_bookmarked('torrent', $GroupID)) { ?>
110
           <span class="remove_bookmark float_right">
110
           <span class="remove_bookmark float_right">
111
-            <a style="float: right;" href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="remove_bookmark brackets" onclick="Unbookmark('torrent', <?=$GroupID?>, 'Bookmark'); return false;">Remove bookmark</a>
111
+            <a class="float_right" href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="remove_bookmark brackets" onclick="Unbookmark('torrent', <?=$GroupID?>, 'Bookmark'); return false;">Remove bookmark</a>
112
           </span>
112
           </span>
113
 <?    } else { ?>
113
 <?    } else { ?>
114
           <span class="add_bookmark float_right">
114
           <span class="add_bookmark float_right">
115
-            <a style="float: right;" href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="add_bookmark brackets" onclick="Bookmark('torrent', <?=$GroupID?>, 'Remove bookmark'); return false;">Bookmark</a>
115
+            <a class="float_right" href="#" id="bookmarklink_torrent_<?=$GroupID?>" class="add_bookmark brackets" onclick="Bookmark('torrent', <?=$GroupID?>, 'Remove bookmark'); return false;">Bookmark</a>
116
           </span>
116
           </span>
117
 <?
117
 <?
118
     }
118
     }

+ 2
- 2
sections/forums/forum.php View File

235
   <tr class="row">
235
   <tr class="row">
236
     <td class="<?=$Read?> <?=$Tooltip?>" title="<?=ucwords(str_replace('_', ' ', $Read))?>"></td>
236
     <td class="<?=$Read?> <?=$Tooltip?>" title="<?=ucwords(str_replace('_', ' ', $Read))?>"></td>
237
     <td>
237
     <td>
238
-      <span style="float: left;" class="last_topic">
238
+      <span class="float_left last_topic">
239
 <?
239
 <?
240
     $TopicLength = 75 - (2 * count($PageLinks));
240
     $TopicLength = 75 - (2 * count($PageLinks));
241
     unset($PageLinks);
241
     unset($PageLinks);
253
         <svg width="15" height="11"><polygon points="0,3 0,8 8,8 8,11 15,5.5 8,0 8,3"/></svg>
253
         <svg width="15" height="11"><polygon points="0,3 0,8 8,8 8,11 15,5.5 8,0 8,3"/></svg>
254
       </a>
254
       </a>
255
 <?    } ?>
255
 <?    } ?>
256
-      <span style="float: right;" class="last_poster">
256
+      <span class="float_right last_poster">
257
         by <?=Users::format_username($LastAuthorID, false, false, false, false, false)?> <?=time_diff($LastTime,1)?>
257
         by <?=Users::format_username($LastAuthorID, false, false, false, false, false)?> <?=time_diff($LastTime,1)?>
258
       </span>
258
       </span>
259
     </td>
259
     </td>

+ 2
- 2
sections/forums/main.php View File

68
     <td class="number_column">0</td>
68
     <td class="number_column">0</td>
69
 <? } else { ?>
69
 <? } else { ?>
70
     <td>
70
     <td>
71
-      <span style="float: left;" class="last_topic">
71
+      <span class="float_left last_topic">
72
         <a href="forums.php?action=viewthread&amp;threadid=<?=$LastTopicID?>" class="tooltip" data-title-plain="<?=display_str($LastTopic)?>"><?=display_str(Format::cut_string($LastTopic, 50, 1))?></a>
72
         <a href="forums.php?action=viewthread&amp;threadid=<?=$LastTopicID?>" class="tooltip" data-title-plain="<?=display_str($LastTopic)?>"><?=display_str(Format::cut_string($LastTopic, 50, 1))?></a>
73
       </span>
73
       </span>
74
 <? if (!empty($LastRead[$LastTopicID])) { ?>
74
 <? if (!empty($LastRead[$LastTopicID])) { ?>
76
         <svg width="15" height="11"><polygon points="0,3 0,8 8,8 8,11 15,5.5 8,0 8,3"/></svg>
76
         <svg width="15" height="11"><polygon points="0,3 0,8 8,8 8,11 15,5.5 8,0 8,3"/></svg>
77
       </a>
77
       </a>
78
 <? } ?>
78
 <? } ?>
79
-      <span style="float: right;" class="last_poster">by <?=Users::format_username($LastAuthorID, false, false, false)?> <?=time_diff($LastTime, 1)?></span>
79
+      <span class="float_right last_poster">by <?=Users::format_username($LastAuthorID, false, false, false)?> <?=time_diff($LastTime, 1)?></span>
80
     </td>
80
     </td>
81
     <td class="number_column"><?=number_format($NumTopics)?></td>
81
     <td class="number_column"><?=number_format($NumTopics)?></td>
82
     <td class="number_column"><?=number_format($NumPosts)?></td>
82
     <td class="number_column"><?=number_format($NumPosts)?></td>

+ 3
- 3
sections/forums/newthread.php View File

40
         <p><strong id="pollquestion"></strong></p>
40
         <p><strong id="pollquestion"></strong></p>
41
         <div id="pollanswers"></div>
41
         <div id="pollanswers"></div>
42
         <br /><input type="radio" name="vote" id="answer_0" value="0" /> <label for="answer_0">Blank&#8202;&mdash;&#8202;Show the results!</label><br /><br />
42
         <br /><input type="radio" name="vote" id="answer_0" value="0" /> <label for="answer_0">Blank&#8202;&mdash;&#8202;Show the results!</label><br /><br />
43
-        <input type="button" style="float: left;" value="Vote" />
43
+        <input type="button" class="float_left" value="Vote" />
44
       </div>
44
       </div>
45
     </div>
45
     </div>
46
 <?  } ?>
46
 <?  } ?>
53
       </colgroup>
53
       </colgroup>
54
       <tr class="colhead_dark">
54
       <tr class="colhead_dark">
55
         <td colspan="<?=Users::has_avatars_enabled() ? 2 : 1 ?>">
55
         <td colspan="<?=Users::has_avatars_enabled() ? 2 : 1 ?>">
56
-          <span style="float: left;"><a href="#newthreadpreview">#XXXXXX</a>
56
+          <span class="float_left"><a href="#newthreadpreview">#XXXXXX</a>
57
             by <strong><?=Users::format_username($LoggedUser['ID'], true, true, true, true, true)?></strong>
57
             by <strong><?=Users::format_username($LoggedUser['ID'], true, true, true, true, true)?></strong>
58
           Just now
58
           Just now
59
           </span>
59
           </span>
60
-          <span id="barpreview" style="float: right;">
60
+          <span id="barpreview" class="float_right">
61
             <a href="#newthreadpreview" class="brackets">Report</a>
61
             <a href="#newthreadpreview" class="brackets">Report</a>
62
             &nbsp;
62
             &nbsp;
63
             <a href="#">&uarr;</a>
63
             <a href="#">&uarr;</a>

+ 1
- 1
sections/forums/search.php View File

334
 <?
334
 <?
335
   }
335
   }
336
   if ($Type == 'body') { ?>
336
   if ($Type == 'body') { ?>
337
-        <a data-toggle-target="#post_<?=$PostID?>_text">(Show)</a> <span style="float: right;" class="tooltip last_read" title="Jump to post"><a href="forums.php?action=viewthread&amp;threadid=<?=$ID?><? if (!empty($PostID)) { echo "&amp;postid=$PostID#post$PostID"; } ?>"></a></span>
337
+        <a data-toggle-target="#post_<?=$PostID?>_text">(Show)</a> <span class="float_right tooltip last_read" title="Jump to post"><a href="forums.php?action=viewthread&amp;threadid=<?=$ID?><? if (!empty($PostID)) { echo "&amp;postid=$PostID#post$PostID"; } ?>"></a></span>
338
 <?  } ?>
338
 <?  } ?>
339
       </td>
339
       </td>
340
       <td>
340
       <td>

+ 4
- 4
sections/forums/thread.php View File

448
   </colgroup>
448
   </colgroup>
449
   <tr class="colhead_dark">
449
   <tr class="colhead_dark">
450
     <td colspan="<?=Users::has_avatars_enabled() ? 2 : 1?>">
450
     <td colspan="<?=Users::has_avatars_enabled() ? 2 : 1?>">
451
-      <div style="float: left;"><a class="post_id" href="forums.php?action=viewthread&amp;threadid=<?=$ThreadID?>&amp;postid=<?=$PostID?>#post<?=$PostID?>">#<?=$PostID?></a>
451
+      <div class="float_left"><a class="post_id" href="forums.php?action=viewthread&amp;threadid=<?=$ThreadID?>&amp;postid=<?=$PostID?>#post<?=$PostID?>">#<?=$PostID?></a>
452
         <?=Users::format_username($AuthorID, true, true, true, true, true, $IsDonorForum);  echo "\n";?>
452
         <?=Users::format_username($AuthorID, true, true, true, true, true, $IsDonorForum);  echo "\n";?>
453
         <?=time_diff($AddedTime, 2); echo "\n";?>
453
         <?=time_diff($AddedTime, 2); echo "\n";?>
454
         - <a href="#quickpost" id="quote_<?=$PostID?>" onclick="Quote('<?=$PostID?>', '<?=$Username?>', true);" class="brackets">Quote</a>
454
         - <a href="#quickpost" id="quote_<?=$PostID?>" onclick="Quote('<?=$PostID?>', '<?=$Username?>', true);" class="brackets">Quote</a>
461
 <?
461
 <?
462
   }
462
   }
463
   if ($PostID == $ThreadInfo['StickyPostID']) { ?>
463
   if ($PostID == $ThreadInfo['StickyPostID']) { ?>
464
-        <strong><span class="sticky_post_label" class="brackets">Sticky</span></strong>
464
+        <strong><span class="sticky_post_label brackets">Sticky</span></strong>
465
 <?    if (check_perms('site_moderate_forums')) { ?>
465
 <?    if (check_perms('site_moderate_forums')) { ?>
466
         - <a href="forums.php?action=sticky_post&amp;threadid=<?=$ThreadID?>&amp;postid=<?=$PostID?>&amp;remove=true&amp;auth=<?=$LoggedUser['AuthKey']?>" title="Unsticky this post" class="brackets tooltip">X</a>
466
         - <a href="forums.php?action=sticky_post&amp;threadid=<?=$ThreadID?>&amp;postid=<?=$PostID?>&amp;remove=true&amp;auth=<?=$LoggedUser['AuthKey']?>" title="Unsticky this post" class="brackets tooltip">X</a>
467
 <?
467
 <?
475
   }
475
   }
476
 ?>
476
 ?>
477
       </div>
477
       </div>
478
-      <div id="bar<?=$PostID?>" style="float: right;">
478
+      <div id="bar<?=$PostID?>" class="float_right">
479
         <a href="reports.php?action=report&amp;type=post&amp;id=<?=$PostID?>" class="brackets">Report</a>
479
         <a href="reports.php?action=report&amp;type=post&amp;id=<?=$PostID?>" class="brackets">Report</a>
480
 <?
480
 <?
481
   if (check_perms('users_warn') && $AuthorID != $LoggedUser['ID']) {
481
   if (check_perms('users_warn') && $AuthorID != $LoggedUser['ID']) {
645
       <tr>
645
       <tr>
646
         <td colspan="2" class="center">
646
         <td colspan="2" class="center">
647
           <input type="submit" value="Edit thread" tabindex="2" />
647
           <input type="submit" value="Edit thread" tabindex="2" />
648
-          <span style="float: right;">
648
+          <span class="float_right">
649
             <input type="submit" name="trash" value="Trash" tabindex="2" />
649
             <input type="submit" name="trash" value="Trash" tabindex="2" />
650
           </span>
650
           </span>
651
         </td>
651
         </td>

+ 2
- 2
sections/friends/friends.php View File

73
   <table class="friends_table vertical_margin">
73
   <table class="friends_table vertical_margin">
74
     <tr class="colhead">
74
     <tr class="colhead">
75
       <td colspan="<?=(Users::has_avatars_enabled() ? 3 : 2)?>">
75
       <td colspan="<?=(Users::has_avatars_enabled() ? 3 : 2)?>">
76
-        <span style="float: left;"><?=Users::format_username($FriendID, true, true, true, true)?>
76
+        <span class="float_left"><?=Users::format_username($FriendID, true, true, true, true)?>
77
 <?  if (check_paranoia('ratio', $Paranoia, $Class, $FriendID)) { ?>
77
 <?  if (check_paranoia('ratio', $Paranoia, $Class, $FriendID)) { ?>
78
         &nbsp;Ratio: <strong><?=Format::get_ratio_html($Uploaded, $Downloaded)?></strong>
78
         &nbsp;Ratio: <strong><?=Format::get_ratio_html($Uploaded, $Downloaded)?></strong>
79
 <?
79
 <?
89
 <?  } ?>
89
 <?  } ?>
90
         </span>
90
         </span>
91
 <?  if (check_paranoia('lastseen', $Paranoia, $Class, $FriendID)) { ?>
91
 <?  if (check_paranoia('lastseen', $Paranoia, $Class, $FriendID)) { ?>
92
-        <span style="float: right;"><?=time_diff($LastAccess)?></span>
92
+        <span class="float_right"><?=time_diff($LastAccess)?></span>
93
 <?  } ?>
93
 <?  } ?>
94
       </td>
94
       </td>
95
     </tr>
95
     </tr>

+ 2
- 2
sections/inbox/conversation.php View File

87
 ?>
87
 ?>
88
   <div class="box vertical_space">
88
   <div class="box vertical_space">
89
     <div class="head" style="overflow: hidden;">
89
     <div class="head" style="overflow: hidden;">
90
-      <div style="float: left;">
90
+      <div class="float_left">
91
         <strong><?=$Users[(int)$SenderID]['UserStr']?></strong> <?=time_diff($SentDate)?> - <a href="#quickpost" onclick="Quote('<?=$MessageID?>','<?=$Users[(int)$SenderID]['Username']?>');" class="brackets">Quote</a>
91
         <strong><?=$Users[(int)$SenderID]['UserStr']?></strong> <?=time_diff($SentDate)?> - <a href="#quickpost" onclick="Quote('<?=$MessageID?>','<?=$Users[(int)$SenderID]['Username']?>');" class="brackets">Quote</a>
92
       </div>
92
       </div>
93
-      <div style="float: right;"><a href="#">&uarr;</a> <a href="#messageform">&darr;</a></div>
93
+      <div class="float_right"><a href="#">&uarr;</a> <a href="#messageform">&darr;</a></div>
94
     </div>
94
     </div>
95
     <div class="body" id="message<?=$MessageID?>">
95
     <div class="body" id="message<?=$MessageID?>">
96
       <?=Text::full_format($Body)?>
96
       <?=Text::full_format($Body)?>

+ 1
- 1
sections/inbox/inbox.php View File

94
         <input type="radio" name="searchtype" value="user"<?=(empty($_GET['searchtype']) || $_GET['searchtype'] === 'user' ? ' checked="checked"' : '')?> /> User
94
         <input type="radio" name="searchtype" value="user"<?=(empty($_GET['searchtype']) || $_GET['searchtype'] === 'user' ? ' checked="checked"' : '')?> /> User
95
         <input type="radio" name="searchtype" value="subject"<?=(!empty($_GET['searchtype']) && $_GET['searchtype'] === 'subject' ? ' checked="checked"' : '')?> /> Subject
95
         <input type="radio" name="searchtype" value="subject"<?=(!empty($_GET['searchtype']) && $_GET['searchtype'] === 'subject' ? ' checked="checked"' : '')?> /> Subject
96
         <input type="radio" name="searchtype" value="message"<?=(!empty($_GET['searchtype']) && $_GET['searchtype'] === 'message' ? ' checked="checked"' : '')?> /> Message
96
         <input type="radio" name="searchtype" value="message"<?=(!empty($_GET['searchtype']) && $_GET['searchtype'] === 'message' ? ' checked="checked"' : '')?> /> Message
97
-        <span style="float: right;">
97
+        <span class="float_right">
98
 <?      // provide a temporary toggle for sorting PMs
98
 <?      // provide a temporary toggle for sorting PMs
99
     $ToggleTitle = 'Temporary toggle switch for sorting PMs. To permanently change the sorting behavior, edit the setting in your profile.';
99
     $ToggleTitle = 'Temporary toggle switch for sorting PMs. To permanently change the sorting behavior, edit the setting in your profile.';
100
     $BaseURL = 'inbox.php';
100
     $BaseURL = 'inbox.php';

+ 1
- 1
sections/index/private.php View File

514
 <?  if (check_perms('admin_manage_news')) { ?>
514
 <?  if (check_perms('admin_manage_news')) { ?>
515
         - <a href="tools.php?action=editnews&amp;id=<?=$NewsID?>" class="brackets">Edit</a>
515
         - <a href="tools.php?action=editnews&amp;id=<?=$NewsID?>" class="brackets">Edit</a>
516
 <?  } ?>
516
 <?  } ?>
517
-      <span style="float: right;"><a data-toggle-target="#newsbody<?=$NewsID?>" data-toggle-replace="Show" class="brackets">Hide</a></span>
517
+      <span class="float_right"><a data-toggle-target="#newsbody<?=$NewsID?>" data-toggle-replace="Show" class="brackets">Hide</a></span>
518
       </div>
518
       </div>
519
       <div id="newsbody<?=$NewsID?>" class="pad"><?=Text::full_format($Body)?></div>
519
       <div id="newsbody<?=$NewsID?>" class="pad"><?=Text::full_format($Body)?></div>
520
     </div>
520
     </div>

+ 1
- 1
sections/questions/popular_questions.php View File

41
           <a class="post_id" href="questions.php?action=popular_questions#question<?=$Question['ID']?>">#<?=$Question['ID']?></a>
41
           <a class="post_id" href="questions.php?action=popular_questions#question<?=$Question['ID']?>">#<?=$Question['ID']?></a>
42
           Question by <?=Users::format_username($Question['UserID'])?> - <?=time_diff($Question['QuestionDate'])?>
42
           Question by <?=Users::format_username($Question['UserID'])?> - <?=time_diff($Question['QuestionDate'])?>
43
         </span>
43
         </span>
44
-        <span style="float: right;">
44
+        <span class="float_right">
45
           <a href="#" id="<?=$Question['ID']?>" class="view_responses brackets"><?=$Question['Responses'] == 1 ? ("View " . $Question['Responses'] . " response") : ("View " . $Question['Responses'] . " responses")?></a>
45
           <a href="#" id="<?=$Question['ID']?>" class="view_responses brackets"><?=$Question['Responses'] == 1 ? ("View " . $Question['Responses'] . " response") : ("View " . $Question['Responses'] . " responses")?></a>
46
 <?    if (check_perms("users_mod")) { ?>
46
 <?    if (check_perms("users_mod")) { ?>
47
           -
47
           -

+ 1
- 1
sections/questions/questions.php View File

65
         <a class="post_id" href="questions.php#question<?=$Question['ID']?>">#<?=$Question['ID']?></a>
65
         <a class="post_id" href="questions.php#question<?=$Question['ID']?>">#<?=$Question['ID']?></a>
66
         <?=Users::format_username($Question['UserID'])?> - <?=time_diff($Question['Date'])?>
66
         <?=Users::format_username($Question['UserID'])?> - <?=time_diff($Question['Date'])?>
67
       </span>
67
       </span>
68
-      <span style="float: right;">
68
+      <span class="float_right">
69
 <?        if ($Question['Responses'] > 0) { ?>
69
 <?        if ($Question['Responses'] > 0) { ?>
70
           <a href="#" id="<?=$Question['ID']?>" class="view_responses brackets"><?=$Question['Responses'] == 1 ? ("View " . $Question['Responses'] . " response") : ("View " . $Question['Responses'] . " responses")?></a>
70
           <a href="#" id="<?=$Question['ID']?>" class="view_responses brackets"><?=$Question['Responses'] == 1 ? ("View " . $Question['Responses'] . " response") : ("View " . $Question['Responses'] . " responses")?></a>
71
           -
71
           -

+ 1
- 1
sections/questions/view_answers.php View File

55
         <a class="post_id" href="questions.php?action=view_answers&amp;userid=<?=$UserID?>#question<?=$Question['ID']?>">#<?=$Question['ID']?></a>
55
         <a class="post_id" href="questions.php?action=view_answers&amp;userid=<?=$UserID?>#question<?=$Question['ID']?>">#<?=$Question['ID']?></a>
56
         Question by <?=Users::format_username($Question['UserID'])?> - <?=time_diff($Question['QuestionDate'])?>
56
         Question by <?=Users::format_username($Question['UserID'])?> - <?=time_diff($Question['QuestionDate'])?>
57
       </span>
57
       </span>
58
-      <span style="float: right;">
58
+      <span class="float_right">
59
 <?    if ($Question['Responses'] > 0) { ?>
59
 <?    if ($Question['Responses'] > 0) { ?>
60
         <a href="#" data-gazelle-userid="<?=$UserID?>" id="<?=$Question['ID']?>" class="view_responses brackets"><?=$Question['Responses'] == 1 ? ("View " . $Question['Responses'] . " other response") : ("View " . $Question['Responses'] . " other responses")?></a>
60
         <a href="#" data-gazelle-userid="<?=$UserID?>" id="<?=$Question['ID']?>" class="view_responses brackets"><?=$Question['Responses'] == 1 ? ("View " . $Question['Responses'] . " other response") : ("View " . $Question['Responses'] . " other responses")?></a>
61
         -
61
         -

+ 1
- 1
sections/staffblog/index.php View File

84
     <div class="box box2 thin">
84
     <div class="box box2 thin">
85
       <div class="head">
85
       <div class="head">
86
         <?=((empty($_GET['action'])) ? 'Create a staff blog post' : 'Edit staff blog post')?>
86
         <?=((empty($_GET['action'])) ? 'Create a staff blog post' : 'Edit staff blog post')?>
87
-        <span style="float: right;">
87
+        <span class="float_right">
88
           <a data-toggle-target="#postform" data-toggle-replace="<?=(($_REQUEST['action'] != 'editblog') ? 'Hide' : 'Show')?>" class="brackets"><?=(($_REQUEST['action'] != 'editblog') ? 'Show' : 'Hide')?></a>
88
           <a data-toggle-target="#postform" data-toggle-replace="<?=(($_REQUEST['action'] != 'editblog') ? 'Hide' : 'Show')?>" class="brackets"><?=(($_REQUEST['action'] != 'editblog') ? 'Show' : 'Hide')?></a>
89
         </span>
89
         </span>
90
       </div>
90
       </div>

+ 2
- 2
sections/store/store.php View File

39
 <div class="thin">
39
 <div class="thin">
40
   <h2 id="general">Store</h2>
40
   <h2 id="general">Store</h2>
41
   <div class="box pad">
41
   <div class="box pad">
42
-    <h3 id="lists" style="float: left;">You have <?=number_format($LoggedUser['BonusPoints'])?> <?=BONUS_POINTS?> to spend</h3>
43
-    <h3 id="lists" style="float: right;">You're making <?=$PointsPerHour?> (<?=$PointsPerDay?>)</h3>
42
+    <h3 id="lists" class="float_left">You have <?=number_format($LoggedUser['BonusPoints'])?> <?=BONUS_POINTS?> to spend</h3>
43
+    <h3 id="lists" class="float_right">You're making <?=$PointsPerHour?> (<?=$PointsPerDay?>)</h3>
44
     <table width="100%" class="store_table">
44
     <table width="100%" class="store_table">
45
       <tr class="colhead">
45
       <tr class="colhead">
46
         <td style="width: 100px;">Item</td>
46
         <td style="width: 100px;">Item</td>

+ 8
- 8
sections/tools/data/registration_log.php View File

118
       <td><?=Users::format_username($UserID, true, true, true, true)?><br /><?=Users::format_username($InviterID, true, true, true, true)?></td>
118
       <td><?=Users::format_username($UserID, true, true, true, true)?><br /><?=Users::format_username($InviterID, true, true, true, true)?></td>
119
       <td><?=Format::get_ratio_html($Uploaded, $Downloaded)?><br /><?=Format::get_ratio_html($InviterUploaded, $InviterDownloaded)?></td>
119
       <td><?=Format::get_ratio_html($Uploaded, $Downloaded)?><br /><?=Format::get_ratio_html($InviterUploaded, $InviterDownloaded)?></td>
120
       <td>
120
       <td>
121
-        <span style="float: left;"><?=display_str($Email)?></span>
122
-        <span style="float: right;"><a href="userhistory.php?action=email&amp;userid=<?=$UserID?>" title="History" class="brackets tooltip">H</a> <a href="/user.php?action=search&amp;email_history=on&amp;email=<?=display_str($Email)?>" title="Search" class="brackets tooltip">S</a></span><br />
123
-        <span style="float: left;"><?=display_str($InviterEmail)?></span>
124
-        <span style="float: right;"><a href="userhistory.php?action=email&amp;userid=<?=$InviterID?>" title="History" class="brackets tooltip">H</a> <a href="/user.php?action=search&amp;email_history=on&amp;email=<?=display_str($InviterEmail)?>" title="Search" class="brackets tooltip">S</a></span><br />
121
+        <span class="float_left"><?=display_str($Email)?></span>
122
+        <span class="float_right"><a href="userhistory.php?action=email&amp;userid=<?=$UserID?>" title="History" class="brackets tooltip">H</a> <a href="/user.php?action=search&amp;email_history=on&amp;email=<?=display_str($Email)?>" title="Search" class="brackets tooltip">S</a></span><br />
123
+        <span class="float_left"><?=display_str($InviterEmail)?></span>
124
+        <span class="float_right"><a href="userhistory.php?action=email&amp;userid=<?=$InviterID?>" title="History" class="brackets tooltip">H</a> <a href="/user.php?action=search&amp;email_history=on&amp;email=<?=display_str($InviterEmail)?>" title="Search" class="brackets tooltip">S</a></span><br />
125
       </td>
125
       </td>
126
       <td>
126
       <td>
127
-        <span style="float: left;"><?=display_str($IP)?></span>
128
-        <span style="float: right;"><?=display_str($Uses)?> <a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>" title="History" class="brackets tooltip">H</a> <a href="/user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($IP)?>" title="Search" class="brackets tooltip">S</a> <a href="http://whatismyipaddress.com/ip/<?=display_str($IP)?>" title="WI" class="brackets tooltip">WI</a></span><br />
129
-        <span style="float: left;"><?=display_str($InviterIP)?></span>
130
-        <span style="float: right;"><?=display_str($InviterUses)?> <a href="userhistory.php?action=ips&amp;userid=<?=$InviterID?>" title="History" class="brackets tooltip">H</a> <a href="/user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($InviterIP)?>" title="Search" class="brackets tooltip">S</a> <a href="http://whatismyipaddress.com/ip/<?=display_str($InviterIP)?>" title="WI" class="brackets tooltip">WI</a></span><br />
127
+        <span class="float_left"><?=display_str($IP)?></span>
128
+        <span class="float_right"><?=display_str($Uses)?> <a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>" title="History" class="brackets tooltip">H</a> <a href="/user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($IP)?>" title="Search" class="brackets tooltip">S</a> <a href="http://whatismyipaddress.com/ip/<?=display_str($IP)?>" title="WI" class="brackets tooltip">WI</a></span><br />
129
+        <span class="float_left"><?=display_str($InviterIP)?></span>
130
+        <span class="float_right"><?=display_str($InviterUses)?> <a href="userhistory.php?action=ips&amp;userid=<?=$InviterID?>" title="History" class="brackets tooltip">H</a> <a href="/user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($InviterIP)?>" title="Search" class="brackets tooltip">S</a> <a href="http://whatismyipaddress.com/ip/<?=display_str($InviterIP)?>" title="WI" class="brackets tooltip">WI</a></span><br />
131
       </td>
131
       </td>
132
       <td>
132
       <td>
133
         <?=$IPCC?> <br />
133
         <?=$IPCC?> <br />

+ 22
- 22
sections/tools/development/render_base.html View File

139
                     </h4>
139
                     </h4>
140
                   </td>
140
                   </td>
141
                   <td>
141
                   <td>
142
-                    <span class="last_topic" style="float: left;">
142
+                    <span class="last_topic float_left">
143
                       <a title="New Site Announcements" href="#">New Site Announcements</a>
143
                       <a title="New Site Announcements" href="#">New Site Announcements</a>
144
                     </span>
144
                     </span>
145
-                    <span title="Jump to last read" class="last_read" style="float: left;">
145
+                    <span title="Jump to last read" class="last_read float_left">
146
                       <a href="#"></a>
146
                       <a href="#"></a>
147
                     </span>
147
                     </span>
148
-                    <span class="last_poster" style="float: right;">by <a href="#">Ananke</a> <span title="Aug 14 1992, 18:35" class="time">Just now</span></span>
148
+                    <span class="last_poster float_right">by <a href="#">Ananke</a> <span title="Aug 14 1992, 18:35" class="time">Just now</span></span>
149
                   </td>
149
                   </td>
150
                   <td>385</td>
150
                   <td>385</td>
151
                   <td>95,197</td>
151
                   <td>95,197</td>
158
                     </h4>
158
                     </h4>
159
                   </td>
159
                   </td>
160
                   <td>
160
                   <td>
161
-                    <span class="last_topic" style="float: left;">
161
+                    <span class="last_topic float_left">
162
                       <a title="Dear Mortals, you have violated the rule..." href="#">Dear Mortals, you have violated the rule...</a>
162
                       <a title="Dear Mortals, you have violated the rule..." href="#">Dear Mortals, you have violated the rule...</a>
163
                     </span>
163
                     </span>
164
-                    <span class="last_poster" style="float: right;">by <a href="#">Drone</a> <span title="Sep 9 1992, 10:55" class="time">3 mins ago</span></span>
164
+                    <span class="last_poster float_right">by <a href="#">Drone</a> <span title="Sep 9 1992, 10:55" class="time">3 mins ago</span></span>
165
                   </td>
165
                   </td>
166
                   <td>2,624</td>
166
                   <td>2,624</td>
167
                   <td>110,432</td>
167
                   <td>110,432</td>
186
                     </h4>
186
                     </h4>
187
                   </td>
187
                   </td>
188
                   <td>
188
                   <td>
189
-                    <span class="last_topic" style="float: left;">
189
+                    <span class="last_topic float_left">
190
                       <a title="Last stand against Drone?" href="#">Last stand against Drone?</a>
190
                       <a title="Last stand against Drone?" href="#">Last stand against Drone?</a>
191
                     </span>
191
                     </span>
192
-                    <span title="Jump to last read" class="last_read" style="float: left;">
192
+                    <span title="Jump to last read" class="last_read float_left">
193
                       <a href="#"></a>
193
                       <a href="#"></a>
194
                     </span>
194
                     </span>
195
-                    <span class="last_poster" style="float: right;">by <a href="#">Ajax</a> <span class="time">Just now</span></span>
195
+                    <span class="last_poster float_right">by <a href="#">Ajax</a> <span class="time">Just now</span></span>
196
                   </td>
196
                   </td>
197
                   <td>37,531</td>
197
                   <td>37,531</td>
198
                   <td>1,545,089</td>
198
                   <td>1,545,089</td>
205
                     </h4>
205
                     </h4>
206
                   </td>
206
                   </td>
207
                   <td>
207
                   <td>
208
-                    <span class="last_topic" style="float: left;">
208
+                    <span class="last_topic float_left">
209
                       <a title="No fun allowed" href="#">No fun allowed</a>
209
                       <a title="No fun allowed" href="#">No fun allowed</a>
210
                     </span>
210
                     </span>
211
-                    <span class="last_poster" style="float: right;">by <a href="#">Drone</a> <span class="time">10 mins ago</span></span>
211
+                    <span class="last_poster float_right">by <a href="#">Drone</a> <span class="time">10 mins ago</span></span>
212
                   </td>
212
                   </td>
213
                   <td>424</td>
213
                   <td>424</td>
214
                   <td>490,163</td>
214
                   <td>490,163</td>
221
                     </h4>
221
                     </h4>
222
                   </td>
222
                   </td>
223
                   <td>
223
                   <td>
224
-                    <span class="last_topic" style="float: left;">
224
+                    <span class="last_topic float_left">
225
                       <a title="List of forbidden literature" href="#">List of forbidden literature</a>
225
                       <a title="List of forbidden literature" href="#">List of forbidden literature</a>
226
                     </span>
226
                     </span>
227
-                    <span class="last_poster" style="float: right;">by <a href="#">Drone</a> <span class="time">7 hours ago</span></span>
227
+                    <span class="last_poster float_right">by <a href="#">Drone</a> <span class="time">7 hours ago</span></span>
228
                   </td>
228
                   </td>
229
                   <td>424</td>
229
                   <td>424</td>
230
                   <td>490,163</td>
230
                   <td>490,163</td>
237
                     </h4>
237
                     </h4>
238
                   </td>
238
                   </td>
239
                   <td>
239
                   <td>
240
-                    <span class="last_topic" style="float: left;">
240
+                    <span class="last_topic float_left">
241
                       <a title="[Region] The Void" href="#">[Region] The Void</a>
241
                       <a title="[Region] The Void" href="#">[Region] The Void</a>
242
                     </span>
242
                     </span>
243
-                    <span class="last_poster" style="float: right;">by <a href="#">Drone</a> <span class="time">25 mins ago</span></span>
243
+                    <span class="last_poster float_right">by <a href="#">Drone</a> <span class="time">25 mins ago</span></span>
244
                   </td>
244
                   </td>
245
                   <td>305</td>
245
                   <td>305</td>
246
                   <td>15,231</td>
246
                   <td>15,231</td>
253
                     </h4>
253
                     </h4>
254
                   </td>
254
                   </td>
255
                   <td>
255
                   <td>
256
-                    <span class="last_topic" style="float: left;">
256
+                    <span class="last_topic float_left">
257
                       <a title="How did Drone take over the site?" href="#">How did Drone take over the site?</a>
257
                       <a title="How did Drone take over the site?" href="#">How did Drone take over the site?</a>
258
                     </span>
258
                     </span>
259
-                    <span title="Jump to last read" class="last_read" style="float: left;">
259
+                    <span title="Jump to last read" class="last_read float_left">
260
                       <a href="#"></a>
260
                       <a href="#"></a>
261
                     </span>
261
                     </span>
262
-                    <span class="last_poster" style="float: right;">by <a href="#">Etheryte</a> <span class="time">5 mins ago</span></span>
262
+                    <span class="last_poster float_right">by <a href="#">Etheryte</a> <span class="time">5 mins ago</span></span>
263
                   </td>
263
                   </td>
264
                   <td>25,031</td>
264
                   <td>25,031</td>
265
                   <td>386,278</td>
265
                   <td>386,278</td>
284
                     </h4>
284
                     </h4>
285
                   </td>
285
                   </td>
286
                   <td>
286
                   <td>
287
-                    <span class="last_topic" style="float: left;">
287
+                    <span class="last_topic float_left">
288
                       <a title="Where did all the non-drone threads go?" href="#">Where did all the non-drone threads go?</a>
288
                       <a title="Where did all the non-drone threads go?" href="#">Where did all the non-drone threads go?</a>
289
                     </span>
289
                     </span>
290
-                    <span title="Jump to last read" class="last_read" style="float: left;">
290
+                    <span title="Jump to last read" class="last_read float_left">
291
                       <a href="#"></a>
291
                       <a href="#"></a>
292
                     </span>
292
                     </span>
293
-                    <span class="last_poster" style="float: right;">by <a href="#">tuutiki</a> <span class="time">1 min ago</span></span>
293
+                    <span class="last_poster float_right">by <a href="#">tuutiki</a> <span class="time">1 min ago</span></span>
294
                   </td>
294
                   </td>
295
                   <td>22,564</td>
295
                   <td>22,564</td>
296
                   <td>608,253</td>
296
                   <td>608,253</td>
303
                     </h4>
303
                     </h4>
304
                   </td>
304
                   </td>
305
                   <td>
305
                   <td>
306
-                    <span class="last_topic" style="float: left;">
306
+                    <span class="last_topic float_left">
307
                       <a title="Drone - Drone [EP] (drone, noise)" href="#">Drone - Drone [EP] (drone, noise)</a>
307
                       <a title="Drone - Drone [EP] (drone, noise)" href="#">Drone - Drone [EP] (drone, noise)</a>
308
                     </span>
308
                     </span>
309
-                    <span class="last_poster" style="float: right;">by <a href="#">Drone</a> <span class="time">Just now</span></span>
309
+                    <span class="last_poster float_right">by <a href="#">Drone</a> <span class="time">Just now</span></span>
310
                   </td>
310
                   </td>
311
                   <td>3,948</td>
311
                   <td>3,948</td>
312
                   <td>24,269</td>
312
                   <td>24,269</td>

+ 13
- 13
sections/tools/development/service_stats.php View File

24
       <tr><td colspan="2"><strong>Threads (Active)</strong></td></tr>
24
       <tr><td colspan="2"><strong>Threads (Active)</strong></td></tr>
25
       <tr>
25
       <tr>
26
         <td>Cache:</td>
26
         <td>Cache:</td>
27
-        <td><?=number_format($MemStats['threads'])?> <span style="float: right;">(100.000%)</span></td>
27
+        <td><?=number_format($MemStats['threads'])?> <span class="float_right">(100.000%)</span></td>
28
       </tr>
28
       </tr>
29
       <tr>
29
       <tr>
30
         <td<? if ($DBStats['Threads_connected']['Value'] / $DBStats['Threads_created']['Value'] > 0.7) { echo ' class="invalid" '; } ?>>Database:</td>
30
         <td<? if ($DBStats['Threads_connected']['Value'] / $DBStats['Threads_created']['Value'] > 0.7) { echo ' class="invalid" '; } ?>>Database:</td>
31
-        <td><?=number_format($DBStats['Threads_created']['Value'])?> <span style="float: right;">(<?=number_format(($DBStats['Threads_connected']['Value'] / $DBStats['Threads_created']['Value']) * 100,3)?>%)</span></td>
31
+        <td><?=number_format($DBStats['Threads_created']['Value'])?> <span class="float_right">(<?=number_format(($DBStats['Threads_connected']['Value'] / $DBStats['Threads_created']['Value']) * 100,3)?>%)</span></td>
32
       </tr>
32
       </tr>
33
       <tr><td colspan="2"></td></tr>
33
       <tr><td colspan="2"></td></tr>
34
       <tr><td colspan="2"><strong>Connections</strong></td></tr>
34
       <tr><td colspan="2"><strong>Connections</strong></td></tr>
52
       </tr>
52
       </tr>
53
       <tr>
53
       <tr>
54
         <td<? if ($MemStats['bytes'] / $MemStats['limit_maxbytes'] > 0.85) { echo ' class="tooltip invalid" title="Evictions begin when storage exceeds 85%" '; } ?>>Cache Storage:</td>
54
         <td<? if ($MemStats['bytes'] / $MemStats['limit_maxbytes'] > 0.85) { echo ' class="tooltip invalid" title="Evictions begin when storage exceeds 85%" '; } ?>>Cache Storage:</td>
55
-        <td><?=Format::get_size($MemStats['bytes'])?> <span style="float: right;">(<?=number_format(($MemStats['bytes'] / $MemStats['limit_maxbytes']) * 100, 3);?>%)</span></td>
55
+        <td><?=Format::get_size($MemStats['bytes'])?> <span class="float_right">(<?=number_format(($MemStats['bytes'] / $MemStats['limit_maxbytes']) * 100, 3);?>%)</span></td>
56
       </tr>
56
       </tr>
57
       <tr><td colspan="2"></td></tr>
57
       <tr><td colspan="2"></td></tr>
58
       <tr><td colspan="2"><strong>Utilities</strong></td></tr>
58
       <tr><td colspan="2"><strong>Utilities</strong></td></tr>
96
       <tr><td colspan="2"><strong>Get/Select (Success)</strong></td></tr>
96
       <tr><td colspan="2"><strong>Get/Select (Success)</strong></td></tr>
97
       <tr>
97
       <tr>
98
         <td<? if ($MemStats['get_hits'] / $MemStats['cmd_get'] < 0.7) { echo ' class="invalid" '; } ?>>Cache:</td>
98
         <td<? if ($MemStats['get_hits'] / $MemStats['cmd_get'] < 0.7) { echo ' class="invalid" '; } ?>>Cache:</td>
99
-        <td><?=number_format($MemStats['get_hits'])?> <span style="float: right;">(<?=number_format(($MemStats['get_hits'] / $MemStats['cmd_get']) * 100, 3);?>%)</span></td>
99
+        <td><?=number_format($MemStats['get_hits'])?> <span class="float_right">(<?=number_format(($MemStats['get_hits'] / $MemStats['cmd_get']) * 100, 3);?>%)</span></td>
100
       </tr>
100
       </tr>
101
       <tr>
101
       <tr>
102
         <td>Database:</td>
102
         <td>Database:</td>
103
-        <td><?=number_format($DBStats['Com_select']['Value'])?> <span style="float: right;">(100.000%)</span></td>
103
+        <td><?=number_format($DBStats['Com_select']['Value'])?> <span class="float_right">(100.000%)</span></td>
104
       </tr>
104
       </tr>
105
       <tr><td colspan="2"><strong>Set/Insert (Success)</strong></td></tr>
105
       <tr><td colspan="2"><strong>Set/Insert (Success)</strong></td></tr>
106
       <tr>
106
       <tr>
107
         <td>Cache:</td>
107
         <td>Cache:</td>
108
-        <td><?=number_format($MemStats['cmd_set'])?> <span style="float: right;">(100.000%)</span></td>
108
+        <td><?=number_format($MemStats['cmd_set'])?> <span class="float_right">(100.000%)</span></td>
109
       </tr>
109
       </tr>
110
       <tr>
110
       <tr>
111
         <td>Database:</td>
111
         <td>Database:</td>
112
-        <td><?=number_format($DBStats['Com_insert']['Value'])?> <span style="float: right;">(100.000%)</span></td>
112
+        <td><?=number_format($DBStats['Com_insert']['Value'])?> <span class="float_right">(100.000%)</span></td>
113
       </tr>
113
       </tr>
114
       <tr><td colspan="2"><strong>Increment/Decrement (Success)</strong></td></tr>
114
       <tr><td colspan="2"><strong>Increment/Decrement (Success)</strong></td></tr>
115
       <tr>
115
       <tr>
116
         <td<? if ($MemStats['incr_hits']/($MemStats['incr_hits'] + $MemStats['incr_misses']) < 0.7) { echo ' class="invalid" '; } ?>>Cache Increment:</td>
116
         <td<? if ($MemStats['incr_hits']/($MemStats['incr_hits'] + $MemStats['incr_misses']) < 0.7) { echo ' class="invalid" '; } ?>>Cache Increment:</td>
117
-        <td><?=number_format($MemStats['incr_hits'])?> <span style="float: right;">(<?=number_format(($MemStats['incr_hits'] / ($MemStats['incr_hits'] + $MemStats['incr_misses'])) * 100, 3);?>%)</span></td>
117
+        <td><?=number_format($MemStats['incr_hits'])?> <span class="float_right">(<?=number_format(($MemStats['incr_hits'] / ($MemStats['incr_hits'] + $MemStats['incr_misses'])) * 100, 3);?>%)</span></td>
118
       </tr>
118
       </tr>
119
       <tr>
119
       <tr>
120
         <td<? if ($MemStats['decr_hits'] / ($MemStats['decr_hits'] + $MemStats['decr_misses']) < 0.7) { echo ' class="invalid" '; } ?>>Cache Decrement:</td>
120
         <td<? if ($MemStats['decr_hits'] / ($MemStats['decr_hits'] + $MemStats['decr_misses']) < 0.7) { echo ' class="invalid" '; } ?>>Cache Decrement:</td>
121
-        <td><?=number_format($MemStats['decr_hits'])?> <span style="float: right;">(<?=number_format(($MemStats['decr_hits'] / ($MemStats['decr_hits'] + $MemStats['decr_misses'])) * 100, 3);?>%)</span></td>
121
+        <td><?=number_format($MemStats['decr_hits'])?> <span class="float_right">(<?=number_format(($MemStats['decr_hits'] / ($MemStats['decr_hits'] + $MemStats['decr_misses'])) * 100, 3);?>%)</span></td>
122
       </tr>
122
       </tr>
123
       <tr><td colspan="2"><strong>CAS/Update (Success)</strong></td></tr>
123
       <tr><td colspan="2"><strong>CAS/Update (Success)</strong></td></tr>
124
       <tr>
124
       <tr>
125
         <td<? if ($MemStats['cas_hits'] > 0 && $MemStats['cas_hits'] / ($MemStats['cas_hits'] + $MemStats['cas_misses']) < 0.7) { echo ' class="tooltip invalid" title="More than 30% of the issued CAS commands were unnecessarily wasting time and resources." '; } elseif ($MemStats['cas_hits'] == 0) { echo ' class="tooltip notice" title="Disable CAS with the -C parameter and save resources since it is not used." '; } ?>>Cache:</td>
125
         <td<? if ($MemStats['cas_hits'] > 0 && $MemStats['cas_hits'] / ($MemStats['cas_hits'] + $MemStats['cas_misses']) < 0.7) { echo ' class="tooltip invalid" title="More than 30% of the issued CAS commands were unnecessarily wasting time and resources." '; } elseif ($MemStats['cas_hits'] == 0) { echo ' class="tooltip notice" title="Disable CAS with the -C parameter and save resources since it is not used." '; } ?>>Cache:</td>
126
-        <td><?=number_format($MemStats['cas_hits'])?> <span style="float: right;">(<? if ($MemStats['cas_hits'] > 0) { echo number_format(($MemStats['cas_hits'] / ($MemStats['cas_hits'] + $MemStats['cas_misses'])) * 100, 3); } else { echo '0.000'; } ?>%)</span></td>
126
+        <td><?=number_format($MemStats['cas_hits'])?> <span class="float_right">(<? if ($MemStats['cas_hits'] > 0) { echo number_format(($MemStats['cas_hits'] / ($MemStats['cas_hits'] + $MemStats['cas_misses'])) * 100, 3); } else { echo '0.000'; } ?>%)</span></td>
127
       </tr>
127
       </tr>
128
       <tr>
128
       <tr>
129
         <td>Database:</td>
129
         <td>Database:</td>
130
-        <td><?=number_format($DBStats['Com_update']['Value'])?> <span style="float: right;">(100.000%)</span></td>
130
+        <td><?=number_format($DBStats['Com_update']['Value'])?> <span class="float_right">(100.000%)</span></td>
131
       </tr>
131
       </tr>
132
       <tr><td colspan="2"><strong>Deletes (Success)</strong></td></tr>
132
       <tr><td colspan="2"><strong>Deletes (Success)</strong></td></tr>
133
       <tr>
133
       <tr>
134
         <td<? if ($MemStats['delete_hits'] / ($MemStats['delete_hits']+$MemStats['delete_misses']) < 0.7) { echo ' class="tooltip invalid" title="More than 30% of the issued delete commands were unnecessary wasting time and resources." '; } ?>>Cache:</td>
134
         <td<? if ($MemStats['delete_hits'] / ($MemStats['delete_hits']+$MemStats['delete_misses']) < 0.7) { echo ' class="tooltip invalid" title="More than 30% of the issued delete commands were unnecessary wasting time and resources." '; } ?>>Cache:</td>
135
-        <td><?=number_format($MemStats['delete_hits'])?> <span style="float: right;">(<?=number_format(($MemStats['delete_hits'] / ($MemStats['delete_hits'] + $MemStats['delete_misses'])) * 100, 3);?>%)</span></td>
135
+        <td><?=number_format($MemStats['delete_hits'])?> <span class="float_right">(<?=number_format(($MemStats['delete_hits'] / ($MemStats['delete_hits'] + $MemStats['delete_misses'])) * 100, 3);?>%)</span></td>
136
       </tr>
136
       </tr>
137
       <tr>
137
       <tr>
138
         <td>Database:</td>
138
         <td>Database:</td>
139
-        <td><?=number_format($DBStats['Com_delete']['Value'])?> <span style="float: right;">(100.000%)</span></td>
139
+        <td><?=number_format($DBStats['Com_delete']['Value'])?> <span class="float_right">(100.000%)</span></td>
140
       </tr>
140
       </tr>
141
       <tr><td colspan="2"></td></tr>
141
       <tr><td colspan="2"></td></tr>
142
       <tr><td colspan="2"><strong>Special</strong></td></tr>
142
       <tr><td colspan="2"><strong>Special</strong></td></tr>

+ 1
- 1
sections/tools/managers/change_log.php View File

91
     <div class="head">
91
     <div class="head">
92
       <span><?=$Change['Time2']?> by <?=$Change['Author']?></span>
92
       <span><?=$Change['Time2']?> by <?=$Change['Author']?></span>
93
 <?    if ($CanEdit) { ?>
93
 <?    if ($CanEdit) { ?>
94
-      <span style="float: right;">
94
+      <span class="float_right">
95
         <form id="delete_<?=$Change['ID']?>" method="post" action="">
95
         <form id="delete_<?=$Change['ID']?>" method="post" action="">
96
           <input type="hidden" name="perform" value="remove" />
96
           <input type="hidden" name="perform" value="remove" />
97
           <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
97
           <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />

+ 1
- 1
sections/tools/misc/dupe_ip.php View File

63
     <tr class="row<?=$Row?>">
63
     <tr class="row<?=$Row?>">
64
       <td><?=Users::format_username($UserID, true, true, true, true)?></td>
64
       <td><?=Users::format_username($UserID, true, true, true, true)?></td>
65
       <td>
65
       <td>
66
-        <span style="float: left;"><?=Tools::get_host_by_ajax($IP)." ($IP)"?></span><span style="float: right;"><a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>" title="History" class="brackets tooltip">H</a> <a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($IP)?>" title="Search" class="brackets tooltip">S</a></span>
66
+        <span class="float_left"><?=Tools::get_host_by_ajax($IP)." ($IP)"?></span><span class="float_right"><a href="userhistory.php?action=ips&amp;userid=<?=$UserID?>" title="History" class="brackets tooltip">H</a> <a href="user.php?action=search&amp;ip_history=on&amp;ip=<?=display_str($IP)?>" title="Search" class="brackets tooltip">S</a></span>
67
       </td>
67
       </td>
68
       <td><?=display_str($Uses)?></td>
68
       <td><?=display_str($Uses)?></td>
69
       <td><?=time_diff($Joined)?></td>
69
       <td><?=time_diff($Joined)?></td>

+ 2
- 2
sections/torrents/browse.php View File

158
         <span id="ft_advanced_link" class="<?=$HideBasic?>"><a href="#" onclick="return toggleTorrentSearch('advanced');">Advanced</a></span>
158
         <span id="ft_advanced_link" class="<?=$HideBasic?>"><a href="#" onclick="return toggleTorrentSearch('advanced');">Advanced</a></span>
159
         Search
159
         Search
160
       </strong>
160
       </strong>
161
-      <span style="float: right;">
161
+      <span class="float_right">
162
         <a href="#" onclick="return toggleTorrentSearch(0);" id="ft_toggle" class="brackets"><?=$HideFilter ? 'Show' : 'Hide'?></a>
162
         <a href="#" onclick="return toggleTorrentSearch(0);" id="ft_toggle" class="brackets"><?=$HideFilter ? 'Show' : 'Hide'?></a>
163
       </span>
163
       </span>
164
     </div>
164
     </div>
407
         </tr>
407
         </tr>
408
       </table>
408
       </table>
409
       <div class="submit ft_submit">
409
       <div class="submit ft_submit">
410
-        <span style="float: left;"><?=number_format($NumResults)?> Results</span>
410
+        <span class="float_left"><?=number_format($NumResults)?> Results</span>
411
         <input type="submit" value="Filter torrents" />
411
         <input type="submit" value="Filter torrents" />
412
         <input type="hidden" name="action" id="ft_type" value="<?=($AdvancedSearch ? 'advanced' : 'basic')?>" />
412
         <input type="hidden" name="action" id="ft_type" value="<?=($AdvancedSearch ? 'advanced' : 'basic')?>" />
413
         <input type="hidden" name="searchsubmit" value="1" />
413
         <input type="hidden" name="searchsubmit" value="1" />

+ 9
- 9
sections/torrents/details.php View File

226
     if (check_perms('site_edit_wiki') && $WikiImage != '') { ?>
226
     if (check_perms('site_edit_wiki') && $WikiImage != '') { ?>
227
     <div id="add_cover_div">
227
     <div id="add_cover_div">
228
       <div style="padding: 10px;">
228
       <div style="padding: 10px;">
229
-        <span style="float: right;" class="additional_add_artists">
229
+        <span class="additional_add_artists float_right">
230
           <a onclick="addCoverField(); return false;" href="#" class="brackets">Add alternate cover</a>
230
           <a onclick="addCoverField(); return false;" href="#" class="brackets">Add alternate cover</a>
231
         </span>
231
         </span>
232
       </div>
232
       </div>
249
 ?>
249
 ?>
250
     <div class="box box_artists">
250
     <div class="box box_artists">
251
       <div class="head"><strong>Artists</strong>
251
       <div class="head"><strong>Artists</strong>
252
-      <?=check_perms('torrents_edit') ? '<span style="float: right;" class="edit_artists"><a onclick="ArtistManager(); return false;" href="#" class="brackets">Edit</a></span>' : ''?>
252
+      <?=check_perms('torrents_edit') ? '<span class="edit_artists"><a onclick="ArtistManager(); return false;" href="#" class="brackets float_right">Edit</a></span>' : ''?>
253
       </div>
253
       </div>
254
       <ul class="stats nobullet" id="artist_list">
254
       <ul class="stats nobullet" id="artist_list">
255
 <?      foreach ($Artists as $Num => $Artist) { ?>
255
 <?      foreach ($Artists as $Num => $Artist) { ?>
256
         <li class="artist"><?=Artists::display_artist($Artist)?>
256
         <li class="artist"><?=Artists::display_artist($Artist)?>
257
         <? if (check_perms('torrents_edit')) { ?>
257
         <? if (check_perms('torrents_edit')) { ?>
258
-          <span class="remove remove_artist"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=4'); this.parentNode.parentNode.style.display = 'none';" class="brackets tooltip" title="Remove artist">X</a></span>
258
+          <span class="remove remove_artist float_right"><a href="javascript:void(0);" onclick="ajax.get('torrents.php?action=delete_alias&amp;auth=' + authkey + '&amp;groupid=<?=$GroupID?>&amp;artistid=<?=$Artist['id']?>&amp;importance=4'); this.parentNode.parentNode.style.display = 'none';" class="brackets tooltip" title="Remove artist">X</a></span>
259
         <? } ?>
259
         <? } ?>
260
         </li>
260
         </li>
261
 <?        } ?>
261
 <?        } ?>
304
 
304
 
305
 ?>
305
 ?>
306
         <li>
306
         <li>
307
-          <a href="torrents.php?taglist=<?=$Tag['name']?>" style="float: left; display: block;" class="<?=display_str($Tag['class'])?>" ><?=display_str($Tag['display'])?></a>
308
-          <div style="float: right; display: block; letter-spacing: -1px;" class="edit_tags_votes">
307
+          <a href="torrents.php?taglist=<?=$Tag['name']?>" class="float_left <?=display_str($Tag['class'])?>" ><?=display_str($Tag['display'])?></a>
308
+          <div class="edit_tags_votes float_right">
309
 <?    if (check_perms('users_warn')) { ?>
309
 <?    if (check_perms('users_warn')) { ?>
310
           <a href="user.php?id=<?=$Tag['userid']?>" title="View the profile of the user that added this tag" class="brackets tooltip view_tag_user">U</a>
310
           <a href="user.php?id=<?=$Tag['userid']?>" title="View the profile of the user that added this tag" class="brackets tooltip view_tag_user">U</a>
311
 <?    } ?>
311
 <?    } ?>
424
   <table class="filelist_table">
424
   <table class="filelist_table">
425
     <tr class="colhead_dark">
425
     <tr class="colhead_dark">
426
       <td>
426
       <td>
427
-        <div class="filelist_title" style="float: left;">File Names' . $RegenLink . '</div>
428
-        <div class="filelist_path" style="float: right;">' . ($FilePath ? "/$FilePath/" : '') . '</div>
427
+        <div class="filelist_title float_left">File Names' . $RegenLink . '</div>
428
+        <div class="filelist_path float_right">' . ($FilePath ? "/$FilePath/" : '') . '</div>
429
       </td>
429
       </td>
430
       <td class="nobr">
430
       <td class="nobr">
431
         <strong>Size</strong>
431
         <strong>Size</strong>
621
     <div class="box">
621
     <div class="box">
622
       <div class="head">
622
       <div class="head">
623
         <span style="font-weight: bold;">Requests (<?=number_format(count($Requests))?>)</span>
623
         <span style="font-weight: bold;">Requests (<?=number_format(count($Requests))?>)</span>
624
-        <a data-toggle-target="#requests" data-toggle-replace="Hide" style="float: right;" class="brackets">Show</a>
624
+        <a data-toggle-target="#requests" data-toggle-replace="Hide" class="float_right brackets">Show</a>
625
       </div>
625
       </div>
626
       <table id="requests" class="request_table hidden">
626
       <table id="requests" class="request_table hidden">
627
         <tr class="colhead">
627
         <tr class="colhead">
763
 <?
763
 <?
764
     if (count($Screenshots) > 0) {
764
     if (count($Screenshots) > 0) {
765
 ?>
765
 ?>
766
-    <a style="float: right;" class='brackets' data-toggle-target=".torrent_screenshots" data-toggle-replace="Hide">Show</a>
766
+    <a class="float_right brackets" data-toggle-target=".torrent_screenshots" data-toggle-replace="Hide">Show</a>
767
 <?  }
767
 <?  }
768
 
768
 
769
     $DB->query("
769
     $DB->query("

+ 1
- 1
sections/torrents/editgroup.php View File

147
 <?
147
 <?
148
   if ($Contributed || check_perms('screenshots_add') || check_perms('torrents_edit')) {
148
   if ($Contributed || check_perms('screenshots_add') || check_perms('torrents_edit')) {
149
 ?>
149
 ?>
150
-          <a style="float: right;" onclick="AddScreenshotField()" class="brackets">+</a>
150
+          <a class="float_right brackets" onclick="AddScreenshotField()">+</a>
151
 <?
151
 <?
152
   }
152
   }
153
 
153
 

+ 2
- 2
sections/torrents/functions.php View File

311
   <table class="filelist_table">
311
   <table class="filelist_table">
312
     <tr class="colhead_dark">
312
     <tr class="colhead_dark">
313
       <td>
313
       <td>
314
-        <div class="filelist_title" style="float: left;">File Names' . $RegenLink . '</div>
315
-        <div class="filelist_path" style="float: right;">' . ($FilePath ? "/$FilePath/" : '') . '</div>
314
+        <div class="filelist_title float_left">File Names' . $RegenLink . '</div>
315
+        <div class="filelist_path float_right">' . ($FilePath ? "/$FilePath/" : '') . '</div>
316
       </td>
316
       </td>
317
       <td>
317
       <td>
318
         <strong>Size</strong>
318
         <strong>Size</strong>

+ 1
- 1
sections/torrents/user.php View File

460
         </tr>
460
         </tr>
461
       </table>
461
       </table>
462
       <div class="submit">
462
       <div class="submit">
463
-        <span style="float: left;"><?=number_format($TorrentCount)?> Results</span>
463
+        <span class="float_left"><?=number_format($TorrentCount)?> Results</span>
464
         <input type="submit" value="Search torrents" />
464
         <input type="submit" value="Search torrents" />
465
       </div>
465
       </div>
466
     </form>
466
     </form>

+ 2
- 2
sections/user/linkedfunctions.php View File

197
       <input type="hidden" id="form_comment_hash" name="form_comment_hash" value="<?=$CommentHash?>" />
197
       <input type="hidden" id="form_comment_hash" name="form_comment_hash" value="<?=$CommentHash?>" />
198
       <div class="box box2" id="l_a_box">
198
       <div class="box box2" id="l_a_box">
199
         <div class="head">
199
         <div class="head">
200
-          Linked Accounts (<?=max($DupeCount - 1, 0)?>) <span style="float: right;"><a data-toggle-target=".linkedaccounts" class="brackets">Toggle</a></span>
200
+          Linked Accounts (<?=max($DupeCount - 1, 0)?>) <span class="float_right"><a data-toggle-target=".linkedaccounts" class="brackets">Toggle</a></span>
201
         </div>
201
         </div>
202
         <table width="100%" class="layout hidden linkedaccounts">
202
         <table width="100%" class="layout hidden linkedaccounts">
203
           <?=($DupeCount ? "<tr>\n" : '')?>
203
           <?=($DupeCount ? "<tr>\n" : '')?>
235
               <div id="editdupecomments" class="<?=($DupeCount ? 'hidden' : '')?>">
235
               <div id="editdupecomments" class="<?=($DupeCount ? 'hidden' : '')?>">
236
                 <textarea name="dupecomments" onkeyup="resize('dupecommentsbox');" id="dupecommentsbox" cols="65" rows="5" style="width: 98%;"><?=display_str($Comments)?></textarea>
236
                 <textarea name="dupecomments" onkeyup="resize('dupecommentsbox');" id="dupecommentsbox" cols="65" rows="5" style="width: 98%;"><?=display_str($Comments)?></textarea>
237
               </div>
237
               </div>
238
-              <span style="float: right;"><a href="#" onclick="$('#dupecomments').gtoggle(); $('#editdupecomments').gtoggle(); resize('dupecommentsbox'); return false;" class="brackets">Edit linked account comments</a></span>
238
+              <span class="float_right"><a href="#" onclick="$('#dupecomments').gtoggle(); $('#editdupecomments').gtoggle(); resize('dupecommentsbox'); return false;" class="brackets">Edit linked account comments</a></span>
239
             </td>
239
             </td>
240
           </tr>
240
           </tr>
241
         </table>
241
         </table>

+ 8
- 8
sections/user/user.php View File

667
     <div class="box">
667
     <div class="box">
668
       <div class="head">
668
       <div class="head">
669
         <?=!empty($InfoTitle) ? $InfoTitle : 'Profile';?>
669
         <?=!empty($InfoTitle) ? $InfoTitle : 'Profile';?>
670
-        <span style="float: right;"><a data-toggle-target="#profilediv" data-toggle-replace="Show" class="brackets">Hide</a></span>&nbsp;
670
+        <span class="float_right"><a data-toggle-target="#profilediv" data-toggle-replace="Show" class="brackets">Hide</a></span>&nbsp;
671
       </div>
671
       </div>
672
       <div class="pad profileinfo" id="profilediv">
672
       <div class="pad profileinfo" id="profilediv">
673
 <?
673
 <?
715
   <div class="box" id="recent_snatches">
715
   <div class="box" id="recent_snatches">
716
     <div class="head">
716
     <div class="head">
717
       Recent Snatches
717
       Recent Snatches
718
-      <span style="float: right;"><a onclick="$('#recent_snatches_images').gtoggle(); this.innerHTML = (this.innerHTML == 'Hide' ? 'Show' : 'Hide'); wall('#recent_snatches_images', '.collage_image', [2,3]); return false;" class="brackets">Show</a></span>&nbsp;
718
+      <span class="float_right"><a onclick="$('#recent_snatches_images').gtoggle(); this.innerHTML = (this.innerHTML == 'Hide' ? 'Show' : 'Hide'); wall('#recent_snatches_images', '.collage_image', [2,3]); return false;" class="brackets">Show</a></span>&nbsp;
719
     </div>
719
     </div>
720
     <div id="recent_snatches_images" class="collage_images hidden">
720
     <div id="recent_snatches_images" class="collage_images hidden">
721
 <?    foreach ($RecentSnatches as $RS) {
721
 <?    foreach ($RecentSnatches as $RS) {
762
   <div class="box" id="recent_uploads">
762
   <div class="box" id="recent_uploads">
763
     <div class="head">
763
     <div class="head">
764
       Recent Uploads
764
       Recent Uploads
765
-      <span style="float: right;"><a onclick="$('#recent_uploads_images').gtoggle(); this.innerHTML = (this.innerHTML == 'Hide' ? 'Show' : 'Hide'); wall('#recent_uploads_images', '.collage_image', [2,3]); return false;" class="brackets">Show</a></span>&nbsp;
765
+      <span class="float_right"><a onclick="$('#recent_uploads_images').gtoggle(); this.innerHTML = (this.innerHTML == 'Hide' ? 'Show' : 'Hide'); wall('#recent_uploads_images', '.collage_image', [2,3]); return false;" class="brackets">Show</a></span>&nbsp;
766
     </div>
766
     </div>
767
     <div id="recent_uploads_images" class="collage_images hidden">
767
     <div id="recent_uploads_images" class="collage_images hidden">
768
 <?    foreach ($RecentUploads as $RU) {
768
 <?    foreach ($RecentUploads as $RU) {
805
   <div class="box" id="collage<?=$CollageID?>_box">
805
   <div class="box" id="collage<?=$CollageID?>_box">
806
     <div class="head">
806
     <div class="head">
807
       <?=display_str($CName)?> - <a href="collages.php?id=<?=$CollageID?>" class="brackets">See full</a>
807
       <?=display_str($CName)?> - <a href="collages.php?id=<?=$CollageID?>" class="brackets">See full</a>
808
-      <span style="float: right;">
808
+      <span class="float_right">
809
         <a data-toggle-target="#collage<?=$CollageID?>_box .collage_images" data-toggle-replace="Show" class="brackets">Hide</a>
809
         <a data-toggle-target="#collage<?=$CollageID?>_box .collage_images" data-toggle-replace="Show" class="brackets">Hide</a>
810
       </span>
810
       </span>
811
     </div>
811
     </div>
849
 ?>
849
 ?>
850
     <div class="box" id="invitetree_box">
850
     <div class="box" id="invitetree_box">
851
       <div class="head">
851
       <div class="head">
852
-        Invite Tree <span style="float: right"><a data-toggle-target="#invitetree" class="brackets">Toggle</a></span>
852
+        Invite Tree <span class="float_right"><a data-toggle-target="#invitetree" class="brackets">Toggle</a></span>
853
       </div>
853
       </div>
854
       <div id="invitetree" class="hidden">
854
       <div id="invitetree" class="hidden">
855
 <?        $Tree->make_tree(); ?>
855
 <?        $Tree->make_tree(); ?>
878
 ?>
878
 ?>
879
     <div class="box" id="requests_box">
879
     <div class="box" id="requests_box">
880
       <div class="head">
880
       <div class="head">
881
-        Requests <span style="float: right;"><a data-toggle-target="#requests" class="brackets">Show</a></span>
881
+        Requests <span class="float_right"><a data-toggle-target="#requests" class="brackets">Show</a></span>
882
       </div>
882
       </div>
883
       <div id="requests" class="hidden">
883
       <div id="requests" class="hidden">
884
         <table cellpadding="6" cellspacing="1" border="0" width="100%">
884
         <table cellpadding="6" cellspacing="1" border="0" width="100%">
974
 ?>
974
 ?>
975
     <div class="box" id="staffpms_box">
975
     <div class="box" id="staffpms_box">
976
       <div class="head">
976
       <div class="head">
977
-        Staff PMs <a data-toggle-target="#staffpms" class="brackets" style="float:right;">Toggle</a>
977
+        Staff PMs <a data-toggle-target="#staffpms" class="brackets float_right">Toggle</a>
978
       </div>
978
       </div>
979
       <table width="100%" class="message_table hidden" id="staffpms">
979
       <table width="100%" class="message_table hidden" id="staffpms">
980
         <tr class="colhead">
980
         <tr class="colhead">
1048
       <div class="head">
1048
       <div class="head">
1049
         Staff Notes
1049
         Staff Notes
1050
         <a href="#" name="admincommentbutton" onclick="ChangeTo('text'); return false;" class="brackets">Edit</a>
1050
         <a href="#" name="admincommentbutton" onclick="ChangeTo('text'); return false;" class="brackets">Edit</a>
1051
-        <span style="float: right;">
1051
+        <span class="float_right">
1052
         <a data-toggle-target="#staffnotes" class="brackets">Toggle</a>
1052
         <a data-toggle-target="#staffnotes" class="brackets">Toggle</a>
1053
         </span>
1053
         </span>
1054
       </div>
1054
       </div>

+ 4
- 4
sections/userhistory/post_history.php View File

223
     </colgroup>
223
     </colgroup>
224
     <tr class="colhead_dark">
224
     <tr class="colhead_dark">
225
       <td colspan="<?=Users::has_avatars_enabled() ? 2 : 1 ?>">
225
       <td colspan="<?=Users::has_avatars_enabled() ? 2 : 1 ?>">
226
-        <span style="float: left;">
226
+        <span class="float_left">
227
           <?=time_diff($AddedTime) ?>
227
           <?=time_diff($AddedTime) ?>
228
           in <a href="forums.php?action=viewthread&amp;threadid=<?=$TopicID?>&amp;postid=<?=$PostID?>#post<?=$PostID?>" class="tooltip" title="<?=display_str($ThreadTitle)?>"><?=Format::cut_string($ThreadTitle, 75)?></a>
228
           in <a href="forums.php?action=viewthread&amp;threadid=<?=$TopicID?>&amp;postid=<?=$PostID?>#post<?=$PostID?>" class="tooltip" title="<?=display_str($ThreadTitle)?>"><?=Format::cut_string($ThreadTitle, 75)?></a>
229
 <?
229
 <?
235
 ?>
235
 ?>
236
         </span>
236
         </span>
237
 <?      if (!empty($LastRead)) { ?>
237
 <?      if (!empty($LastRead)) { ?>
238
-        <span style="float: left;" class="tooltip last_read" title="Jump to last read">
238
+        <span class="float_left tooltip last_read" title="Jump to last read">
239
           <a href="forums.php?action=viewthread&amp;threadid=<?=$TopicID?>&amp;postid=<?=$LastRead?>#post<?=$LastRead?>"></a>
239
           <a href="forums.php?action=viewthread&amp;threadid=<?=$TopicID?>&amp;postid=<?=$LastRead?>#post<?=$LastRead?>"></a>
240
         </span>
240
         </span>
241
 <?      }
241
 <?      }
244
         </span>
244
         </span>
245
 <?    }
245
 <?    }
246
 ?>
246
 ?>
247
-        <span id="bar<?=$PostID ?>" style="float: right;">
248
-<?     if ($ViewingOwn && !in_array($TopicID, $UserSubscriptions)) { ?>
247
+        <span id="bar<?=$PostID ?>" class="float_right">
248
+<?    if ($ViewingOwn && !in_array($TopicID, $UserSubscriptions)) { ?>
249
           <a href="#" onclick="Subscribe(<?=$TopicID?>); $('.subscribelink<?=$TopicID?>').remove(); return false;" class="brackets subscribelink<?=$TopicID?>">Subscribe</a>
249
           <a href="#" onclick="Subscribe(<?=$TopicID?>); $('.subscribelink<?=$TopicID?>').remove(); return false;" class="brackets subscribelink<?=$TopicID?>">Subscribe</a>
250
           &nbsp;
250
           &nbsp;
251
 <?     } ?>
251
 <?     } ?>

+ 3
- 3
sections/userhistory/quote_notifications.php View File

150
   <table class="forum_post box vertical_margin noavatar">
150
   <table class="forum_post box vertical_margin noavatar">
151
     <tr class="colhead_dark notify_<?=$Result['Page']?>">
151
     <tr class="colhead_dark notify_<?=$Result['Page']?>">
152
       <td colspan="2">
152
       <td colspan="2">
153
-        <span style="float: left;">
153
+        <span class="float_left">
154
           <?=$Links?>
154
           <?=$Links?>
155
           &gt; Quoted by <?=Users::format_username($Result['QuoterID'], false, false, false, false) . ' ' . time_diff($Result['Date']) ?>
155
           &gt; Quoted by <?=Users::format_username($Result['QuoterID'], false, false, false, false) . ' ' . time_diff($Result['Date']) ?>
156
           <?=($Result['UnRead'] ? ' <span class="new">(New!)</span>' : '')?>
156
           <?=($Result['UnRead'] ? ' <span class="new">(New!)</span>' : '')?>
157
         </span>
157
         </span>
158
-        <span style="float: left;" class="tooltip last_read" title="Jump to quote">
158
+        <span class="float_left tooltip last_read" title="Jump to quote">
159
           <a href="<?=$JumpLink?>"></a>
159
           <a href="<?=$JumpLink?>"></a>
160
         </span>
160
         </span>
161
-        <span style="float: right;">
161
+        <span class="float_right">
162
           <a href="#">&uarr;</a>
162
           <a href="#">&uarr;</a>
163
         </span>
163
         </span>
164
       </td>
164
       </td>

+ 2
- 2
sections/userhistory/subscribed_collages.php View File

210
   <table style="margin-top: 8px;" class="subscribed_collages_table">
210
   <table style="margin-top: 8px;" class="subscribed_collages_table">
211
     <tr class="colhead_dark">
211
     <tr class="colhead_dark">
212
       <td>
212
       <td>
213
-        <span style="float: left;">
213
+        <span class="float_left">
214
           <strong><a href="collage.php?id=<?=$CollageID?>"><?=$CollageName?></a></strong> (<?=$NewTorrentCount?> new torrent<?=($NewTorrentCount == 1 ? '' : 's')?>)
214
           <strong><a href="collage.php?id=<?=$CollageID?>"><?=$CollageName?></a></strong> (<?=$NewTorrentCount?> new torrent<?=($NewTorrentCount == 1 ? '' : 's')?>)
215
         </span>&nbsp;
215
         </span>&nbsp;
216
-        <span style="float: right;">
216
+        <span class="float_right">
217
           <a data-toggle-target="#discog_table_<?=$CollageID?>" data-toggle-replace="<?=($ShowAll ? 'Hide' : 'Show')?>" class="brackets"><?=($ShowAll ? 'Show' : 'Hide')?></a>&nbsp;&nbsp;&nbsp;<a href="userhistory.php?action=catchup_collages&amp;auth=<?=$LoggedUser['AuthKey']?>&amp;collageid=<?=$CollageID?>" class="brackets">Catch up</a>&nbsp;&nbsp;&nbsp;<a href="#" onclick="CollageSubscribe(<?=$CollageID?>); return false;" id="subscribelink<?=$CollageID?>" class="brackets">Unsubscribe</a>
217
           <a data-toggle-target="#discog_table_<?=$CollageID?>" data-toggle-replace="<?=($ShowAll ? 'Hide' : 'Show')?>" class="brackets"><?=($ShowAll ? 'Show' : 'Hide')?></a>&nbsp;&nbsp;&nbsp;<a href="userhistory.php?action=catchup_collages&amp;auth=<?=$LoggedUser['AuthKey']?>&amp;collageid=<?=$CollageID?>" class="brackets">Catch up</a>&nbsp;&nbsp;&nbsp;<a href="#" onclick="CollageSubscribe(<?=$CollageID?>); return false;" id="subscribelink<?=$CollageID?>" class="brackets">Unsubscribe</a>
218
         </span>
218
         </span>
219
       </td>
219
       </td>

+ 3
- 3
sections/userhistory/subscriptions.php View File

208
     </colgroup>
208
     </colgroup>
209
     <tr class="colhead_dark notify_<?=$Result['Page']?>">
209
     <tr class="colhead_dark notify_<?=$Result['Page']?>">
210
       <td colspan="<?=Users::has_avatars_enabled() ? 2 : 1 ?>">
210
       <td colspan="<?=Users::has_avatars_enabled() ? 2 : 1 ?>">
211
-        <span style="float: left;">
211
+        <span class="float_left">
212
           <?=$Links . ($Result['PostID'] < $Result['LastPost'] ? ' <span class="new">(New!)</span>' : '')?>
212
           <?=$Links . ($Result['PostID'] < $Result['LastPost'] ? ' <span class="new">(New!)</span>' : '')?>
213
         </span>
213
         </span>
214
         <a class="tooltip last_read" title="Jump to last read" href="<?=$JumpLink?>">
214
         <a class="tooltip last_read" title="Jump to last read" href="<?=$JumpLink?>">
215
           <svg width="15" height="11"><polygon points="0,3 0,8 8,8 8,11 15,5.5 8,0 8,3"/></svg>
215
           <svg width="15" height="11"><polygon points="0,3 0,8 8,8 8,11 15,5.5 8,0 8,3"/></svg>
216
         </a>
216
         </a>
217
 <?    if ($Result['Page'] == 'forums') { ?>
217
 <?    if ($Result['Page'] == 'forums') { ?>
218
-        <span id="bar<?=$Result['PostID'] ?>" style="float: right;">
218
+        <span id="bar<?=$Result['PostID'] ?>" class="float_right">
219
           <a href="#" onclick="Subscribe(<?=$Result['PageID']?>); return false;" id="subscribelink<?=$Result['PageID']?>" class="brackets">Unsubscribe</a>
219
           <a href="#" onclick="Subscribe(<?=$Result['PageID']?>); return false;" id="subscribelink<?=$Result['PageID']?>" class="brackets">Unsubscribe</a>
220
 <?    } else { ?>
220
 <?    } else { ?>
221
-        <span id="bar_<?=$Result['Page'] . $Result['PostID'] ?>" style="float: right;">
221
+        <span id="bar_<?=$Result['Page'] . $Result['PostID'] ?>" class="float_right">
222
           <a href="#" onclick="SubscribeComments('<?=$Result['Page']?>', <?=$Result['PageID']?>); return false;" id="subscribelink_<?=$Result['Page'] . $Result['PageID']?>" class="brackets">Unsubscribe</a>
222
           <a href="#" onclick="SubscribeComments('<?=$Result['Page']?>', <?=$Result['PageID']?>); return false;" id="subscribelink_<?=$Result['Page'] . $Result['PageID']?>" class="brackets">Unsubscribe</a>
223
 <?    } ?>
223
 <?    } ?>
224
           &nbsp;
224
           &nbsp;

+ 1
- 1
static/functions/global.js View File

283
     listitem.id = 'list' + selected.value;
283
     listitem.id = 'list' + selected.value;
284
     listitem.innerHTML = '            <input type="hidden" name="list[]" value="' + selected.value + '" /> ' +
284
     listitem.innerHTML = '            <input type="hidden" name="list[]" value="' + selected.value + '" /> ' +
285
 '            <span style="float: left;">' + selected.innerHTML + '</span>' +
285
 '            <span style="float: left;">' + selected.innerHTML + '</span>' +
286
-'            <a href="#" onclick="remove_selection(\'' + selected.value + '\'); return false;" style="float: right;" class="brackets">X</a>' +
286
+'            <a href="#" onclick="remove_selection(\'' + selected.value + '\'); return false;" class="float_right" class="brackets">X</a>' +
287
 '            <br style="clear: all;" />';
287
 '            <br style="clear: all;" />';
288
     $('#list').raw().appendChild(listitem);
288
     $('#list').raw().appendChild(listitem);
289
     $('#opt' + selected.value).raw().disabled = true;
289
     $('#opt' + selected.value).raw().disabled = true;

+ 2
- 2
static/functions/news_ajax.js View File

32
           }));
32
           }));
33
           // I'm so happy with this condition statement.
33
           // I'm so happy with this condition statement.
34
           if (privileged) {
34
           if (privileged) {
35
-            $('#news' + this[0]).append('<div class="head"><strong>' + this[1] + '</strong> ' + this[2] + ' - <a href="tools.php?action=editnews&amp;id=' + this[0] + '" class="brackets">Edit</a><span style="float: right;"><a class="brackets" data-toggle-target="#newsbody' + this[0] + '" data-toggle-replace="Show">Hide</a></span></div>');
35
+            $('#news' + this[0]).append('<div class="head"><strong>' + this[1] + '</strong> ' + this[2] + ' - <a href="tools.php?action=editnews&amp;id=' + this[0] + '" class="brackets">Edit</a><span class="float_right"><a class="brackets" data-toggle-target="#newsbody' + this[0] + '" data-toggle-replace="Show">Hide</a></span></div>');
36
           } else {
36
           } else {
37
-            $('#news' + this[0]).append('<div class="head"><strong>' + this[1] + '</strong> ' + this[2] + '<span style="float: right;"><a class="brackets" data-toggle-target="#newsbody' + this[0] + '" data-toggle-replace="Show">Hide</a></span></div>');
37
+            $('#news' + this[0]).append('<div class="head"><strong>' + this[1] + '</strong> ' + this[2] + '<span class="float_right"><a class="brackets" data-toggle-target="#newsbody' + this[0] + '" data-toggle-replace="Show">Hide</a></span></div>');
38
           }
38
           }
39
           $('#news' + this[0]).append('<div class="pad" id="newsbody'+this[0]+'">' + this[3] + '</div>');
39
           $('#news' + this[0]).append('<div class="pad" id="newsbody'+this[0]+'">' + this[3] + '</div>');
40
         });
40
         });

Loading…
Cancel
Save