This repository was archived by the owner on Nov 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathplugins.html.php
More file actions
102 lines (84 loc) · 3.39 KB
/
plugins.html.php
File metadata and controls
102 lines (84 loc) · 3.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?php
$pluginManager = new WordlessExtenderPluginManager(WordlessExtender::$to_be_installed_plugins);
$pluginManager->initialize_plugins();
$plugin_data = $pluginManager->get_plugin_istances();
wp_enqueue_script( 'plugin-install' );
add_thickbox();
?>
<div class="wrap">
<div id="icon-themes" class="icon32"><br></div>
<h2>Plugin Manager</h2>
<div class="description">
<p>
Community contribuited plugins are essential part of WP itself.<br />
We consider plugins as good ones if they are <strong>tested</strong>, are <strong>actively contribuited</strong>, are <strong>doing well a single task</strong> and have <strong>readable code</strong>.
</ul>
<p>
Here's a list of tested-by-weLaika® plugins with a control panel.
</p>
</div>
<h3>Plugin list</h3>
<table id="wordless-extender" class="wp-list-table widefat">
<colgroup>
<col class="status" />
<col class="name" />
<col class="version" />
<col class="install" />
<col class="upgrade" />
<col class="activate" />
<col class="deactivate" />
<col class="delete" />
<col class="details" />
</colgroup>
<thead>
<tr>
<th class="status">Status</th>
<th class="name">Name</th>
<th class="version">Version</th>
<th colspan="6">Options</th>
</tr>
</thead>
<tbody>
<?php foreach ($plugin_data as $p) : ?>
<tr class="<?php print $p->get_data('Slug'); ?>">
<td class="status"><?php print $p->get_status(); ?></td>
<td class="name"><?php print $p->get_data('Name'); ?></td>
<td class="version">
<?php if ($p->is_installed()) : ?>
<?php print $p->get_data('Version'); ?>
<?php endif; ?>
</td>
<td class="install">
<?php if (!$p->is_installed()) : ?>
<a href="<?php print $p->get_urls('install'); ?>">Install</a>
<?php endif; ?>
</td>
<td class="upgrade">
<?php if ($p->is_installed()) : ?>
<a href="<?php print $p->get_urls('update'); ?>">Update</a>
<?php endif; ?>
</td>
<td class="activate">
<?php if ($p->is_installed() && !$p->is_active()) : ?>
<a href="<?php print $p->get_urls('activate'); ?>">Activate</a>
<?php endif; ?>
</td>
<td class="deactivate">
<?php if ($p->is_active()) : ?>
<a href="<?php print $p->get_urls('deactivate'); ?>">Deactivate</a>
<?php endif; ?>
</td>
<td class="delete">
<?php if ($p->is_installed() && !$p->is_active()) : ?>
<a href="<?php print $p->get_urls('delete'); ?>">Delete</a>
<?php endif; ?>
</td>
<td class="details">
<a href="<?php print $p->get_urls('details'); ?>" class="thickbox">Details</a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<?php include_once('footer.html.php'); ?>