Changeset 6700 for extensions/gally/gally-default
- Timestamp:
- Jul 24, 2010, 3:57:36 PM (14 years ago)
- Location:
- extensions/gally/gally-default
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gally/gally-default/admin/GallyDefault.class.inc.php
r6109 r6700 197 197 public function getFile($type, $fileName) 198 198 { 199 if( file_exists($this->directories[$type.'.local'].'/'.$fileName))199 if(@file_exists($this->directories[$type.'.local'].'/'.$fileName)) 200 200 { 201 201 return($this->directories[$type.'.local'].'/'.$fileName); 202 202 } 203 elseif( file_exists($this->directories[$type.'.parent'].'/'.$fileName))203 elseif(@file_exists($this->directories[$type.'.parent'].'/'.$fileName)) 204 204 { 205 205 return($this->directories[$type.'.parent'].'/'.$fileName); -
extensions/gally/gally-default/release_notes.txt
r6109 r6700 75 75 | | | . The information bar is not displayed with IE7 76 76 | | | 77 | | | 78 | | | 79 | | | 77 | 1.3.1 | 2010-07-09 | * mantis: bug 1767 78 | | | . Local.conf file is not loaded 79 | | | * mantis: bug 1654 80 | | | . warning on the admin configuration page 80 81 | | | 81 82 | | | -
extensions/gally/gally-default/template/header.tpl
r6109 r6700 57 57 { 58 58 $dir=dirname($_SERVER['SCRIPT_FILENAME'])."/themes/".$theme['id']."/conf/"; 59 $dirlocal=dirname($_SERVER['SCRIPT_FILENAME'])."/local/themes/".$theme['id']."/conf/"; 59 60 $this->assign("default_conf", $dir."default.conf"); 60 if(file_exists($dir ."local.conf"))61 if(file_exists($dirlocal."local.conf")) 61 62 { 62 $this->assign("local_conf", $dir ."local.conf");63 $this->assign("local_conf", $dirlocal."local.conf"); 63 64 } 64 65 else -
extensions/gally/gally-default/template/mainpage_categories.tpl
r6109 r6700 7 7 <div class="illustration"> 8 8 <a href="{$cat.URL}"> 9 <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'shows images at the root of this category'|@translate}">9 <img {if isset($cat.EXTRA_CLASS)}class="{$cat.EXTRA_CLASS}"{/if} src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'shows images at the root of this category'|@translate}"> 10 10 </a> 11 11 </div> -
extensions/gally/gally-default/template/thumbnails.tpl
r6109 r6700 9 9 <span class="wrap2"> 10 10 <a href="{$thumbnail.URL}"> 11 <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" />11 <img {if isset($thumbnail.LONGDESC) and $thumbnail.LONGDESC!=""}longdesc="{$thumbnail.LONGDESC}"{/if} class="thumbnail {if isset($thumbnail.EXTRA_CLASS)}{$thumbnail.EXTRA_CLASS}{/if}" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" /> 12 12 </a> 13 13 </span> -
extensions/gally/gally-default/themeconf.inc.php
r6109 r6700 2 2 /* 3 3 Theme Name: Gally 4 Version: 1.3. 04 Version: 1.3.1 5 5 Description: Parent theme for all the Gally themes 6 6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=382
Note: See TracChangeset
for help on using the changeset viewer.