1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Minor GUI change

This commit is contained in:
CaMer0n
2012-03-22 19:41:11 +00:00
parent 87eae79ba1
commit 0570ed63e1

View File

@@ -112,10 +112,10 @@ $cache_files_num = count($cache_files);
$imgcache_files_num = count($imgcache_files); $imgcache_files_num = count($imgcache_files);
$dbcache_files_num = count($dbcache_files); $dbcache_files_num = count($dbcache_files);
$syscache_label = CACLAN_17.' <strong>'.$syscache_files_num.' '.($syscache_files_num != 1 ? CACLAN_19 : CACLAN_18).'</strong>'; $syscache_label = $syscache_files_num.' '.($syscache_files_num != 1 ? CACLAN_19 : CACLAN_18);
$contentcache_label = CACLAN_17.' <strong>'.$cache_files_num.' '.($cache_files_num != 1 ? CACLAN_19 : CACLAN_18).'</strong>'; $contentcache_label = $cache_files_num.' '.($cache_files_num != 1 ? CACLAN_19 : CACLAN_18);
$imgcache_label = CACLAN_17.' <strong>'.$imgcache_files_num.' '.($imgcache_files_num != 1 ? CACLAN_19 : CACLAN_18).'</strong>'; $imgcache_label = $imgcache_files_num.' '.($imgcache_files_num != 1 ? CACLAN_19 : CACLAN_18);
$dbcache_label = CACLAN_17.' <strong>'.$dbcache_files_num.' '.($dbcache_files_num != 1 ? CACLAN_19 : CACLAN_18).'</strong>'; $dbcache_label = $dbcache_files_num.' '.($dbcache_files_num != 1 ? CACLAN_19 : CACLAN_18);
$text = " $text = "
<form method='post' action='".e_SELF."'> <form method='post' action='".e_SELF."'>
@@ -123,48 +123,54 @@ $text = "
<legend class='e-hideme'>".CACLAN_3."</legend> <legend class='e-hideme'>".CACLAN_3."</legend>
<table cellpadding='0' cellspacing='0' class='adminlist'> <table cellpadding='0' cellspacing='0' class='adminlist'>
<colgroup span='2'> <colgroup span='2'>
<col style='width:80%' /> <col style='width:60%' />
<col style='width:20%' />
<col style='width:20%' /> <col style='width:20%' />
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th><!-- --></th> <th><!-- --></th>
<th class='left'>".CACLAN_17."</th>
<th class='center last'>".CACLAN_1."</th> <th class='center last'>".CACLAN_1."</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td> <td>
<strong>".CACLAN_11."</strong>: {$contentcache_label} <strong>".CACLAN_11."</strong>
<div class='field-help'>".CACLAN_13."</div> <div class='field-help'>".CACLAN_13."</div>
</td> </td>
<td>{$contentcache_label}</td>
<td class='center middle'> <td class='center middle'>
".$frm->radio_switch('cachestatus', e107::getPref('cachestatus'))." ".$frm->radio_switch('cachestatus', e107::getPref('cachestatus'))."
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<strong>".CACLAN_12."</strong>: {$syscache_label} <strong>".CACLAN_12."</strong>
<div class='field-help'>".CACLAN_14."</div> <div class='field-help'>".CACLAN_14."</div>
</td> </td>
<td>{$syscache_label}</td>
<td class='center middle'> <td class='center middle'>
".$frm->radio_switch('syscachestatus', e107::getPref('syscachestatus'))." ".$frm->radio_switch('syscachestatus', e107::getPref('syscachestatus'))."
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<strong>".CACLAN_20."</strong>: {$dbcache_label} <strong>".CACLAN_20."</strong>
<div class='field-help'>".CACLAN_21."</div> <div class='field-help'>".CACLAN_21."</div>
</td> </td>
<td>{$dbcache_label}</td>
<td class='center middle'> <td class='center middle'>
".LAN_ENABLED." ".LAN_ENABLED."
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<strong>".CACLAN_22."</strong>: {$imgcache_label} <strong>".CACLAN_22."</strong>
<div class='field-help'>".CACLAN_23."</div> <div class='field-help'>".CACLAN_23."</div>
</td> </td>
<td>{$imgcache_label}</td>
<td class='center middle'> <td class='center middle'>
".LAN_ENABLED." ".LAN_ENABLED."
</td> </td>