BUG 9849 When you add a new skin - the menu skin 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-03 20:09:06 -04:00
parent aa91e54cfe
commit 5801e0af15
3 changed files with 47 additions and 4 deletions

View File

@@ -49,6 +49,17 @@ function skinList()
foreach ($skinList['skins'] as $key => $value) {
if ($value['SKIN_FOLDER_ID'] != 'simplified' && $value['SKIN_FOLDER_ID'] != 'uxs') {
if($skinList['currentSkin']==$value['SKIN_FOLDER_ID']){
$value['SKIN_STATUS'] = "@ACTIVE";
$value['SKIN_NAME'] = '@'.$value['SKIN_NAME'];
$value['SKIN_DESCRIPTION'] = '@'.$value['SKIN_DESCRIPTION'];
$value['SKIN_AUTHOR'] = '@'.$value['SKIN_AUTHOR'];
$value['SKIN_CREATEDATE'] = '@'.$value['SKIN_CREATEDATE'];
$value['SKIN_MODIFIEDDATE'] = '@'.$value['SKIN_MODIFIEDDATE'];
}
else{
$value['SKIN_STATUS'] = "inactive";
}
$skinListArray['skins'][] = $value;
}
}