Changeset 25996
- Timestamp:
- Dec 17, 2013, 11:19:05 PM (10 years ago)
- Location:
- extensions/PwgCarbon
- Files:
-
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PwgCarbon/PwgCarbon.php
r19015 r25996 3 3 4 4 global $conf, $template; 5 6 5 $params = array_merge(unserialize($conf['PwgCarbon'])); 6 $template->assign('PwgCarbon', $params); 7 7 8 8 … … 110 110 '); 111 111 }; 112 113 114 115 116 117 118 112 ?> -
extensions/PwgCarbon/admin/admin.tpl
r20562 r25996 1 1 {html_head} 2 2 <link rel="stylesheet" type="text/css" href="themes/PwgCarbon/admin/theme.css"> 3 <script src="themes/PwgCarbon/admin/js/jquery.screwdefaultbuttonsV2.min.js" type="text/javascript"></script>4 3 <script src="themes/PwgCarbon/js/lytebox.js" type="text/javascript"></script> 5 4 6 <script type="text/javascript">7 {literal}8 $(function(){9 10 $('input:radio').screwDefaultButtons({11 image: 'url("themes/PwgCarbon/admin/images/radioSmall_Blue.png")',12 width: 35,13 height: 3514 });15 16 $('input:checkbox').screwDefaultButtons({17 image: 'url("themes/PwgCarbon/admin/images/checkboxSmall_Blue.jpg")',18 width: 35,19 height: 3520 });21 22 });23 {/literal}24 </script>25 5 26 6 {/html_head} -
extensions/PwgCarbon/local_head.tpl
r18843 r25996 1 {php} 2 global $PwgCarbon; 3 $this->assign( 'PwgCarbon', $PwgCarbon ); 4 {/php} 5 6 7 8 9 <!--[if lt IE 7]> 10 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/fix-ie5-ie6.css"> 11 <![endif]--> 12 <!--[if IE 7]> 13 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/default/fix-ie7.css"> 14 <![endif]--> 15 <link rel="stylesheet" type="text/css" media="print" href="{$ROOT_URL}themes/default/print.css"> 16 17 18 19 1 {combine_script id='reflection' load='header' require='jquery' path='themes/PwgCarbon_dft/js/reflection.js'} 2 {combine_script id='menu' load='header' require='jquery' path='themes/PwgCarbon_dft/js/menu.js'} 3 {combine_script id='hoverIntent' load='header' require='jquery' path='themes/PwgCarbon_dft/js/jquery.hoverIntent.minified.js'} 4 {combine_script id='columnizer' load='footer' require='jquery' path='themes/PwgCarbon_dft/js/jquery.columnizer.js'} 20 5 21 6 {if ($PwgCarbon.lytebox)==1}{combine_script id='lytebox' load='header' require='jquery' path='themes/PwgCarbon/js/lytebox.js'}{/if} -
extensions/PwgCarbon/template/mainpage_categories.tpl
r19823 r25996 1 1 {define_derivative name='derivative_params' type='2small'} 2 2 3 {php}4 global $PwgCarbon;5 $this->assign( 'PwgCarbon', $PwgCarbon );6 {/php}7 3 {html_style} 8 4 -
extensions/PwgCarbon/template/menubar_identification.tpl
r18843 r25996 1 {php}2 global $PwgCarbon;3 $this->assign( 'PwgCarbon', $PwgCarbon );4 {/php}5 6 7 1 {if isset($U_LOGIN)} 8 <li class="liSub">9 2 10 3 {if ($PwgCarbon.menuident)==1} … … 65 58 </form> 66 59 </div> 67 </li>68 60 69 61 {else} 70 62 71 <li class="liSub">72 63 73 64 <span class="dd_wrapper">{'Identification'|@translate}</span> 74 <div style="opacity: 0; display: none; "class="sub">65 <div class="sub"> 75 66 76 67 {if isset($USERNAME)} … … 99 90 {/if} 100 91 </ul> 101 </li> 92 102 93 {/if} 103 -
extensions/PwgCarbon/template/thumbnails.tpl
r19026 r25996 1 {php}2 global $PwgCarbon;3 $this->assign( 'PwgCarbon', $PwgCarbon );4 {/php}5 6 7 1 {if !empty($thumbnails)}{strip} 8 2 {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'} … … 49 43 </a> 50 44 {if $SHOW_THUMBNAIL_CAPTION } 45 {if ($PwgCarbon.lytebox)==1} 46 <a href="{$thumbnail.path}" class="lytebox" data-lyte-options="borderSize:100 slide:true group:name showNavigation:true navType:1 slideInterval:10000 pauseOnPrevClick:true pauseOnNextClick:true" title="{$thumbnail.NAME|strip_tags:false|replace:'\'':'''|replace:'"':'"'}"> 47 {else} 51 48 <a href="{$thumbnail.URL}"> 49 {/if} 52 50 53 51 <div class=description> -
extensions/PwgCarbon/themeconf.inc.php
r19823 r25996 2 2 /* 3 3 Theme Name: PwgCarbon 4 Version: auto4 Version: 1.3 5 5 Description: theme PwgCarbon pour Piwigo. 6 6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=640 … … 9 9 */ 10 10 11 global $conf, $user, $PwgCarbon ;11 global $conf, $user, $PwgCarbon, $template; 12 12 13 13 … … 22 22 ); 23 23 24 25 26 $PwgCarbon = array_merge( unserialize( $conf['PwgCarbon'] ), (array)$PwgCarbon ); 27 28 29 30 add_event_handler('loc_end_page_header', 'load_PwgCarbon' ); 31 32 24 add_event_handler('init', 'load_PwgCarbon' ); 33 25 function load_PwgCarbon() 34 26 { 35 global $user, $page;36 if($user['theme']=='PwgCarbon')37 38 {39 27 include('PwgCarbon.php'); 40 }41 28 } 42 29
Note: See TracChangeset
for help on using the changeset viewer.