[Phpfreechat-svn] SF.net SVN: phpfreechat: [964] trunk/src/phpfreechat.class.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2007-02-16 20:49:31
|
Revision: 964 http://svn.sourceforge.net/phpfreechat/?rev=964&view=rev Author: kerphi Date: 2007-02-16 12:49:27 -0800 (Fri, 16 Feb 2007) Log Message: ----------- load customize.js.php during the ajax loading process Modified Paths: -------------- trunk/src/phpfreechat.class.php Modified: trunk/src/phpfreechat.class.php =================================================================== --- trunk/src/phpfreechat.class.php 2007-02-16 20:44:05 UTC (rev 963) +++ trunk/src/phpfreechat.class.php 2007-02-16 20:49:27 UTC (rev 964) @@ -424,6 +424,13 @@ $js = ''; + // load customize.js.php + $path = $c->getFilePathFromTheme('customize.js.php'); + $t = new pfcTemplate($path); + $t->assignObject($c,"c"); + $js .= $t->getOutput(); + + // load translations require_once dirname(__FILE__).'/pfcjson.class.php'; $json = new pfcJSON(); @@ -472,7 +479,8 @@ { $js .= "pfc.res.setLabel(".$json->encode($l).",".$json->encode(_pfc2($l)).");\n"; } - + + // load ressources $fileurl_to_load = array( 'images/ch.gif', 'images/pv.gif', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |