diff options
author | Kevin Chabowski <kevin@kch42.de> | 2012-03-03 14:21:03 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2012-03-03 14:21:03 +0100 |
commit | a8aafff07b471e674b8085bafb10b6f41b98316c (patch) | |
tree | 3ae54c1f327e7bbc5b80d6669cde12f330c146df /ratatoeskr | |
parent | acf697cd1bbc2749460332bd45ab098a4e367382 (diff) | |
download | ratatoeskr-cms-a8aafff07b471e674b8085bafb10b6f41b98316c.tar.gz ratatoeskr-cms-a8aafff07b471e674b8085bafb10b6f41b98316c.tar.bz2 ratatoeskr-cms-a8aafff07b471e674b8085bafb10b6f41b98316c.zip |
Allow comment setting was not saved correctly. Fixed.
Also fixed the Heading of CONTRIBUTORS. Copy&Paste is not always a
good idea...
Beta 4
Diffstat (limited to 'ratatoeskr')
-rw-r--r-- | ratatoeskr/backend.php | 3 | ||||
-rwxr-xr-x | ratatoeskr/templates/src/systemtemplates/backend_login.html | 2 | ||||
-rwxr-xr-x | ratatoeskr/templates/src/systemtemplates/master.html | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/ratatoeskr/backend.php b/ratatoeskr/backend.php index 6cf00cb..19d3891 100644 --- a/ratatoeskr/backend.php +++ b/ratatoeskr/backend.php @@ -216,7 +216,7 @@ $backend_subactions = url_action_subactions(array( } else $inputs["date"] = time(); - $inputs["allow_comments"] = !(empty($_POST["allow_comments"]) or $_POST["allow_comments"] != "yes"); + $inputs["allow_comments"] = !(empty($_POST["allow_comments"]) or ($_POST["allow_comments"] != "yes")); try { @@ -245,6 +245,7 @@ $backend_subactions = url_action_subactions(array( $article->excerpt[$editlang] = new Translation($inputs["excerpt"], $inputs["excerpt_txtproc"]); $article->set_tags(maketags($inputs["tags"], $editlang)); $article->set_section($inputs["article_section"]); + $article->allow_comments = $inputs["allow_comments"]; } if(empty($article)) diff --git a/ratatoeskr/templates/src/systemtemplates/backend_login.html b/ratatoeskr/templates/src/systemtemplates/backend_login.html index 4e38704..f38317c 100755 --- a/ratatoeskr/templates/src/systemtemplates/backend_login.html +++ b/ratatoeskr/templates/src/systemtemplates/backend_login.html @@ -9,7 +9,7 @@ <body> <img id="background_image" src="$rel_path_to_root/ratatoeskr/cms_style/images/login_bg.jpg" alt="" /> <div id="main"> - <div id="bar_top"><strong>Ratatöskr</strong>::Noctilucent clouds (v. 0.1 β 3)</div> + <div id="bar_top"><strong>Ratatöskr</strong>::Noctilucent clouds (v. 0.1 β 4)</div> <div class="vcenter_outer"><div class="vcenter_inner"> <div id="login_box"> <h1><ste:get_translation for="login_form_header" /></h1> diff --git a/ratatoeskr/templates/src/systemtemplates/master.html b/ratatoeskr/templates/src/systemtemplates/master.html index 23905e8..07a47c3 100755 --- a/ratatoeskr/templates/src/systemtemplates/master.html +++ b/ratatoeskr/templates/src/systemtemplates/master.html @@ -31,7 +31,7 @@ </head> <body> <div id="bar_top"> - <span class="branding"><strong>Ratatöskr</strong>::Noctilucent clouds (v. 0.1 β 3)</span> + <span class="branding"><strong>Ratatöskr</strong>::Noctilucent clouds (v. 0.1 β 4)</span> <span class="user"> <a href="$rel_path_to_root/backend/admin/users/u/$user[id]">$user[name]</a> | <a href="$rel_path_to_root/backend/logout"><ste:get_translation for="logout" /></a> </span> |