This repository has been archived by the owner on Jun 26, 2021. It is now read-only.
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.
Core - move all $PAGE_XXX settings to $pmtPage["..."] #2
Open
Description
By using $pmtPage[] array, this will help reduce the use of the keyword global throughout the code and be able to manage the page generating code throughout the core.
This will replace the following:
global $PAGE_PATH; // "http://pmt/xpmt/themes/default/"
global $PAGE_TITLE; // Page title
global $PAGE_CSS; // todo: Add to global var list
global $PAGE_CUSTHEADER;// Custom Header for module
global $PAGE_METABAR; // Login & Search bar (right aligned)
global $PAGE_TOOLBAR; // Main toolbar
global $PAGE_MINILEFT; // Mini toolbar (Left aligned)
global $PAGE_MINIRIGHT; // Mini toolbar (Right aligned)
global $PAGE_HTDATA; // Page content
Metadata
Metadata
Assignees
Labels
No labels
Activity