Changeset 30484 for extensions/greydragon/include
- Timestamp:
- Nov 14, 2014, 5:20:26 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/greydragon/include/greydragon.class.php
r30210 r30484 50 50 51 51 // Advanced Options - Photo Page 52 "p_pict_tab_mode" => array("value" => "txt-tab-open", "quotes" => QUOTES_NONE), 52 53 "p_pict_tab_default" => array("value" => "desc", "quotes" => QUOTES_NONE), 53 54 "p_pict_tab_anim" => array("value" => "off", "quotes" => QUOTES_NONE), … … 293 294 } 294 295 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 312 296 } 313 297
Note: See TracChangeset
for help on using the changeset viewer.