aboutsummaryrefslogtreecommitdiff
path: root/www/inc/config.dist.inc.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-17 14:05:48 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-17 14:05:48 -0200
commitd20a23d76296f25f94d98778a5e962f64eac515b (patch)
tree57632fb434014183692d3a83ddaa83aca5fe4200 /www/inc/config.dist.inc.php
parente029768e7aa361011ed08b73b614bae4e21eb9b4 (diff)
downloadoriginal-d20a23d76296f25f94d98778a5e962f64eac515b.tar.gz
original-d20a23d76296f25f94d98778a5e962f64eac515b.tar.bz2
Renaming defaults to config.dist.inc.php
Diffstat (limited to 'www/inc/config.dist.inc.php')
-rw-r--r--www/inc/config.dist.inc.php84
1 files changed, 84 insertions, 0 deletions
diff --git a/www/inc/config.dist.inc.php b/www/inc/config.dist.inc.php
new file mode 100644
index 0000000..14e8ad8
--- /dev/null
+++ b/www/inc/config.dist.inc.php
@@ -0,0 +1,84 @@
+<?php
+#base dirname
+ $root = dirname(dirname(__FILE__) . "../");
+# ===========================================================================
+# dir index
+ $sortinmonth = 0;// 1 - alphabetically
+ // 0 - by date (reverse)
+
+# ===========================================================================
+# default languages
+# use UA's accept language
+require_once("$root/inc/l10nget.inc.php"); //get from UA
+if (isset($_SERVER["HTTP_ACCEPT_LANGUAGE"])) {
+ $sclang = get_lang_from_agent($_SERVER["HTTP_ACCEPT_LANGUAGE"]);
+} else {
+ $sclang = "en";
+}
+l10n::set("$root/l10n/".$GLOBALS['sclang']."/exif.lang");
+
+# ===========================================================================
+#Name to dsplay on the gallery
+$scnamegallery = "Photo Gallery Index";
+
+
+# ===========================================================================
+# albums to show
+ $yearsince = 1999;
+#images FIXME - this is stylesheet's job
+ $img["left"] = "left.png";
+ $img["right"] = "right.png";
+ $img["top"] = "top.png";
+# ===========================================================================
+#thumbnail behaviour
+ //keep this unset for dynamic thumbnail size
+ //$thumbsize = "fixed";
+ //How the previous and Next thumbnails should be scaled
+ // 1 is 1:1, >1 is smaller, <1 is bigger
+ $PNthumbScale = 1.5;
+# Photos Copyright
+# CHANGE THIS! I am not trying to take over the world ;)
+ $copy = "Copyright &copy; 1999-2005 Jakub Steiner";
+#app info
+ $app["name"] = "Original"; // opensource remote image gallery,
+ // initialy not as lovely
+ $app["url"] = "http://jimmac.musichall.cz/original.php3";
+ $app["version"] = "0.12pre";
+ $exif_show = array("DateTime"=>__("Time Taken"),
+ "Make"=>__("Camera Manufacturer"),
+ "Model"=>__("Camera Model"),
+ "FocalLength"=>__("Real Focal Length"),
+ "FocalLengthIn35mmFilm"=>__("Focal Length Relative to 35mm Film"),
+ "FNumber"=>__("F Stop"),
+ "ExposureTime"=>__("Time of Exposure"),
+ "ISOSpeedRatings"=>__("Film/Chip Sensitivity"),
+ "Flash"=>__("Flash"));
+# ===========================================================================
+## Gallery Directory
+# This is a path relative to the directory where original is installed
+# eg. it can be "../galleries" to use a galleries dir above the original dir.
+ $gallery_dir="galleries";
+
+#Enable this to access extended tracking functionality
+#depends on sqlite
+$have_sqlite = 0;
+
+# This controls wheather web visitors will be able to post
+# comments to images
+$comments = 1;
+
+# Access Log/Counter
+# $log_access = 0; // no access logging
+$log_access = 1;
+
+#css styles
+ $themes = array(
+ "dark" => "inc/styles/dark/dark.css",
+ "classic" => "inc/styles/classic/classic.css",
+ "gorilla" => "inc/styles/gorilla/gorilla.css"
+ );
+
+
+
+
+?>