diff --git a/templates/skin/developer/css/style.css b/templates/skin/developer/css/style.css index 9803a502..e7cbb881 100644 --- a/templates/skin/developer/css/style.css +++ b/templates/skin/developer/css/style.css @@ -368,9 +368,13 @@ p { margin-bottom: 18px; } - - - +/* -------------------------------------------------------------- + !STAT +-------------------------------------------------------------- */ +.stat-performance { padding: 20px; background: #f0f7fd; border-top: 1px solid #d1e7f9; color: #333; } +.stat-performance table { margin-top: 15px; } +.stat-performance table td { width: 200px; vertical-align: top; } +.stat-performance h4 { font-weight: bold; color: #81B2DB; } diff --git a/templates/skin/developer/statistics_performance.tpl b/templates/skin/developer/statistics_performance.tpl index ff46d3b3..7c133fbd 100644 --- a/templates/skin/developer/statistics_performance.tpl +++ b/templates/skin/developer/statistics_performance.tpl @@ -1,38 +1,27 @@ {if $bIsShowStatsPerformance and $oUserCurrent and $oUserCurrent->isAdministrator()} -
-Statistics performance - - - - - - -
-
    -
  • - MySql
    -    query: {$aStatsPerformance.sql.count}
    -    time: {$aStatsPerformance.sql.time}


    -
  • -
-
-
    -
  • - Cache
    -    query: {$aStatsPerformance.cache.count}
    -             set: {$aStatsPerformance.cache.count_set}
    -             get: {$aStatsPerformance.cache.count_get}
    -    time: {$aStatsPerformance.cache.time} -
  • -
-
-
    -
  • - PHP
    -    time load modules:{$aStatsPerformance.engine.time_load_module}
    -    full time:{$iTimeFullPerformance}


    -
  • -
-
-
+
+

Statistics performance

+ + + + + + + +
+

MySql

+ query: {$aStatsPerformance.sql.count}
+ time: {$aStatsPerformance.sql.time} +
+

Cache

+ query: {$aStatsPerformance.cache.count}
+ — set: {$aStatsPerformance.cache.count_set}
+ — get: {$aStatsPerformance.cache.count_get}
+ time: {$aStatsPerformance.cache.time} +
+

PHP

+ time load modules: {$aStatsPerformance.engine.time_load_module}
+ full time: {$iTimeFullPerformance} +
+
{/if} \ No newline at end of file diff --git a/templates/skin/developer/topic.tpl b/templates/skin/developer/topic.tpl index 2a346118..31a086b2 100644 --- a/templates/skin/developer/topic.tpl +++ b/templates/skin/developer/topic.tpl @@ -29,7 +29,7 @@
{if $oTopic->getType()=='question'}
- {if !$oTopic->getUserQuestionIsVote()} {* Если пользователь еще не участвовал в голосовании *} + {if !$oTopic->getUserQuestionIsVote()}