XOOPS RMCommon Utilities  2.1.8.91RC
 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>&nbsp;</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&amp;op=update&amp;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); ?>