CMS  Version 3.9
templates.inc File Reference

Go to the source code of this file.

Variables

 $menu_item = "Templates"
 
 $site = Site::getSite()
 
 $base = SiteManager::getThemeDirectory($site->theme)
 
 $folder = basename($base)
 
 $parent = dirname($base)
 
 $mgr = new TemplateManager($parent, $folder)
 
 $script = $mgr->writeScript()
 

Variable Documentation

◆ $base

$base = SiteManager::getThemeDirectory($site->theme)

Definition at line 40 of file templates.inc.

◆ $folder

$folder = basename($base)

Definition at line 41 of file templates.inc.

◆ $menu_item

$menu_item = "Templates"

Definition at line 37 of file templates.inc.

◆ $mgr

$mgr = new TemplateManager($parent, $folder)

Definition at line 44 of file templates.inc.

◆ $parent

$parent = dirname($base)

Definition at line 42 of file templates.inc.

◆ $script

$script = $mgr->writeScript()

Definition at line 46 of file templates.inc.

◆ $site

$site = Site::getSite()

Definition at line 39 of file templates.inc.