fix links in settings menu in all browsers except grome(ium)

This commit is contained in:
Steven 2010-09-04 19:28:04 +02:00
parent 6c53b7610c
commit e881109cac

3
inc/templates/settings.php Normal file → Executable file
View file

@ -18,9 +18,10 @@ function hideAllForms(){
<div id='settingsNav'>
<ul>
<?php
global $WEBROOT;
foreach(OC_CONFIG::$forms as $name=>$url){
$clean=strtolower(str_replace(' ','_',$name));
echo("<li><a onclick='showForm(\"$clean\")' href='settings/#$clean'>$name</a></li>\n");
echo("<li><a onclick='showForm(\"$clean\")' href='{$WEBROOT}/settings/#$clean'>$name</a></li>\n");
}
?>
</ul>