Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

ryxeo-webphotoalbum-git / www / inc / config.inc.php @ 4fcec884

Historique | Voir | Annoter | Télécharger (2,94 ko)

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