[Phpfreechat-svn] SF.net SVN: phpfreechat: [919] trunk
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2007-01-05 13:46:57
|
Revision: 919 http://svn.sourceforge.net/phpfreechat/?rev=919&view=rev Author: kerphi Date: 2007-01-05 05:46:55 -0800 (Fri, 05 Jan 2007) Log Message: ----------- [en] Add the "display_pfc_logo" parameter which should be used only for commercial licenses (see the license page for explainations). [0h20] [fr] Ajout du param?\195?\168tre "display_pfc_logo" qui doit ?\195?\170tre utilis?\195?\169 seulement pour les utilisations commerciales (cf la page licence) [0h20] Modified Paths: -------------- trunk/src/pfcglobalconfig.class.php trunk/themes/default/chat.html.tpl.php Modified: trunk/src/pfcglobalconfig.class.php =================================================================== --- trunk/src/pfcglobalconfig.class.php 2007-01-05 13:34:37 UTC (rev 918) +++ trunk/src/pfcglobalconfig.class.php 2007-01-05 13:46:55 UTC (rev 919) @@ -86,6 +86,10 @@ var $startwithsound = true; // start with sound enabled var $openlinknewwindow = true; // used to open the links in a new window var $notify_window = true; // true : appends a prefix to the window title with the number of new posted messages + + // Be sure that you are conform to the license page before setting this to false ! + // http://www.phpfreechat.net/license.en.html + var $display_pfc_logo = true; var $displaytabimage = true; var $displaytabclosebutton = true; Modified: trunk/themes/default/chat.html.tpl.php =================================================================== --- trunk/themes/default/chat.html.tpl.php 2007-01-05 13:34:37 UTC (rev 918) +++ trunk/themes/default/chat.html.tpl.php 2007-01-05 13:46:55 UTC (rev 919) @@ -37,12 +37,14 @@ <div id="pfc_cmd_container"> +<?php if ($display_pfc_logo) { ?> <a href="http://www.phpfreechat.net" id="pfc_logo"<?php if($openlinknewwindow) echo ' onclick="window.open(this.href,\'_blank\');return false;"'; ?>> <img src="http://www.phpfreechat.net/pub/logo_80x15.gif" alt="<?php echo _pfc("PHP FREE CHAT [powered by phpFreeChat-%s]", $version); ?>" title="<?php echo _pfc("PHP FREE CHAT [powered by phpFreeChat-%s]", $version); ?>" /> </a> +<?php } ?> <div class="pfc_btn"> <img src="<?php echo $c->getFileUrlFromTheme('images/logout.gif'); ?>" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |