|
|
isURL()) {
echo '['. _('View File URL') .']';
} else { ?>
getFileName(); ?>
|
isURL()) && ($d->isText())) {
if ($g->useCreateOnline()) {
echo '
';
echo _('Edit the contents to your desire or leave them as they are to remain unmodified.');
switch ($d->getFileType()) {
case "text/html":
$GLOBALS['editor_was_set_up']=false;
$params = array() ;
/* name must be != data then nothing is displayed */
$params['name'] = 'details'.$d->getID();
$params['width'] = "800";
$params['height'] = "300";
$params['group'] = $group_id;
$params['body'] = $d->getFileData();
plugin_hook("text_editor",$params);
if (!$GLOBALS['editor_was_set_up']) {
echo ' ';
}
unset($GLOBALS['editor_was_set_up']);
echo '';
break;
default:
echo ' ';
echo '';
}
echo ' |
';
}
}
?>
showSelectNestedGroups($dgf->getNested(), 'doc_group', false, $d->getDocGroupID());
?> |
:
getStateID());
?> |
isURL()) { ?>
:
' ;
printf(_('OR choose one form FTP %1$s.'), forge_get_config('ftp_upload_host'));
echo ' ' ;
$ftp_files_arr=array_merge($arr,ls($upload_dir,true));
echo html_build_select_box_from_arrays($ftp_files_arr,$ftp_files_arr,'ftp_filename','');
echo '
';
}
}
?>
|