-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEmpty.class.php
More file actions
40 lines (32 loc) · 1.07 KB
/
Empty.class.php
File metadata and controls
40 lines (32 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* Клас 'page_Empty' - Шаблон за празна страница
*
* Файлът може да се подмени с друг
*
*
* @category ef
* @package page
* @author Milen Georgiev <milen@download.bg>
* @copyright 2006 - 2012 Experta OOD
* @license GPL 3
* @since v 0.1
* @link
*/
class page_Empty extends page_Html
{
/**
* Генериране на изход, съдържащ само $content, без никакви доп. елементи
*/
function output($content)
{
$this->replace("UTF-8", 'ENCODING');
$this->push(array(
Mode::is('screenMode', 'narrow') ? "css/narrowCommon.css" : 'css/wideCommon.css',
Mode::is('screenMode', 'narrow') ? "css/narrowApplication.css" : 'css/wideApplication.css'
), 'CSS');
$this->push('js/efCommon.js', 'JS');
$this->appendOnce("\n<link rel=\"shortcut icon\" href=" . sbf("img/favicon.ico") . ">", "HEAD");
parent::output($content, 'PAGE_CONTENT');
}
}