1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/leed_ynh.git synced 2024-09-03 19:26:32 +02:00
leed_ynh/sources/settings.php
2014-06-17 17:41:03 -04:00

35 lines
1.5 KiB
PHP
Executable file

<?php
/*
@nom: settings
@auteur: Idleman (idleman@idleman.fr)
@description: Page de gestion de toutes les préférences/configurations administrateur
*/
require_once('header.php');
$tpl->assign('feeds',$feedManager->populate('name'));
$tpl->assign('folders',$folderManager->populate('name'));
$tpl->assign('synchronisationType',$configurationManager->get('synchronisationType'));
$tpl->assign('synchronisationEnableCache',$configurationManager->get('synchronisationEnableCache'));
$tpl->assign('synchronisationForceFeed',$configurationManager->get('synchronisationForceFeed'));
$tpl->assign('articleDisplayAnonymous', $configurationManager->get('articleDisplayAnonymous'));
$tpl->assign('articleDisplayLink', $configurationManager->get('articleDisplayLink'));
$tpl->assign('articleDisplayDate', $configurationManager->get('articleDisplayDate'));
$tpl->assign('articleDisplayAuthor', $configurationManager->get('articleDisplayAuthor'));
$tpl->assign('articleDisplayHomeSort', $configurationManager->get('articleDisplayHomeSort'));
$tpl->assign('articleDisplayFolderSort', $configurationManager->get('articleDisplayFolderSort'));
$tpl->assign('articleDisplayContent', $configurationManager->get('articleDisplayContent'));
$tpl->assign('articleView', $configurationManager->get('articleView'));
$tpl->assign('optionFeedIsVerbose', $configurationManager->get('optionFeedIsVerbose'));
//Suppression de l'état des plugins inexistants
Plugin::pruneStates();
//Récuperation des plugins
$tpl->assign('plugins',Plugin::getAll());
$view = "settings";
require_once('footer.php'); ?>