|
...
|
...
|
@@ -233,7 +233,7 @@ else if(isset($_POST['submit'])) {
|
|
233
|
233
|
|
|
234
|
234
|
}
|
|
235
|
235
|
else if($sect == "sitesettings") {
|
|
236
|
|
- $tinyMCE = ($_POST['newtinyMCE'] == 1 OR $_POST['newtinyMCE'] == 2) ? $_POST['newtinyMCE'] : 0;
|
|
|
236
|
+ $tinyMCE = ($_POST['newtinyMCE'] == 1 OR $_POST['newtinyMCE'] == 2 OR $_POST['newtinyMCE'] == 3) ? $_POST['newtinyMCE'] : 0;
|
|
237
|
237
|
$allowed_tags = $_POST['newallowed_tags'];
|
|
238
|
238
|
$favorites = $_POST['newfavorites'] == 1 ? 1 : 0;
|
|
239
|
239
|
$multiplecats = $_POST['newmultiplecats'] == 1 ? 1 : 0;
|
|
...
|
...
|
@@ -396,8 +396,8 @@ else if(isset($_POST['submit'])) {
|
|
396
|
396
|
</tr>
|
|
397
|
397
|
<tr>
|
|
398
|
398
|
<td colspan='2'><fieldset style='margin: 0 auto;'><legend>"._IMAGESIZE." <a href='#' class='pophelp'>[?]<span>"._HELP_IMAGESIZE."</span></a></legend>
|
|
399
|
|
- <label for='newimageheight'>"._MAXHEIGHT.":</label> <span style='padding-left: 24.3%;'> <input type='text' class='textbox=' name='newimageheight' value='$imageheight' size='5'> <br />
|
|
400
|
|
- <label for='newimagewidth'>"._MAXWIDTH.":</label> <span style='padding-left: 25.3%;'> <input type='text' class='textbox=' name='newimagewidth' value='$imagewidth' size='5'></fieldset></td>
|
|
|
399
|
+ <label for='newimageheight'>"._MAXHEIGHT.":</label> <span style='padding-left: 19.3%;'> <input type='text' class='textbox=' name='newimageheight' value='$imageheight' size='5'> <br />
|
|
|
400
|
+ <label for='newimagewidth'>"._MAXWIDTH.":</label> <span style='padding-left: 20.3%;'> <input type='text' class='textbox=' name='newimagewidth' value='$imagewidth' size='5'></fieldset></td>
|
|
401
|
401
|
</tr>
|
|
402
|
402
|
<tr>
|
|
403
|
403
|
<td><label for='newstore'>"._HOWSTORE.":</label></td><td><select name='newstore' onChange='if (this.disabled) this.selectedIndex=0' disabled>
|
|
...
|
...
|
@@ -410,16 +410,17 @@ else if(isset($_POST['submit'])) {
|
|
410
|
410
|
</tr>
|
|
411
|
411
|
<tr>
|
|
412
|
412
|
<td colspan='2'><fieldset style='margin: 0 auto;'><legend>"._MAXMINWORDS."<a href='#' class='pophelp'>[?]<span>"._HELP_MINMAXWORDS."</span></a></legend>
|
|
413
|
|
- <label for='newminwords'>"._MIN.":</label> <span style='padding-left: 38.44%;'> <input type='text' class='textbox=' name='newminwords' value='$minwords' size='5'> <br />
|
|
414
|
|
- <label for='newmaxwords'>"._MAX.":</label> <span style='padding-left: 37.7%;'> <input type='text' class='textbox=' name='newmaxwords' value='$maxwords' size='7'></fieldset></td></tr>";
|
|
|
413
|
+ <label for='newminwords'>"._MIN.":</label> <span style='padding-left: 33.44%;'> <input type='text' class='textbox=' name='newminwords' value='$minwords' size='5'> <br />
|
|
|
414
|
+ <label for='newmaxwords'>"._MAX.":</label> <span style='padding-left: 32.7%;'> <input type='text' class='textbox=' name='newmaxwords' value='$maxwords' size='7'></fieldset></td></tr>";
|
|
415
|
415
|
}
|
|
416
|
416
|
else if($sect == "sitesettings") {
|
|
417
|
417
|
$output .= "<div class='sectionheader'>"._SITESETTINGS."</div>
|
|
418
|
418
|
<table class='acp' style='margin: 0 auto;'>
|
|
419
|
419
|
<tr>
|
|
420
|
420
|
<td><label for='newtinyMCE'>"._USETINYMCE. ": </label></td><td><select name='newtinyMCE'>
|
|
421
|
|
- <option value=\"2\"" . ($tinyMCE == 2 ? " selected" : "") . ">TinyMce4</option>
|
|
422
|
|
- <option value=\"1\"" . ($tinyMCE == 1 ? " selected" : "") . ">TinyMce3</option>
|
|
|
421
|
+ <option value=\"3\"" . ($tinyMCE == 3 ? " selected" : "") . ">TinyMce4</option>
|
|
|
422
|
+ <option value=\"2\"" . ($tinyMCE == 2 ? " selected" : "") . ">TinyMce3</option>
|
|
|
423
|
+ <option value=\"1\"" . ($tinyMCE == 1 ? " selected" : "") . ">TinyMce2</option>
|
|
423
|
424
|
<option value=\"0\"" . (!$tinyMCE ? " selected" : "") . ">" . _NO . "</option>
|
|
424
|
425
|
</select> <a href='#' class='pophelp'>[?]<span>"._HELP_TINYMCE." "._TINYMCENOTE."</span></a></td>
|
|
425
|
426
|
</tr>
|