]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blob - settings/plugins.php
Plugins list: change wording to 'installed' instead of 'available'
[irc/unrealircd/unrealircd-webpanel.git] / settings / plugins.php
1 <?php
2
3 require_once "../inc/common.php";
4 require_once "../inc/header.php";
5
6
7 ?>
8
9 <h2>Active Plugins <a class="btn btn-sm btn-primary" href="add-plugin.php">Add New</a></h2>
10 <br>
11 Your installed plugins:
12 <br>
13 <table class="container-xxl table table-sm table-responsive caption-top table-striped">
14 <thead class="table-primary">
15 <form method="post">
16 <th scope="col">Plugin Name</th>
17 <th scope="col">Handle</th>
18 <th scope="col">Version</th>
19 <th scope="col">Description</th>
20 <th scope="col">Author</th>
21 <th scope="col">Contact</th>
22
23 </thead>
24 <tbody>
25 <?php
26 foreach(Plugins::$list as $plugin)
27 {
28 echo "<tr>";
29 echo "<td scope=\"col\">".$plugin->name."</td>";
30 echo "<td scope=\"col\"><code>".$plugin->handle."</code></td>";
31 echo "<td scope=\"col\"><code>".$plugin->version."</code></td>";
32 echo "<td scope=\"col\">".$plugin->description."</td>";
33 echo "<td scope=\"col\">".$plugin->author."</td>";
34 echo "<td scope=\"col\"><a href='mailto:$plugin->email'>".$plugin->email."</a></td>";
35 echo "</tr>";
36 }
37 ?>
38 </tbody>
39 </table>
40 <?php
41 require_once "../inc/footer.php";