1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pluxml_ynh.git synced 2024-09-03 20:16:02 +02:00
pluxml_ynh/sources/core/admin/parametres_infos.php
2016-06-26 21:28:27 +02:00

53 lines
No EOL
2 KiB
PHP

<?php
/**
* Edition des paramètres d'affichage
*
* @package PLX
* @author Florent MONTHEL
**/
include(dirname(__FILE__).'/prepend.php');
# Control de l'accès à la page en fonction du profil de l'utilisateur connecté
$plxAdmin->checkProfil(PROFIL_ADMIN);
# On inclut le header
include(dirname(__FILE__).'/top.php');
?>
<div class="inline-form action-bar">
<h2><?php echo L_CONFIG_INFOS_TITLE ?></h2>
<p><strong><?php echo L_PLUXML_CHECK_VERSION ?></strong></p>
<p><span class="text-red"><?php echo $plxAdmin->checkMaj(); ?></span></p>
</div>
<p><?php echo L_CONFIG_INFOS_DESCRIPTION ?></p>
<p><strong><?php echo L_PLUXML_VERSION; ?> <?php echo $plxAdmin->version; ?> (<?php echo L_INFO_CHARSET ?> <?php echo PLX_CHARSET ?>)</strong></p>
<ul class="unstyled-list">
<li><?php echo L_INFO_PHP_VERSION; ?> : <?php echo phpversion(); ?></li>
<?php if (!empty($_SERVER['SERVER_SOFTWARE'])) { ?>
<li><?php echo $_SERVER['SERVER_SOFTWARE']; ?></li>
<?php } ?>
</ul>
<ul class="unstyled-list">
<li><?php echo L_INFO_MAGIC_QUOTES; ?> : <?php echo get_magic_quotes_gpc(); ?></li>
<?php plxUtils::testWrite(PLX_ROOT.PLX_CONFIG_PATH); ?>
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['racine_articles']); ?>
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['racine_commentaires']); ?>
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['racine_statiques']); ?>
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['medias']); ?>
<?php plxUtils::testModReWrite() ?>
<?php plxUtils::testLibGD() ?>
<?php plxUtils::testMail() ?>
</ul>
<p><?php echo L_CONFIG_INFOS_NB_CATS ?> <?php echo sizeof($plxAdmin->aCats); ?></p>
<p><?php echo L_CONFIG_INFOS_NB_STATICS ?> <?php echo sizeof($plxAdmin->aStats); ?></p>
<p><?php echo L_CONFIG_INFOS_WRITER ?> <?php echo $plxAdmin->aUsers[$_SESSION['user']]['name'] ?></p>
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsInfos')) ?>
<?php
# On inclut le footer
include(dirname(__FILE__).'/foot.php');
?>