]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blame - settings/plugins.php
Add a `Plugins` overview card
[irc/unrealircd/unrealircd-webpanel.git] / settings / plugins.php
CommitLineData
b65f0496
VP
1<?php
2
c06c1713
BM
3require_once "../inc/common.php";
4require_once "../inc/header.php";
b65f0496
VP
5
6
7?>
8
e47cb29f 9<h2>Active Plugins <a class="btn btn-sm btn-primary" href="add-plugin.php">Add New</a></h2>
b65f0496 10<br>
c99eabea 11Your installed plugins:
b65f0496
VP
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>
685677bd
VP
39</table>
40<?php
c06c1713 41require_once "../inc/footer.php";