Source for file list.php
Documentation is available at list.php
* @author linea21 <info@linea21.com>
* @license http://opensource.org/licenses/gpl-3.0.html
//////////// Check Inclusion de pages ////////////
include_once ("../lib/lib_common.php");
<li><a href="index.php" class="chemin_home"> <?php echo _t('way','home') ?></a>
<li><a href=" <?php echo $rub_link; ?>" id="chemin_ <?php echo $rub; ?>"
class="chemin_rub"> <?php echo _t('menu','plugins'); ?> </a></li>
<?php include_once(THEME_ADMIN_PATH. "quickicons.php"); ?>
<div class="contentcontainer"> <?php include_once($dir . "/menurub.php");?>
<h2> <?php echo _t('plugins','list'); ?></h2>
<?php if(count($plugins)> 0) ?>
<?php foreach($plugins as $plugin) { ?>
style="border-bottom: 1px dotted #ccc; margin: 1em 0; min-height: 85px">
$infos = $plug->getPluginInfo();
if($plug->hasImage()) echo '<img src="'. $plug->imagePath(). '" style="float:right;border:1px solid #777" alt="'. $plug->getVar('name'). '" />';
echo '<strong>'. $infos['shortname'] . '</strong> - ' . _t('plugins', 'author') . ' : '. $infos['author']. ' - ' . _t('plugins', 'version') . ' : '. $infos['version']. '<br />';
echo _t('plugins', 'description') . ' : '. $infos['description']. '<br />';
echo _t('plugins', 'compatibility') . ' : '. $infos['compatibility']. '<br />';
echo _t('plugins', 'homepage') . ' : ';
if(!empty($infos['homepage'])) echo '<a href="'. $infos['homepage']. '">'. $infos['homepage']. '</a>';
echo '<span style="color:#0BC221">'. _t('plugins', 'enabled'). '</span> | ';
echo '<a href="index.php?rub=plugins&todo=disable&name='. $plug->getVar('name'). '">'. _t('plugins','disable'). '</a>';
if($plug->hasAdvancedSettings()) echo ' | <a href="index.php?rub=plugins&current='. $plug->getVar('name'). '">'. _t('plugins','access'). '</a>';
echo '<span style="color:#FF0000">'. _t('plugins', 'disabled'). '</span> | ';
echo '<a href="index.php?rub=plugins&todo=enable&name='. $plug->getVar('name'). '">'. _t('plugins','enable'). '</a>';
} // closing foreach instruction
<?php include_once($dir . "/help.php");?></div>
|