fix links in settings menu in all browsers except grome(ium)
This commit is contained in:
parent
6c53b7610c
commit
e881109cac
1 changed files with 2 additions and 1 deletions
3
inc/templates/settings.php
Normal file → Executable file
3
inc/templates/settings.php
Normal file → Executable 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>
|
||||
|
|
Loading…
Reference in a new issue