Changeset 27151


Ignore:
Timestamp:
Feb 3, 2014, 10:13:12 PM (7 years ago)
Author:
rvelices
Message:

modus prepare code for a future release

Location:
extensions/modus
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/modus/admin/admin.inc.php

    r26836 r27151  
    6060        'available_derivatives' => $available_derivatives,
    6161        'available_skins' => $available_skins,
    62   'THEMECONF_SRC' => highlight_file( dirname(dirname(__FILE__)).'/themeconf.inc.php', true )
    6362        ) );
    6463
  • extensions/modus/admin/modus_admin.tpl

    r26836 r27151  
    3939</form>
    4040
    41 <div style="text-align:left;line-height:1em">
    42 {$THEMECONF_SRC}
    43 </div>
  • extensions/modus/themeconf.inc.php

    r26836 r27151  
    22/*
    33Theme Name: modus
    4 Version: 201312
    5 Description: Dark background, grayscale.
     4Version: 2.6.a
     5Description: Responsive, horizontal menu, retina aware, no lost space.
     6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=728
     7Author: rvelices
     8Author URI: http://www.modusoptimus.com
    69*/
    710$themeconf = array(
     
    4548{
    4649        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 );
    5050
    5151        $source = str_replace('<div id="imageHeaderBar">', '<div class=titrePage id=imageHeaderBar>', $source );
     
    9898        $this->smarty->registerFilter('pre', 'rv_cdn_prefilter' );
    9999        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');
    101100}
    102101
     
    112111                $url = RVCDN_ROOT_URL.$script->path;
    113112        return $url;
    114 }
    115 function rv_cdn_combined_css_postfilter($css)
    116 {
    117         return str_replace('url(/', 'url('.RVCDN.'/', $css);
    118113}
    119114
Note: See TracChangeset for help on using the changeset viewer.