XOOPS RMCommon Utilities
2.1.8.91RC
Main Page
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
rmc_mods_installed.php
Go to the documentation of this file.
1
<?php
foreach
($installed_mods as $module): ?>
2
<div
class
=
"module"
>
3
<a style=
"background-image: url(<?php echo XOOPS_URL . '/modules/' . $module->getVar('dirname') . '/' . ($module->getInfo('icon48')!='' ? $module->getInfo('icon48') : $module->getInfo('image')); ?>);"
class
=
"image"
href
=
"<?php if($module->getVar('hasadmin')): echo XOOPS_URL . '/modules/' . $module->getVar('dirname') . '/' . $module->getInfo('adminindex'); else: echo 'javascript:;'; endif; ?>"
><span> </span></a>
4
<span
class
=
"module_data"
>
5
<strong><a
href
=
"<?php if($module->getVar('hasadmin')): echo XOOPS_URL . '/modules/' . $module->getVar('dirname') . '/' . $module->getInfo('adminindex'); else: echo 'javascript:;'; endif; ?>"
><?php echo $module->getVar(
'name'
,
'E'
); ?></a></strong><br />
6
<?php echo sprintf(
__
(
'Version: %s'
,
'rmcommon'
),
'<strong>'
.round($module->getVar(
'version'
) / 100, 2).
'</strong>'
); ?><br />
7
<a href=
"<?php echo XOOPS_URL; ?>/modules/system/admin.php?fct=modulesadmin&op=update&module=<?php echo $module->getVar('dirname'); ?>"
><?php
_e
(
'Update'
,
'rmcommon'
); ?></a>
8
<?php
if
($module->getVar(
'hasmain'
)): ?>
9
| <a href=
"<?php echo XOOPS_URL; ?>/modules/<?php echo $module->getVar('dirname'); ?>"
><?php
_e
(
'View'
,
'rmcommon'
); ?></a>
10
<?php
endif
; ?>
11
</span>
12
</div>
13
<?php
endforeach
; ?><br clear=
"all"
/>
14
<?php
$nav
->display(
false
); ?>
L:
XOOPS_Allure
SVN_XOOPS2
RMC
rmcommon
trunk
rmcommon
templates
rmc_mods_installed.php
Generated on Sun Mar 17 2013 20:41:07 for XOOPS RMCommon Utilities by
1.8.3.1