From: <txm...@us...> - 2015-03-16 10:32:00
|
Revision: 13017 http://sourceforge.net/p/xoops/svn/13017 Author: txmodxoops Date: 2015-03-16 10:31:53 +0000 (Mon, 16 Mar 2015) Log Message: ----------- Updated Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/bootnewage.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/english/admin.php XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_page.html Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/bootnewage.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/bootnewage.php 2015-03-14 18:51:12 UTC (rev 13016) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/bootnewage.php 2015-03-16 10:31:53 UTC (rev 13017) @@ -301,7 +301,7 @@ } return; } - + $item_id = 1; foreach ($mods as $mod) { $sadmin = $moduleperm_handler->checkRight ( 'module_admin', $mod->getVar ( 'mid' ), $xoopsUser->getGroups () ); if ($sadmin) { @@ -312,6 +312,7 @@ } else { $rtn ['link'] = XOOPS_URL . '/modules/system/admin.php?fct=preferences&op=showmod&mod=' . $mod->getVar ( 'mid' ); } + $rtn ['id'] = $item_id; $rtn ['title'] = htmlspecialchars($mod->getVar ('name'), ENT_QUOTES); $rtn ['image'] = $mod->getInfo('image'); $rtn ['description'] = $mod->getInfo('description'); @@ -323,7 +324,9 @@ } $tpl->append ( 'modules', $rtn ); } + $item_id++; } + unset($item_id); } /*function footer() Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/english/admin.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/english/admin.php 2015-03-14 18:51:12 UTC (rev 13016) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/language/english/admin.php 2015-03-16 10:31:53 UTC (rev 13017) @@ -2,6 +2,10 @@ // $Id: admin.php 12609 2014-06-16 06:30:00Z beckmi $ define('_OXYGEN_SYSOPTIONS',"System Options"); define('_OXYGEN_INSTALLEDMODULES',"Installed Modules"); +define('_OXYGEN_INSTALLEDMODULES_NUM',"N°"); +define('_OXYGEN_INSTALLEDMODULES_IMAGE',"Image"); +define('_OXYGEN_INSTALLEDMODULES_NAME',"Name"); +define('_OXYGEN_INSTALLEDMODULES_DESCRIPTION',"Description"); define('_OXYGEN_XOOPSTHEMES',"XOOPS Themes"); define('_OXYGEN_XOOPSMODULES',"XOOPS Modules"); define('_OXYGEN_INTERESTSITES',"Links"); Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.html 2015-03-14 18:51:12 UTC (rev 13016) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_modules.html 2015-03-16 10:31:53 UTC (rev 13017) @@ -1,8 +1,14 @@ <table class="table table-striped"> <thead> <tr> - <th colspan="4"><{$smarty.const._OXYGEN_INSTALLEDMODULES}></th> + <h4 colspan="4"><{$smarty.const._OXYGEN_INSTALLEDMODULES}></h4> </tr> + <tr> + <th class="text-center"><{$smarty.const._OXYGEN_INSTALLEDMODULES_NUM}></th> + <th class="text-center"><{$smarty.const._OXYGEN_INSTALLEDMODULES_IMAGE}></th> + <th class="text-center"><{$smarty.const._OXYGEN_INSTALLEDMODULES_NAME}></th> + <th class="text-center"><{$smarty.const._OXYGEN_INSTALLEDMODULES_DESCRIPTION}></th> + </tr> </thead> <tbody> <{foreach item=mod from=$modules}> Modified: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_page.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_page.html 2015-03-14 18:51:12 UTC (rev 13016) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/system/themes/bootnewage/xotpl/theme_page.html 2015-03-16 10:31:53 UTC (rev 13017) @@ -3,7 +3,7 @@ <hr /> <div class="row"> <!-- center left--> - <div class="col-md-9"> + <div class="col-md-12"> <{if $xo_sys_breadcrumb}> <div class="row"> <div class="col-lg-12"> @@ -31,21 +31,20 @@ <{/if}> <{if $modules}> <div class="row"> - <div class="col-lg-12"> + <div class="col-lg-9"> <div class="panel panel-default"> <div class="panel-body"> <{includeq file="$theme_tpl/theme_modules.html"}> </div> </div> </div> - </div><{* /.row *}> - <hr /> - <{/if}> - </div><!--/col--> - <!--center-right--> - <div class="col-md-3"> - <{includeq file="$theme_tpl/theme_tabs.html"}> - <hr /> - <{includeq file="$theme_tpl/theme_accordion.html"}> - </div><!--/col-span-3--> + <!--center-right--> + <div class="col-md-3"> + <{includeq file="$theme_tpl/theme_tabs.html"}> + <hr /> + <{includeq file="$theme_tpl/theme_accordion.html"}> + </div><!--/col--> + </div><{* /.row *}><hr /> + <{/if}> + </div><!--/col-span-12--> </div><!--/row--> \ No newline at end of file |