| ... | ... |
@@ -83,6 +83,7 @@ if($add == "series" || ($action == "add" && !$add) || $action == "edit") {
|
| 83 | 83 |
if(isset($_POST['submit'])) {
|
| 84 | 84 |
$title = addslashes(escapestring(strip_tags($_POST['title'], $allowed_tags))); |
| 85 | 85 |
$summary = addslashes(escapestring(descript(strip_tags($_POST["summary"], $allowed_tags)))); |
| 86 |
+ #$category = isset($_POST['catid']) ? explode(",", $_POST['catid']) : array();
|
|
| 86 | 87 |
if ($multiplecats) $category = isset($_POST['catid']) ? explode(",", $_POST['catid']) : array();
|
| 87 | 88 |
else $category = isset($_POST['catid']) ? $_POST['catid'] : array(); |
| 88 | 89 |
$category = array_filter($category, "isNumber"); |
| ... | ... |
@@ -141,7 +142,7 @@ if($add == "series" || ($action == "add" && !$add) || $action == "edit") {
|
| 141 | 142 |
} |
| 142 | 143 |
else {
|
| 143 | 144 |
$output = "<div id=\"pagetitle\">".($action == "edit" ? _EDITSERIES : ($add == "stories" ? _ADD2SERIES : _ADDSERIES))."</div> |
| 144 |
-<form METHOD=\"POST\" style='width: 90%; margin: 0 auto;' name=\"form\" action=\"series.php?action=$action&add=".(!empty($add) ? $add : "series").(!empty($seriesid) ? "&seriesid=$seriesid" : "")."\">"; |
|
| 145 |
+<form METHOD=\"POST\" class='tblborder' style='width: 75%; margin: 0 auto; padding: 10px;' name=\"form\" action=\"series.php?action=$action&add=".(!empty($add) ? $add : "series").(!empty($seriesid) ? "&seriesid=$seriesid" : "")."\">"; |
|
| 145 | 146 |
if($action == "edit" && !isset($POST['submit'])) {
|
| 146 | 147 |
$seriesquery = dbquery(_SERIESQUERY." AND seriesid = '$seriesid' LIMIT 1"); |
| 147 | 148 |
$series = dbassoc($seriesquery); |
| ... | ... |
@@ -413,7 +413,7 @@ function newstory( ) {
|
| 413 | 413 |
|
| 414 | 414 |
$submit = isset($_POST['submit']) ? $_POST['submit'] : false; |
| 415 | 415 |
if(!$submit) $submit = _PREVIEW; |
| 416 |
- $output .= "<div class=\"tblborder\" style=\" width: 45%; padding: 10px; margin: 1em auto;\"> |
|
| 416 |
+ $output .= "<div class=\"tblborder\" style=\" width: 75%; padding: 10px; margin: 1em auto;\"> |
|
| 417 | 417 |
<form METHOD=\"POST\" name=\"form\" enctype=\"multipart/form-data\" action='stories.php?action=$action".($newchapter ? "&sid=$sid&inorder=$inorder" : "").($admin == 1 ? "&admin=1&uid=$uid" : "")."'>"; |
| 418 | 418 |
if(!$newchapter) $output .= storyform($stories, $submit); |
| 419 | 419 |
$output .= chapterform($inorder, $notes, $endnotes, $storytext, $chaptertitle, $uid); |