Changeset 27151 for extensions
- Timestamp:
- Feb 3, 2014, 10:13:12 PM (10 years ago)
- Location:
- extensions/modus
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/modus/admin/admin.inc.php
r26836 r27151 60 60 'available_derivatives' => $available_derivatives, 61 61 'available_skins' => $available_skins, 62 'THEMECONF_SRC' => highlight_file( dirname(dirname(__FILE__)).'/themeconf.inc.php', true )63 62 ) ); 64 63 -
extensions/modus/admin/modus_admin.tpl
r26836 r27151 39 39 </form> 40 40 41 <div style="text-align:left;line-height:1em">42 {$THEMECONF_SRC}43 </div> -
extensions/modus/themeconf.inc.php
r26836 r27151 2 2 /* 3 3 Theme Name: modus 4 Version: 201312 5 Description: Dark background, grayscale. 4 Version: 2.6.a 5 Description: Responsive, horizontal menu, retina aware, no lost space. 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=728 7 Author: rvelices 8 Author URI: http://www.modusoptimus.com 6 9 */ 7 10 $themeconf = array( … … 45 48 { 46 49 global $lang, $conf; 47 48 //$source = str_replace('{if isset($MENUBAR)} contentWithMenu{/if}', '', $source );49 //$source = str_replace('{if isset($MENUBAR)} class="contentWithMenu"{/if}', '', $source );50 50 51 51 $source = str_replace('<div id="imageHeaderBar">', '<div class=titrePage id=imageHeaderBar>', $source ); … … 98 98 $this->smarty->registerFilter('pre', 'rv_cdn_prefilter' ); 99 99 add_event_handler('combined_script', 'rv_cdn_combined_script', EVENT_HANDLER_PRIORITY_NEUTRAL, 2); 100 //add_event_handler('combined_css_postfilter', 'rv_cdn_combined_css_postfilter');101 100 } 102 101 … … 112 111 $url = RVCDN_ROOT_URL.$script->path; 113 112 return $url; 114 }115 function rv_cdn_combined_css_postfilter($css)116 {117 return str_replace('url(/', 'url('.RVCDN.'/', $css);118 113 } 119 114
Note: See TracChangeset
for help on using the changeset viewer.