22define(
'NOTOKENRENEWAL', 1);
25require
'../../../../main.inc.php';
32<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
34 * FCKeditor - The text editor
for Internet - http:
35 * Copyright (C) 2003-2010 Frederico Caldeira Knabben
39 * Licensed under the terms of any of the following licenses at your
42 * - GNU General Public License Version 2 or later (the
"GPL")
45 * - GNU Lesser General Public License Version 2.1 or later (the
"LGPL")
48 * - Mozilla Public License Version 1.1 or later (the
"MPL")
53 * Page used to create
new folders in the current folder.
57 <title>Create Folder</title>
58 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
60print
'<!-- Includes CSS for Dolibarr theme -->'.
"\n";
64if (!empty($conf->modules_parts[
'theme'])) {
65 foreach ($conf->modules_parts[
'theme'] as $reldir) {
68 $themesubdir = $reldir;
75print
'<link rel="stylesheet" type="text/css" href="'.$themepath.
'">'.
"\n";
77 <link href=
"browser.css" type=
"text/css" rel=
"stylesheet">
78 <script
type=
"text/javascript" src=
"js/common.js"></script>
79 <script
type=
"text/javascript">
81function SetCurrentFolder( resourceType, folderPath )
83 oConnector.ResourceType = resourceType ;
84 oConnector.CurrentFolder = folderPath ;
87function CreateFolder()
93 sFolderName = prompt(
'Type the name of the new folder:',
'' );
95 if ( sFolderName ==
null )
97 else if ( sFolderName.length == 0 )
98 alert(
'Please type the folder name' );
103 oConnector.SendCommand(
'CreateFolder',
'NewFolderName=' + encodeURIComponent( sFolderName) , CreateFolderCallBack );
106function CreateFolderCallBack( fckXml )
108 if ( oConnector.CheckError( fckXml ) == 0 )
109 window.parent.frames[
'frmResourcesList'].Refresh();
140window.onload =
function()
142 window.top.IsLoadedCreateFolder = true ;
147 <
table class=
"fullHeight" cellSpacing=
"0" cellPadding=
"0" width=
"100%" border=
"0">
150 <
button type=
"button" class=
"butAction" onclick=
"CreateFolder();"><?php echo $langs->trans(
"ECMNewSection"); ?></
button>
dol_buildpath($path, $type=0, $returnemptyifnotfound=0)
Return path of url or filesystem.
treeview li table
No Email.
ui state ui widget content ui state ui widget header ui state a ui button
0 = Do not include form tag and submit button -1 = Do not include form tag but include submit button
if(!defined( 'NOREQUIREMENU')) if(!empty(GETPOST('seteventmessages', 'alpha'))) if(!function_exists("llxHeader")) top_httphead($contenttype='text/html', $forcenocache=0)
Show HTTP header.
if(preg_match('/crypted:/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type