From c192341acb3ace0632720bdc608e244f7c4571ac Mon Sep 17 00:00:00 2001 From: kerphi Date: Sun, 16 Apr 2006 10:56:51 +0000 Subject: [PATCH] phpfreechattemplate refactoring : rename to pfctemplate git-svn-id: https://phpfreechat.svn.sourceforge.net/svnroot/phpfreechat/trunk@428 2772adf2-ac07-0410-9d30-e29d8120292e --- ...hpfreechattemplate.class.php => pfctemplate.class.php} | 8 ++++---- src/phpfreechat.class.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) rename src/{phpfreechattemplate.class.php => pfctemplate.class.php} (90%) diff --git a/src/phpfreechattemplate.class.php b/src/pfctemplate.class.php similarity index 90% rename from src/phpfreechattemplate.class.php rename to src/pfctemplate.class.php index 819d89e3..e20d86f2 100644 --- a/src/phpfreechattemplate.class.php +++ b/src/pfctemplate.class.php @@ -1,6 +1,6 @@ * @@ -23,15 +23,15 @@ require_once dirname(__FILE__)."/pfci18n.class.php"; /** - * phpFreeChatTemplate is used to display chat templates (html and javascript) + * pfcTemplate is used to display chat templates (html and javascript) * @author Stephane Gully */ -class phpFreeChatTemplate +class pfcTemplate { var $tpl_filename; var $vars; - function phpFreeChatTemplate($tpl_filename = "") + function pfcTemplate($tpl_filename = "") { $this->tpl_filename = $tpl_filename; } diff --git a/src/phpfreechat.class.php b/src/phpfreechat.class.php index 96ecc142..e11b71a9 100644 --- a/src/phpfreechat.class.php +++ b/src/phpfreechat.class.php @@ -23,7 +23,7 @@ require_once dirname(__FILE__)."/pfccommand.class.php"; require_once dirname(__FILE__)."/pfcglobalconfig.class.php"; require_once dirname(__FILE__)."/pfcuserconfig.class.php"; -require_once dirname(__FILE__)."/phpfreechattemplate.class.php"; +require_once dirname(__FILE__)."/pfctemplate.class.php"; require_once dirname(__FILE__)."/../lib/utf8/utf8.php"; /** @@ -96,7 +96,7 @@ function printJavaScript( $return = false ) $output .= ""; // print phpfreechat specific javascript - $t = new phpFreeChatTemplate(); + $t = new pfcTemplate(); $t->assignObject($c,"c"); $t->assignObject($u,"u"); $output .= "