wrong & in JS code fixed

This commit is contained in:
tomas 2005-01-12 11:02:56 +00:00
parent d605427efc
commit 5850a9bba1
1 changed files with 4 additions and 4 deletions

View File

@ -100,22 +100,22 @@ $tpldata['showMenu']=true;
function fmove(id, relPath){
var newPath=prompt('Destination folder (relative path):', relPath);
if(newPath==null) return;
location.href='gbHttp.php?id='+id+'&act=move&newPath='+newPath;
location.href='gbHttp.php?id='+id+'&act=move&newPath='+newPath;
}
function fcopy(id, relPath){
var newPath=prompt('Destination folder (relative path):', relPath);
if(newPath==null) return;
location.href='gbHttp.php?id='+id+'&act=copy&newPath='+newPath;
location.href='gbHttp.php?id='+id+'&act=copy&newPath='+newPath;
}
function freplicate(name, id){
var np=prompt('Destination folder (relative path):', id);
if(np==null) return;
location.href='gbHttp.php?id='+id+'&act=repl&newparid='+np;
location.href='gbHttp.php?id='+id+'&act=repl&newparid='+np;
}
function newFolder(){
var nn=prompt('New folder name:');
if(nn==null) return;
location.href='gbHttp.php?id=<?php echo$tpldata['id']?>&amp;act=newFolder&amp;newname='+nn;
location.href='gbHttp.php?id=<?php echo$tpldata['id']?>&act=newFolder&newname='+nn;
}
-->
</script>