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