3 <?php if($this->out["plugins"]) : ?>
5 <form name="plugins_form" action="<?php echo $this->url("config/plugins"); ?>" method="post">
8 <?php $data = $this->data(); foreach($this->out["plugins"] as $plugin_name => $plugin) : ?>
9 <li class="plugin <?php echo $plugin["installed"] ? ($plugin["enabled"] ? "enabled" : "disabled") : "uninstalled"; ?>">
11 <span>dossier <strong><?php echo $plugin_name; ?></strong></span>
12 <?php echo $plugin["title"]; ?>
14 <?php echo $plugin["description"]; ?>
15 <ul class="plugin_links">
16 <?php if($plugin["installed"]) : ?>
17 <li><a href="<?php echo $this->url("config/plugins/uninstall", array("id" => $plugin_name)); ?>"
18 onclick="return confirm('si le plugin stocke des donnees, elles seront perdues')">désinstaller</a></li>
19 <?php if($plugin["enabled"]) : ?>
20 <?php if(($admin_link = $data->get_link("plugins/admin/".$plugin_name)) && $admin_link["url"]) : ?>
21 <li><a href="<?php echo $admin_link["url"]; ?>"><?php echo $admin_link["intitule"]; ?></a></li>
23 <li><a href="<?php echo $this->url("config/plugins/disable", array("id" => $plugin_name)); ?>">désactiver</a></li>
25 <li><a href="<?php echo $this->url("config/plugins/enable", array("id" => $plugin_name)); ?>">activer</a></li>
28 <li><a href="<?php echo $this->url("config/plugins/install", array("id" => $plugin_name)); ?>">installer</a></li>
30 <li>priorité : <input type="text" size="4" name="priorite_<?php echo $plugin_name; ?>" value="<?php echo $plugin["priorite"] ? $plugin["priorite"] : "0"; ?>" /></li>
35 <div class="form_buttons">
36 <input type="submit" value="Enregistrer les priorités" />
45 <p>Aucun plugin pour le moment.</p>