Skip to content
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
DevChive opened this issue Sep 24, 2012 · 0 comments
Open

Core - move all $PAGE_XXX settings to $pmtPage["..."] #2

DevChive opened this issue Sep 24, 2012 · 0 comments
Milestone

Comments

@DevChive
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant