[Phpfreechat-svn] SF.net SVN: phpfreechat: [467] trunk/admin
Status: Beta
Brought to you by:
kerphi
From: <ne...@us...> - 2006-04-24 15:21:19
|
Revision: 467 Author: nemako Date: 2006-04-24 08:21:04 -0700 (Mon, 24 Apr 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=467&view=rev Log Message: ----------- Change the php declaratino : <? to <?php Modified Paths: -------------- trunk/admin/configuration.php trunk/admin/htaccess.class.php trunk/admin/inc.conf.php trunk/admin/index.php trunk/admin/themes.class.php trunk/admin/themes.php trunk/admin/themes_avant.php trunk/admin/user.php trunk/admin/version.class.php Modified: trunk/admin/configuration.php =================================================================== --- trunk/admin/configuration.php 2006-04-24 15:15:04 UTC (rev 466) +++ trunk/admin/configuration.php 2006-04-24 15:21:04 UTC (rev 467) @@ -1,4 +1,4 @@ -<? +<?php // TOP // include("index_html_top.php"); ?> @@ -8,7 +8,7 @@ </div> -<? +<?php // BOTTOM include("index_html_bottom.php"); ?> \ No newline at end of file Modified: trunk/admin/htaccess.class.php =================================================================== --- trunk/admin/htaccess.class.php 2006-04-24 15:15:04 UTC (rev 466) +++ trunk/admin/htaccess.class.php 2006-04-24 15:21:04 UTC (rev 467) @@ -1,4 +1,4 @@ -<? +<?php /** * Class to manage .htaccess file of Apache Modified: trunk/admin/inc.conf.php =================================================================== --- trunk/admin/inc.conf.php 2006-04-24 15:15:04 UTC (rev 466) +++ trunk/admin/inc.conf.php 2006-04-24 15:21:04 UTC (rev 467) @@ -1,4 +1,6 @@ -<? +<?php //$lang = "en_US"; $lang = "fr_FR"; +//$lang = isset($_GET["lang"]) ? $_GET["lang"] : (isset($_SESSION["lang"]) ? $_SESSION["lang"] : "en_US" ); //$_SESSION["lang"] = $lang; + ?> \ No newline at end of file Modified: trunk/admin/index.php =================================================================== --- trunk/admin/index.php 2006-04-24 15:15:04 UTC (rev 466) +++ trunk/admin/index.php 2006-04-24 15:21:04 UTC (rev 467) @@ -1,4 +1,4 @@ -<? +<?php # lang require_once("../src/pfci18n.class.php"); require_once("inc.conf.php"); @@ -10,52 +10,52 @@ $version = new version(); ?> -<? +<?php // TOP // include("index_html_top.php"); ?> <div class="content"> - <h2><? echo _pfc("Administration"); ?></h2> + <h2><?php echo _pfc("Administration"); ?></h2> -<? +<?php if ($version->getPFCOfficialCurrentVersion()==0){ ?> - <div><h3><? echo _pfc("Internet connection is not possible"); ?></h3> + <div><h3><?php echo _pfc("Internet connection is not possible"); ?></h3> <ul> - <li><? echo _pfc("PFC version"); ?> : <? echo $version->getLocalVersion(); ?></li> + <li><?php echo _pfc("PFC version"); ?> : <?php echo $version->getLocalVersion(); ?></li> </ul> </div> -<? +<?php } elseif (($version->getLocalVersion())==($version->getPFCOfficialCurrentVersion())){ ?> - <div class="ok"><h3><img src="style/check_on.png" alt="<? echo _pfc("PFC is update"); ?>"> <? echo _pfc("PFC is update"); ?></h3> + <div class="ok"><h3><img src="style/check_on.png" alt="<?php echo _pfc("PFC is update"); ?>"> <?php echo _pfc("PFC is update"); ?></h3> <ul> - <li><? echo _pfc("PFC version"); ?> : <? echo $version->getLocalVersion(); ?></li> + <li><?php echo _pfc("PFC version"); ?> : <?php echo $version->getLocalVersion(); ?></li> </ul> </div> -<? +<?php } else{ ?> - <div class="ko"><h3><img src="style/check_off.png" alt="<? echo _pfc("PFC is not update"); ?>"> <? echo _pfc("PFC is not update"); ?></h3> + <div class="ko"><h3><img src="style/check_off.png" alt="<?php echo _pfc("PFC is not update"); ?>"> <?php echo _pfc("PFC is not update"); ?></h3> <ul> - <li><? echo _pfc("Your version"); ?> : <? echo $version->getLocalVersion(); ?></li> - <li><? echo _pfc("The last official version"); ?> : <? echo $version->getPFCOfficialCurrentVersion(); ?></li> - <li><? echo _pfc("Download the last version %s here %s.","<a href=\"http://sourceforge.net/project/showfiles.php?group_id=158880\">","</a>"); ?></li> + <li><?php echo _pfc("Your version"); ?> : <?php echo $version->getLocalVersion(); ?></li> + <li><?php echo _pfc("The last official version"); ?> : <?php echo $version->getPFCOfficialCurrentVersion(); ?></li> + <li><?php echo _pfc("Download the last version %s here %s.","<a href=\"http://sourceforge.net/project/showfiles.php?group_id=158880\">","</a>"); ?></li> </ul> </div> -<? +<?php } ?> </div> -<? +<?php // BOTTOM include("index_html_bottom.php"); ?> \ No newline at end of file Modified: trunk/admin/themes.class.php =================================================================== --- trunk/admin/themes.class.php 2006-04-24 15:15:04 UTC (rev 466) +++ trunk/admin/themes.class.php 2006-04-24 15:21:04 UTC (rev 467) @@ -1,4 +1,4 @@ -<? +<?php /** * Class to manage theme of pfc Modified: trunk/admin/themes.php =================================================================== --- trunk/admin/themes.php 2006-04-24 15:15:04 UTC (rev 466) +++ trunk/admin/themes.php 2006-04-24 15:21:04 UTC (rev 467) @@ -1,4 +1,4 @@ -<? +<?php # lang require_once("../src/pfci18n.class.php"); require_once("inc.conf.php"); @@ -10,14 +10,14 @@ ?> -<? +<?php // TOP // include("index_html_top.php"); ?> <div class="content"> - <h2><? echo _pfc("Available themes"); ?></h2> -<? + <h2><?php echo _pfc("Available themes"); ?></h2> +<?php $themes_list = $themes->getThemesList(); for($i=0;$i<count($themes_list);$i++) { @@ -60,7 +60,7 @@ ?> </div> -<? +<?php // BOTTOM include("index_html_bottom.php"); ?> \ No newline at end of file Modified: trunk/admin/themes_avant.php =================================================================== --- trunk/admin/themes_avant.php 2006-04-24 15:15:04 UTC (rev 466) +++ trunk/admin/themes_avant.php 2006-04-24 15:21:04 UTC (rev 467) @@ -1,18 +1,18 @@ -<? +<?php require_once("themes.class.php"); $themes = new themes(); ?> -<? +<?php // TOP // include("index_html_top.php"); ?> <div class="content"> <h2>Liste des themes disponibles</h2> -<? +<?php echo "<ul>"; $themes_list = $themes->getThemesList(); for($i=0;$i<count($themes_list);$i++) { @@ -55,7 +55,7 @@ ?> </div> -<? +<?php // BOTTOM include("index_html_bottom.php"); ?> \ No newline at end of file Modified: trunk/admin/user.php =================================================================== --- trunk/admin/user.php 2006-04-24 15:15:04 UTC (rev 466) +++ trunk/admin/user.php 2006-04-24 15:21:04 UTC (rev 467) @@ -82,15 +82,15 @@ } ?> -<? +<?php // TOP // include("index_html_top.php"); ?> <div class="content"> -<h2><? echo _pfc("Users management"); ?></h2> +<h2><?php echo _pfc("Users management"); ?></h2> -<? +<?php if(!file_exists($ht->get_file_Htaccess())) echo "<div class=\"ko\"><h3><img src=\"style/check_off.png\" alt=\""._pfc("Authentication disable")."\"> "._pfc("Authentication disable")." - <a href=\"".$_SERVER['PHP_SELF']."?active=1\">"._pfc("Enable here")."</a></h3></div>"; else{ @@ -155,7 +155,7 @@ </div> -<? +<?php // BOTTOM include("index_html_bottom.php"); ?> \ No newline at end of file Modified: trunk/admin/version.class.php =================================================================== --- trunk/admin/version.class.php 2006-04-24 15:15:04 UTC (rev 466) +++ trunk/admin/version.class.php 2006-04-24 15:21:04 UTC (rev 467) @@ -1,4 +1,4 @@ -<? +<?php /** * Class to manage theme of pfc This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |