mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Theme options and fixes. Load Theme JS in the footer by default. New blockquote alt. style added to TinyMce. Updated news shortcodes. Option to hide search form from results page.
This commit is contained in:
@@ -572,6 +572,20 @@ class e_jsmanager
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add Theme JS file for inclusion in site footer (preferred), shorthand of footerFile() method
|
||||
*
|
||||
* @param string $file_path relative to theme root folder
|
||||
* @param integer $zone 1-5 (see header.php)
|
||||
* @return e_jsmanager
|
||||
*/
|
||||
public function footerTheme($file_path, $zone = 5, $pre = '', $post = '')
|
||||
{
|
||||
$this->footerFile(THEME.trim($file_path, '/'), $zone, $pre, $post);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Plugin JS file for inclusion in site header, shorthand of headerFile() method
|
||||
*
|
||||
|
Reference in New Issue
Block a user