1 <h1
class=
"rmc_titles"><?php
_e(
'Plugins Manager',
'rmcommon'); ?></h1>
2 <div
class=
"descriptions">
3 <?php
_e(
'Plugins allows to Common Utilities to improve its features and capabilities. Following is a list with existing plugins, installed and available to install.',
'rmcommon'); ?>
6 <h3><?php
_e(
'Installed Plugins',
'rmcommon'); ?></h3>
7 <table
class=
"outer" cellspacing=
"0" cellpadding=
"0">
10 <th align=
"left"><?php
_e(
'Name',
'rmcommon'); ?></th>
11 <th align=
"left"><?php
_e(
'Description',
'rmcommon'); ?></th>
12 <th><?php
_e(
'Version',
'rmcommon'); ?></th>
13 <th><?php
_e(
'Author',
'rmcommon'); ?></th>
14 <th><?php
_e(
'Status',
'rmcommon'); ?></th>
19 <th align=
"left"><?php
_e(
'Name',
'rmcommon'); ?></th>
20 <th align=
"left"><?php
_e(
'Description',
'rmcommon'); ?></th>
21 <th><?php
_e(
'Version',
'rmcommon'); ?></th>
22 <th><?php
_e(
'Author',
'rmcommon'); ?></th>
23 <th><?php
_e(
'Status',
'rmcommon'); ?></th>
27 <?php
if(empty($installed_plugins)): ?>
29 <td
class=
"error" colspan=
"5" align=
"center"><?php
_e(
'There are not plugins installed yet!',
'rmcommon'); ?></td>
32 <?php
foreach ($installed_plugins as $plugin): ?>
33 <tr
class=
"<?php echo tpl_cycle("even,
odd"); ?>" valign=
"top">
35 <?php
if($plugin->get_info(
'hasmain')): ?>
36 <strong><a
href=
"plugins.php?p=<?php echo $plugin->get_info('dir'); ?>"><?php echo $plugin->getVar(
'name'); ?></a></strong>
38 <strong><?php echo $plugin->getVar(
'name'); ?></strong>
40 <span
class=
"rmc_options">
41 <a
href=
"plugins.php?action=uninstall&plugin=<?php echo $plugin->get_info('dir'); ?>"><?php
_e(
'Uninstall',
'rmcommon'); ?></a> |
42 <?php
if($plugin->getVar(
'status')): ?>
43 <a href=
"plugins.php?action=disable&plugin=<?php echo $plugin->get_info('dir'); ?>"><?php
_e(
'Disable',
'rmcommon'); ?></a> |
45 <a href=
"plugins.php?action=enable&plugin=<?php echo $plugin->get_info('dir'); ?>"><?php
_e(
'Enable',
'rmcommon'); ?></a> |
47 <a href=
"plugins.php?action=update&plugin=<?php echo $plugin->get_info('dir'); ?>"><?php
_e(
'Update',
'rmcommon'); ?></a>
48 <?php
if($plugin->options()): ?>
49 | <a href=
"plugins.php?action=configure&plugin=<?php echo $plugin->get_info('dir'); ?>"><?php
_e(
'Settings',
'rmcommon'); ?></a>
54 <span
class=
"descriptions"><?php echo $plugin->get_info(
'description'); ?></span>
57 <strong><?php echo is_array($plugin->get_info(
'version')) ?
RMUtilities::format_version($plugin->get_info(
'version')) : $plugin->get_info(
'version'); ?></strong>
60 <?php
if($plugin->get_info(
'web')!=
''): ?>
61 <strong><a href=
"<?php echo $plugin->get_info('web'); ?>"><?php echo $plugin->get_info(
'author'); ?></a></strong>
63 <strong><?php echo $plugin->get_info(
'author'); ?></strong>
65 <?php echo $plugin->get_info(
'email'); ?>
68 <?php echo $plugin->getVar(
'status')?
__(
'Active',
'rmcommon'):
__(
'Inactive',
'rmcommon'); ?>
76 <h3><?php
_e(
'Available Plugins'); ?></h3>
77 <table
class=
"outer" cellspacing=
"0" cellpadding=
"0">
80 <th align=
"left"><?php
_e(
'Name',
'rmcommon'); ?></th>
81 <th align=
"left"><?php
_e(
'Description',
'rmcommon'); ?></th>
82 <th><?php
_e(
'Version',
'rmcommon'); ?></th>
83 <th><?php
_e(
'Author',
'rmcommon'); ?></th>
88 <th align=
"left"><?php
_e(
'Name and Description',
'rmcommon'); ?></th>
89 <th align=
"left"><?php
_e(
'Description',
'rmcommon'); ?></th>
90 <th><?php
_e(
'Version',
'rmcommon'); ?></th>
91 <th><?php
_e(
'Author',
'rmcommon'); ?></th>
95 <?php
if(empty($available_plugins)): ?>
97 <td
class=
"error" colspan=
"4" align=
"center"><?php
_e(
'There are not available plugins yet!',
'rmcommon'); ?></td>
100 <?php
foreach ($available_plugins as $plugin): ?>
101 <tr
class=
"<?php echo tpl_cycle("even,
odd"); ?>" valign=
"top">
103 <strong><?php echo $plugin->get_info(
'name'); ?></strong>
104 <span
class=
"rmc_options">
105 <a href=
"plugins.php?action=install&plugin=<?php echo $plugin->get_info('dir'); ?>"><?php
_e(
'Install',
'rmcommon'); ?></a> |
106 <a href=
"<?php echo $plugin->get_info('web'); ?>"><?php
_e(
'Visit Web site',
'rmcommon'); ?></a>
110 <span
class=
"descriptions"><?php echo $plugin->get_info(
'description'); ?></span>
113 <strong><?php echo $plugin->get_info(
'version'); ?></strong>
116 <?php
if($plugin->get_info(
'web')!=
''): ?>
117 <strong><a href=
"<?php echo $plugin->get_info('web'); ?>"><?php echo $plugin->get_info(
'author'); ?></a></strong>
119 <strong><?php echo $plugin->get_info(
'author'); ?></strong>
120 <?php
endif; ?><br />
121 <?php echo $plugin->get_info(
'email'); ?>