mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
remove old code
moving and renaming is the same
This commit is contained in:
parent
4a5902ff92
commit
377869146c
@ -4,7 +4,6 @@
|
||||
* http://www.eGroupWare.org *
|
||||
* Authors Al Rashid <alrashid@klokan.sk> *
|
||||
* and Xiang Wei ZHUO <wei@zhuo.org> *
|
||||
* Version.......: 1.1 *
|
||||
* Modified for eGW by Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
|
@ -1,13 +1,16 @@
|
||||
<?php
|
||||
/***********************************************************************
|
||||
** Title.........: Insert File Dialog, File Manager
|
||||
** Version.......: 1.1
|
||||
** Authors.......: Al Rashid <alrashid@klokan.sk>
|
||||
** Xiang Wei ZHUO <wei@zhuo.org>
|
||||
** URL...........: http://alrashid.klokan.sk/insFile/
|
||||
** Filename......: files.php
|
||||
** Last changed..: 23 July 2004
|
||||
***********************************************************************/
|
||||
/**************************************************************************\
|
||||
* eGroupWare - Insert File Dialog, File Manager -plugin for tinymce *
|
||||
* http://www.eGroupWare.org *
|
||||
* Authors Al Rashid <alrashid@klokan.sk> *
|
||||
* and Xiang Wei ZHUO <wei@zhuo.org> *
|
||||
* Modified for eGW by Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; version 2 of the License. *
|
||||
\**************************************************************************/
|
||||
|
||||
require('config.inc.php');
|
||||
require('functions.php');
|
||||
require('view_text.php');
|
||||
@ -301,18 +304,6 @@ function draw_no_dir() {
|
||||
color: HighlightText;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border: 1px solid ThreeDShadow;
|
||||
border: 1px solid;
|
||||
border-color: ThreeDShadow ThreeDHighLight
|
||||
ThreeDHighLight ThreeDShadow;
|
||||
|
||||
background: Window;
|
||||
}
|
||||
*/
|
||||
td {
|
||||
font: icon;
|
||||
padding: 2px 5px;
|
||||
|
@ -1,13 +1,15 @@
|
||||
<?php
|
||||
/***********************************************************************
|
||||
** Title.........: Insert File Dialog, File Manager
|
||||
** Version.......: 1.1
|
||||
** Authors.......: Al Rashid <alrashid@klokan.sk>
|
||||
** Xiang Wei ZHUO <wei@zhuo.org>
|
||||
** Filename......: functions.php
|
||||
** URL...........: http://alrashid.klokan.sk/insFile/
|
||||
** Last changed..: 23 July 2004
|
||||
***********************************************************************/
|
||||
/**************************************************************************\
|
||||
* eGroupWare - Insert File Dialog, File Manager -plugin for tinymce *
|
||||
* http://www.eGroupWare.org *
|
||||
* Authors Al Rashid <alrashid@klokan.sk> *
|
||||
* and Xiang Wei ZHUO <wei@zhuo.org> *
|
||||
* Modified for eGW by Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; version 2 of the License. *
|
||||
\**************************************************************************/
|
||||
|
||||
|
||||
function dirs($dir,$abs_path) {
|
||||
|
@ -1,13 +1,16 @@
|
||||
<?php
|
||||
/***********************************************************************
|
||||
** Title.........: Insert File Dialog, File Manager
|
||||
** Version.......: 1.1
|
||||
** Authors.......: Al Rashid <alrashid@klokan.sk>
|
||||
** Xiang Wei ZHUO <wei@zhuo.org>
|
||||
** Filename......: insert_file.php
|
||||
** URL...........: http://alrashid.klokan.sk/insFile/
|
||||
** Last changed..: 23 July 2004
|
||||
***********************************************************************/
|
||||
/**************************************************************************\
|
||||
* eGroupWare - Insert File Dialog, File Manager -plugin for tinymce *
|
||||
* http://www.eGroupWare.org *
|
||||
* Authors Al Rashid <alrashid@klokan.sk> *
|
||||
* and Xiang Wei ZHUO <wei@zhuo.org> *
|
||||
* Modified for eGW by Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; version 2 of the License. *
|
||||
\**************************************************************************/
|
||||
|
||||
require('config.inc.php');
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
@ -22,8 +25,7 @@ require('config.inc.php');
|
||||
echo '<meta http-equiv="Content-Type" content="text/html; charset='.$MY_CHARSET.'" />'."\n";
|
||||
echo '<meta name="author" content="AlRashid, www: http://alrashid.klokan.sk; mailto:alrashid@klokan.sk" />'."\n";
|
||||
?>
|
||||
<script type="text/javascript" src="js/popup.js"></script>
|
||||
<script type="text/javascript" src="js/dialog.js"></script>
|
||||
|
||||
<script language="javascript" src="../../../tiny_mce_popup.js"></script>
|
||||
<style type="text/css">
|
||||
body { padding: 5px; }
|
||||
@ -255,7 +257,7 @@ function renameFile() {
|
||||
for (var i=0; i<fileItemsLength; i++) {
|
||||
var strId = fileItems[i].getAttribute("id").toString();
|
||||
var trId = parseInt(strId.substring(1, strId.length));
|
||||
var newname = getNewFileName(fileManager.fileJSArray[trId][1]);
|
||||
var newname = getNewFileName(fileManager.fileJSArray[trId][1]);
|
||||
if (!newname) continue;
|
||||
if (newname == fileManager.fileJSArray[trId][1]) continue;
|
||||
var i_field = fileManager.document.createElement('INPUT');
|
||||
@ -274,25 +276,6 @@ function renameFile() {
|
||||
postForm2.submit();
|
||||
}
|
||||
|
||||
function moveFile() {
|
||||
var folderItems = fileManager.sta.getSelectedItems();
|
||||
var folderItemsLength = folderItems.length;
|
||||
var fileItems = fileManager.stb.getSelectedItems();
|
||||
var fileItemsLength = fileItems.length;
|
||||
var postForm2 = fileManager.document.getElementById('form2');
|
||||
if ((folderItemsLength == 0) && (fileItemsLength == 0)) return false;
|
||||
if (!confirm('<?php echo $MY_MESSAGES['renamewarning']; ?>')) return false;
|
||||
var postForm2 = fileManager.document.getElementById('form2');
|
||||
Dialog("move.php", function(param) {
|
||||
if (!param) // user must have pressed Cancel
|
||||
return false;
|
||||
else {
|
||||
postForm2.elements["newpath"].value=param['newpath'];
|
||||
moveFiles();
|
||||
}
|
||||
}, null);
|
||||
}
|
||||
|
||||
function changeview(view){
|
||||
if(view.length > 1){
|
||||
var postForm2 = fileManager.document.getElementById('form2');
|
||||
@ -302,35 +285,6 @@ function changeview(view){
|
||||
|
||||
}
|
||||
|
||||
function moveFiles() {
|
||||
var folderItems = fileManager.sta.getSelectedItems();
|
||||
var folderItemsLength = folderItems.length;
|
||||
var fileItems = fileManager.stb.getSelectedItems();
|
||||
var fileItemsLength = fileItems.length;
|
||||
var postForm2 = fileManager.document.getElementById('form2');
|
||||
for (var i=0; i<folderItemsLength; i++) {
|
||||
var strId = folderItems[i].getAttribute("id").toString();
|
||||
var trId = parseInt(strId.substring(1, strId.length));
|
||||
var i_field = fileManager.document.createElement('INPUT');
|
||||
i_field.type = 'hidden';
|
||||
i_field.name = 'folders[' + i.toString() + ']';
|
||||
i_field.value = fileManager.folderJSArray[trId][1];
|
||||
postForm2.appendChild(i_field);
|
||||
}
|
||||
for (var i=0; i<fileItemsLength; i++) {
|
||||
var strId = fileItems[i].getAttribute("id").toString();
|
||||
var trId = parseInt(strId.substring(1, strId.length));
|
||||
var i_field = fileManager.document.createElement('INPUT');
|
||||
i_field.type = 'hidden';
|
||||
i_field.name = 'files[' + i.toString() + ']';
|
||||
i_field.value = fileManager.fileJSArray[trId][1];
|
||||
postForm2.appendChild(i_field);
|
||||
}
|
||||
changeLoadingStatus('load');
|
||||
postForm2.elements["action"].value="move";
|
||||
postForm2.submit();
|
||||
}
|
||||
|
||||
function openFile() {
|
||||
var urlPrefix = "<?php echo '/'. $MY_URL_TO_OPEN_FILE; ?>";
|
||||
var myPath = fileManager.document.getElementById('form2').elements["path"].value;
|
||||
@ -638,10 +592,7 @@ function showAction(action)
|
||||
echo '<a href="#" onClick="javascript:deleteFile();"><img src="img/remove.png" width="18" height="18" border="0" title="'.$MY_MESSAGES['delete'].'" /></a>';
|
||||
}
|
||||
if ($MY_ALLOW_RENAME) {
|
||||
echo '<a href="#" onClick="javascript:renameFile();"><img src="img/revert.png" width="18" height="18" border="0" title="'.$MY_MESSAGES['rename'].'" /></a>';
|
||||
}
|
||||
if ($MY_ALLOW_MOVE) {
|
||||
echo '<a href="#" onClick="javascript:moveFile();"><img src="img/move.png" width="18" height="18" border="0" title="'.$MY_MESSAGES['move'].'" /></a>';
|
||||
echo '<a href="#" onClick="javascript:renameFile();"><img src="img/revert.png" width="18" height="18" border="0" title="'.$MY_MESSAGES['move'].'" /></a>';
|
||||
}
|
||||
echo '<a href="#" onClick="javascript:openFile();"><img src="img/thumbnail.png" width="18" height="18" border="0" title="'.$MY_MESSAGES['openfile'].'" /></a>';
|
||||
echo '|';
|
||||
|
@ -1,111 +0,0 @@
|
||||
// Dialog v3.0 - Copyright (c) 2003-2004 interactivetools.com, inc.
|
||||
// This copyright notice MUST stay intact for use (see license.txt).
|
||||
//
|
||||
// Portions (c) dynarch.com, 2003-2004
|
||||
//
|
||||
// A free WYSIWYG editor replacement for <textarea> fields.
|
||||
// For full source code and docs, visit http://www.interactivetools.com/
|
||||
//
|
||||
// Version 3.0 developed by Mihai Bazon.
|
||||
// http://dynarch.com/mishoo
|
||||
//
|
||||
// $Id$
|
||||
|
||||
// Though "Dialog" looks like an object, it isn't really an object. Instead
|
||||
// it's just namespace for protecting global symbols.
|
||||
|
||||
function Dialog(url, action, init) {
|
||||
if (typeof init == "undefined") {
|
||||
init = window; // pass this window object by default
|
||||
}
|
||||
Dialog._geckoOpenModal(url, action, init);
|
||||
};
|
||||
|
||||
Dialog._parentEvent = function(ev) {
|
||||
setTimeout( function() { if (Dialog._modal && !Dialog._modal.closed) { Dialog._modal.focus() } }, 50);
|
||||
if (Dialog._modal && !Dialog._modal.closed) {
|
||||
Dialog._stopEvent(ev);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
// should be a function, the return handler of the currently opened dialog.
|
||||
Dialog._return = null;
|
||||
|
||||
// constant, the currently opened dialog
|
||||
Dialog._modal = null;
|
||||
|
||||
// the dialog will read it's args from this variable
|
||||
Dialog._arguments = null;
|
||||
|
||||
Dialog._geckoOpenModal = function(url, action, init) {
|
||||
//var urlLink = "hadialog"+url.toString();
|
||||
var myURL = "hadialog"+url;
|
||||
var regObj = /\W/g;
|
||||
myURL = myURL.replace(regObj,'_');
|
||||
var dlg = window.open(url, myURL,
|
||||
"toolbar=no,menubar=no,personalbar=no,width=10,height=10," +
|
||||
"scrollbars=no,resizable=yes,modal=yes,dependable=yes");
|
||||
Dialog._modal = dlg;
|
||||
Dialog._arguments = init;
|
||||
|
||||
// capture some window's events
|
||||
function capwin(w) {
|
||||
Dialog._addEvent(w, "click", Dialog._parentEvent);
|
||||
Dialog._addEvent(w, "mousedown", Dialog._parentEvent);
|
||||
Dialog._addEvent(w, "focus", Dialog._parentEvent);
|
||||
};
|
||||
// release the captured events
|
||||
function relwin(w) {
|
||||
Dialog._removeEvent(w, "click", Dialog._parentEvent);
|
||||
Dialog._removeEvent(w, "mousedown", Dialog._parentEvent);
|
||||
Dialog._removeEvent(w, "focus", Dialog._parentEvent);
|
||||
};
|
||||
capwin(window);
|
||||
// capture other frames
|
||||
for (var i = 0; i < window.frames.length; capwin(window.frames[i++]));
|
||||
// make up a function to be called when the Dialog ends.
|
||||
Dialog._return = function (val) {
|
||||
if (val && action) {
|
||||
action(val);
|
||||
}
|
||||
relwin(window);
|
||||
// capture other frames
|
||||
for (var i = 0; i < window.frames.length; relwin(window.frames[i++]));
|
||||
Dialog._modal = null;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
// event handling
|
||||
|
||||
Dialog._addEvent = function(el, evname, func) {
|
||||
if (Dialog.is_ie) {
|
||||
el.attachEvent("on" + evname, func);
|
||||
} else {
|
||||
el.addEventListener(evname, func, true);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Dialog._removeEvent = function(el, evname, func) {
|
||||
if (Dialog.is_ie) {
|
||||
el.detachEvent("on" + evname, func);
|
||||
} else {
|
||||
el.removeEventListener(evname, func, true);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Dialog._stopEvent = function(ev) {
|
||||
if (Dialog.is_ie) {
|
||||
ev.cancelBubble = true;
|
||||
ev.returnValue = false;
|
||||
} else {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
}
|
||||
};
|
||||
|
||||
Dialog.agt = navigator.userAgent.toLowerCase();
|
||||
Dialog.is_ie = ((Dialog.agt.indexOf("msie") != -1) && (Dialog.agt.indexOf("opera") == -1));
|
@ -1,123 +0,0 @@
|
||||
// htmlArea v3.0 - Copyright (c) 2002, 2003 interactivetools.com, inc.
|
||||
// This copyright notice MUST stay intact for use (see license.txt).
|
||||
//
|
||||
// Portions (c) dynarch.com, 2003
|
||||
//
|
||||
// A free WYSIWYG editor replacement for <textarea> fields.
|
||||
// For full source code and docs, visit http://www.interactivetools.com/
|
||||
//
|
||||
// Version 3.0 developed by Mihai Bazon.
|
||||
// http://dynarch.com/mishoo
|
||||
//
|
||||
// $Id$
|
||||
|
||||
// Slightly modified for the ImageManager, window resizing is done only
|
||||
// by each window's script. Added translation for a few other HTML elements.
|
||||
|
||||
function getAbsolutePos(el) {
|
||||
var r = { x: el.offsetLeft, y: el.offsetTop };
|
||||
if (el.offsetParent) {
|
||||
var tmp = getAbsolutePos(el.offsetParent);
|
||||
r.x += tmp.x;
|
||||
r.y += tmp.y;
|
||||
}
|
||||
return r;
|
||||
};
|
||||
|
||||
function comboSelectValue(c, val) {
|
||||
var ops = c.getElementsByTagName("option");
|
||||
for (var i = ops.length; --i >= 0;) {
|
||||
var op = ops[i];
|
||||
op.selected = (op.value == val);
|
||||
}
|
||||
c.value = val;
|
||||
};
|
||||
|
||||
function __dlg_onclose() {
|
||||
if(opener.Dialog._return)
|
||||
opener.Dialog._return(null);
|
||||
};
|
||||
|
||||
function __dlg_init(bottom) {
|
||||
var body = document.body;
|
||||
var body_height = 0;
|
||||
if (typeof bottom == "undefined") {
|
||||
var div = document.createElement("div");
|
||||
body.appendChild(div);
|
||||
var pos = getAbsolutePos(div);
|
||||
body_height = pos.y;
|
||||
} else {
|
||||
var pos = getAbsolutePos(bottom);
|
||||
body_height = pos.y + bottom.offsetHeight;
|
||||
}
|
||||
if(opener && opener.Dialog && opener.Dialog._arguments)
|
||||
window.dialogArguments = opener.Dialog._arguments;
|
||||
if (!document.all) {
|
||||
//window.sizeToContent();
|
||||
//window.sizeToContent(); // for reasons beyond understanding,
|
||||
// only if we call it twice we get the
|
||||
// correct size.
|
||||
window.addEventListener("unload", __dlg_onclose, true);
|
||||
// center on parent
|
||||
var x = opener.screenX + (opener.outerWidth - window.outerWidth) / 2;
|
||||
var y = opener.screenY + (opener.outerHeight - window.outerHeight) / 2;
|
||||
window.moveTo(x, y);
|
||||
//window.innerWidth = body.offsetWidth + 5;
|
||||
//window.innerHeight = body_height + 2;
|
||||
} else {
|
||||
// window.dialogHeight = body.offsetHeight + 50 + "px";
|
||||
// window.dialogWidth = body.offsetWidth + "px";
|
||||
//window.resizeTo(body.offsetWidth, body_height);
|
||||
var ch = body.clientHeight;
|
||||
var cw = body.clientWidth;
|
||||
//window.resizeBy(body.offsetWidth - cw, body_height - ch);
|
||||
var W = body.offsetWidth;
|
||||
var H = 2 * body_height - ch;
|
||||
if(ch <= 0) H = body_height;
|
||||
var x = (screen.availWidth - W) / 2;
|
||||
var y = (screen.availHeight - H) / 2;
|
||||
|
||||
window.moveTo(x, y);
|
||||
}
|
||||
document.body.onkeypress = __dlg_close_on_esc;
|
||||
};
|
||||
|
||||
function __dlg_translate(i18n) {
|
||||
var types = ["span", "option", "td", "button", "div", "label", "a","img", "legend"];
|
||||
for (var type in types) {
|
||||
var spans = document.getElementsByTagName(types[type]);
|
||||
for (var i = spans.length; --i >= 0;) {
|
||||
var span = spans[i];
|
||||
if (span.firstChild && span.firstChild.data) {
|
||||
var txt = i18n[span.firstChild.data];
|
||||
if (txt) span.firstChild.data = txt;
|
||||
}
|
||||
if(span.title){
|
||||
var txt = i18n[span.title];
|
||||
if(txt) span.title = txt;
|
||||
}
|
||||
if(span.alt){
|
||||
var txt = i18n[span.alt];
|
||||
if(txt) span.alt = txt;
|
||||
}
|
||||
}
|
||||
}
|
||||
var txt = i18n[document.title];
|
||||
if (txt)
|
||||
document.title = txt;
|
||||
};
|
||||
|
||||
// closes the dialog and passes the return info upper.
|
||||
function __dlg_close(val) {
|
||||
opener.Dialog._return(val);
|
||||
window.close();
|
||||
};
|
||||
|
||||
function __dlg_close_on_esc(ev) {
|
||||
ev || (ev = window.event);
|
||||
if (ev.keyCode == 27) {
|
||||
window.close();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
};
|
@ -1,99 +0,0 @@
|
||||
<?php
|
||||
/***********************************************************************
|
||||
** Title.........: Insert File Dialog, File Manager
|
||||
** Version.......: 1.1
|
||||
** Authors.......: Al Rashid <alrashid@klokan.sk>
|
||||
** Xiang Wei ZHUO <wei@zhuo.org>
|
||||
** Filename......: move.php
|
||||
** URL...........: http://alrashid.klokan.sk/insFile/
|
||||
** Last changed..: 23 July 2004
|
||||
***********************************************************************/
|
||||
|
||||
require('config.inc.php');
|
||||
require('functions.php');
|
||||
?>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Folder dialog</title>
|
||||
<?php
|
||||
echo '<meta http-equiv="content-language" content="'.$MY_LANG.'" />'."\n";
|
||||
echo '<meta http-equiv="Content-Type" content="text/html; charset='.$MY_CHARSET.'" />'."\n";
|
||||
echo '<meta name="author" content="AlRashid, www: http://alrashid.klokan.sk; mailto:alrashid@klokan.sk" />'."\n";
|
||||
?>
|
||||
|
||||
<style type="text/css">
|
||||
/*<![CDATA[*/
|
||||
html, body { background-color: ButtonFace; color: ButtonText; font: 11px Tahoma,Verdana,sans-serif; margin: 0; padding: 0;}
|
||||
body { padding: 5px; }
|
||||
.title { background-color: #ddf; color: #000; font-weight: bold; font-size: 120%; padding: 3px 10px; margin-bottom: 10px; border-bottom: 1px solid black; letter-spacing: 2px;}
|
||||
select, input, button { font: 11px Tahoma,Verdana,sans-serif; }
|
||||
.buttons { width: 70px; text-align: center; }
|
||||
form { padding: 0px; margin: 0;}
|
||||
form .elements{
|
||||
padding: 10px; text-align: center;
|
||||
}
|
||||
/*]]>*/
|
||||
</style>
|
||||
<script type="text/javascript" src="js/popup.js"></script>
|
||||
<script type="text/javascript">
|
||||
/*<![CDATA[*/
|
||||
window.resizeTo(550, 200);
|
||||
|
||||
function onCancel() {
|
||||
__dlg_close(null);
|
||||
return false;
|
||||
}
|
||||
|
||||
function onOK() {
|
||||
// pass data back to the calling window
|
||||
var param = new Object();
|
||||
var selection = document.forms[0].newpath;
|
||||
var newDir = selection.options[selection.selectedIndex].value;
|
||||
param['newpath'] = newDir;
|
||||
__dlg_close(param);
|
||||
return false;
|
||||
}
|
||||
|
||||
function Init() {
|
||||
__dlg_init();
|
||||
}
|
||||
|
||||
function refreshDirs() {
|
||||
var allPaths = document.forms[0].newpath.options;
|
||||
var fields = ["/" <?php dirs($MY_DOCUMENT_ROOT,'');?>];
|
||||
for(i=0; i<fields.length; i++) {
|
||||
var newElem = document.createElement("OPTION");
|
||||
var newValue = fields[i];
|
||||
newElem.text = newValue;
|
||||
newElem.value = newValue;
|
||||
allPaths.add(newElem);
|
||||
}
|
||||
}
|
||||
/*]]>*/
|
||||
</script>
|
||||
</head>
|
||||
<body onload="Init()">
|
||||
<div class="title"><?php echo $MY_MESSAGES['selectfolder']; ?></div>
|
||||
<form action="">
|
||||
<div class="elements">
|
||||
<label for="newpath">
|
||||
<?php echo $MY_MESSAGES['directory']; ?>
|
||||
</label>
|
||||
<select name="newpath" id="newpath" style="width:35em">
|
||||
</select>
|
||||
</div>
|
||||
<div style="text-align: right;">
|
||||
<hr />
|
||||
<button type="button" class="buttons" onclick="return onCancel();"><?php echo $MY_MESSAGES['cancel']; ?></button>
|
||||
<button type="button" class="buttons" onclick="return onOK();"><?php echo $MY_MESSAGES['ok']; ?></button>
|
||||
</div>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
/*<![CDATA[*/
|
||||
refreshDirs();
|
||||
/*]]>*/
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -1,23 +1,19 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare - UploadImage-plugin for htmlArea *
|
||||
* http://www.eGroupWare.org *
|
||||
* Written and (c) by Xiang Wei ZHUO <wei@zhuo.org> *
|
||||
* Modified for eGW by and (c) by Pim Snel <pim@lingewoud.nl> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; version 2 of the License. *
|
||||
* -------------------------------------------- *
|
||||
* Title.........: Thumbnail generator, with cache. *
|
||||
* Version.......: 1.01 *
|
||||
* Author........: Xiang Wei ZHUO <wei@zhuo.org> *
|
||||
* Notes.........: Configuration in config.inc.php *
|
||||
* *
|
||||
* Functions *
|
||||
* - if the thumbnail does not exists or the source file is newer, create a *
|
||||
* new thumbnail. *
|
||||
\**************************************************************************/
|
||||
/**************************************************************************\
|
||||
* eGroupWare - Insert File Dialog, File Manager -plugin for tinymce *
|
||||
* http://www.eGroupWare.org *
|
||||
* Authors Al Rashid <alrashid@klokan.sk> *
|
||||
* and Xiang Wei ZHUO <wei@zhuo.org> *
|
||||
* Modified for eGW by Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; version 2 of the License. *
|
||||
* *
|
||||
* Functions *
|
||||
* - if the thumbnail does not exists or the source file is newer, create a *
|
||||
* new thumbnail. *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $id */
|
||||
|
||||
|
@ -1,3 +1,17 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare - Insert File Dialog, File Manager -plugin for tinymce *
|
||||
* http://www.eGroupWare.org *
|
||||
* Authors Al Rashid <alrashid@klokan.sk> *
|
||||
* and Xiang Wei ZHUO <wei@zhuo.org> *
|
||||
* Modified for eGW by Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; version 2 of the License. *
|
||||
\**************************************************************************/
|
||||
?>
|
||||
|
||||
<script language="JavaScript" type="text/JavaScript">
|
||||
|
||||
function pviiClassNew(obj, new_style) { //v2.6 by PVII
|
||||
|
@ -1,5 +1,16 @@
|
||||
<?php
|
||||
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare - Insert File Dialog, File Manager -plugin for tinymce *
|
||||
* http://www.eGroupWare.org *
|
||||
* Authors Al Rashid <alrashid@klokan.sk> *
|
||||
* and Xiang Wei ZHUO <wei@zhuo.org> *
|
||||
* Modified for eGW by Cornelius Weiss <egw@von-und-zu-weiss.de> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; version 2 of the License. *
|
||||
\**************************************************************************/
|
||||
|
||||
class view_text {
|
||||
|
||||
function folder_item($params)
|
||||
|
Loading…
Reference in New Issue
Block a user