Permalink
Browse files

#719: Fixed markup for checkboxes in search.php. Patch provided by Paul.

  • Loading branch information...
Quy committed Oct 2, 2012
1 parent 5f0e256 commit 13a5e20693a8b3bdaafd81ae4ce973303c4ae461
Showing with 7 additions and 228 deletions.
  1. +7 −2 search.php
  2. +0 −22 style/Air.css
  3. +0 −23 style/Cobalt.css
  4. +0 −22 style/Earth.css
  5. +0 −22 style/Fire.css
  6. +0 −23 style/Lithium.css
  7. +0 −23 style/Mercury.css
  8. +0 −23 style/Oxygen.css
  9. +0 −23 style/Radium.css
  10. +0 −23 style/Sulfur.css
  11. +0 −22 style/Technetium.css
View
@@ -815,15 +815,20 @@
if ($cur_forum['cid'] != $cur_category) // A new category since last iteration?
{
if ($cur_category)
+ {
+ echo "\t\t\t\t\t\t\t\t".'</div>'."\n";
echo "\t\t\t\t\t\t\t".'</fieldset>'."\n";
-
+ }
+
echo "\t\t\t\t\t\t\t".'<fieldset><legend><span>'.pun_htmlspecialchars($cur_forum['cat_name']).'</span></legend>'."\n";
+ echo "\t\t\t\t\t\t\t\t".'<div class="rbox">';
$cur_category = $cur_forum['cid'];
}
- echo "\t\t\t\t\t\t\t\t".'<div class="checklist-item"><span class="fld-input"><input type="checkbox" name="forums[]" id="forum-'.$cur_forum['fid'].'" value="'.$cur_forum['fid'].'" /></span> <label for="forum-'.$cur_forum['fid'].'">'.pun_htmlspecialchars($cur_forum['forum_name']).'</label></div>'."\n";
+ echo "\t\t\t\t\t\t\t\t".'<label><input type="checkbox" name="forums[]" id="forum-'.$cur_forum['fid'].'" value="'.$cur_forum['fid'].'" />'.pun_htmlspecialchars($cur_forum['forum_name']).'</label>'."\n";
}
+ echo "\t\t\t\t\t\t\t\t".'</div>'."\n";
echo "\t\t\t\t\t\t\t".'</fieldset>'."\n";
echo "\t\t\t\t\t\t".'</div>'."\n";
echo "\t\t\t\t\t\t".'</div>'."\n";
View
@@ -1304,28 +1304,6 @@ MAIN FORMS
max-width: 25em;
}
-.pun .checklist .checklist-item {
- position: relative;
-}
-
-.pun .checklist .checklist-item label {
- padding: 0 0 0 1.75em;
-}
-
-.pun .checklist .checklist-item .fld-input {
- position: absolute;
- left: 0;
- top: 0;
- padding: 0;
- margin: 0;
-}
-
-.pun .checklist .checklist-item input {
- margin: 0;
- height: 1.55em;
- width: 1.55em;
-}
-
/*****************************************************************
PROFILES (+ ADMIN MENU)
*****************************************************************/
View
@@ -689,29 +689,6 @@ html, body {
max-width: 25em;
}
-.pun .checklist .checklist-item {
- position: relative;
- margin: .2em 0;
- }
-
-.pun .checklist .checklist-item label {
- padding: 0 0 0 2.1em;
- }
-
-.pun .checklist .checklist-item .fld-input {
- position: absolute;
- left: 0;
- top: 0;
- padding: 0;
- margin: 0;
- }
-
-.pun .checklist .checklist-item input {
- margin: 0;
- height: 1.15em;
- width: 1.55em;
- }
-
/*****************************************************************
7. PROFILES AND ADMIN
*****************************************************************/
View
@@ -1303,28 +1303,6 @@ MAIN FORMS
max-width: 25em;
}
-.pun .checklist .checklist-item {
- position: relative;
-}
-
-.pun .checklist .checklist-item label {
- padding: 0 0 0 1.75em;
-}
-
-.pun .checklist .checklist-item .fld-input {
- position: absolute;
- left: 0;
- top: 0;
- padding: 0;
- margin: 0;
-}
-
-.pun .checklist .checklist-item input {
- margin: 0;
- height: 1.55em;
- width: 1.55em;
-}
-
/*****************************************************************
PROFILES (+ ADMIN MENU)
*****************************************************************/
View
@@ -1303,28 +1303,6 @@ MAIN FORMS
max-width: 25em;
}
-.pun .checklist .checklist-item {
- position: relative;
-}
-
-.pun .checklist .checklist-item label {
- padding: 0 0 0 1.75em;
-}
-
-.pun .checklist .checklist-item .fld-input {
- position: absolute;
- left: 0;
- top: 0;
- padding: 0;
- margin: 0;
-}
-
-.pun .checklist .checklist-item input {
- margin: 0;
- height: 1.55em;
- width: 1.55em;
-}
-
/*****************************************************************
PROFILES (+ ADMIN MENU)
*****************************************************************/
View
@@ -689,29 +689,6 @@ html, body {
max-width: 25em;
}
-.pun .checklist .checklist-item {
- position: relative;
- margin: .2em 0;
- }
-
-.pun .checklist .checklist-item label {
- padding: 0 0 0 2.1em;
- }
-
-.pun .checklist .checklist-item .fld-input {
- position: absolute;
- left: 0;
- top: 0;
- padding: 0;
- margin: 0;
- }
-
-.pun .checklist .checklist-item input {
- margin: 0;
- height: 1.15em;
- width: 1.55em;
- }
-
/*****************************************************************
7. PROFILES AND ADMIN
*****************************************************************/
View
@@ -689,29 +689,6 @@ html, body {
max-width: 25em;
}
-.pun .checklist .checklist-item {
- position: relative;
- margin: .2em 0;
- }
-
-.pun .checklist .checklist-item label {
- padding: 0 0 0 2.1em;
- }
-
-.pun .checklist .checklist-item .fld-input {
- position: absolute;
- left: 0;
- top: 0;
- padding: 0;
- margin: 0;
- }
-
-.pun .checklist .checklist-item input {
- margin: 0;
- height: 1.15em;
- width: 1.55em;
- }
-
/*****************************************************************
7. PROFILES AND ADMIN
*****************************************************************/
View
@@ -690,29 +690,6 @@ html, body {
max-width: 25em;
}
-.pun .checklist .checklist-item {
- position: relative;
- margin: .2em 0;
- }
-
-.pun .checklist .checklist-item label {
- padding: 0 0 0 2.1em;
- }
-
-.pun .checklist .checklist-item .fld-input {
- position: absolute;
- left: 0;
- top: 0;
- padding: 0;
- margin: 0;
- }
-
-.pun .checklist .checklist-item input {
- margin: 0;
- height: 1.15em;
- width: 1.55em;
- }
-
/*****************************************************************
7. PROFILES AND ADMIN
*****************************************************************/
View
@@ -689,29 +689,6 @@ html, body {
max-width: 25em;
}
-.pun .checklist .checklist-item {
- position: relative;
- margin: .2em 0;
- }
-
-.pun .checklist .checklist-item label {
- padding: 0 0 0 2.1em;
- }
-
-.pun .checklist .checklist-item .fld-input {
- position: absolute;
- left: 0;
- top: 0;
- padding: 0;
- margin: 0;
- }
-
-.pun .checklist .checklist-item input {
- margin: 0;
- height: 1.15em;
- width: 1.55em;
- }
-
/*****************************************************************
7. PROFILES AND ADMIN
*****************************************************************/
View
@@ -689,29 +689,6 @@ html, body {
max-width: 25em;
}
-.pun .checklist .checklist-item {
- position: relative;
- margin: .2em 0;
- }
-
-.pun .checklist .checklist-item label {
- padding: 0 0 0 2.1em;
- }
-
-.pun .checklist .checklist-item .fld-input {
- position: absolute;
- left: 0;
- top: 0;
- padding: 0;
- margin: 0;
- }
-
-.pun .checklist .checklist-item input {
- margin: 0;
- height: 1.15em;
- width: 1.55em;
- }
-
/*****************************************************************
7. PROFILES AND ADMIN
*****************************************************************/
View
@@ -803,28 +803,6 @@ body {
max-width: 25em;
}
-.pun .checklist .checklist-item {
- position: relative;
- }
-
-.pun .checklist .checklist-item label {
- padding: 0 0 0 1.75em;
- }
-
-.pun .checklist .checklist-item .fld-input {
- position: absolute;
- left: 0;
- top: 0;
- padding: 0;
- margin: 0;
- }
-
-.pun .checklist .checklist-item input {
- margin: 0;
- height: 1.55em;
- width: 1.55em;
- }
-
/*****************************************************************
7. PROFILES AND ADMIN
*****************************************************************/

0 comments on commit 13a5e20

Please sign in to comment.