mirror of
https://github.com/YunoHost-Apps/pluxml_ynh.git
synced 2024-09-03 20:16:02 +02:00
49 lines
No EOL
1.9 KiB
PHP
49 lines
No EOL
1.9 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');
|
|
?>
|
|
|
|
<h2><?php echo L_CONFIG_INFOS_TITLE ?></h2>
|
|
|
|
<p><?php echo L_CONFIG_INFOS_DESCRIPTION ?></p>
|
|
<div class="panel">
|
|
<ul>
|
|
<li><strong><?php echo L_PLUXML_VERSION; ?> <?php echo $plxAdmin->version; ?> (<?php echo L_INFO_CHARSET ?> <?php echo PLX_CHARSET ?>)</strong></li>
|
|
<li><?php echo L_INFO_PHP_VERSION; ?> : <?php echo phpversion(); ?></li>
|
|
<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['images']); ?>
|
|
<?php plxUtils::testWrite(PLX_ROOT.$plxAdmin->aConf['documents']); ?>
|
|
<?php plxUtils::testModReWrite() ?>
|
|
<?php plxUtils::testLibGD() ?>
|
|
<?php plxUtils::testMail() ?>
|
|
<li><?php echo L_CONFIG_INFOS_NB_CATS ?> <?php echo sizeof($plxAdmin->aCats); ?></li>
|
|
<li><?php echo L_CONFIG_INFOS_NB_STATICS ?> <?php echo sizeof($plxAdmin->aStats); ?></li>
|
|
<li><?php echo L_CONFIG_INFOS_WRITER ?> <?php echo $plxAdmin->aUsers[$_SESSION['user']]['name'] ?></li>
|
|
</ul>
|
|
</div>
|
|
<div class="panel">
|
|
<strong><?php echo L_PLUXML_CHECK_VERSION ?></strong>
|
|
<p><?php echo $plxAdmin->checkMaj(); ?></p>
|
|
</div>
|
|
<?php eval($plxAdmin->plxPlugins->callHook('AdminSettingsInfos')) ?>
|
|
<?php
|
|
# On inclut le footer
|
|
include(dirname(__FILE__).'/foot.php');
|
|
?>
|