|
...
|
...
|
@@ -68,22 +68,22 @@ $output .= "<div id=\"pagetitle\">"._RATINGS."</div>";
|
|
68
|
68
|
}
|
|
69
|
69
|
$output .= "<form method=\"POST\" id='settingsform' enctype=\"multipart/form-data\" action=\"admin.php?action=ratings&rid=".$_GET['rid']."\">
|
|
70
|
70
|
<div class='sectionheader'>".($new ? _NEWRAT : _EDITRAT)."</div>
|
|
71
|
|
- <div><label for='rating'>"._RATING.": </label>
|
|
72
|
|
- <INPUT type=\"text\" class=\"textbox=\" name=\"rating\"".($new ? "" : "value=\"".$rating['rating']."\"")."><A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_RATING."</span></A>";
|
|
|
71
|
+ <div style=\"width: 170%;\"><label for='rating'>"._RATING.": </label>
|
|
|
72
|
+ <INPUT type=\"text\" class=\"textbox=\" name=\"rating\"".($new ? "" : "value=\"".$rating['rating']."\"")."> <A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_RATING."</span></A>";
|
|
73
|
73
|
if(isset($rating))
|
|
74
|
74
|
$output .= "<input type=\"hidden\" name=\"oldrating\" value=\"".$rating['rating']."\">";
|
|
75
|
75
|
$warninglevel = isset($rating) ? sprintf("%03b", $rating['ratingwarning']) : array(0,0,0);
|
|
76
|
|
- $output .= "</div><div><label for='ratingwarning'>"._WARNINGPOP.": </label>
|
|
|
76
|
+ $output .= "</div><div style=\"width: 170%;\"><label for='ratingwarning'>"._WARNINGPOP.": </label>
|
|
77
|
77
|
<INPUT type=\"checkbox\" class=\"checkbox\" name=\"ratingwarning\"".(!$new && $warninglevel[2] ? " checked" : "")."><A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_RATINGWARNING."</span></A></div>
|
|
78
|
|
- <div><label for='ageconsent'>"._AGECHECK.": </label>
|
|
|
78
|
+ <div style=\"width: 170%;\"><label for='ageconsent'>"._AGECHECK.": </label>
|
|
79
|
79
|
<INPUT type=\"checkbox\" class=\"checkbox\" name=\"ageconsent\"".(!$new && $warninglevel[1] ? " checked" : "")."><A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_RATINGCONSENT."</span></A></div>
|
|
80
|
|
- <div><label for='rusersonly'>"._RUSERSONLY.": </label>
|
|
|
80
|
+ <div style=\"width: 170%;\"><label for='rusersonly'>"._RUSERSONLY.": </label>
|
|
81
|
81
|
<INPUT type=\"checkbox\" class=\"checkbox\" name=\"rusersonly\"".(!$new && $warninglevel[0] ? " checked" : "")."><A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_RATINGUSERS."</span></A></div>
|
|
82
|
|
- <div><label for='warningtext'>"._WARNINGTEXT.": </label>
|
|
|
82
|
+ <div style=\"width: 170%;\"><label for='warningtext'>"._WARNINGTEXT.": </label> <A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_RATINGWARNTEXT."</span></A></div>
|
|
83
|
83
|
<textarea class=\"textarea\" name=\"warningtext\" cols=\"35\" rows=\"4\">".($new ? "" : $rating['warningtext'])."</TEXTAREA>";
|
|
84
|
84
|
if($tinyMCE)
|
|
85
|
85
|
$output .= "<div class='tinytoggle'><input type='checkbox' name='toggle' onclick=\"toogleEditorMode('warningtext');\" checked><label for='toggle'>"._TINYMCETOGGLE."</label></div>";
|
|
86
|
|
- $output .= "</div><div style='text-align: center;'><A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_RATINGWARNTEXT."</span></A></div><INPUT type=\"submit\" class=\"button\" id='submit' value=\""._SUBMIT."\" name=\"submit\">";
|
|
|
86
|
+ $output .= "<div style='text-align: center;'></div><INPUT type=\"submit\" class=\"button\" id='submit' value=\""._SUBMIT."\" name=\"submit\">";
|
|
87
|
87
|
}
|
|
88
|
88
|
if($showlist) {
|
|
89
|
89
|
$result = dbquery("SELECT * from ".TABLEPREFIX."fanfiction_ratings");
|
|
...
|
...
|
@@ -103,4 +103,4 @@ $output .= "<div id=\"pagetitle\">"._RATINGS."</div>";
|
|
103
|
103
|
}
|
|
104
|
104
|
$output .= "<tr><td colspan=\"3\" align=\"center\" class=\"tblborder\"><a href=\"admin.php?action=ratings&rid=new\">"._ADDRAT."</a></td></tr></table>";
|
|
105
|
105
|
}
|
|
106
|
|
-?>
|
|
107
|
106
|
\ No newline at end of file
|
|
|
107
|
+?>
|