fixed js error
This commit is contained in:
parent
fc6ea7746d
commit
7ecf03870a
2 changed files with 6 additions and 7 deletions
|
@ -103,7 +103,7 @@ if ($action == "con_newart" && $newart != true) {
|
|||
|
||||
$idtplinput = $db->f("idtplinput");
|
||||
|
||||
if ($tmp_modifiedby == "") {
|
||||
if (empty($tmp_modifiedby)) {
|
||||
$tmp_modifiedby = $tmp_author;
|
||||
}
|
||||
|
||||
|
@ -142,7 +142,7 @@ if ($action == "con_newart" && $newart != true) {
|
|||
|
||||
$tmp_idartlang = 0;
|
||||
$tmp_idlang = $lang;
|
||||
$tmp_page_title = stripslashes($db->f("pagetitle"));
|
||||
$tmp_page_title = (empty($db->f("pagetitle")))?'':stripslashes($db->f("pagetitle"));
|
||||
$tmp_title = "";
|
||||
$tmp_urlname = ""; // plugin Advanced Mod Rewrite - edit by stese
|
||||
$tmp_artspec = "";
|
||||
|
@ -152,6 +152,7 @@ if ($action == "con_newart" && $newart != true) {
|
|||
$tmp_published = date("Y-m-d H:i:s");
|
||||
$tmp_publishedby = "";
|
||||
$tmp_author = "";
|
||||
$tmp_modifiedby = "";
|
||||
$tmp_online = "0";
|
||||
$tmp_datestart = "0000-00-00 00:00:00";
|
||||
$tmp_dateend = "0000-00-00 00:00:00";
|
||||
|
@ -713,5 +714,4 @@ if ($action == "con_newart" && $newart != true) {
|
|||
to see this form */
|
||||
$notification->displayNotification("error", i18n("Permission denied"));
|
||||
}
|
||||
}
|
||||
?>
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
|
@ -220,9 +221,7 @@
|
|||
parent.parent.frames["right"].frames["right_top"].sub.clicked(menuItem.firstChild);
|
||||
}
|
||||
|
||||
{
|
||||
DATAPUSH
|
||||
}
|
||||
{DATAPUSH}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue