LEPTON CMS 7.2.0
feel free to keep it strictly simple...
|
Go to the source code of this file.
Functions | |
get_page_headers (string $for='frontend', bool $print_output=true, bool $individual=false) | |
Variables | |
if(!defined("SEC_FILE")) if(defined('LEPTON_PATH')) | else |
$root = $oneback | |
$level = 1 | |
get_page_headers | ( | string | $for = 'frontend', |
bool | $print_output = true, | ||
bool | $individual = false ) |
get additions for page header (css, js)
@access public
string | $for | - 'frontend' (default) / 'backend' |
boolean | $print_output | |
boolean | $current_section |
In some circumstances there is neither no page_id as constant nor inside the $_GET superglobal ... In this case the module-css or -js files are not loaded. So we are looking inside the $_POST superglobal ....
removed in L* 5.3
Modifiy to get the css and js files from the frontend-template or the module itself Even if we are not only displaying the search-results.
Add css files for frontend-login, -preferences, -forgot-form etc.
Aldus - 2014-11-02 Frontend - patch
We are taking the first file (-link) we found. Keep in mind that an optional additional css file in the frontend-template is loaded INSTEAD of the module-internal one!
Try to get a frontend "<page_id>.css" if there is one
Definition at line 67 of file function.get_page_headers.php.
$level = 1 |
Definition at line 25 of file function.get_page_headers.php.
$root = $oneback |
Definition at line 24 of file function.get_page_headers.php.
while(($level< 10) &&(!file_exists($root.SEC_FILE))) if (file_exists( $root.SEC_FILE)) else |
This file is part of LEPTON Core, released under the GNU GPL Please see LICENSE and COPYING files in your package for details, specially for terms and warranties.
NOTICE:LEPTON CMS Package has several different licenses. Please see the individual license in the header of each single file or info.php of modules and templates.
Definition at line 22 of file function.get_page_headers.php.