BUG 9849 - When you add a new skin - the skin menu does not show it selected

PROBLEM The skin table does not show any row selected to determine which is the selected one.
SOLVED Adding an small feature to display italic, bold text and set a checked image in the current skin row.
This commit is contained in:
Ralph Asendeteufrer
2012-10-04 11:44:15 -04:00
parent ccf4844f14
commit a3e05f7cdb
2 changed files with 7 additions and 3 deletions

View File

@@ -46,11 +46,15 @@ function skinList()
G::loadClass('system');
$skinList = System::getSkingList();
$wildcard = '';
if(isset($_REQUEST['activeskin']))
{
$wildcard = '@';
}
foreach ($skinList['skins'] as $key => $value) {
if ($value['SKIN_FOLDER_ID'] != 'simplified' && $value['SKIN_FOLDER_ID'] != 'uxs') {
if($skinList['currentSkin'] == $value['SKIN_FOLDER_ID']){
$wildcard = '@';
$value['SKIN_STATUS'] = $wildcard . G::LoadTranslation('ID_ACTIVE');
$value['SKIN_NAME'] = $wildcard . $value['SKIN_NAME'];
$value['SKIN_DESCRIPTION'] = $wildcard . $value['SKIN_DESCRIPTION'];