/trunk/lib/theme.php |
---|
50,6 → 50,11 |
if (!file_exists('./themes/styles/'.$result.'/style.css')) $result='default'; |
return $result; |
} |
function getIconSetName($link,$dblink) { //TODO remove links |
$result=$link->getSetting('icons',$dblink); |
if (!file_exists('./themes/icons/'.$result.'/edit.png')) $result='tango'; |
return $result; |
} |
function setTheme($newtheme,$dblink){ |
$req =& $dblink->query("UPDATE settings SET optvalue='$newtheme' WHERE opt='theme'"); |
} |