Add Front folder for web fonts
The font folder is set in the layout folder for frontend and holds web fonts. There is a new symlink folder in the libs directory to match the FONT folder name for backend fonts
This commit is contained in:
@@ -54,6 +54,8 @@ DEFINE('PDFS', 'documents'.DS);
|
|||||||
DEFINE('CSV', 'csv'.DS);
|
DEFINE('CSV', 'csv'.DS);
|
||||||
// css
|
// css
|
||||||
DEFINE('CSS', 'css'.DS);
|
DEFINE('CSS', 'css'.DS);
|
||||||
|
// font (web)
|
||||||
|
DEFINE('FONT', 'font'.DS);
|
||||||
// js
|
// js
|
||||||
DEFINE('JS', 'javascript'.DS);
|
DEFINE('JS', 'javascript'.DS);
|
||||||
// table arrays
|
// table arrays
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ class SmartyExtend extends SmartyBC
|
|||||||
public $INCLUDES;
|
public $INCLUDES;
|
||||||
public $JAVASCRIPT;
|
public $JAVASCRIPT;
|
||||||
public $CSS;
|
public $CSS;
|
||||||
|
public $FONT;
|
||||||
public $PICTURES;
|
public $PICTURES;
|
||||||
public $CACHE_PICTURES;
|
public $CACHE_PICTURES;
|
||||||
public $CACHE_PICTURES_ROOT;
|
public $CACHE_PICTURES_ROOT;
|
||||||
@@ -175,6 +176,7 @@ class SmartyExtend extends SmartyBC
|
|||||||
$this->setTemplateDir($this->TEMPLATE_PATH);
|
$this->setTemplateDir($this->TEMPLATE_PATH);
|
||||||
$this->JAVASCRIPT = LAYOUT.JS;
|
$this->JAVASCRIPT = LAYOUT.JS;
|
||||||
$this->CSS = LAYOUT.CSS;
|
$this->CSS = LAYOUT.CSS;
|
||||||
|
$this->FONT = LAYOUT.FONT;
|
||||||
$this->PICTURES = LAYOUT.IMAGES;
|
$this->PICTURES = LAYOUT.IMAGES;
|
||||||
$this->CACHE_PICTURES = LAYOUT.CACHE;
|
$this->CACHE_PICTURES = LAYOUT.CACHE;
|
||||||
$this->CACHE_PICTURES_ROOT = ROOT.$this->CACHE_PICTURES;
|
$this->CACHE_PICTURES_ROOT = ROOT.$this->CACHE_PICTURES;
|
||||||
@@ -334,6 +336,7 @@ class SmartyExtend extends SmartyBC
|
|||||||
// default CMS settings
|
// default CMS settings
|
||||||
// define all needed smarty stuff for the general HTML/page building
|
// define all needed smarty stuff for the general HTML/page building
|
||||||
$this->HEADER['CSS'] = CSS;
|
$this->HEADER['CSS'] = CSS;
|
||||||
|
$this->HEADER['FONT'] = FONT;
|
||||||
$this->HEADER['JS'] = JS;
|
$this->HEADER['JS'] = JS;
|
||||||
$this->HEADER['ENCODING'] = $this->encoding;
|
$this->HEADER['ENCODING'] = $this->encoding;
|
||||||
$this->HEADER['DEFAULT_ENCODING'] = DEFAULT_ENCODING;
|
$this->HEADER['DEFAULT_ENCODING'] = DEFAULT_ENCODING;
|
||||||
|
|||||||
1
www/lib/font
Symbolic link
1
www/lib/font
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
Fonts/
|
||||||
Reference in New Issue
Block a user