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
1 changed files with 2 additions and 1 deletions

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>