params['settings']->_httpRoot."out/out.CalendarOld.php?mode=y\" class=\"brand\">".getMLText("calendar")."\n";
echo "\n";
return;
@@ -921,7 +921,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
$menuitems = array();
if (!$this->params['user']->isGuest())
- $menuitems['addevent'] = array('link'=>"../out/out.AddEvent.php", 'label'=>getMLText('add_event'));
+ $menuitems['addevent'] = array('link'=>$this->params['settings']->_httpRoot."out/out.AddEvent.php", 'label'=>getMLText('add_event'));
/* Check if hook exists because otherwise callHook() will override $menuitems */
if($this->hasHook('calendarNavigationBar'))
@@ -1522,7 +1522,7 @@ $(document).ready(function() {
$content .= $this->getModalBoxLink(
array(
'target' => 'docChooser'.$formid,
- 'remote' => "../out/out.DocumentChooser.php?form=".$formid."&folderid=".$this->params['dms']->getRootFolder()->getId(),
+ 'remote' => $this->params['settings']->_httpRoot."out/out.DocumentChooser.php?form=".$formid."&folderid=".$this->params['dms']->getRootFolder()->getId(),
'class' => 'btn btn-secondary',
'title' => getMLText('document').'…'
));
@@ -1589,7 +1589,7 @@ function folderSelected(id, name) {
$content .= $this->getModalBoxLink(
array(
'target' => 'folderChooser'.$formid,
- 'remote' => "../out/out.FolderChooser.php?form=".$formid."&mode=".$accessMode."&exclude=".$exclude,
+ 'remote' => $this->params['settings']->_httpRoot."out/out.FolderChooser.php?form=".$formid."&mode=".$accessMode."&exclude=".$exclude,
'class' => 'btn btn-secondary',
'title' => getMLText('folder').'…'
));
@@ -1664,7 +1664,7 @@ $(document).ready(function() {
$content .= $this->getModalBoxLink(
array(
'target' => 'keywordChooser',
- 'remote' => "../out/out.KeywordChooser.php?target=".$formName,
+ 'remote' => $this->params['settings']->_httpRoot."out/out.KeywordChooser.php?target=".$formName,
'class' => 'btn btn-secondary',
'title' => getMLText('keywords').'…'
));
@@ -1739,7 +1739,7 @@ $(document).ready(function() {
$tmp = array();
foreach($attrs as $attr) {
if($targetfolder = $dms->getFolder(intval($attr)))
- $tmp[] = ''.htmlspecialchars($targetfolder->getName()).'';
+ $tmp[] = ''.htmlspecialchars($targetfolder->getName()).'';
}
return implode('
', $tmp);
break;
@@ -1748,7 +1748,7 @@ $(document).ready(function() {
$tmp = array();
foreach($attrs as $attr) {
if($targetdoc = $dms->getDocument(intval($attr)))
- $tmp[] = ''.htmlspecialchars($targetdoc->getName()).'';
+ $tmp[] = ''.htmlspecialchars($targetdoc->getName()).'';
}
return implode('
', $tmp);
break;
@@ -1928,7 +1928,7 @@ $(document).ready(function() {
$content .= $this->getModalBoxLink(
array(
'target' => 'dropfolderChooser',
- 'remote' => "../out/out.DropFolderChooser.php?form=".$formName."&dropfolderfile=".urlencode($dropfolderfile)."&showfolders=".$showfolders,
+ 'remote' => $this->params['settings']->_httpRoot."out/out.DropFolderChooser.php?form=".$formName."&dropfolderfile=".urlencode($dropfolderfile)."&showfolders=".$showfolders,
'class' => 'btn btn-secondary',
'title' => ($showfolders ? getMLText("choose_target_folder"): getMLText("choose_target_file")).'…'
));
@@ -2313,19 +2313,19 @@ $(function() {
*/
function __printTreeNavigation($folderid, $showtree){ /* {{{ */
if ($showtree==1){
- $this->contentHeading("", true);
+ $this->contentHeading("params['settings']->_httpRoot."out/out.ViewFolder.php?folderid=". $folderid."&showtree=0\">", true);
$this->contentContainerStart();
?>
printNewTreeNavigation($folderid, M_READ, 0, '');
$this->contentContainerEnd();
} else {
- $this->contentHeading("", true);
+ $this->contentHeading("params['settings']->_httpRoot."out/out.ViewFolder.php?folderid=". $folderid."&showtree=1\">", true);
}
} /* }}} */
@@ -2414,7 +2414,7 @@ $(function() {
},
\"callback\": function(result) {
if(result) {
- $.get('../op/op.Ajax.php',
+ $.get('".$this->params['settings']->_httpRoot."op/op.Ajax.php',
{ command: 'deletedocument', id: id, formtoken: formtoken },
function(data) {
if(data.success) {
@@ -2494,7 +2494,7 @@ $(function() {
},
\"callback\": function(result) {
if(result) {
- $.get('../op/op.Ajax.php',
+ $.get('".$this->params['settings']->_httpRoot."op/op.Ajax.php',
{ command: 'deletefolder', id: id, formtoken: formtoken },
function(data) {
if(data.success) {
@@ -2557,9 +2557,9 @@ $(function() {
$content = '';
$objid = $object->getId();
if($object->isType('document')) {
- $content .= '';
+ $content .= '';
} elseif($object->isType('folder')) {
- $content .= '';
+ $content .= '';
}
if($return)
return $content;
@@ -2781,7 +2781,7 @@ $(document).ready( function() {
},
\"callback\": function(result) {
if(result) {
- $.post('../op/op.AttributeMgr.php',
+ $.post('".$this->params['settings']->_httpRoot."op/op.AttributeMgr.php',
{ action: 'removeattrvalue', attrdefid: id, attrvalue: attrvalue, formtoken: formtoken },
function(data) {
if(data.success) {
@@ -2825,7 +2825,7 @@ $('body').on('click', '[id^=\"table-row-document\"] td:nth-child(2)', function(e
$(ev.currentTarget).parent().toggleClass('selected');
} else {
attr_id = $(ev.currentTarget).parent().attr('id').split('-')[3];
- window.location = '../out/out.ViewDocument.php?documentid=' + attr_id;
+ window.location = '= $this->params['settings']->_httpRoot ?>out/out.ViewDocument.php?documentid=' + attr_id;
}
});
params['settings']->_httpRoot ?>out/out.ViewFolder.php?folderid=' + attr_id;
}
});
";
if (file_exists($dms->contentDir . $latestContent->getPath())) {
if($accessop->check_controller_access('Download', array('action'=>'version')))
- $content .= "";
+ $content .= "params['settings']->_httpRoot."op/op.Download.php?documentid=".$docID."&version=".$version."\">";
if($previewer->hasPreview($latestContent)) {
- $content .= "getID()."&version=".$latestContent->getVersion()."&width=".$previewwidth."\" title=\"".htmlspecialchars($latestContent->getMimeType())."\">";
+ $content .= "params['settings']->_httpRoot."op/op.Preview.php?documentid=".$document->getID()."&version=".$latestContent->getVersion()."&width=".$previewwidth."\" title=\"".htmlspecialchars($latestContent->getMimeType())."\">";
} else {
$content .= "getMimeIcon($latestContent->getFileType())."\" ".($previewwidth ? "width=\"".$previewwidth."\"" : "")."\" title=\"".htmlspecialchars($latestContent->getMimeType())."\">";
}
@@ -2983,7 +2983,7 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
if($onepage)
$content .= "".htmlspecialchars($document->getName()) . "";
else
- $content .= "" . htmlspecialchars($document->getName()) . "";
+ $content .= "params['settings']->_httpRoot."out/out.ViewDocument.php?documentid=".$docID."&showtree=".$showtree."\">" . htmlspecialchars($document->getName()) . "";
if(isset($extracontent['below_title']))
$content .= $extracontent['below_title'];
$content .= "
";
@@ -3038,7 +3038,7 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
}
}
if($document->getAccessMode($user) >= M_READWRITE) {
- $content .= '';
+ $content .= '';
} else {
$content .= '';
}
@@ -3052,7 +3052,7 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
$content .= '';
}
if($onepage)
- $content .= '';
+ $content .= '';
if(!empty($extracontent['end_action_list']))
$content .= $extracontent['end_action_list'];
$content .= "";
@@ -3121,11 +3121,11 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
$content = '';
if(!$skipcont)
$content .= $this->folderListRowStart($subFolder);
- $content .= "getID()."&showtree=".$showtree."\">getMimeIcon(".folder")."\" width=\"24\" height=\"24\" border=0> | \n";
+ $content .= "params['settings']->_httpRoot."out/out.ViewFolder.php?folderid=".$subFolder->getID()."&showtree=".$showtree."\">getMimeIcon(".folder")."\" width=\"24\" height=\"24\" border=0> | \n";
if($onepage)
$content .= "" . "getId()."\">".htmlspecialchars($subFolder->getName())."";
else
- $content .= " | getID()."&showtree=".$showtree."\">" . htmlspecialchars($subFolder->getName()) . "";
+ $content .= " | params['settings']->_httpRoot."out/out.ViewFolder.php?folderid=".$subFolder->getID()."&showtree=".$showtree."\">" . htmlspecialchars($subFolder->getName()) . "";
if(isset($extracontent['below_title']))
$content .= $extracontent['below_title'];
$content .= " ".getMLText('owner').": ".htmlspecialchars($owner->getFullName()).", ".getMLText('creation_date').": ".date('Y-m-d', $subFolder->getDate())."";
@@ -3178,7 +3178,7 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
}
}
if($subFolderAccessMode >= M_READWRITE) {
- $content .= '';
+ $content .= '';
} else {
$content .= '';
}
@@ -3189,7 +3189,7 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
$content .= '';
}
if($onepage)
- $content .= '';
+ $content .= '';
if(!empty($extracontent['end_action_list']))
$content .= $extracontent['end_action_list'];
$content .= "";
@@ -3455,14 +3455,14 @@ $(document).ready(function() {
if($accessop->check_controller_access('Download', array('action'=>'review')))
if($rec['file']) {
echo " ";
- echo "getID()."&reviewlogid=".$rec['reviewLogID']."\" class=\"btn btn-mini\"> ".getMLText('download')."";
+ echo "params['settings']->_httpRoot."op/op.Download.php?documentid=".$document->getID()."&reviewlogid=".$rec['reviewLogID']."\" class=\"btn btn-mini\"> ".getMLText('download')."";
}
break;
case "approval":
if($accessop->check_controller_access('Download', array('action'=>'approval')))
if($rec['file']) {
echo " ";
- echo "getID()."&approvelogid=".$rec['approveLogID']."\" class=\"btn btn-mini\"> ".getMLText('download')."";
+ echo "params['settings']->_httpRoot."op/op.Download.php?documentid=".$document->getID()."&approvelogid=".$rec['approveLogID']."\" class=\"btn btn-mini\"> ".getMLText('download')."";
}
break;
}
diff --git a/views/bootstrap4/styles/application.js b/views/bootstrap4/styles/application.js
index 4958bdcd1..124553c2b 100644
--- a/views/bootstrap4/styles/application.js
+++ b/views/bootstrap4/styles/application.js
@@ -71,7 +71,7 @@ function initMost() {
* strength on each change to the passwod field.
*/
$(".pwd").passStrength({ /* {{{ */
- url: "../op/op.Ajax.php",
+ url: seeddms_webroot+"op/op.Ajax.php",
onChange: function(data, target) {
pwsp = 100*data.score;
$('#'+target+' div.bar').width(pwsp+'%');
@@ -114,7 +114,7 @@ function initMost() {
* type: type of object (D=doc, F=folder, S=searchterm)
* name: name of object
*/
- $.get('../out/out.Search.php', data, function(data) {
+ $.get(seeddms_webroot+'out/out.Search.php', data, function(data) {
process(data);
});
},
@@ -131,11 +131,11 @@ function initMost() {
updater: function (item) {
if(item.id) {
if(item.type == 'D')
- document.location = "../out/out.ViewDocument.php?documentid=" + item.id;
+ document.location = seeddms_webroot+"out/out.ViewDocument.php?documentid=" + item.id;
else
- document.location = "../out/out.ViewFolder.php?folderid=" + item.id;
+ document.location = seeddms_webroot+"out/out.ViewFolder.php?folderid=" + item.id;
} else
- document.location = "../out/out.Search.php?query=" + encodeURIComponent(item.value);
+ document.location = seeddms_webroot+"out/out.Search.php?query=" + encodeURIComponent(item.value);
return item.value;
},
sorter: function(items) {
@@ -190,7 +190,7 @@ function initMost() {
minLength: 3,
source: function(query, process) {
// console.log(this.options);
- $.get('../op/op.Ajax.php', { command: 'searchdocument', query: query, limit: 8 }, function(data) {
+ $.get(seeddms_webroot+'op/op.Ajax.php', { command: 'searchdocument', query: query, limit: 8 }, function(data) {
process(data);
});
},
@@ -220,7 +220,7 @@ function initMost() {
minLength: 3,
source: function(query, process) {
// console.log(this.options);
- $.get('../op/op.Ajax.php', { command: 'searchfolder', query: query, limit: 8 }, function(data) {
+ $.get(seeddms_webroot+'op/op.Ajax.php', { command: 'searchfolder', query: query, limit: 8 }, function(data) {
process(data);
});
},
@@ -319,12 +319,12 @@ $(document).ready( function() {
attr_msg = $(ev.currentTarget).attr('msg');
type = attr_rel.substring(0, 1) == 'F' ? 'folder' : 'document';
id = attr_rel.substring(1);
- $.get('../op/op.Ajax.php',
+ $.get(seeddms_webroot+'op/op.Ajax.php',
{ command: 'addtoclipboard', type: type, id: id },
function(data) {
if(data.success) {
- $("#main-clipboard").html('Loading').load('../out/out.Clipboard.php?action=mainclipboard')
- $("#menu-clipboard div").html('Loading').load('../out/out.Clipboard.php?action=menuclipboard')
+ $("#main-clipboard").html('Loading').load(seeddms_webroot+'out/out.Clipboard.php?action=mainclipboard')
+ $("#menu-clipboard div").html('Loading').load(seeddms_webroot+'out/out.Clipboard.php?action=menuclipboard')
noty({
text: attr_msg,
type: 'success',
@@ -354,12 +354,12 @@ $(document).ready( function() {
attr_msg = $(ev.currentTarget).attr('msg');
type = attr_rel.substring(0, 1) == 'F' ? 'folder' : 'document';
id = attr_rel.substring(1);
- $.get('../op/op.Ajax.php',
+ $.get(seeddms_webroot+'op/op.Ajax.php',
{ command: 'removefromclipboard', type: type, id: id },
function(data) {
if(data.success) {
- $("#main-clipboard").html('Loading').load('../out/out.Clipboard.php?action=mainclipboard')
- $("#menu-clipboard div").html('Loading').load('../out/out.Clipboard.php?action=menuclipboard')
+ $("#main-clipboard").html('Loading').load(seeddms_webroot+'out/out.Clipboard.php?action=mainclipboard')
+ $("#menu-clipboard div").html('Loading').load(seeddms_webroot+'out/out.Clipboard.php?action=menuclipboard')
noty({
text: attr_msg,
type: 'success',
@@ -388,12 +388,12 @@ $(document).ready( function() {
attr_rel = $(ev.currentTarget).attr('rel');
attr_msg = $(ev.currentTarget).attr('msg');
id = attr_rel;
- $.get('../op/op.Ajax.php',
+ $.get(seeddms_webroot+'op/op.Ajax.php',
{ command: 'tooglelockdocument', formtoken: $(ev.currentTarget).data('formtoken'), id: id },
function(data) {
if(data.success) {
//$("#table-row-document-"+id).html('Loading').load('../op/op.Ajax.php?command=view&view=documentlistrow&id='+id)
- $("#table-row-document-"+id).html('Loading').load('../out/out.ViewDocument.php?action=documentlistitem&documentid='+id)
+ $("#table-row-document-"+id).html('Loading').load(seeddms_webroot+'out/out.ViewDocument.php?action=documentlistitem&documentid='+id)
noty({
text: attr_msg,
type: 'success',
@@ -423,7 +423,7 @@ $(document).ready( function() {
attr_dest = $(ev.currentTarget).attr('dest');
attr_msg = $(ev.currentTarget).attr('msg');
attr_formtoken = $(ev.currentTarget).attr('formtoken');
- $.get('../op/op.Ajax.php',
+ $.get(seeddms_webroot+'op/op.Ajax.php',
{ command: 'movefolder', folderid: attr_source, targetfolderid: attr_dest, formtoken: attr_formtoken },
function(data) {
if(data.success) {
@@ -448,7 +448,7 @@ $(document).ready( function() {
attr_dest = $(ev.currentTarget).attr('dest');
attr_msg = $(ev.currentTarget).attr('msg');
attr_formtoken = $(ev.currentTarget).attr('formtoken');
- $.get('../op/op.Ajax.php',
+ $.get(seeddms_webroot+'op/op.Ajax.php',
{ command: 'movedocument', docid: attr_source, targetfolderid: attr_dest, formtoken: attr_formtoken },
function(data) {
if(data.success) {
@@ -471,7 +471,7 @@ $(document).ready( function() {
// console.log($(ev.target).parent().children('[name=missing-lang-key]').val());
// console.log($(ev.target).parent().children('[name=missing-lang-lang]').val());
// console.log($(ev.target).parent().children('[name=missing-lang-translation]').val());
- $.ajax('../op/op.Ajax.php', {
+ $.ajax(seeddms_webroot+'op/op.Ajax.php', {
type:"POST",
async:true,
dataType:"json",
@@ -586,8 +586,8 @@ $(document).ready( function() {
success: function(data){
if(data.success) {
if(element.data('param1') == 'command=clearclipboard') {
- $("#main-clipboard").html('Loading').load('../out/out.Clipboard.php?action=mainclipboard')
- $("#menu-clipboard div").html('Loading').load('../out/out.Clipboard.php?action=menuclipboard')
+ $("#main-clipboard").html('Loading').load(seeddms_webroot+'out/out.Clipboard.php?action=mainclipboard')
+ $("#menu-clipboard div").html('Loading').load(seeddms_webroot+'out/out.Clipboard.php?action=menuclipboard')
}
noty({
text: data.message,
@@ -618,7 +618,7 @@ $(document).ready( function() {
$("body").on("blur", "span.editable", function(e) { /* {{{ */
console.log($(this).data('document'));
e.preventDefault();
- $.post( "../op/op.Ajax.php", { command: "setdocumentname", id: $(this).data('document'), formtoken: $(this).data('formtoken'), name: $(this).text() })
+ $.post(seeddms_webroot+"op/op.Ajax.php", { command: "setdocumentname", id: $(this).data('document'), formtoken: $(this).data('formtoken'), name: $(this).text() })
.done(function( data ) {
noty({
text: data.message,
@@ -646,12 +646,12 @@ function onAddClipboard(ev) { /* {{{ */
source_id = source_info.id;
formtoken = source_info.formtoken;
if(source_type == 'document' || source_type == 'folder') {
- $.get('../op/op.Ajax.php',
+ $.get(seeddms_webroot+'op/op.Ajax.php',
{ command: 'addtoclipboard', type: source_type, id: source_id },
function(data) {
if(data.success) {
- $("#main-clipboard").html('Loading').load('../out/out.Clipboard.php?action=mainclipboard')
- $("#menu-clipboard div").html('Loading').load('../out/out.Clipboard.php?action=menuclipboard')
+ $("#main-clipboard").html('Loading').load(seeddms_webroot+'out/out.Clipboard.php?action=mainclipboard')
+ $("#menu-clipboard div").html('Loading').load(seeddms_webroot+'out/out.Clipboard.php?action=menuclipboard')
noty({
text: data.message,
type: 'success',
@@ -679,7 +679,7 @@ function onAddClipboard(ev) { /* {{{ */
} /* }}} */
(function( SeedDMSUpload, $, undefined ) { /* {{{ */
- var ajaxurl = "../op/op.Ajax.php";
+ var ajaxurl = seeddms_webroot+"op/op.Ajax.php";
var editBtnLabel = "Edit";
var abortBtnLabel = "Abort";
var maxFileSize = 100000;
@@ -744,7 +744,7 @@ function onAddClipboard(ev) { /* {{{ */
theme: 'defaultTheme',
timeout: 1500
});
- status.statusbar.after($('' + editBtnLabel + ''));
+ status.statusbar.after($('' + editBtnLabel + ''));
if(callback) {
callback();
}
@@ -946,7 +946,7 @@ $(document).ready(function() { /* {{{ */
"label" : " "+trans.move_document,
"className" : "btn-danger",
"callback": function() {
- $.get('../op/op.Ajax.php',
+ $.get(seeddms_webroot+'op/op.Ajax.php',
{ command: 'movedocument', docid: source_id, targetfolderid: target_id, formtoken: formtoken },
function(data) {
if(data.success) {
@@ -977,7 +977,7 @@ $(document).ready(function() { /* {{{ */
}
});
- url = "../out/out.MoveDocument.php?documentid="+source_id+"&targetid="+target_id;
+ url = seeddms_webroot+"out/out.MoveDocument.php?documentid="+source_id+"&targetid="+target_id;
// document.location = url;
} else if(source_type == 'folder' && source_id != target_id) {
var bootbox_message = trans.confirm_move_folder;
@@ -996,7 +996,7 @@ $(document).ready(function() { /* {{{ */
"label" : " "+trans.move_folder,
"className" : "btn-danger",
"callback": function() {
- $.get('../op/op.Ajax.php',
+ $.get(seeddms_webroot+'op/op.Ajax.php',
{ command: 'movefolder', folderid: source_id, targetfolderid: target_id, formtoken: formtoken },
function(data) {
if(data.success) {
@@ -1027,7 +1027,7 @@ $(document).ready(function() { /* {{{ */
}
});
- url = "../out/out.MoveFolder.php?folderid="+source_id+"&targetid="+target_id;
+ url = seeddms_webroot+"out/out.MoveFolder.php?folderid="+source_id+"&targetid="+target_id;
// document.location = url;
}
}
@@ -1057,7 +1057,7 @@ $(document).ready(function() { /* {{{ */
"label" : " "+trans.transfer_content,
"className" : "btn-danger",
"callback": function() {
- $.get('../op/op.Ajax.php',
+ $.get(seeddms_webroot+'op/op.Ajax.php',
{ command: 'transfercontent', docid: source_id, targetdocumentid: target_id, formtoken: formtoken },
function(data) {
if(data.success) {
@@ -1089,7 +1089,7 @@ $(document).ready(function() { /* {{{ */
"label" : trans.link_document,
"className" : "btn-danger",
"callback": function() {
- $.get('../op/op.Ajax.php',
+ $.get(seeddms_webroot+'op/op.Ajax.php',
{ command: 'linkdocument', docid: source_id, targetdocumentid: target_id, formtoken: formtoken },
function(data) {
if(data.success) {
@@ -1119,7 +1119,7 @@ $(document).ready(function() { /* {{{ */
}
});
}
- url = "../out/out.MoveDocument.php?documentid="+source_id+"&targetid="+target_id;
+ url = seeddms_webroot+"out/out.MoveDocument.php?documentid="+source_id+"&targetid="+target_id;
// document.location = url;
}
}
@@ -1224,7 +1224,7 @@ $(document).ready(function() { /* {{{ */
"label" : " "+trans.move_document,
"class" : "btn-danger",
"callback": function() {
- $.get('../op/op.Ajax.php',
+ $.get(seeddms_webroot+'op/op.Ajax.php',
{ command: 'movedocument', docid: source_id, targetfolderid: target_id, formtoken: formtoken },
function(data) {
if(data.success) {
@@ -1258,14 +1258,14 @@ $(document).ready(function() { /* {{{ */
}
}]);
- url = "../out/out.MoveDocument.php?documentid="+source_id+"&targetid="+target_id;
+ url = seeddms_webroot+"out/out.MoveDocument.php?documentid="+source_id+"&targetid="+target_id;
// document.location = url;
} else if(source_type == 'folder' && source_id != target_id) {
bootbox.dialog(trans.confirm_move_folder, [{
"label" : " "+trans.move_folder,
"class" : "btn-danger",
"callback": function() {
- $.get('../op/op.Ajax.php',
+ $.get(seeddms_webroot+'op/op.Ajax.php',
{ command: 'movefolder', folderid: source_id, targetfolderid: target_id, formtoken: formtoken },
function(data) {
if(data.success) {
@@ -1299,7 +1299,7 @@ $(document).ready(function() { /* {{{ */
}
}]);
- url = "../out/out.MoveFolder.php?folderid="+source_id+"&targetid="+target_id;
+ url = seeddms_webroot+"out/out.MoveFolder.php?folderid="+source_id+"&targetid="+target_id;
// document.location = url;
}
});
@@ -1356,7 +1356,7 @@ $(document).ready(function() { /* {{{ */
var tasks = Array(
{name: 'checktasks', interval: 15, func:
checkTasks = function() {
- $.ajax({url: '../out/out.Tasks.php',
+ $.ajax({url: seeddms_webroot+'out/out.Tasks.php',
type: 'GET',
dataType: "json",
data: {action: 'mytasks'},
|