No changes between revisions
/photogallery/singapore.ini |
---|
1,272 → 1,272 |
; singapore main configuration file <http://singapore.sourceforge.net> |
; |
; Split into sections (Basic, Paths, Functionality, SQL & Advanced) |
; for ease of reading. Sections are ignored by the script. |
; |
; Any of these settings can be overridden in gallery.ini or |
; template.ini files. See the readme for more information. |
; |
; Template specific settings may be found in the template.ini |
; file located in the template's root directory. |
[Basic] |
; |
; settings that most users will want to look at and possibly change |
; |
thumbnail_software = "gd2" |
;the software to use to generate the thumbnails |
; gd1 = GD v1.x |
; gd2 = GD v2.x |
; im = ImageMagick v5.x |
; im6 = ImageMagick v6.x |
gallery_name = "MLAB" |
;this is the text that will appear in the title bar of all |
;generated pages and also the root node of the crumb line |
default_template = "modern" |
;the name of the template to use when none is specified |
default_language = "en" |
;the language code for the language that you would like to use. |
;you must have the appropriate language file in the locale directory. |
gallery_sort_order = "x" |
;the order in which galleries will be displayed. Can take the following values: |
; p = sort by directory name (ascending) |
; P = sort by directory name (descending) |
; n = sort by gallery name (ascending) |
; N = sort by gallery name (descending) |
; i = sort by gallery name (case insensitive, ascending) |
; I = sort by gallery name (case insensitive, descending) |
; a = sort by artist name (ascending) |
; A = sort by artist name (descending) |
; d = sort by date (ascending) |
; D = sort by date (descending) |
; note: date comparison is done as a string comparison on the 'date' database |
; field. So for example "2003-10-22" comes before "22 October 2003" |
; x = do not sort (default) |
image_sort_order = "x" |
;the order in which images will be displayed. Can take the following values: |
; f = sort by file name (ascending) |
; F = sort by file name (descending) |
; n = sort by image name (ascending) |
; N = sort by image name (descending) |
; i = sort by image name (case insensitive, ascending) |
; I = sort by image name (case insensitive, descending) |
; a = sort by artist name (ascending) |
; A = sort by artist name (descending) |
; d = sort by date (ascending) |
; D = sort by date (descending) |
; note: date comparison is done as a string comparison on the 'date' database |
; field. So for example "2003-10-22" comes before "22 October 2003" |
; l = sort by location (ascending) |
; L = sort by location (descending) |
; x = do not sort (default) |
upload_overwrite = 2 |
;what to do when uploading an image or gallery that already exists: |
; 0 do not overwrite, raise an error (default) |
; 1 overwrite without prompting |
; 2 attempt to generate a new unique name |
[Functionality] |
; |
; some features are turned off by default. Try them out by turning them on here. |
; |
language_flipper = on |
;turn on to display a select box which allows users to select a language |
template_flipper = on |
;turn on to display a select box which allows users to select a template |
full_image_resize = off |
;turn on to force all full-size images to be resized to the size specified |
;in the current template's template.ini |
imagemap_navigation = off |
;turns full-size images into image maps so that clicking on |
;them takes you forward/backward/up |
track_views = on |
;whether to keep track of how many times images and |
;galleries have been viewed |
show_views = on |
;whether to display how many times images and galleries |
;have been viewed |
show_execution_time = on |
;display script execution time in milliseconds |
enable_iifn = on |
;enables parsing of directory and file names of the form |
;'artist_name - image_name' into metadata information |
obfuscate_email = on |
;tries to conceal email addresses from spambots by |
;replacing '.' with ' dot ' and '@' with ' at ' |
enable_clickable_urls = on |
;makes the script detect URLs in image & gallery descriptions |
;and make them 'clickable' by adding the appropriate HTML |
remove_jpeg_profile = off |
;true to tell ImageMagick to remove any profile information |
;from generated thumbnails. This has been known to cause some |
;problems hence it being disabled by default |
progressive_thumbs = on |
;generate progressive JPEG and interlaced GIF & PNG images. |
use_mod_rewrite = off |
;format generated URLs for use with Apache mod_rewrite |
;you need to enable mod_rewrite and create an appropriate .htaccess file |
detect_language = off |
;attempt to detect user language from browser information |
;if this fails the default_language will be used |
[Paths] |
; |
; The default paths will be fine for most people. |
; |
pathto_templates = "templates/" |
;path to directory containing templates |
;must be specified relative to singapore root |
pathto_data_dir = "data/" |
;path to writable data directory |
;must be specified relative to singapore root |
pathto_galleries = "galleries/" |
;path to galleries directory |
;must be specified relative to singapore root |
pathto_locale = "locale/" |
;path to directory containing internationalisation files (singapore.LANG.pmo) |
;must be specified relative to singapore root |
pathto_convert = "convert" |
;full path to ImageMagick convert utility if it is not in your PATH |
pathto_unzip = "unzip" |
;full path to Info-Zip unzip utility or equivalent if it is not in your PATH |
;base_path option is in the [Advanced] section below |
[SQL] |
; |
; settings relevant to all the SQL backends (except SQLite). |
; You may ignore these if you are not using one of these backends. |
; For security reasons username and password are stored in secret.ini.php |
; |
sql_host = "localhost" |
;name of computer running MySQL server (usually localhost) |
;a port number may be included as in "example.com:1234" |
sql_database = "singapore" |
;database in which information will be stored. this must already exist. |
sql_prefix = "sg_" |
;this will be prefixed to the names of the tables created (galleries, images & users). |
;each singapore installation running on same database should have a different prefix. |
[FTP] |
; |
; The safe_mode hack uses FTP to create galleries. |
; You may ignore these settings if your server is not runing in safe_mode. |
; For security reasons username and password are stored in secret.ini.php |
; |
safe_mode_hack = off |
;set to on to enable the hack |
ftp_server = "" |
;the hostname you use to login to your website |
;a port number may be included as in "example.com:1234" |
ftp_base_path = "" |
;path from ftp root to singapore root |
[Advanced] |
; |
; settings most users will not need to change |
; |
io_handler = "mysql" |
;the type of database to use. recognised values are: |
; csv = flat file, no database needed (default) |
; mysql = MySQL database (configure sql_* settings above and in secret.ini.php) |
; sqlite = SQLite database (does not require any further configuration) |
allow_dir_upload = 0 |
;allow uploading archives containing arbitrary files. |
; 0 = allow no one |
; 1 = allow all registered users |
; 2 = allow only administrators |
admin_template_name = "admin_default" |
;the name of the admin template to use |
thumbnail_quality = 75 |
;the JPEG quality of generated thumbnails |
;100 is the highest quality 0 is the lowest |
session_name = "PHPSESSID" |
;the name of the admin session. each independent singapore |
;installation on the same domain should have a different name |
default_charset = "utf-8" |
;the character encoding to use for generated pages if none |
;is specified in the current language file |
index_file_url = "index.php?" |
;filename of index file plus any query-string |
;if a path is specified it must be absolute |
base_path = "" |
;file-system-view absolute or relative path to installation |
;can usually be left blank |
base_url = "" |
;web-view absolute or relative url of installation. |
;can usually be left blank |
recognised_extensions = "jpeg|jpg|jpe|png|gif|bmp|tif|tiff" |
;list of file extensions that will be recognised as images |
;this forms part of a pcre hence the vertical bars (meaning OR) |
allowed_tags = "<a><b><i><u><em><strong><strike>" |
;list of HTML tags which will be allowed in multiline database entries |
;such as description and summary |
directory_mode = 0777 |
;the permissions to set on directories |
;(i.e. galleries) created by the script |
file_mode = 0666 |
;the permissions to set on files (thumbnails, logs, |
;images & metadata files) created by the script. |
[GET variable names] |
; |
; names of variables used to pass information in URLs |
; you will only need to change these if there is a conflict with |
; already existing variables and the installation is being integrated. |
; |
url_gallery = "gallery" |
url_image = "image" |
url_startat = "startat" |
url_action = "action" |
url_lang = "lang" |
url_template = "template" |
; singapore main configuration file <http://singapore.sourceforge.net> |
; |
; Split into sections (Basic, Paths, Functionality, SQL & Advanced) |
; for ease of reading. Sections are ignored by the script. |
; |
; Any of these settings can be overridden in gallery.ini or |
; template.ini files. See the readme for more information. |
; |
; Template specific settings may be found in the template.ini |
; file located in the template's root directory. |
[Basic] |
; |
; settings that most users will want to look at and possibly change |
; |
thumbnail_software = "gd2" |
;the software to use to generate the thumbnails |
; gd1 = GD v1.x |
; gd2 = GD v2.x |
; im = ImageMagick v5.x |
; im6 = ImageMagick v6.x |
gallery_name = "MLAB" |
;this is the text that will appear in the title bar of all |
;generated pages and also the root node of the crumb line |
default_template = "MLAB" |
;the name of the template to use when none is specified |
default_language = "en" |
;the language code for the language that you would like to use. |
;you must have the appropriate language file in the locale directory. |
gallery_sort_order = "x" |
;the order in which galleries will be displayed. Can take the following values: |
; p = sort by directory name (ascending) |
; P = sort by directory name (descending) |
; n = sort by gallery name (ascending) |
; N = sort by gallery name (descending) |
; i = sort by gallery name (case insensitive, ascending) |
; I = sort by gallery name (case insensitive, descending) |
; a = sort by artist name (ascending) |
; A = sort by artist name (descending) |
; d = sort by date (ascending) |
; D = sort by date (descending) |
; note: date comparison is done as a string comparison on the 'date' database |
; field. So for example "2003-10-22" comes before "22 October 2003" |
; x = do not sort (default) |
image_sort_order = "x" |
;the order in which images will be displayed. Can take the following values: |
; f = sort by file name (ascending) |
; F = sort by file name (descending) |
; n = sort by image name (ascending) |
; N = sort by image name (descending) |
; i = sort by image name (case insensitive, ascending) |
; I = sort by image name (case insensitive, descending) |
; a = sort by artist name (ascending) |
; A = sort by artist name (descending) |
; d = sort by date (ascending) |
; D = sort by date (descending) |
; note: date comparison is done as a string comparison on the 'date' database |
; field. So for example "2003-10-22" comes before "22 October 2003" |
; l = sort by location (ascending) |
; L = sort by location (descending) |
; x = do not sort (default) |
upload_overwrite = 2 |
;what to do when uploading an image or gallery that already exists: |
; 0 do not overwrite, raise an error (default) |
; 1 overwrite without prompting |
; 2 attempt to generate a new unique name |
[Functionality] |
; |
; some features are turned off by default. Try them out by turning them on here. |
; |
language_flipper = on |
;turn on to display a select box which allows users to select a language |
template_flipper = on |
;turn on to display a select box which allows users to select a template |
full_image_resize = off |
;turn on to force all full-size images to be resized to the size specified |
;in the current template's template.ini |
imagemap_navigation = off |
;turns full-size images into image maps so that clicking on |
;them takes you forward/backward/up |
track_views = on |
;whether to keep track of how many times images and |
;galleries have been viewed |
show_views = on |
;whether to display how many times images and galleries |
;have been viewed |
show_execution_time = on |
;display script execution time in milliseconds |
enable_iifn = on |
;enables parsing of directory and file names of the form |
;'artist_name - image_name' into metadata information |
obfuscate_email = on |
;tries to conceal email addresses from spambots by |
;replacing '.' with ' dot ' and '@' with ' at ' |
enable_clickable_urls = on |
;makes the script detect URLs in image & gallery descriptions |
;and make them 'clickable' by adding the appropriate HTML |
remove_jpeg_profile = off |
;true to tell ImageMagick to remove any profile information |
;from generated thumbnails. This has been known to cause some |
;problems hence it being disabled by default |
progressive_thumbs = on |
;generate progressive JPEG and interlaced GIF & PNG images. |
use_mod_rewrite = off |
;format generated URLs for use with Apache mod_rewrite |
;you need to enable mod_rewrite and create an appropriate .htaccess file |
detect_language = on |
;attempt to detect user language from browser information |
;if this fails the default_language will be used |
[Paths] |
; |
; The default paths will be fine for most people. |
; |
pathto_templates = "templates/" |
;path to directory containing templates |
;must be specified relative to singapore root |
pathto_data_dir = "data/" |
;path to writable data directory |
;must be specified relative to singapore root |
pathto_galleries = "galleries/" |
;path to galleries directory |
;must be specified relative to singapore root |
pathto_locale = "locale/" |
;path to directory containing internationalisation files (singapore.LANG.pmo) |
;must be specified relative to singapore root |
pathto_convert = "convert" |
;full path to ImageMagick convert utility if it is not in your PATH |
pathto_unzip = "unzip" |
;full path to Info-Zip unzip utility or equivalent if it is not in your PATH |
;base_path option is in the [Advanced] section below |
[SQL] |
; |
; settings relevant to all the SQL backends (except SQLite). |
; You may ignore these if you are not using one of these backends. |
; For security reasons username and password are stored in secret.ini.php |
; |
sql_host = "localhost" |
;name of computer running MySQL server (usually localhost) |
;a port number may be included as in "example.com:1234" |
sql_database = "singapore" |
;database in which information will be stored. this must already exist. |
sql_prefix = "sg_" |
;this will be prefixed to the names of the tables created (galleries, images & users). |
;each singapore installation running on same database should have a different prefix. |
[FTP] |
; |
; The safe_mode hack uses FTP to create galleries. |
; You may ignore these settings if your server is not runing in safe_mode. |
; For security reasons username and password are stored in secret.ini.php |
; |
safe_mode_hack = off |
;set to on to enable the hack |
ftp_server = "" |
;the hostname you use to login to your website |
;a port number may be included as in "example.com:1234" |
ftp_base_path = "" |
;path from ftp root to singapore root |
[Advanced] |
; |
; settings most users will not need to change |
; |
io_handler = "mysql" |
;the type of database to use. recognised values are: |
; csv = flat file, no database needed (default) |
; mysql = MySQL database (configure sql_* settings above and in secret.ini.php) |
; sqlite = SQLite database (does not require any further configuration) |
allow_dir_upload = 1 |
;allow uploading archives containing arbitrary files. |
; 0 = allow no one |
; 1 = allow all registered users |
; 2 = allow only administrators |
admin_template_name = "admin_default" |
;the name of the admin template to use |
thumbnail_quality = 75 |
;the JPEG quality of generated thumbnails |
;100 is the highest quality 0 is the lowest |
session_name = "PHPSESSID" |
;the name of the admin session. each independent singapore |
;installation on the same domain should have a different name |
default_charset = "utf-8" |
;the character encoding to use for generated pages if none |
;is specified in the current language file |
index_file_url = "index.php?" |
;filename of index file plus any query-string |
;if a path is specified it must be absolute |
base_path = "" |
;file-system-view absolute or relative path to installation |
;can usually be left blank |
base_url = "" |
;web-view absolute or relative url of installation. |
;can usually be left blank |
recognised_extensions = "jpeg|jpg|jpe|png|gif|bmp|tif|tiff" |
;list of file extensions that will be recognised as images |
;this forms part of a pcre hence the vertical bars (meaning OR) |
allowed_tags = "<a><b><i><u><em><strong><strike>" |
;list of HTML tags which will be allowed in multiline database entries |
;such as description and summary |
directory_mode = 0777 |
;the permissions to set on directories |
;(i.e. galleries) created by the script |
file_mode = 0666 |
;the permissions to set on files (thumbnails, logs, |
;images & metadata files) created by the script. |
[GET variable names] |
; |
; names of variables used to pass information in URLs |
; you will only need to change these if there is a conflict with |
; already existing variables and the installation is being integrated. |
; |
url_gallery = "gallery" |
url_image = "image" |
url_startat = "startat" |
url_action = "action" |
url_lang = "lang" |
url_template = "template" |
/photogallery/templates/MLAB/album.tpl.php |
---|
0,0 → 1,60 |
<p class="sgNavBar sgTopNavBar"> |
<?php if($sg->gallery->hasPrev()) echo $sg->gallery->prevLink()." | "; ?> |
<?php if(!$sg->gallery->isRoot()) echo $sg->gallery->parentLink(); ?> |
<?php if($sg->gallery->hasNext()) echo " | ".$sg->gallery->nextLink(); ?> |
</p> |
<h2 class="sgTitle"><?php echo $sg->gallery->name(); ?></h2> |
<h4 class="sgSubTitle"><?php echo $sg->gallery->byArtistText(); ?></h4> |
<div class="sgShadow"><table class="sgShadow" cellspacing="0"> |
<tr> |
<td class="tabl"></td> |
<td class="tabm"> |
<div><?php echo $sg->galleryTab(); ?></div> |
</td> |
<td class="tabr"></td> |
</tr> |
<tr> |
<td class="tl"></td> |
<td class="tm"></td> |
<td class="tr"></td> |
</tr> |
<tr> |
<td class="ml"></td> |
<td class="mm"> |
<?php for($index = $sg->gallery->startat; $index < $sg->gallery->imageCountSelected()+$sg->gallery->startat; $index++): ?> |
<div class="sgThumbnail"> |
<div class="sgThumbnailContent"> |
<img class="borderTL" src="<?php echo $sg->config->base_url.$sg->config->pathto_current_template ?>images/slide-tl.gif" alt="" /> |
<img class="borderTR" src="<?php echo $sg->config->base_url.$sg->config->pathto_current_template ?>images/slide-tr.gif" alt="" /> |
<table><tr><td> |
<?php echo $sg->gallery->images[$index]->thumbnailLink(); ?> |
</td></tr></table> |
<div class="roundedCornerSpacer"> </div> |
</div> |
<div class="bottomCorners"> |
<img class="borderBL" src="<?php echo $sg->config->base_url.$sg->config->pathto_current_template ?>images/slide-bl.gif" alt="" /> |
<img class="borderBR" src="<?php echo $sg->config->base_url.$sg->config->pathto_current_template ?>images/slide-br.gif" alt="" /> |
</div> |
</div> |
<?php endfor; ?> |
</td> |
<td class="mr"></td> |
</tr> |
<tr> |
<td class="bl"></td> |
<td class="bm"></td> |
<td class="br"></td> |
</tr> |
</table></div> |
<p class="sgDetailsList"> |
<?php foreach($sg->gallery->detailsArray() as $key => $value): ?> |
<strong><?php echo $key; ?>:</strong> <?php echo $value; ?><br /> |
<?php endforeach; ?> |
</p> |
/photogallery/templates/MLAB/footer.tpl.php |
---|
0,0 → 1,12 |
<div id="footer"><p> |
<?php echo $sg->allRightsReserved(); ?> |
<?php echo $sg->licenseText(); ?> |
<br /> |
<?php echo $sg->poweredByText(); ?> |
<?php echo $sg->scriptExecTimeText(); ?> | |
<?php echo $sg->adminLink(); ?> |
</p></div> |
</body> |
</html> |
/photogallery/templates/MLAB/gallery.tpl.php |
---|
0,0 → 1,56 |
<p class="sgNavBar sgTopNavBar"> |
<?php if($sg->gallery->hasPrev()) echo $sg->gallery->prevLink()." | "; ?> |
<?php if(!$sg->gallery->isRoot()) echo $sg->gallery->parentLink(); ?> |
<?php if($sg->gallery->hasNext()) echo " | ".$sg->gallery->nextLink(); ?> |
</p> |
<h2 class="sgTitle"><?php echo $sg->gallery->name(); ?></h2> |
<h4 class="sgSubTitle"><?php echo $sg->gallery->byArtistText(); ?></h4> |
<div class="sgShadow"><table class="sgShadow" cellspacing="0"> |
<tr> |
<td class="tabl"></td> |
<td class="tabm"> |
<div><?php echo $sg->galleryTab(); ?></div> |
</td> |
<td class="tabr"></td> |
</tr> |
<tr> |
<td class="tl"></td> |
<td class="tm"></td> |
<td class="tr"></td> |
</tr> |
<tr> |
<td class="ml"></td> |
<td class="mm"> |
<?php for($index = $sg->gallery->startat; $index < $sg->gallery->galleryCountSelected()+$sg->gallery->startat; $index++): ?> |
<div class="sgGallery"><table class="sgGallery"><tr valign="top"> |
<td class="sgGalleryThumb"> |
<?php echo $sg->gallery->galleries[$index]->thumbnailLink(); ?> |
</td> |
<td> |
<p><strong><?php echo $sg->gallery->galleries[$index]->nameLink(); ?></strong></p> |
<p><?php echo $sg->gallery->galleries[$index]->summary(); ?></p> |
<p>[<?php echo $sg->gallery->galleries[$index]->itemCountText(); ?>]</p> |
</td> |
</tr></table></div> |
<?php endfor; ?> |
</td> |
<td class="mr"></td> |
</tr> |
<tr> |
<td class="bl"></td> |
<td class="bm"></td> |
<td class="br"></td> |
</tr> |
</table></div> |
<p class="sgDetailsList"> |
<?php foreach($sg->gallery->detailsArray() as $key => $value): ?> |
<strong><?php echo $key; ?>:</strong> <?php echo $value; ?><br /> |
<?php endforeach; ?> |
</p> |
/photogallery/templates/MLAB/header.tpl.php |
---|
0,0 → 1,25 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title><?php echo $sg->pageTitle(); ?></title> |
<link rel="stylesheet" type="text/css" href="<?php echo $sg->config->base_url.$sg->config->pathto_current_template ?>main.css" /> |
<?php echo $sg->navigationLinks(); ?> |
<!-- |
This page was generated by singapore <http://singapore.sourceforge.net> |
singapore is free software licensed under the terms of the GNU GPL. |
--> |
</head> |
<body> |
<?php echo $sg->languageFlipper(); ?> |
<?php echo $sg->templateFlipper(); ?> |
<div id="crumb"><?php echo $sg->crumbLine(); ?></div> |
<div id="header"><img src="<?php echo $sg->config->base_url.$sg->config->pathto_current_template ?>images/header.gif" alt="<?php echo$sg->config->gallery_name ?>" /></div> |
<!-- start of generated content --> |
/photogallery/templates/MLAB/image.tpl.php |
---|
0,0 → 1,45 |
<p class="sgNavBar sgTopNavBar"> |
<?php echo $sg->previewThumbnails(); ?> |
<br /> |
<?php if($sg->image->hasPrev()) echo $sg->image->prevLink()." | "; ?> |
<?php echo $sg->image->parentLink(); ?> |
<?php if($sg->image->hasNext()) echo " | ".$sg->image->nextLink(); ?> |
</p> |
<h2 class="sgTitle"><?php echo $sg->image->name(); ?></h2> |
<h4 class="sgSubTitle"><?php echo $sg->image->byArtistText(); ?></h4> |
<div class="sgShadow"><table class="sgShadow" cellspacing="0"> |
<tr> |
<td class="tl"></td> |
<td class="tm"></td> |
<td class="tr"></td> |
</tr> |
<tr> |
<td class="ml"></td> |
<td class="mm"> |
<?php echo $sg->image->imageHTML() ?> |
</td> |
<td class="mr"></td> |
</tr> |
<tr> |
<td class="bl"></td> |
<td class="bm"></td> |
<td class="br"></td> |
</tr> |
</table></div> |
<p class="sgNavBar sgBottomNavBar"> |
<?php if($sg->image->hasPrev()) echo $sg->image->prevLink()." | "; ?> |
<?php echo $sg->image->parentLink(); ?> |
<?php if($sg->image->hasNext()) echo " | ".$sg->image->nextLink(); ?> |
</p> |
<h4 class="sgNameByArtist"><em><?php echo $sg->image->name() ?></em><?php echo $sg->image->byArtistText() ?></h4> |
<p class="sgDetailsList"> |
<?php foreach($sg->image->detailsArray() as $key => $value): ?> |
<strong><?php echo $key ?>:</strong> <?php echo $value ?><br /> |
<?php endforeach; ?> |
</p> |
<?php echo $sg->imageMap() ?> |
/photogallery/templates/MLAB/images/Thumbs.db |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/blank.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/header.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-bl.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-bm.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-br.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-ml.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-mr.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-tabl.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-tabm.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-tabr.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-tl.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-tm.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/shadow-tr.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/slide-bl.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/slide-br.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/slide-tl.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/images/slide-tr.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/photogallery/templates/MLAB/index.tpl.php |
---|
0,0 → 1,32 |
<?php |
/** |
* Default singapore template. |
* |
* @author Tamlyn Rhodes <tam at zenology dot co dot uk> |
* @copyright (c)2003, 2004 Tamlyn Rhodes |
* @version 1.0 |
*/ |
//include header file |
include $sg->config->base_path.$sg->config->pathto_current_template."header.tpl.php"; |
switch($sg->action) { |
case "addcomment" : |
include $sg->config->base_path.$sg->config->pathto_current_template."addcomment.tpl.php"; |
default : |
if($sg->isImagePage()) { |
//this is an 'image' page so include the 'image' template file |
include $sg->config->base_path.$sg->config->pathto_current_template."image.tpl.php"; |
} elseif($sg->isAlbumPage()) { |
//this is an 'album' page so include the 'album' template file |
include $sg->config->base_path.$sg->config->pathto_current_template."album.tpl.php"; |
} else { |
//this is a 'gallery' page so include the 'gallery' template file |
include $sg->config->base_path.$sg->config->pathto_current_template."gallery.tpl.php"; |
} |
} |
//include footer file |
include $sg->config->base_path.$sg->config->pathto_current_template."footer.tpl.php"; |
?> |
/photogallery/templates/MLAB/main.css |
---|
0,0 → 1,232 |
/* * * * * * * * * * */ |
/* Generic elements */ |
/* * * * * * * * * * */ |
body { |
margin: 1em; |
font: small sans-serif; |
color: #000; |
background-color: #fff; |
} |
p, td, th, li, h4 { |
font: small sans-serif; |
} |
h1, h2, h3 { |
color: #f60; |
} |
h1 { |
font-size: large; |
} |
a:link, a:visited { |
color: #09f; |
text-decoration: underline; |
} |
a:hover { |
text-decoration: none; |
} |
input, textarea, select, .inputbox { |
border: 1px solid #f60; |
color: #000; |
background-color: #fff; |
} |
input.radio { |
border: none; |
background-color: #fff; |
} |
input.button { |
font-weight: bold; |
border: 1px outset #fff; |
color: #fff; |
background-color: #f60; |
} |
a img { |
border: 0; |
} |
/* * * * * * * * * * */ |
/* Elements with IDs */ |
/* * * * * * * * * * */ |
/* header: image and/or title */ |
#header { } |
/* crumb line: (You are here: ...) */ |
#crumb { } |
/* footer: copyright notices */ |
#footer { |
text-align: center; |
} |
/* * * * * * * * * */ |
/* Custom classes */ |
/* * * * * * * * * */ |
/* image or gallery name header */ |
.sgTitle { |
margin-bottom: 0; |
} |
/* image or gallery artist subheader */ |
.sgSubTitle { |
margin-top: 0; |
} |
/* image and artist name displayed beneath image */ |
p.sgNameByArtist { } |
/* image and gallery details such as date, location, camera model, hits etc. */ |
p.sgDetailsList { } |
/* language select box and template select box respectively */ |
div.sgLanguageFlipper, div.sgTemplateFlipper { |
float: right; |
clear: right; |
} |
div.sgClear { |
clear: both; |
} |
/* wraps the drop-shadow table to allow IE to center it */ |
div.sgShadow { |
text-align: center; |
padding: 1em; |
} |
/* the main content table that does the drop-shadow effect */ |
table.sgShadow { |
margin-left: auto; |
margin-right: auto; |
clear: both; |
} |
table.sgShadow { |
background-color: #f0f0f0; |
padding: 0; |
text-align: left; |
} |
table.sgShadow td { |
padding: 0; |
margin: 0; |
} |
/* div containing each gallery sub-gallery on a gallery page */ |
div.sgGallery { |
margin: 5px; |
padding: 5px; |
border: 1px solid #ccc; |
background-color: #fff; |
} |
/* the table cell containing the gallery thumbnail */ |
td.sgGalleryThumb { |
width: 100px; |
text-align: center; |
} |
/* the gallery thumbnail itself */ |
img.sgGalleryThumb { |
border: 1px solid #000; |
} |
/* the descriptive text (title, summary, contents) */ |
div.sgGallery p { |
margin-top: 0; |
margin-bottom: 2px; |
} |
/* full size image on an image page*/ |
img.sgImage { |
border: none; |
} |
/* the preview thumbnails and previous, thumbnails, next links */ |
p.sgTopNavBar, p.sgBottomNavBar { |
text-align: center; |
float: right; |
} |
/* wraps the thumbnail and rounded-corner code on an album page */ |
div.sgThumbnail { |
width: 124px; |
height: 124px; |
margin: 10px 5px; |
float: left; |
padding: 0px; |
text-align: center; |
} |
div.sgThumbnail table { |
width: 114px; |
height: 114px; |
margin: 0px; |
text-align: center; |
vertical-align: middle; |
} |
.sgThumbnailContent { |
background: #fff; |
margin: 0px; |
padding: 0px; |
border: 1px solid #ccc; |
} |
/* the following code does the rounded corners of the 35mm slide effect on |
the album pages. Taken from http://www.albin.net/CSS/roundedCorners/ */ |
.roundedCornerSpacer { |
margin: 0px; padding: 0px; border: 0px; |
clear: both; |
font-size: 1px; line-height: 1px; |
} |
.borderTL, .borderTR, .borderBL, .borderBR { |
width: 5px; height: 5px; |
padding: 0px; border: 0px; |
z-index: 99; |
} |
.borderTL, .borderBL { float: left; clear: both; } |
.borderTR, .borderBR { float: right; clear: right; } |
.borderTL { margin: -1px 0px 0px -1px; } |
.borderTR { margin: -1px -1px 0px 0px; } |
.borderBL { margin: -5px 0px 0px 0px; } |
.borderBR { margin: -5px 0px 0px 0px; } |
/* appropriate background images for drop-shadow effect */ |
table.sgShadow td.tabl { background-image: url('images/shadow-tabl.gif'); width: 16px; height: 16px; } |
table.sgShadow td.tabm { background-color: #fff; } |
table.sgShadow td.tabr { background-color: #fff; } |
table.sgShadow td.tl { background-image: url('images/shadow-tl.gif'); width: 32px; height: 16px; } |
table.sgShadow td.tm { background-image: url('images/shadow-tm.gif');} |
table.sgShadow td.tr { background-image: url('images/shadow-tr.gif');} |
table.sgShadow td.ml { background-image: url('images/shadow-ml.gif');} |
table.sgShadow td.mm { padding: 10px;} /* cell containing image */ |
table.sgShadow td.mr { background-image: url('images/shadow-mr.gif');} |
table.sgShadow td.bl { background-image: url('images/shadow-bl.gif');} |
table.sgShadow td.bm { background-image: url('images/shadow-bm.gif');} |
table.sgShadow td.br { background-image: url('images/shadow-br.gif'); width: 32px; height: 32px; } |
/* the bit with previous, next */ |
table.sgShadow td.tabm div { |
font-size: 13px; |
background: #f0f0f0 url('images/shadow-tabm.gif') top right; |
padding-right: 30px; |
float: left; |
} |
/photogallery/templates/MLAB/template.ini |
---|
0,0 → 1,50 |
;Option descriptions have been grouped together here. |
;Do not uncomment the following lines, they are for illustration only. |
; |
;thumb_width_* |
; Width in pixels of thumbnails generated by the script. |
; This option is affected by the thumb_crop_* option (see below). |
; |
;thumb_height_* |
; Height in pixels of thumbnails generated by the script. |
; This option is affected by the thumb_crop_* option (see below). |
; |
;thumb_crop_* |
; By default, width and height are maximum dimensions and images will be |
; resized, maintaining the same aspect ratio, to fit within these limits. |
; Turn force_size on to make the script crop images to the specified size. |
; |
;*_gallery |
; These options affect gallery pages (those that contain sub-galleries). |
; |
;*_album |
; These options affect album pages (those that contain only images). |
; |
;*_preview |
; These options affect the preview thumbnails displayed on image pages. |
; |
;*_image |
; These options affect full size display images and are only used if |
; full_image_resize is on in singapore.ini |
thumb_width_gallery = 80 |
thumb_height_gallery = 80 |
thumb_crop_gallery = off |
thumb_number_gallery = 10 |
;Maximum number of galleries to show on one gallery page. |
thumb_width_album = 100 |
thumb_height_album = 100 |
thumb_crop_album = off |
thumb_number_album = 20 |
;Maximum number of image thumbnails to show on one album page. |
thumb_width_preview = 50 |
thumb_height_preview = 50 |
thumb_crop_preview = off |
thumb_number_preview = 5 |
;Maximum number of preview thumbnails to display (including |
;current image). An odd number is usually preferred. |
thumb_width_image = 700 |
thumb_height_image = 500 |