Gestion du theme selectionne dans la liste de choix
This commit is contained in:
parent
0383c9fcb2
commit
c746e86914
@ -58,8 +58,16 @@ if ($action == 'modtheme')
|
||||
{
|
||||
if (is_dir($dir.$file) && substr($file, 0, 1) <> '.' && substr($file, 0, 3) <> 'CVS')
|
||||
{
|
||||
print '<option value="'.$file.'">'.$file;
|
||||
if ($file == MAIN_THEME)
|
||||
{
|
||||
print '<option value="'.$file.'" SELECTED>'.$file;
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<option value="'.$file.'">'.$file;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
print '</td><td><input type="submit" value="Enregistrer"></td></form>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user