Ignore:
Timestamp:
Nov 14, 2014, 5:20:26 AM (9 years ago)
Author:
SergeD
Message:

version 1.0.14 - please refer to changelog for details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/greydragon/include/greydragon.class.php

    r30210 r30484  
    5050
    5151      // Advanced Options - Photo Page
     52      "p_pict_tab_mode"    => array("value" => "txt-tab-open", "quotes" => QUOTES_NONE),
    5253      "p_pict_tab_default" => array("value" => "desc",   "quotes" => QUOTES_NONE),
    5354      "p_pict_tab_anim"    => array("value" => "off",    "quotes" => QUOTES_NONE),
     
    293294  }
    294295
    295   public function getHead($content) {
    296 
    297     if ($favicon_name = $this->getOption('p_favicon_path')):
    298       $search = '#<link rel="shortcut icon".*?favicon.ico">#';
    299       $replacement = '<link rel="shortcut icon" type="image/x-icon" href="' . PHPWG_ROOT_PATH . $favicon_name . '">';
    300       $content = preg_replace($search, $replacement, $content);
    301     endif;
    302 
    303     if ($this->getOption('p_nogenerator') == "on"):
    304       $search = '#<meta name="generator" .*see piwigo.org">#';
    305       $replacement = '';
    306       $content = preg_replace($search, $replacement, $content);
    307     endif;
    308 
    309     return $content;
    310   }
    311 
    312296}
    313297
Note: See TracChangeset for help on using the changeset viewer.