From 0c61274fcf75d2fcc545b761d64d3307323afcd3 Mon Sep 17 00:00:00 2001 From: artem Date: Thu, 27 Dec 2007 13:58:16 +0000 Subject: - [DEV-91] added printable view for pages (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5204 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/classes/cspan.inc.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'frontends/php/include/classes/cspan.inc.php') diff --git a/frontends/php/include/classes/cspan.inc.php b/frontends/php/include/classes/cspan.inc.php index fee3f99f..9ef2e068 100644 --- a/frontends/php/include/classes/cspan.inc.php +++ b/frontends/php/include/classes/cspan.inc.php @@ -35,4 +35,21 @@ $this->tag_body_end = ""; } } + + class CDiv extends CTag + { +/* public */ + function CDiv($items=NULL,$class=NULL) + { + parent::CTag("div","yes"); + $this->SetClass($class); + $this->AddItem($items); + $this->tag_body_start = ""; + + $this->tag_start= ""; + $this->tag_end = ""; + $this->tag_body_start = ""; + $this->tag_body_end = ""; + } + } ?> -- cgit