Changeset 19217 for extensions/gally/gally-cuise
- Timestamp:
- Nov 29, 2012, 1:47:34 PM (12 years ago)
- Location:
- extensions/gally/gally-cuise
- Files:
-
- 1 added
- 3 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gally/gally-cuise/admin/admin.inc.php
r19131 r19217 1 1 <?php 2 2 /* ----------------------------------------------------------------------------- 3 Theme : Gally/ Cuise4 Author : Grum + cljosse3 Theme : Gally/Grum dark II 4 Author : Grum 5 5 email : grum@piwigo.org 6 website : http:// cl.josse.free.fr/Galerie6 website : http://photos.grum.fr 7 7 8 8 << May the Little SpaceFrog be with you ! >> … … 13 13 include_once(PHPWG_THEMES_PATH.'gally-default/admin/GallyDefault.class.inc.php'); 14 14 15 $interface = new GallyDefault("Gally/ cuise", "", PHPWG_THEMES_PATH.'gally-cuise/conf');15 $interface = new GallyDefault("Gally/Grum dark II", "", PHPWG_THEMES_PATH.'gally-grum-dark-II/conf'); 16 16 17 17 ?> -
extensions/gally/gally-cuise/conf/default.conf
r19131 r19217 1 1 # ------------------------------------------------------------------------------ 2 # GRUM: CUISE2 # GRUM:DARK-II 3 3 # Theme for Piwigo 4 4 # ------------------------------------------------------------------------------ 5 # file: gally- cuise/conf/default.conf6 # file release: 1. 3.05 # file: gally-grum-dark-II/conf/default.conf 6 # file release: 1.5.0 7 7 # ------------------------------------------------------------------------------ 8 8 # author: grum at piwigo.org 9 9 # << May the Little SpaceFrog be with you >> 10 10 # ------------------------------------------------------------------------------ 11 # Cuisefor themes "Gally"11 # Grum dark II for themes "Gally" 12 12 # 13 13 # see the gally-default/release_notes.txt file for more informations … … 17 17 # To modify theses default options, you can make a "local.conf" file with new 18 18 # declaration of parameters 19 # Local files must be localized in the /local/themes/gally- cuise/conf19 # Local files must be localized in the /local/themes/gally-grum-dark-II/conf 20 20 # directory 21 21 # … … 233 233 # 234 234 # please note that under MSIE, the "auto" option don't work as well as other browser 235 menuWidth = " 190"235 menuWidth = "auto" 236 236 237 237 # The 'menuMaxWidth' option is used when the 'menuWidth' option is set to "auto" … … 244 244 # 'menuMSIEMaxWidth' option you can force a maximum width only for this browser 245 245 # This option is not used when the 'menuAnimated' option is set to "noswitch" 246 menuMaxWidth = 190247 menuMSIEMaxWidth = 190246 menuMaxWidth = 0 247 menuMSIEMaxWidth = 350 248 248 249 249 # -- 1.3.0 -- -
extensions/gally/gally-cuise/css/theme.css
r19131 r19217 1 1 /* ----------------------------------------------------------------------------- 2 CUISE2 GRUM:DARK-II 3 3 A Gally's theme for Piwigo 4 4 ------------------------------------------------------------------------------ 5 file: gally -cuise/css/theme.css5 file: gally/grum-dark II/theme.css 6 6 file version: 1.5.0 7 7 ------------------------------------------------------------------------------ 8 author: grum at grum.fr + cljosse8 author: grum at grum.fr 9 9 << May the Little SpaceFrog be with you >> 10 10 ------------------------------------------------------------------------------ 11 cuisefor template "Gally"11 Grum-dark II for template "Gally" 12 12 ----------------------------------------------------------------------------- */ 13 13 -
extensions/gally/gally-cuise/js/theme.js
r19131 r19217 21 21 { 22 22 gallyCuise = new GallyCuise(); 23 } 23 24 25 jQuery('a.pwg-state-default').each(function (i) { 26 obj = this; 27 28 29 jQuery(obj).addClass("button").removeClass('pwg-state-default').removeClass('pwg-button'); 30 html = jQuery(obj).html(); 31 if (html.indexOf("url(") > 0) { 32 33 id = this.id; 34 jQuery(this).css({ 35 backgroundPosition:"-588px +28px" 36 37 }); 38 htmls = html.split("url("); 39 htmls = htmls[1].split(")"); 40 html = "<img src=" + htmls[0] + " class='pwg-button img_button' />"; 41 42 }else if (html.indexOf("map") > 0) { 43 html=""; 44 jQuery(this).css({ 45 backgroundPosition:"-588px -28px" , 46 position:'relative' 47 // bottom:'-10px',left:'-5px' 48 }); 49 } 50 51 jQuery(obj).html(html); 52 }); 53 } 24 54 ); 25 55 … … 27 57 function GallyCuise() 28 58 { 29 function init() 30 { 59 function init() { 60 61 31 62 // apply specific actions for categories pages 32 63 if(jQuery('#theCategoryPage').length>0) … … 41 72 } 42 73 setTipPosition_Menu(); 74 win_height = jQuery("#thumbContents").height(); 75 if (!win_height) 76 win_height = jQuery("#theImage").height(); 77 43 78 } 44 79 -
extensions/gally/gally-cuise/local_head.tpl
r19131 r19217 1 2 {php} 3 global $themeconf,$mytheme; 4 $mytheme = 'themes/'.$themeconf['name'].'/'; 5 $mycss="theme.css.php"; 6 {/php} 7 <!-- gally-cuise **LOCAL** >HEADER> {php} echo $mytheme.$mycss ; {/php} --> 8 <link rel="stylesheet" href="{php} echo $mytheme.$mycss ; {/php}" type="text/css" /> 1 9 <!-- **LOCAL** >HEADER> --> 2 <style type="text/css">3 {php}4 include('themes/gally-cuise/css/cuise_theme.css.php');5 {/php}6 </style>7 <!-- **LOCAL** >HEADER> --> -
extensions/gally/gally-cuise/themeconf.inc.php
r19131 r19217 1 1 <?php 2 2 /* 3 Theme Name: Gally/ cuise3 Theme Name: Gally/Cuise 4 4 Version: 2.0.7 5 5 Description: Cuise theme … … 9 9 */ 10 10 11 12 global $themeconf ; 13 14 11 15 $themeconf = array( 12 16 'name' => 'gally-cuise', 13 'theme' => 'gally-cuise', 17 'theme_dir' => 'gally-cuise', 18 'img_dir' => 'themes/gally-cuise/images', 19 14 20 'parent' => 'gally-default', 15 21 'icon_dir' => 'themes/gally-cuise/icon', 16 'mime_icon_dir' => 'themes/gally-cuise/icon/mimetypes/', 17 'local_head' => 'local_head.tpl', 22 23 'admin_icon_dir' => 'themes/default/icon/admin', 24 'mime_icon_dir' => 'themes/default/icon/mimetypes/', 25 'local_head' => 'local_head.tpl', 26 'load_parent_local_head' => true, 18 27 ); 28 19 29 ?>
Note: See TracChangeset
for help on using the changeset viewer.