Changeset 928
- Timestamp:
- 06/05/10 16:50:27 (20 months ago)
- Location:
- trunk/templates/skin
- Files:
-
- 5 modified
-
developer/css/style.css (modified) (1 diff)
-
developer/statistics_performance.tpl (modified) (1 diff)
-
developer/topic.tpl (modified) (1 diff)
-
new/css/style.css (modified) (1 diff)
-
new/statistics_performance.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/skin/developer/css/style.css
r923 r928 369 369 370 370 371 372 373 374 375 376 377 378 379 371 /* -------------------------------------------------------------- 372 !STAT 373 -------------------------------------------------------------- */ 374 .stat-performance { padding: 20px; background: #f0f7fd; border-top: 1px solid #d1e7f9; color: #333; } 375 .stat-performance table { margin-top: 15px; } 376 .stat-performance table td { width: 200px; vertical-align: top; } 377 .stat-performance h4 { font-weight: bold; color: #81B2DB; } 378 379 380 381 382 383 -
trunk/templates/skin/developer/statistics_performance.tpl
r926 r928 1 1 {if $bIsShowStatsPerformance and $oUserCurrent and $oUserCurrent->isAdministrator()} 2 <fieldset> 3 <legend>Statistics performance</legend> 4 <table> 5 <tr align="top"> 6 <td align="top"> 7 <ul> 8 <li> 9 <b>MySql</b> <br> 10 query: {$aStatsPerformance.sql.count}<br> 11 time: {$aStatsPerformance.sql.time}<br><br><br> 12 </li> 13 </ul> 14 </td> 15 <td> 16 <ul> 17 <li> 18 <b>Cache</b> <br> 19 query: {$aStatsPerformance.cache.count}<br> 20 set: {$aStatsPerformance.cache.count_set}<br> 21 get: {$aStatsPerformance.cache.count_get}<br> 22 time: {$aStatsPerformance.cache.time} 23 </li> 24 </ul> 25 </td> 26 <td align="top"> 27 <ul> 28 <li> 29 <b>PHP</b> <br> 30 time load modules:{$aStatsPerformance.engine.time_load_module}<br> 31 full time:{$iTimeFullPerformance}<br><br><br> 32 </li> 33 </ul> 34 </td> 35 </tr> 36 </table> 37 </fieldset> 2 <div class="stat-performance"> 3 <h2>Statistics performance</h2> 4 5 <table> 6 <tr> 7 <td> 8 <h4>MySql</h4> 9 query: <strong>{$aStatsPerformance.sql.count}</strong><br /> 10 time: <strong>{$aStatsPerformance.sql.time}</strong> 11 </td> 12 <td> 13 <h4>Cache</h4> 14 query: <strong>{$aStatsPerformance.cache.count}</strong><br /> 15 — set: <strong>{$aStatsPerformance.cache.count_set}</strong><br /> 16 — get: <strong>{$aStatsPerformance.cache.count_get}</strong><br /> 17 time: <strong>{$aStatsPerformance.cache.time}</strong> 18 </td> 19 <td> 20 <h4>PHP</h4> 21 time load modules: <strong>{$aStatsPerformance.engine.time_load_module}</strong><br /> 22 full time: <strong>{$iTimeFullPerformance}</strong> 23 </td> 24 </tr> 25 </table> 26 </div> 38 27 {/if} -
trunk/templates/skin/developer/topic.tpl
r924 r928 30 30 {if $oTopic->getType()=='question'} 31 31 <div id="topic_question_area_{$oTopic->getId()}" class="poll"> 32 {if !$oTopic->getUserQuestionIsVote()} {* ����� � �������� *}32 {if !$oTopic->getUserQuestionIsVote()} 33 33 <ul class="poll-vote"> 34 34 {foreach from=$oTopic->getQuestionAnswers() key=key item=aAnswer} -
trunk/templates/skin/new/css/style.css
r831 r928 819 819 820 820 821 822 823 824 825 826 827 828 829 830 831 821 /* Stat 822 -------------------------------------------------------------------*/ 823 .stat-performance { padding: 20px; background: #f0f7fd; border-top: 1px solid #d1e7f9; color: #333; } 824 .stat-performance table { margin-top: 15px; } 825 .stat-performance table td { width: 200px; vertical-align: top; } 826 .stat-performance h4 { font-weight: bold; color: #81B2DB; } 827 828 829 830 831 832 833 834 835 836 837 -
trunk/templates/skin/new/statistics_performance.tpl
r926 r928 1 1 {if $bIsShowStatsPerformance and $oUserCurrent and $oUserCurrent->isAdministrator()} 2 <fieldset> 3 <legend>Statistics performance</legend> 4 <table> 5 <tr align="top"> 6 <td align="top"> 7 <ul> 8 <li> 9 <b>MySql</b> <br> 10 query: {$aStatsPerformance.sql.count}<br> 11 time: {$aStatsPerformance.sql.time}<br><br><br> 12 </li> 13 </ul> 14 </td> 15 <td> 16 <ul> 17 <li> 18 <b>Cache</b> <br> 19 query: {$aStatsPerformance.cache.count}<br> 20 set: {$aStatsPerformance.cache.count_set}<br> 21 get: {$aStatsPerformance.cache.count_get}<br> 22 time: {$aStatsPerformance.cache.time} 23 </li> 24 </ul> 25 </td> 26 <td align="top"> 27 <ul> 28 <li> 29 <b>PHP</b> <br> 30 time load modules:{$aStatsPerformance.engine.time_load_module}<br> 31 full time:{$iTimeFullPerformance}<br><br><br> 32 </li> 33 </ul> 34 </td> 35 </tr> 36 </table> 37 </fieldset> 2 <div class="stat-performance"> 3 <h2>Statistics performance</h2> 4 5 <table> 6 <tr> 7 <td> 8 <h4>MySql</h4> 9 query: <strong>{$aStatsPerformance.sql.count}</strong><br /> 10 time: <strong>{$aStatsPerformance.sql.time}</strong> 11 </td> 12 <td> 13 <h4>Cache</h4> 14 query: <strong>{$aStatsPerformance.cache.count}</strong><br /> 15 — set: <strong>{$aStatsPerformance.cache.count_set}</strong><br /> 16 — get: <strong>{$aStatsPerformance.cache.count_get}</strong><br /> 17 time: <strong>{$aStatsPerformance.cache.time}</strong> 18 </td> 19 <td> 20 <h4>PHP</h4> 21 time load modules: <strong>{$aStatsPerformance.engine.time_load_module}</strong><br /> 22 full time: <strong>{$iTimeFullPerformance}</strong> 23 </td> 24 </tr> 25 </table> 26 </div> 38 27 {/if}
