22define(
'NOTOKENRENEWAL', 1);
25require
'../../../../main.inc.php';
36<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
38 * FCKeditor - The text editor
for Internet - http:
39 * Copyright (C) 2003-2010 Frederico Caldeira Knabben
43 * Licensed under the terms of any of the following licenses at your
46 * - GNU General Public License Version 2 or later (the
"GPL")
49 * - GNU Lesser General Public License Version 2.1 or later (the
"LGPL")
52 * - Mozilla Public License Version 1.1 or later (the
"MPL")
57 * Page used to create
new folders in the current folder.
61 <title>Create Folder</title>
62 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
64print
'<!-- Includes CSS for Dolibarr theme -->'.
"\n";
68if (!empty(
$conf->modules_parts[
'theme'])) {
69 foreach (
$conf->modules_parts[
'theme'] as $reldir) {
72 $themesubdir = $reldir;
79print
'<link rel="stylesheet" type="text/css" href="'.$themepath.
'">'.
"\n";
81 <link href=
"browser.css" type=
"text/css" rel=
"stylesheet">
82 <script
type=
"text/javascript" src=
"js/common.js"></script>
83 <script
type=
"text/javascript">
85function SetCurrentFolder( resourceType, folderPath )
87 oConnector.ResourceType = resourceType ;
88 oConnector.CurrentFolder = folderPath ;
91function CreateFolder()
97 sFolderName = prompt(
'Type the name of the new folder:',
'' );
99 if ( sFolderName ==
null )
101 else if ( sFolderName.length == 0 )
102 alert(
'Please type the folder name' );
107 oConnector.SendCommand(
'CreateFolder',
'NewFolderName=' + encodeURIComponent( sFolderName) , CreateFolderCallBack );
110function CreateFolderCallBack( fckXml )
112 if ( oConnector.CheckError( fckXml ) == 0 )
113 window.parent.frames[
'frmResourcesList'].Refresh();
144window.onload =
function()
146 window.top.IsLoadedCreateFolder = true ;
151 <
table class=
"fullHeight" cellSpacing=
"0" cellPadding=
"0" width=
"100%" border=
"0">
154 <
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.
global $conf
The following vars must be defined: $type2label $form $conf, $lang, The following vars may also be de...
if(preg_match('/crypted:/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type