This commit is contained in:
Laurent Destailleur 2011-02-10 18:56:19 +00:00
parent 92a15bff81
commit 86785e97e2

View File

@ -192,7 +192,6 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
print '</tr>';
}
if ($edit) print '<a href="'.$_SERVER["PHP_SELF"].($edit?'?action=edit&theme=':'?theme=').$subdir.'" style="font-weight: normal;" alt="'.$langs->trans("Preview").'">';
if ($edit)
{
if ($subdir == $conf->global->MAIN_THEME) $title=$langs->trans("ThemeCurrentlyActive");