This commit has been accessed 615 times via Git panel.
commit 01d09d60efa13575504c05b86255300ab5f15491
tree 57ee8a156eaaa45f1dce1be0b4429c52c17fe2e3
parent 3817a547f1c907283dc7e8b78eede3c7b2fdb7d2
author Engels Antonio <engels@majcms.org> 1277314206 +0800
committer Engels Antonio <engels@majcms.org> 1277314206 +0800
maj-1.0-20081224-bb.zip
diff --git a/colors.php b/colors.php
index f51ece4..207cd11 100644
--- a/colors.php
+++ b/colors.php
@@ -971,7 +971,18 @@ if (file_exists("data/schemes/current/color.txt")) {
?></p>
-<p>Enter a unique ID below to save the current color scheme.<br>The background image and its settings will also be saved.</p></td></tr>
+<p>Enter a unique ID below to save the current color scheme.
+
+<?php
+
+if (file_exists("images/background.gif") or file_exists("images/background.jpg") or file_exists("images/background.png")) {
+
+ echo "<br>The background image and its settings will also be saved.";
+}
+
+?>
+
+</p></td></tr>
<tr><td><input type=text class=input name=id autocomplete=off></td></tr>
<tr><td><input type=submit class=input value="click here to save current color scheme"></td></tr>
</table>
diff --git a/rel.txt b/rel.txt
index b5ec2b4..ac9f42b 100644
--- a/rel.txt
+++ b/rel.txt
@@ -1 +1 @@
-20081222
\ No newline at end of file
+20081224
\ No newline at end of file
tree 57ee8a156eaaa45f1dce1be0b4429c52c17fe2e3
parent 3817a547f1c907283dc7e8b78eede3c7b2fdb7d2
author Engels Antonio <engels@majcms.org> 1277314206 +0800
committer Engels Antonio <engels@majcms.org> 1277314206 +0800
maj-1.0-20081224-bb.zip
diff --git a/colors.php b/colors.php
index f51ece4..207cd11 100644
--- a/colors.php
+++ b/colors.php
@@ -971,7 +971,18 @@ if (file_exists("data/schemes/current/color.txt")) {
?></p>
-<p>Enter a unique ID below to save the current color scheme.<br>The background image and its settings will also be saved.</p></td></tr>
+<p>Enter a unique ID below to save the current color scheme.
+
+<?php
+
+if (file_exists("images/background.gif") or file_exists("images/background.jpg") or file_exists("images/background.png")) {
+
+ echo "<br>The background image and its settings will also be saved.";
+}
+
+?>
+
+</p></td></tr>
<tr><td><input type=text class=input name=id autocomplete=off></td></tr>
<tr><td><input type=submit class=input value="click here to save current color scheme"></td></tr>
</table>
diff --git a/rel.txt b/rel.txt
index b5ec2b4..ac9f42b 100644
--- a/rel.txt
+++ b/rel.txt
@@ -1 +1 @@
-20081222
\ No newline at end of file
+20081224
\ No newline at end of file