ryxeo-webphotoalbum-git / www / inc / config.inc.php @ 67466a8d
Historique | Voir | Annoter | Télécharger (3,08 ko)
1 | 67466a8d | Eric Seigne | <?php
|
---|---|---|---|
2 | #base dirname
|
||
3 | $root = dirname(dirname(__FILE__) . "../"); |
||
4 | # ===========================================================================
|
||
5 | # dir index
|
||
6 | $sortinmonth = 0;// 1 - alphabetically |
||
7 | // 0 - by date (reverse)
|
||
8 | |||
9 | # ===========================================================================
|
||
10 | # default languages
|
||
11 | # use UA's accept language
|
||
12 | require_once("$root/inc/l10nget.inc.php"); //get from UA |
||
13 | if (isset($_SERVER["HTTP_ACCEPT_LANGUAGE"])) { |
||
14 | $sclang = get_lang_from_agent($_SERVER["HTTP_ACCEPT_LANGUAGE"]); |
||
15 | } else {
|
||
16 | $sclang = "en"; |
||
17 | } |
||
18 | l10n::set("$root/l10n/".$GLOBALS['sclang']."/exif.lang"); |
||
19 | |||
20 | # ===========================================================================
|
||
21 | #Name to dsplay on the gallery
|
||
22 | $scnamegallery = "Photo Gallery Index"; |
||
23 | |||
24 | |||
25 | # ===========================================================================
|
||
26 | # albums to show
|
||
27 | $yearsince = 1999; |
||
28 | #images FIXME - this is stylesheet's job
|
||
29 | $img["left"] = "left.png"; |
||
30 | $img["right"] = "right.png"; |
||
31 | $img["top"] = "top.png"; |
||
32 | # ===========================================================================
|
||
33 | #thumbnail behaviour
|
||
34 | //keep this unset for dynamic thumbnail size
|
||
35 | //$thumbsize = "fixed";
|
||
36 | //How the previous and Next thumbnails should be scaled
|
||
37 | // 1 is 1:1, >1 is smaller, <1 is bigger
|
||
38 | $PNthumbScale = 1.5; |
||
39 | # Photos Copyright
|
||
40 | # CHANGE THIS! I am not trying to take over the world ;)
|
||
41 | $copy = "Software : GNU/GPL <a href=\"http://jimmac.musichall.cz/original.php\">Original</a> Copyright © 1999-2005 Jakub Steiner - End user interface <a href=\"http://www.ryxeo.com/WebPhotoAlbum.html\">RyXeo WebPhotoAlbum</a> © 2012 Eric Seigne"; |
||
42 | #app info
|
||
43 | $app["name"] = "RyXeo WebPhotoAlbum"; // opensource remote image gallery, |
||
44 | // initialy not as lovely
|
||
45 | $app["url"] = "http://www.ryxeo.com/WebPhotoAlbum.html"; |
||
46 | $app["version"] = "1.0"; |
||
47 | $exif_show = array("DateTime"=>__("Time Taken"), |
||
48 | "Make"=>__("Camera Manufacturer"), |
||
49 | "Model"=>__("Camera Model"), |
||
50 | "FocalLength"=>__("Real Focal Length"), |
||
51 | "FocalLengthIn35mmFilm"=>__("Focal Length Relative to 35mm Film"), |
||
52 | "FNumber"=>__("F Stop"), |
||
53 | "Copyright"=>__("Copyright"), |
||
54 | "Artist"=>__("Artist"), |
||
55 | "ExposureTime"=>__("Time of Exposure"), |
||
56 | "ISOSpeedRatings"=>__("Film/Chip Sensitivity"), |
||
57 | "Flash"=>__("Flash")); |
||
58 | # ===========================================================================
|
||
59 | ## Gallery Directory
|
||
60 | # This is a path relative to the directory where original is installed
|
||
61 | # eg. it can be "../galleries" to use a galleries dir above the original dir.
|
||
62 | $gallery_dir="galleries"; |
||
63 | |||
64 | #Enable this to access extended tracking functionality
|
||
65 | #depends on sqlite
|
||
66 | $have_sqlite = 0; |
||
67 | |||
68 | # This controls wheather web visitors will be able to post
|
||
69 | # comments to images
|
||
70 | $comments = 1; |
||
71 | |||
72 | # Access Log/Counter
|
||
73 | # $log_access = 0; // no access logging
|
||
74 | $log_access = 1; |
||
75 | |||
76 | #css styles
|
||
77 | $themes = array( |
||
78 | "dark" => "inc/styles/dark/dark.css", |
||
79 | "classic" => "inc/styles/classic/classic.css", |
||
80 | "gorilla" => "inc/styles/gorilla/gorilla.css" |
||
81 | ); |
||
82 | |||
83 | ?> |