annotate e2gallerypro/e2config.php @ 17:46fdf059b154 judyates

preparing to add google analytics
author Robert McIntyre <rlm@mit.edu>
date Mon, 11 Jul 2011 02:43:59 -0400
parents 1bd8daf2684d
children
rev   line source
rlm@3 1 <?php
rlm@3 2 ##################################################################
rlm@3 3 # SETTINGS For (E)2 Gallery Pro
rlm@3 4 ##################################################################
rlm@3 5
rlm@3 6 $e2xmlurl = "e2upload/xml/judyYates.xml"; //XML file location
rlm@3 7
rlm@3 8 $myPHPVersion = "5"; //What version of PHP are you running? 4 or 5
rlm@3 9
rlm@4 10 $galleryDesign = "design/e2gallerypro"; //Design Path Degault Designs: 'design/e2simple' and 'design/e2gallerypro'
rlm@3 11
rlm@3 12 $autoStartSlideshow = 'false'; //Do you want the slide show to start on load of the gallery? true or false
rlm@3 13
rlm@3 14 $showThumbsAtStart = 'true'; //Do you want to show the thumbnails when the gallery first loads? true or false
rlm@3 15
rlm@3 16 $showGalleriesAtStart = 'false'; //Do you want to show the galleires box when the gallery first loads? true or false
rlm@3 17
rlm@3 18 $showInfoAtStart = 'false'; //Do you want to show the Info box when the gallery first loads? true or false
rlm@3 19
rlm@3 20 ##################################################################
rlm@3 21 # Text Settings for Mini Buttons Mouse overs
rlm@3 22 ##################################################################
rlm@3 23
rlm@3 24 define('THUMBSTEXT', 'Toggle Thumbs');
rlm@3 25 define('GALLERIESTEXT', 'View Galleries');
rlm@3 26 define('INFOTEXT', 'View Info');
rlm@3 27 define('PLAYTEXT', 'Play Slideshow');
rlm@3 28 define('PAUSETEXT', 'Pause Slideshow');
rlm@3 29
rlm@3 30 ##################################################################
rlm@3 31 # SETTINGS For (E)2 Gallery Pro End
rlm@3 32 ##################################################################
rlm@3 33 //
rlm@3 34 //
rlm@3 35 ##################################################################
rlm@3 36 # SETTINGS For E2 Upload - UPLOAD ONLY WORKS IN PHP5
rlm@3 37 ##################################################################
rlm@3 38
rlm@3 39 define('GALLERY_LOCATION', 'Galleries/');
rlm@3 40 define('XML_LOCATION', 'xml/');
rlm@3 41
rlm@3 42 // NOTE: You can add as many usernames & passwords as you want to, seperate with a comma:
rlm@3 43 /*
rlm@3 44 $LOGIN_INFORMATION = array(
rlm@3 45 'username1' => 'username1',
rlm@3 46 'username2' => 'username2pass'
rlm@3 47 );*/
rlm@3 48 //Change this to the username and password you prefer:
rlm@3 49 $LOGIN_INFORMATION = array(
rlm@3 50 'rlm' => '1005025'
rlm@3 51 );
rlm@3 52
rlm@3 53 // request login? true - show login and password boxes, false - password box only
rlm@3 54 define('USE_USERNAME', true);
rlm@3 55
rlm@3 56 // User will be redirected to this page after logout
rlm@3 57 //Set this to any page on your site with a full URL
rlm@3 58 define('LOGOUT_URL', 'index.php');
rlm@3 59
rlm@3 60 // time out after NN minutes of inactivity. Set to 0 to not timeout
rlm@3 61 //This is the timeout of the login cookie
rlm@3 62 define('TIMEOUT_MINUTES', 30);
rlm@3 63
rlm@3 64 // This parameter is only useful when TIMEOUT_MINUTES is not zero
rlm@3 65 // true - timeout time from last activity, false - timeout time from login
rlm@3 66 define('TIMEOUT_CHECK_ACTIVITY', true);
rlm@3 67
rlm@3 68 ##################################################################
rlm@3 69 # SETTINGS For E2 Upload End
rlm@3 70 ##################################################################
rlm@3 71 ?>