From: <lor...@us...> - 2012-07-28 18:05:39
|
Revision: 9942 http://xoops.svn.sourceforge.net/xoops/?rev=9942&view=rev Author: lord_venom Date: 2012-07-28 18:05:31 +0000 (Sat, 28 Jul 2012) Log Message: ----------- Modified Paths: -------------- XoopsModules/TDMStats/trunk/TDMStats/css/styles.css XoopsModules/TDMStats/trunk/TDMStats/include/stats.php XoopsModules/TDMStats/trunk/TDMStats/language/french/modinfo.php XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_index.html XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_stats.html XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_summary.html XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_user_info.html XoopsModules/TDMStats/trunk/TDMStats/xoops_version.php Modified: XoopsModules/TDMStats/trunk/TDMStats/css/styles.css =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/css/styles.css 2012-07-28 18:04:55 UTC (rev 9941) +++ XoopsModules/TDMStats/trunk/TDMStats/css/styles.css 2012-07-28 18:05:31 UTC (rev 9942) @@ -58,15 +58,19 @@ display: none !important; } + ul#tree_menu { text-align: center; width:100%; - + list-style: none; + margin: 0; + padding: 0; } - ul#tree_menu li { - list-style: none; - float:left; + ul#tree_menu li , .tree_menu{ + list-style: none; + + display: inline-block; width:97%; min-height:130px; /*height: 130px;*/ Modified: XoopsModules/TDMStats/trunk/TDMStats/include/stats.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/include/stats.php 2012-07-28 18:04:55 UTC (rev 9941) +++ XoopsModules/TDMStats/trunk/TDMStats/include/stats.php 2012-07-28 18:05:31 UTC (rev 9942) @@ -395,5 +395,55 @@ } } } +///USERCOUNT//////////////////////// +//usercount item + $date = formatTimeStamp(time(), 'Y-m-d'); + $user_info = getResult("select *, SUM(count) AS sum from ".$xoopsDB->prefix("TDMStats_usercount")." GROUP BY ip order by count DESC LIMIT 3"); + //$total_hour = getResult("select SUM(count) AS sum from ".$xoopsDB->prefix("TDMStats_today_hour").""); + + if($user_info){ + for($i=0; $i<sizeof($user_info); $i++){ + if($user_info[$i]['sum'] > 0) { + + $userid = !empty($user_info[$i]['userid']) ? XoopsUser::getUnameFromId($user_info[$i]['userid']) : substr($user_info[$i]['ip'],0,(6)).".."; + //$count = $user_info[$i]['count'] ; + $count = gmstrftime( "%H H %M mn %S s", $user_info[$i]['sum']); + + + //$hour['hour'][] = $hour_info[$i]['hour']; + //$hour['percent'][] = round($hour_percent, '2'); + + $xoopsTpl->append('item_users', array('id' => 'hour'.$i, 'userid' => $userid, 'info' => $count)); +} + } + + } + // + $user_info = getResult("select *, SUM(count) AS sum from ".$xoopsDB->prefix("TDMStats_usercount")." GROUP BY ip order by count desc"); + $user_total = getResult("select SUM(count) AS sum from ".$xoopsDB->prefix("TDMStats_usercount").""); + + if($user_info){ + + for($i=0; $i<sizeof($user_info); $i++){ + if($user_total[0]['sum'] > 0){ + + $user_percent = $user_info[$i]['sum'] * 100 / $user_total[0]['sum'] ; + // 4*100/62,5 =6,4% + }else{ + $user_percent = 0; + } + + $userid = !empty($user_info[$i]['userid']) ? XoopsUser::getUnameFromId($user_info[$i]['userid']) : substr($user_info[$i]['ip'],0,(6)).".."; + $count = gmstrftime( "%H H %M mn %S s", $user_info[$i]['sum']); + + if ($user_percent > 0) { + //$xoopsTpl->append('hours', array('id' => 'hour'.$i, 'hour' => $hour_info[$i]['hour'], 'info' => $hour_info[$i]['count'], 'percent' => round($hour_percent, '2'))); + $xoopsTpl->append('users_map', array('id' => 'user'.$i, 'userid' => $userid, 'info' => $count, 'percent' => round($user_percent, '2'))); + + } + } + + } +//////////////////////////////// ?> \ No newline at end of file Modified: XoopsModules/TDMStats/trunk/TDMStats/language/french/modinfo.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/language/french/modinfo.php 2012-07-28 18:04:55 UTC (rev 9941) +++ XoopsModules/TDMStats/trunk/TDMStats/language/french/modinfo.php 2012-07-28 18:05:31 UTC (rev 9942) @@ -49,6 +49,7 @@ define("_MI_ISTATS_MAXSESSION_DESC","L'utilisateur ne sera pas compté pendants ce temps"); define("_MI_ISTATS_MAXBG","Choisissez la couleur d'arriere plants sans le #"); define("_MI_ISTATS_MAXUSER","Compter les admins :"); +define("_MI_ISTATS_MAXUSERCOUNT","Limite du compteur de temps / jours :"); define("_MI_ISTATS_MAXHEIGHT","Choisissez la hauteur maxi. (500px max)"); define("_MI_ISTATS_MAXWIDTH","Choisissez la largeur maxi. (500px max)"); define("_MI_ISTATS_MAXCOLOR","Choisissez les couleurs utiliser séparer par |"); Modified: XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_index.html =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_index.html 2012-07-28 18:04:55 UTC (rev 9941) +++ XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_index.html 2012-07-28 18:05:31 UTC (rev 9942) @@ -54,7 +54,7 @@ } else { $tdmstats("#masque_" +id).fadeOut("fast", function() { - $tdmstats("div[id^='masque']").fadeIn("fast").hide(); + $tdmstats("#masque_" +id).slideToggle("fast").show(); }); Modified: XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_stats.html =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_stats.html 2012-07-28 18:04:55 UTC (rev 9941) +++ XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_stats.html 2012-07-28 18:05:31 UTC (rev 9942) @@ -12,7 +12,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('day')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau day --> -<li id="masque_day" style="display: none;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/day.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('day')"><{$smarty.const._AM_BY_DAY}></h2></a> +<div id="masque_day" style="display: none;" class="tree_menu even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/day.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('day')"><{$smarty.const._AM_BY_DAY}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -31,7 +31,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> @@ -45,7 +45,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('week')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau week --> -<li id="masque_week" style="display: none;" class="odd"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/weekday.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('week')"><{$smarty.const._AM_BY_WEEKDAY}></h2></a> +<div id="masque_week" style="display: none;" class="tree_menu odd"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/weekday.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('week')"><{$smarty.const._AM_BY_WEEKDAY}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -64,7 +64,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> <li style="width:46%;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/week.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('last')"><{$smarty.const._AM_BY_WEEK}></h2></a> @@ -77,7 +77,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('last')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau last --> -<li id="masque_last" style="display: none;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/week.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('last')"><{$smarty.const._AM_BY_WEEK}></h2></a> +<div id="masque_last" style="display: none;" class="tree_menu even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/week.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('last')"><{$smarty.const._AM_BY_WEEK}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -96,7 +96,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> @@ -110,7 +110,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('mth')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau mth --> -<li id="masque_mth" style="display: none;" class="odd"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/mth.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('mth')"><{$smarty.const._AM_BY_MTH}></h2></a> +<div id="masque_mth" style="display: none;" class="tree_menu odd"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/mth.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('mth')"><{$smarty.const._AM_BY_MTH}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -129,7 +129,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> @@ -143,7 +143,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('hour')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau hours --> -<li id="masque_hour" style="display: none;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/hour.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('hour')"><{$smarty.const._AM_BY_HOUR}></h2></a> +<div id="masque_hour" style="display: none;" class="tree_menu even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/hour.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('hour')"><{$smarty.const._AM_BY_HOUR}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -162,7 +162,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> @@ -176,7 +176,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('page')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau pages --> -<li id="masque_page" style="display: none;" class="odd"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/page.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('page')"><{$smarty.const._AM_BY_PAGE}></h2></a> +<div id="masque_page" style="display: none;" class="tree_menu odd"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/page.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('page')"><{$smarty.const._AM_BY_PAGE}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -195,7 +195,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> <li style="width:46%;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/module.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('mth')"><{$smarty.const._AM_BY_MODULE}></h2></a> @@ -208,7 +208,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('module')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau module --> -<li id="masque_module" style="display: none;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/module.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('module')"><{$smarty.const._AM_BY_MODULE}></h2></a> +<div id="masque_module" style="display: none;" class="tree_menu even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/module.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('module')"><{$smarty.const._AM_BY_MODULE}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -227,7 +227,39 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> +<li style="width:46%;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/user.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('user')"><{$smarty.const._AM_BY_USER}></h2></a> +<div style="text-align:left"> + <{foreach from=$item_users item=item}> + <span id="tree_num"><{$item.userid}>, <{$item.info}></span><br /> + <{/foreach}> + +</div></div> +<div id="tree_form"><a href="javascript:;" onclick="javascript:masque('user')" ><{$smarty.const._AM_VIEW}></a></div></li> + +<!-- tableau user --> +<div id="masque_user" style="display: none;" class="tree_menu even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/user.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('pays')"><{$smarty.const._AM_BY_USER}></h2></a> +<div style="text-align:left"> +<div class="Tableau"> + <p class="legende"> + <span class="col1"><{$smarty.const._AM_BY_USER}></span> + <span class="col2"></span> + <span class="col3"><{$smarty.const._AM_DATE_VISITS}></span> + <span class="col4"><{$smarty.const._AM_DATE_PERCENT}></span> + </p> + <{foreach item=user_map from=$users_map}> + <p> + <span class="col1"><{$user_map.userid}></span> + <span class="col2"><img src="./images/bar/<{$img_bar}>" title="<{$user_map.percent}>%" alt="<{$user_map.percent}>%" width="<{$user_map.percent}>%" style="height:16px;" /></span> + <span class="col3"><{$user_map.info}></span> + <span class="col3"><{$user_map.percent}>%</span> + </p> + <{/foreach}> +</div> + +</div></div><br style="clear: both;" /><br /></div> +<!--fin--> + <br style="clear: both;" /></ul></td></tr></table><br /> \ No newline at end of file Modified: XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_summary.html =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_summary.html 2012-07-28 18:04:55 UTC (rev 9941) +++ XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_summary.html 2012-07-28 18:05:31 UTC (rev 9942) @@ -9,7 +9,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('resum')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau resum --> -<li id="masque_resum" style="display: none;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/resume.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('resum')"><{$smarty.const._AM_STATS_INFO}></h2></a> +<div id="masque_resum" style="display: none;" class="tree_menu even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/resume.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('resum')"><{$smarty.const._AM_STATS_INFO}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -69,7 +69,7 @@ </p> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!-- fin --> @@ -90,7 +90,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('hour')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau hour --> -<li id="masque_hour" style="display: none;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/calender.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('hour')"><{$smarty.const._AM_TODAY}></h2></a> +<div id="masque_hour" style="display: none;" class="tree_menu even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/calender.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('hour')"><{$smarty.const._AM_TODAY}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -109,7 +109,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> @@ -123,7 +123,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('ref')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau ref --> -<li id="masque_ref" style="display: none;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/ref.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('ref')"><{$smarty.const._AM_BY_REF}></h2></a> +<div id="masque_ref" style="display: none;" class="tree_menu even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/ref.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('ref')"><{$smarty.const._AM_BY_REF}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -142,7 +142,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> @@ -156,7 +156,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('pays')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau pays --> -<li id="masque_pays" style="display: none;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/word.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('pays')"><{$smarty.const._AM_BY_COUNTRY}></h2></a> +<div id="masque_pays" style="display: none;" class="tree_menu even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/word.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('pays')"><{$smarty.const._AM_BY_COUNTRY}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -175,7 +175,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> <li style="width:46%;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/user.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('user')"><{$smarty.const._AM_BY_TODAY_USER}></h2></a> @@ -188,7 +188,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('user')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau user --> -<li id="masque_user" style="display: none;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/user.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('pays')"><{$smarty.const._AM_BY_TODAY_USER}></h2></a> +<div id="masque_user" style="display: none;" class="tree_menu even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/user.png" title="<{$lang_forecast}>"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('pays')"><{$smarty.const._AM_BY_TODAY_USER}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -207,7 +207,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> Modified: XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_user_info.html =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_user_info.html 2012-07-28 18:04:55 UTC (rev 9941) +++ XoopsModules/TDMStats/trunk/TDMStats/templates/tdmstats_user_info.html 2012-07-28 18:05:31 UTC (rev 9942) @@ -1,6 +1,8 @@ <{include file="db:TDMStats_index.html"}> -<table cellpadding="0" cellspacing="0" style="border-collapse: separate;"><tr><td><ul id="tree_menu"> +<table cellpadding="0" cellspacing="0" style="border-collapse: separate;"><tr><td> + +<ul id="tree_menu"> <li style="width:46%;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/bro.png" ><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('browser')"><{$smarty.const._AM_BY_BROWSER}></h2></a> <div style="text-align:left"> @@ -12,7 +14,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('browser')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau browser --> -<li id="masque_browser" style="display: none;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/bro.png"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('browser')"><{$smarty.const._AM_BY_BROWSER}></h2></a> +<div id="masque_browser" style="display: none;" class="even tree_menu"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/bro.png"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('browser')"><{$smarty.const._AM_BY_BROWSER}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -31,7 +33,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> <li style="width:46%;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/os.png" ><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('os')"><{$smarty.const._AM_BY_OS}></h2></a> @@ -44,7 +46,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('os')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau os --> -<li id="masque_os" style="display: none;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/os.png"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('os')"><{$smarty.const._AM_BY_OS}></h2></a> +<div id="masque_os" style="display: none;" class="tree_menu even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/os.png"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('os')"><{$smarty.const._AM_BY_OS}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -63,7 +65,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> <li style="width:46%;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/sw.png" ><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('sw')"><{$smarty.const._AM_SW_SW}></h2></a> @@ -76,7 +78,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('sw')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau sw --> -<li id="masque_sw" style="display: none;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/sw.png"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('sw')"><{$smarty.const._AM_SW_SW}></h2></a> +<div id="masque_sw" style="display: none;" class="tree_menu even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/sw.png"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('sw')"><{$smarty.const._AM_SW_SW}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -95,7 +97,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> <li style="width:46%;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/sc.png" ><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('sc')"><{$smarty.const._AM_SC_SC}></h2></a> @@ -108,7 +110,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('sc')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau sc --> -<li id="masque_sc" style="display: none;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/sc.png"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('sc')"><{$smarty.const._AM_SC_SC}></h2></a> +<div id="masque_sc" style="display: none;" class="tree_menu even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/sc.png"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('sc')"><{$smarty.const._AM_SC_SC}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -127,7 +129,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> <li style="width:46%;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/host.png" ><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('host')"><{$smarty.const._AM_BY_HOST}></h2></a> @@ -140,7 +142,7 @@ <div id="tree_form"><a href="javascript:;" onclick="javascript:masque('host')" ><{$smarty.const._AM_VIEW}></a></div></li> <!-- tableau host --> -<li id="masque_host" style="display: none;" class="even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/host.png"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('host')"><{$smarty.const._AM_BY_HOST}></h2></a> +<div id="masque_host" style="display: none;" class="tree_menu even"><div><img class="img" src="<{$smarty.const.TDMSTATS_IMAGES_URL}>/host.png"><br/></div><div><h2><a href="javascript:;" onclick="javascript:masque('host')"><{$smarty.const._AM_BY_HOST}></h2></a> <div style="text-align:left"> <div class="Tableau"> <p class="legende"> @@ -159,7 +161,7 @@ <{/foreach}> </div> -</div></div> +</div></div><br style="clear: both;" /><br /></div> <!--fin--> <br style="clear: both;" /></ul></td></tr></table><br /> \ No newline at end of file Modified: XoopsModules/TDMStats/trunk/TDMStats/xoops_version.php =================================================================== --- XoopsModules/TDMStats/trunk/TDMStats/xoops_version.php 2012-07-28 18:04:55 UTC (rev 9941) +++ XoopsModules/TDMStats/trunk/TDMStats/xoops_version.php 2012-07-28 18:05:31 UTC (rev 9942) @@ -202,6 +202,13 @@ $modversion['config'][$i]['valuetype'] = 'int'; $modversion['config'][$i]['default'] = 0; $i++; +$modversion['config'][$i]['name'] = 'maxusercount'; +$modversion['config'][$i]['title'] = '_MI_ISTATS_MAXUSERCOUNT'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'texbox'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 7; +$i++; //$modversion['config'][5]['name'] = 'tdmstats_style'; //$modversion['config'][5]['title'] = '_MI_ISTATS_ONGLET'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |