Modified javascript and css scripts loading. Now it's loading with version management done with system links

This commit is contained in:
Rooty 2021-09-12 07:03:34 +02:00
parent 6c02a51238
commit 68be01761f
23 changed files with 154 additions and 131 deletions

View File

@ -65,8 +65,8 @@
]
}
</script>
<link rel="stylesheet" type="text/css" href="data/css/bootstrap/4.4.1/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome/1.1.7/css/fork-awesome.min.css">
<link rel="stylesheet" type="text/css" href="data/css/bootstrap-current/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome-current/css/fork-awesome.min.css">
<link rel="stylesheet" href="./data/template/lcube6/css/main.css">
<link id="./data/template/lcube6/css-preset" href="./data/template/lcube6/css/presets/preset1.css" rel="stylesheet">
<mx:bloc id="CSSLOAD"></mx:bloc id="CSSLOAD">
@ -95,8 +95,8 @@
</div>
</div>
</footer>
<script type="text/javascript" src="data/javascript/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap/4.4.1/bootstrap.min.js"></script>
<script type="text/javascript" src="data/javascript/jquery-current/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap-current/bootstrap.min.js"></script>
<script type="text/javascript" src="data/template/lcube6/js/main.js"></script>
<mx:bloc id="JSLOAD"></mx:bloc id="JSLOAD">
<mx:bloc id="JSRAWLOAD"></mx:bloc id="JSRAWLOAD">

View File

@ -68,16 +68,16 @@
}
</script>
<link rel="stylesheet" type="text/css" href="data/css/bootstrap/4.4.1/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome/1.1.7/css/fork-awesome.min.css">
<link rel="stylesheet" type="text/css" href="data/css/bootstrap-current/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome-current/css/fork-awesome.min.css">
<link rel="stylesheet" href="./data/template/lcube6/css/main.css">
<link id="./data/template/lcube6/css-preset" href="./data/template/lcube6/css/presets/preset1.css" rel="stylesheet">
<mx:bloc id="CSSLOAD"></mx:bloc id="CSSLOAD">
<script type="text/javascript" src="data/javascript/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/jquery-current/jquery.min.js"></script>
<!-- IMPORTANT DE CHARGER POPPER ICI !!! -->
<script type="text/javascript" src="data/javascript/popper/1.16.1/umd/popper.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap/4.4.1/bootstrap.min.js"></script>
<script type="text/javascript" src="data/javascript/popper-current/umd/popper.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap-current/bootstrap.min.js"></script>
</head>
<body>
<header id="home">

View File

@ -64,8 +64,8 @@
]
}
</script>
<link rel="stylesheet" type="text/css" href="data/css/bootstrap/4.4.1/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome/1.1.7/css/fork-awesome.min.css">
<link rel="stylesheet" type="text/css" href="data/css/bootstrap-current/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome-current/css/fork-awesome.min.css">
<link rel="stylesheet" type="text/css" href="data/template/lcube6/css/presets/preset1.css" id="data/template/lcube6/css-preset">
<link rel="stylesheet" type="text/css" href="data/template/lcube6/css/main.css">
</head>
@ -617,8 +617,8 @@
</div>
</div>
</footer>
<script type="text/javascript" src="data/javascript/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap/4.4.1/bootstrap.min.js"></script>
<script type="text/javascript" src="data/javascript/jquery-current/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap-current/bootstrap.min.js"></script>
<script type="text/javascript" src="data/template/lcube6/js/main.js"></script>
<script>
//<![CDATA[

View File

@ -65,8 +65,8 @@
]
}
</script>
<link rel="stylesheet" type="text/css" href="data/css/bootstrap/4.4.1/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome/1.1.7/css/fork-awesome.min.css">
<link rel="stylesheet" type="text/css" href="data/css/bootstrap-current/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome-current/css/fork-awesome.min.css">
<link rel="stylesheet" href="./data/template/nhsys/css/main.css">
<link rel="stylesheet" href="./data/template/nhsys/nhsys.css">
<link id="./data/template/nhsys/css-preset" href="./data/template/nhsys/css/presets/preset1.css" rel="stylesheet">
@ -96,8 +96,8 @@
</div>
</div>
</footer>
<script type="text/javascript" src="data/javascript/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap/4.4.1/bootstrap.min.js"></script>
<script type="text/javascript" src="data/javascript/jquery-current/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap-current/bootstrap.min.js"></script>
<script type="text/javascript" src="data/template/nhsys/js/main.js"></script>
<mx:bloc id="JSLOAD"></mx:bloc id="JSLOAD">
<mx:bloc id="JSRAWLOAD"></mx:bloc id="JSRAWLOAD">

View File

@ -68,17 +68,17 @@
}
</script>
<link rel="stylesheet" type="text/css" href="data/css/bootstrap/4.4.1/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome/1.1.7/css/fork-awesome.min.css">
<link rel="stylesheet" type="text/css" href="data/css/bootstrap-current/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome-current/css/fork-awesome.min.css">
<link rel="stylesheet" href="./data/template/nhsys/css/main.css">
<link rel="stylesheet" href="./data/template/nhsys/nhsys.css">
<link id="./data/template/nhsys/css-preset" href="./data/template/nhsys/css/presets/preset1.css" rel="stylesheet">
<mx:bloc id="CSSLOAD"></mx:bloc id="CSSLOAD">
<script type="text/javascript" src="data/javascript/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/jquery-current/jquery.min.js"></script>
<!-- IMPORTANT DE CHARGER POPPER ICI !!! -->
<script type="text/javascript" src="data/javascript/popper/1.16.1/umd/popper.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap/4.4.1/bootstrap.min.js"></script>
<script type="text/javascript" src="data/javascript/popper-current/umd/popper.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap-current/bootstrap.min.js"></script>
</head>
<body>
<header id="home">

View File

@ -64,8 +64,8 @@
]
}
</script>
<link rel="stylesheet" type="text/css" href="data/css/bootstrap/4.4.1/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome/1.1.7/css/fork-awesome.min.css">
<link rel="stylesheet" type="text/css" href="data/css/bootstrap-current/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome-current/css/fork-awesome.min.css">
<link rel="stylesheet" type="text/css" href="data/template/lcube6/css/presets/preset1.css" id="data/template/lcube6/css-preset">
<link rel="stylesheet" type="text/css" href="data/template/lcube6/css/main.css">
</head>
@ -617,8 +617,8 @@
</div>
</div>
</footer>
<script type="text/javascript" src="data/javascript/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap/4.4.1/bootstrap.min.js"></script>
<script type="text/javascript" src="data/javascript/jquery-current/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap-current/bootstrap.min.js"></script>
<script type="text/javascript" src="data/template/lcube6/js/main.js"></script>
<script>
//<![CDATA[

View File

@ -6,8 +6,8 @@
}
#data div.tab-content.container-fluid form select{
min-width: 180px;
max-width: 180px;
min-width: 200px;
max-width: 200px;
}
#data div.tab-content.container-fluid form select.large
@ -23,12 +23,12 @@
#data div.tab-content.container-fluid form input{
min-width: 59px;
max-width: 180px;
max-width: 200px;
}
#data div.tab-content.container-fluid form input.btn{
min-width: 180px;
max-width: 180px;
min-width: 200px;
max-width: 200px;
}
#data div.tab-content.container-fluid form input.large{
@ -52,6 +52,11 @@
border-bottom-right-radius: .25rem;
}
#data div.tab-content.container-fluid form div.input-group-prepend.toggle-compub{
min-width: 160px;
max-width: 160px;
}
#data div.tab-content.container-fluid form#fmNodeAdd div.input-group-prepend.full-large{
width: 84%;
margin-bottom: 0.3rem;

View File

@ -64,8 +64,8 @@
]
}
</script>
<link rel="stylesheet" type="text/css" href="data/css/bootstrap/4.4.1/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome/1.1.7/css/fork-awesome.min.css">
<link rel="stylesheet" type="text/css" href="data/css/bootstrap-current/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome-current/css/fork-awesome.min.css">
<link rel="stylesheet" href="./data/template/qware/css/main.css">
<link rel="stylesheet" href="./data/template/qware/qware.css">
<link id="./data/template/qware/css-preset" href="./data/template/qware/css/presets/preset1.css" rel="stylesheet">
@ -100,8 +100,8 @@
</div>
</div>
</footer>
<script type="text/javascript" src="data/javascript/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap/4.4.1/bootstrap.min.js"></script>
<script type="text/javascript" src="data/javascript/jquery-current/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap-current/bootstrap.min.js"></script>
<script type="text/javascript" src="data/template/qware/js/main.js"></script>
<mx:bloc id="JSLOAD"></mx:bloc id="JSLOAD">
<mx:bloc id="JSRAWLOAD"></mx:bloc id="JSRAWLOAD">

View File

@ -68,17 +68,17 @@
}
</script>
<link rel="stylesheet" type="text/css" href="data/css/bootstrap/4.4.1/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome/1.1.7/css/fork-awesome.min.css">
<link rel="stylesheet" type="text/css" href="data/css/bootstrap-current/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome-current/css/fork-awesome.min.css">
<link rel="stylesheet" href="./data/template/qware/css/main.css">
<link rel="stylesheet" href="./data/template/qware/qware.css">
<link id="./data/template/qware/css-preset" href="./data/template/qware/css/presets/preset1.css" rel="stylesheet">
<mx:bloc id="CSSLOAD"></mx:bloc id="CSSLOAD">
<script type="text/javascript" src="data/javascript/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/jquery-current/jquery.min.js"></script>
<!-- IMPORTANT DE CHARGER POPPER ICI !!! -->
<script type="text/javascript" src="data/javascript/popper/1.16.1/umd/popper.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap/4.4.1/bootstrap.min.js"></script>
<script type="text/javascript" src="data/javascript/popper-current/umd/popper.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap-current/bootstrap.min.js"></script>
</head>
<body>
<header id="home">

View File

@ -1,19 +1,23 @@
<div class="tab-content container-fluid py-2 w-75 px-0">
<form id="fmNodeAdd" role="form" class="form-inline text-center px-0" method="post" mXattribut="action:urlAction">
<div class="card w-100">
<div class="card-header text-center">
<h3><mx:text id="etape1"/><mx:text id="double_dots"/><mx:text id="generalInformation"/></h3>
<div class="card-header form-inline">
<div class="input-group col-xs-12 col-sm-3 col-lg-10 justify-content-center">
<span class="text-center"><h3><mx:text id="etape1"/><mx:text id="double_dots"/><mx:text id="generalInformation"/></h3></span>
</div>
<div class="input-group-prepend">
<span class="input-group-text"><mx:text id="txtCommPublicList"/></span>
</div>
<input data-toggle="toggle" data-style="float-right" data-onstyle="success font-weight-bold" data-on="<mx:text id="comm_public_sEnabled"/>" data-offstyle="danger font-weight-bold" data-off="<mx:text id="user_public_sDisabled"/>" data-size="mini" type="checkbox" name="commlistpublic">
</div>
<div class="card-body">
<div class="row mb-1 w-100">
<div class="input-group col-xs-12 col-sm-8 col-lg-4 justify-content-center">
<div class="input-group-prepend">
<span class="input-group-text" id="newsicon"><i class="fa fa-lg fa-file-picture-o"></i></span>
</div>
<mx:select id="icone" onchange="javascript:imgPicto();"/>
<div class="input-group-append">
<span class="input-group-text"><mx:image id="pictoObject" id="pictoObject"/></span>
</div>
<mx:select id="icone" onchange="javascript:imgPicto();"/>
</div>
<mx:bloc id="blocName">
<div class="input-group col-xs-12 col-sm-8 col-lg-4 justify-content-center">
@ -23,6 +27,12 @@
<mx:formField id="NodeEntry_name"/>
</div>
</mx:bloc id="blocName">
<div class="input-group col-xs-12 col-sm-8 col-lg-4 justify-content-center">
<div class="input-group-prepend toggle-compub">
<span class="input-group-text"><mx:text id="txtHasPublicPage"/></span>
</div>
<input data-toggle="toggle" data-style="float-right" data-onstyle="success font-weight-bold" data-on="<mx:text id="comm_haspublicpage_sEnabled"/>" data-offstyle="danger font-weight-bold" data-off="<mx:text id="user_haspublicpage_sDisabled"/>" data-size="mini" type="checkbox" name="haspublicpage">
</div>
</div>
<div class="row mb-0 w-100">
<div class="input-group col-xs-12 col-sm-8 col-lg-4 justify-content-center">

View File

@ -64,8 +64,8 @@
]
}
</script>
<link rel="stylesheet" type="text/css" href="data/css/bootstrap/4.4.1/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome/1.1.7/css/fork-awesome.min.css">
<link rel="stylesheet" type="text/css" href="data/css/bootstrap-current/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="data/css/fork-awesome-current/css/fork-awesome.min.css">
<link rel="stylesheet" type="text/css" href="data/template/lcube6/css/presets/preset1.css" id="data/template/lcube6/css-preset">
<link rel="stylesheet" type="text/css" href="data/template/lcube6/css/main.css">
</head>
@ -617,8 +617,8 @@
</div>
</div>
</footer>
<script type="text/javascript" src="data/javascript/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap/4.4.1/bootstrap.min.js"></script>
<script type="text/javascript" src="data/javascript/jquery-current1/jquery.min.js"></script>
<script type="text/javascript" src="data/javascript/bootstrap-current/bootstrap.min.js"></script>
<script type="text/javascript" src="data/template/lcube6/js/main.js"></script>
<script>
//<![CDATA[

View File

@ -66,16 +66,18 @@ var $tabForbidden=array("adminentrynode", "admingroup", "adminnode", "home", "ad
mxPageTitle("actionAdminAddComTitlePage");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/bootstrap-datepicker/1.9.0/bootstrap-datepicker3.min.css";
$arrayCallCss[] = "data/javascript/summernote/0.8.18/summernote-bs4.min.css";
$arrayCallCss[] = "data/css/bootstrap-toggle-current/bootstrap-toggle.min.css";
$arrayCallCss[] = "data/css/bootstrap-datepicker-current/bootstrap-datepicker3.min.css";
$arrayCallCss[] = "data/javascript/summernote-current/summernote-bs4.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/bootstrap-datepicker/1.9.0/bootstrap-datepicker.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker/1.9.0/locales/bootstrap-datepicker.".$currentCode.".min.js";
$arrayCallJs[] = "data/javascript/summernote/0.8.18/summernote-bs4.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-toggle-current/bootstrap-toggle.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker-current/bootstrap-datepicker.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker-current/locales/bootstrap-datepicker.".$currentCode.".min.js";
$arrayCallJs[] = "data/javascript/summernote-current/summernote-bs4.min.js";
$arrayCallJs[] = "data/javascript/summernote/plugins/file/201910/summernote-file.js";
$arrayCallJs[] = "data/javascript/summernote/0.8.18/lang/summernote-fr-FR.min.js";
$arrayCallJs[] = "data/javascript/summernote-current/lang/summernote-fr-FR.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$('.datepicker').datepicker();";
@ -109,6 +111,7 @@ var $tabForbidden=array("adminentrynode", "admingroup", "adminnode", "home", "ad
# Affichage des champs de formulaire pour l'inscription
if(!$tabPOST)
{
// $GLOBALS["SYSTEM_TEMPLATE"]->MxText("commPublicList", ($MyUser->getAccountActive()=="on")?" checked=\"checked\"":"");
printTabCommProfiles($selected='', $MxBlocName="COMMPROFILES", $name="NodeEntry_type");
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("NodeEntry_typereg", "text", "NodeEntry_typereg","", "class=\"form\"", getMessage("txtNodeTypereg"));
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("NodeEntry_domain", "text", "NodeEntry_domain","", "class=\"form\" required=\"true\"", getMessage("txtNodeDomain"));
@ -217,10 +220,11 @@ var $tabForbidden=array("adminentrynode", "admingroup", "adminnode", "home", "ad
$GLOBALS["SYSTEM_TEMPLATE"]->MxAttribut("previewtemplate",getMessage("TxtPreview"));
$GLOBALS["SYSTEM_TEMPLATE"]->MxBloc("blocName", "loop");
}
$GLOBALS['SYSTEM_TEMPLATE']->MxSelect("icone", "iconeN", '', $tabIcone, 'Icône de la communauté', '', 'id="iconeN"', "class=\"form large\" required=\"false\" title=\"".htmlspecialchars(getMessage("txtNodeIcon"), ENT_QUOTES)."\"", getMessage("txtNodeIcon"));
$GLOBALS['SYSTEM_TEMPLATE']->MxSelect("icone", "iconeN", '', $tabIcone, getMessage("txtCommunityIcon"), '', 'id="iconeN"', "class=\"form\" required=\"false\" title=\"".htmlspecialchars(getMessage("txtNodeIcon"), ENT_QUOTES)."\"", getMessage("txtNodeIcon"));
$GLOBALS["SYSTEM_TEMPLATE"]->MxImage("pictoObject", $GLOBALS['CONF_DATA_PATH']."data/image/icons/node/defaultnode.png", getMessage("PreviewPicto"));
$GLOBALS['SYSTEM_TEMPLATE']->MxText("txtCommPublicList", getMessage("txtCommPublicList"));
$GLOBALS['SYSTEM_TEMPLATE']->MxText("txtNodeType", getMessage("txtNodeType"));
$GLOBALS['SYSTEM_TEMPLATE']->MxText("txtNodeTypereg", getMessage("txtNodeTypereg"));
$GLOBALS['SYSTEM_TEMPLATE']->MxText("txtNodeDomain", getMessage("txtNodeDomain"));
@ -395,7 +399,8 @@ function execAdmin()
$Node->setCType( ((isset($_POST["NodeEntry_type"])&&$_POST["NodeEntry_type"]!="#")?($_POST["NodeEntry_type"]):"default") );
$Node->setCTypereg( ((isset($_POST["NodeEntry_typereg"]))?($_POST["NodeEntry_typereg"]):"") );
$Node->setDomain( ((isset($_POST["NodeEntry_domain"]))?($_POST["NodeEntry_domain"]):"") );
$Node->setHasPublic( ((isset($_POST["haspublic"]))?($_POST["haspublic"]):0) );
$Node->setListPublic( ((isset($_POST["commlistpublic"]))?($_POST["commlistpublic"]):0) );
$Node->setHasPublicPage( ((isset($_POST["haspublicpage"]))?($_POST["haspublicpage"]):0) );
$Node->setMailNode( ((isset($_POST["user_mail"]))?($_POST["user_mail"]):"") );
$NodeSettings->setEmail( ((isset($_POST["node_email"]))?($_POST["node_email"]):"") );
@ -456,7 +461,7 @@ function execAdmin()
$GroupUtil=$GLOBALS["SYSTEM_MANAGER"]["GROUP"]->insertInstance($GroupUtil);
$GroupAdmin=$GLOBALS["SYSTEM_MANAGER"]["GROUP"]->insertInstance($GroupAdmin);
if( $Node->getHasPublic() )
if( $Node->getHasPublicPage() )
{
$NodePublic =new Node();
$NodePublic->setIdPere($Node->getId());

View File

@ -64,12 +64,12 @@ Class AdminEntryNode extends CoordinationObj
mxPageTitle("classadminentrynode");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.css";
$arrayCallCss[] = "data/css/dataTables.bootstrap4-current/dataTables.bootstrap4.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/jquery.dataTables/1.10.22/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.js";
$arrayCallJs[] = "data/javascript/jquery.dataTables-current/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4-current/dataTables.bootstrap4.min.js";
mxCallJs($arrayCallJs);
/* On inclus la template (voir package.template.php) */

View File

@ -75,11 +75,11 @@ Class AdminNode extends CoordinationObj
mxPageTitle("actionAdminTitlePage");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/bootstrap-toggle/2.2.2/bootstrap-toggle.min.css";
$arrayCallCss[] = "data/css/bootstrap-toggle-current/bootstrap-toggle.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/bootstrap-toggle/2.2.2/bootstrap-toggle.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-toggle-current/bootstrap-toggle.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "function imgPicto(){if(document.getElementById){if(document.getElementById(\"configNode\")){var obj=document.getElementById(\"template\");document.getElementById(\"pictoObject\").src=\"data/image/icons/node/\"+document.getElementById(\"configNode\").iconeN.options[(document.getElementById(\"configNode\").iconeN.selectedIndex)].value;}}else if(document.all){if(document.all[\"configNode\"]){document.all[\"pictoObject\"].src=\"data/image/icons/node/\"+document.all[\"configNode\"].iconeN.options[(document.all[\"configNode\"].iconeN.selectedIndex)].value;}}}function imgTemplate(){if(document.getElementById){if(document.getElementById(\"configNode\")){document.getElementById(\"screenTemplate\").src=\"data/template/\"+document.getElementById(\"template\").value+\"/preview.png\";}}else if(document.all){if(document.all[\"configNode\"]){var obj=document.getElementById(\"template\");document.all[\"configNode\"].screenTemplate.src=\"data/template/\"+obj.options[(obj.selectedIndex)].value+\"/preview.png\";}}}\$(document).ready(imgTemplate());";
@ -221,7 +221,8 @@ Class AdminNode extends CoordinationObj
$Node->setCType( ( (isset($_POST["node_ctype"]) && ($_POST["node_ctype"]!="") )?($_POST["node_ctype"]):"default") );
$Node->setCTypereg( ((isset($_POST["node_ctypereg"]))?($_POST["node_ctypereg"]):"") );
$Node->setDomain( ((isset($_POST["node_domain"]))?($_POST["node_domain"]):"") );
$Node->setHasPublic( ((isset($_POST["node_haspublic"]))?($_POST["node_haspublic"]):'off') );
$Node->setHasPublic( ((isset($_POST["node_haspublicpage"]))?($_POST["node_haspublicpage"]):'off') );
$Node->setHasPublic( ((isset($_POST["node_listpublic"]))?($_POST["node_listpublic"]):'off') );
// $Node->setMailNode( ((isset($_POST["user_mail"]))?($_POST["user_mail"]):"") );
# Variables de configuration de l'objet
@ -283,11 +284,11 @@ Class AdminNode extends CoordinationObj
mxPageTitle("updateAdminTitlePage");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/bootstrap-toggle/2.2.2/bootstrap-toggle.min.css";
$arrayCallCss[] = "data/css/bootstrap-toggle-current/bootstrap-toggle.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/bootstrap-toggle/2.2.2/bootstrap-toggle.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-toggle-current/bootstrap-toggle.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "function imgPicto(){if(document.getElementById){if(document.getElementById(\"modifNode\")){var obj=document.getElementById(\"template\");document.getElementById(\"pictoObject\").src=\"data/image/icons/node/\"+document.getElementById(\"modifNode\").iconeN.options[(document.getElementById(\"modifNode\").iconeN.selectedIndex)].value;}}else if(document.all){if(document.all[\"modifNode\"]){document.all[\"pictoObject\"].src=\"data/image/icons/node/\"+document.all[\"modifNode\"].iconeN.options[(document.all[\"modifNode\"].iconeN.selectedIndex)].value;}}}function imgTemplate(){if(document.getElementById){if(document.getElementById(\"modifNode\")){document.getElementById(\"screenTemplate\").src=\"data/template/\"+document.getElementById(\"template\").value+\"/preview.png\";}}else if(document.all){if(document.all[\"modifNode\"]){var obj=document.getElementById(\"template\");document.all[\"modifNode\"].screenTemplate.src=\"data/template/\"+obj.options[(obj.selectedIndex)].value+\"/preview.png\";}}}\$(document).ready(imgTemplate());";
@ -387,7 +388,8 @@ Class AdminNode extends CoordinationObj
printTabCommProfiles($selected=htmlentitiesconv($Node->getCType()), $MxBlocName="ToHidde.COMMPROFILES", $name="node_ctype");
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("ToHidde.ctypereg", "text", "node_ctypereg", htmlentitiesconv($Node->getCTypereg()), "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeTypereg"), ENT_QUOTES)."\"", getMessage("txtNodeTypereg"));
$GLOBALS["SYSTEM_TEMPLATE"]->MxFormField("ToHidde.domain", "text", "node_domain", htmlentitiesconv($Node->getDomain()), "class=\"form\" title=\"".htmlspecialchars(getMessage("txtNodeDomain"), ENT_QUOTES)."\"", getMessage("txtNodeDomain"));
$GLOBALS['SYSTEM_TEMPLATE']->MxText("ToHidde.node_haspublic_value", ($Node->getHasPublic()!="on")?"":" checked");
$GLOBALS['SYSTEM_TEMPLATE']->MxText("ToHidde.node_haspublicpage_value", ($Node->getHasPublicPage()!="on")?"":" checked");
$GLOBALS['SYSTEM_TEMPLATE']->MxText("ToHidde.node_listpublic_value", ($Node->getListPublic()!="on")?"":" checked");
/* fin template */
for ($i=0; $i<count($tab);$i++)
@ -498,7 +500,8 @@ Class AdminNode extends CoordinationObj
$Node->setCType( ((isset($_POST["node_ctype"]))?(htmlentitiesconv($_POST["node_ctype"])):"default") );
$Node->setCTypereg( ((isset($_POST["node_ctypereg"]))?(htmlentitiesconv($_POST["node_ctypereg"])):"") );
$Node->setDomain( ((isset($_POST["node_domain"]))?(htmlentitiesconv($_POST["node_domain"])):"") );
$Node->setHasPublic( ((isset($_POST["node_haspublic"]))?($_POST["node_haspublic"]):'off') );
$Node->setHasPublicPage( ((isset($_POST["node_haspublicpage"]))?($_POST["node_haspublicpage"]):'off') );
$Node->setListPublic( ((isset($_POST["node_listpublic"]))?($_POST["node_listpublic"]):'off') );
// $Node->setMailNode( ((isset($_POST["user_mail"]))?($_POST["user_mail"]):"") );
if(recupCommunity($node_id) === "3") $nodeCom = "2"; else $nodeCom = recupCommunity($node_id);

View File

@ -120,14 +120,14 @@ Class AdminObject extends CoordinationObj
mxPageTitle("lblAdminObjectAdmin");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.css";
$arrayCallCss[] = "data/css/bootstrap-toggle/2.2.2/bootstrap-toggle.min.css";
$arrayCallCss[] = "data/css/dataTables.bootstrap4-current/dataTables.bootstrap4.min.css";
$arrayCallCss[] = "data/css/bootstrap-toggle-current/bootstrap-toggle.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/jquery.dataTables/1.10.22/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-toggle/2.2.2/bootstrap-toggle.min.js";
$arrayCallJs[] = "data/javascript/jquery.dataTables-current/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4-current/dataTables.bootstrap4.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-toggle-current/bootstrap-toggle.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$(document).ready(function(){\$(\"#tabAdminObject\").dataTable({\"bPaginate\": true,\"sPaginationType\":\"full_numbers\",\"bAutoWidth\": true,\"bSort\": true,\"aaSorting\": [[ 1, \"asc\" ]],\"iDisplayLength\": 10,\"aLengthMenu\": [[5, 10, 25, -1], [5, 10, 25, \"All\"]],\"oLanguage\":{\"sUrl\": \"data/message/".$currentCode."/datatables_adminobject.txt\"}});});";
@ -917,14 +917,14 @@ Class AdminObject extends CoordinationObj
mxPageTitle("");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.css";
$arrayCallCss[] = "data/css/bootstrap-toggle/2.2.2/bootstrap-toggle.min.css";
$arrayCallCss[] = "data/css/dataTables.bootstrap4-current/dataTables.bootstrap4.min.css";
$arrayCallCss[] = "data/css/bootstrap-toggle-current/bootstrap-toggle.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/jquery.dataTables/1.10.22/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-toggle/2.2.2/bootstrap-toggle.min.js";
$arrayCallJs[] = "data/javascript/jquery.dataTables-current/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4-current/dataTables.bootstrap4.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-toggle-current/bootstrap-toggle.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$(document).ready(function(){\$(\"#tabRightAdmin\").dataTable({\"bPaginate\": true,\"sPaginationType\": \"full_numbers\",\"bAutoWidth\": true,\"aaSorting\": [[ 0, \"asc\" ]],\"iDisplayLength\": 10,\"aLengthMenu\": [[5, 10, 25, -1], [5, 10, 25, \"All\"]],\"oLanguage\": {\"sUrl\": \"data/message/".$currentCode."/datatables_rightadmin.txt\"}});});";
@ -1267,14 +1267,14 @@ Class AdminObject extends CoordinationObj
mxPageTitle("");
// $arrayCallCss = array();
// $arrayCallCss[] = "data/css/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.css";
// $arrayCallCss[] = "data/css/bootstrap-toggle/2.2.2/bootstrap-toggle.min.css";
// $arrayCallCss[] = "data/css/dataTables.bootstrap4-current/dataTables.bootstrap4.min.css";
// $arrayCallCss[] = "data/css/bootstrap-toggle-current/bootstrap-toggle.min.css";
// mxCallCss($arrayCallCss);
//
// $arrayCallJs = array();
// $arrayCallJs[] = "data/javascript/jquery.dataTables/1.10.22/jquery.dataTables.min.js";
// $arrayCallJs[] = "data/javascript/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.js";
// $arrayCallJs[] = "data/javascript/bootstrap-toggle/2.2.2/bootstrap-toggle.min.js";
// $arrayCallJs[] = "data/javascript/jquery.dataTables-current/jquery.dataTables.min.js";
// $arrayCallJs[] = "data/javascript/dataTables.bootstrap4-current/dataTables.bootstrap4.min.js";
// $arrayCallJs[] = "data/javascript/bootstrap-toggle-current/bootstrap-toggle.min.js";
// mxCallJs($arrayCallJs);
//
// $arrayRawJs[] = "\$(document).ready(function(){\$(\"#tabAdminObject\").dataTable({\"bPaginate\": true,\"sPaginationType\":\"full_numbers\",\"bAutoWidth\": true,\"bSort\": true,\"aaSorting\": [[ 1, \"asc\" ]],\"iDisplayLength\": 10,\"aLengthMenu\": [[5, 10, 25, -1], [5, 10, 25, \"All\"]],\"oLanguage\":{\"sUrl\": \"data/message/".$currentCode."/datatables_adminobject.txt\"}});});";

View File

@ -72,15 +72,15 @@ Class AdminUser extends CoordinationObj
mxPageTitle("actionAdminTitlePage");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/bootstrap-datepicker/1.9.0/bootstrap-datepicker3.min.css";
$arrayCallCss[] = "data/css/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.css";
$arrayCallCss[] = "data/css/bootstrap-datepicker-current/bootstrap-datepicker3.min.css";
$arrayCallCss[] = "data/css/dataTables.bootstrap4-current/dataTables.bootstrap4.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/bootstrap-datepicker/1.9.0/bootstrap-datepicker.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker/1.9.0/locales/bootstrap-datepicker.".$currentCode.".min.js";
$arrayCallJs[] = "data/javascript/jquery.dataTables/1.10.22/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker-current/bootstrap-datepicker.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker-current/locales/bootstrap-datepicker.".$currentCode.".min.js";
$arrayCallJs[] = "data/javascript/jquery.dataTables-current/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4-current/dataTables.bootstrap4.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$(document).ready(function(){\$('#tabAdminUser').dataTable({\"bPaginate\": true,\"bFilter\": true,\"bInfo\": true,\"sPaginationType\": \"full_numbers\",\"bAutoWidth\": false,\"bLengthChange\": true,\"aaSorting\": [[ 1, \"asc\" ]],\"iDisplayLength\": 15,\"aLengthMenu\": [[15, 25, 50, 100, -1], [15, 25, 50, 100, \"All\"]],\"oLanguage\": {\"sUrl\": \"data/message/".$currentCode."/datatables_adminuser.txt\"}});$('.datepicker').datepicker();});";
@ -574,17 +574,17 @@ function exportAdmin()
mxPageTitle("actionAdminTitlePage");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/bootstrap-datepicker/1.9.0/bootstrap-datepicker3.min.css";
$arrayCallCss[] = "data/css/bootstrap-toggle/2.2.2/bootstrap-toggle.min.css";
$arrayCallCss[] = "data/css/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.css";
$arrayCallCss[] = "data/css/bootstrap-datepicker-current/bootstrap-datepicker3.min.css";
$arrayCallCss[] = "data/css/bootstrap-toggle-current/bootstrap-toggle.min.css";
$arrayCallCss[] = "data/css/dataTables.bootstrap4-current/dataTables.bootstrap4.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/bootstrap-datepicker/1.9.0/bootstrap-datepicker.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker/1.9.0/locales/bootstrap-datepicker.".$currentCode.".min.js";
$arrayCallJs[] = "data/javascript/bootstrap-toggle/2.2.2/bootstrap-toggle.min.js";
$arrayCallJs[] = "data/javascript/jquery.dataTables/1.10.22/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker-current/bootstrap-datepicker.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker-current/locales/bootstrap-datepicker.".$currentCode.".min.js";
$arrayCallJs[] = "data/javascript/bootstrap-toggle-current/bootstrap-toggle.min.js";
$arrayCallJs[] = "data/javascript/jquery.dataTables-current/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4-current/dataTables.bootstrap4.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$(document).ready(function(){\$(\"#tabListGroups\").dataTable({\"bPaginate\": false,\"bFilter\": false,\"bInfo\": false,\"bAutoWidth\": false,\"bLengthChange\": false,\"aaSorting\": [[ 0, \"asc\" ]]});});";

View File

@ -379,12 +379,12 @@ Class Community extends CoordinationObj
mxPageTitle("titlPageInscription");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/bootstrap-datepicker/1.9.0/bootstrap-datepicker3.min.css";
$arrayCallCss[] = "data/css/bootstrap-datepicker-current/bootstrap-datepicker3.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/bootstrap-datepicker/1.9.0/bootstrap-datepicker.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker/1.9.0/locales/bootstrap-datepicker.fr.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker-current/bootstrap-datepicker.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker-current/locales/bootstrap-datepicker.fr.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$(document).ready(function(){\$('.datepicker').datepicker(); });";

View File

@ -199,12 +199,12 @@ Class Home extends CoordinationObj
mxPageTitle("titlPageInscription");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/bootstrap-datepicker/1.9.0/bootstrap-datepicker3.min.css";
$arrayCallCss[] = "data/css/bootstrap-datepicker-current/bootstrap-datepicker3.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/bootstrap-datepicker/1.9.0/bootstrap-datepicker.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker/1.9.0/locales/bootstrap-datepicker.fr.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker-current/bootstrap-datepicker.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker-current/locales/bootstrap-datepicker.fr.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$(document).ready(function(){ $('.datepicker').datepicker(); });";

View File

@ -109,12 +109,12 @@ var $dbUninstallFile= "uninstall";
mxPageTitle("beforeInstallTitlePage");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.css";
$arrayCallCss[] = "data/css/dataTables.bootstrap4-current/dataTables.bootstrap4.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/jquery.dataTables/1.10.22/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.js";
$arrayCallJs[] = "data/javascript/jquery.dataTables-current/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4-current/dataTables.bootstrap4.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$(document).ready(function(){\$('#tabListScripts').dataTable({\"bPaginate\": true,\"bFilter\": false,\"bInfo\": true,\"sPaginationType\": \"full_numbers\",\"bAutoWidth\": false,\"bLengthChange\": false,\"aaSorting\": [[ 1, \"asc\" ]],\"iDisplayLength\": 10,\"oLanguage\": {\"sUrl\": \"data/message/".$currentCode."/datatables.txt\"}});});";
@ -288,12 +288,12 @@ var $dbUninstallFile= "uninstall";
mxPageTitle("beforeInstallTitlePage");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.css";
$arrayCallCss[] = "data/css/dataTables.bootstrap4-current/dataTables.bootstrap4.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/jquery.dataTables/1.10.22/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.js";
$arrayCallJs[] = "data/javascript/jquery.dataTables-current/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4-current/dataTables.bootstrap4.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$(document).ready(function(){\$('#tabListFiles').dataTable({\"bPaginate\": false,\"bFilter\": false,\"bInfo\": false,\"bAutoWidth\": false,\"bLengthChange\": false,\"aaSorting\": [[ 1, \"asc\" ]],\"oLanguage\": {\"sUrl\": \"data/message/".$currentCode."/datatables.txt\"}});});";

View File

@ -87,12 +87,12 @@ Class InstallManager extends CoordinationObj
mxPageTitle("actionInstallTitlePage");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.css";
$arrayCallCss[] = "data/css/dataTables.bootstrap4-current/dataTables.bootstrap4.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/jquery.dataTables/1.10.22/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.js";
$arrayCallJs[] = "data/javascript/jquery.dataTables-current/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4-current/dataTables.bootstrap4.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$(document).ready(function(){\$('#tabObjectCoordination').dataTable({\"bPaginate\": true,\"bFilter\": false,\"bInfo\": true,\"sPaginationType\": \"full_numbers\",\"bAutoWidth\": false,\"bLengthChange\": false,\"aaSorting\": [[ 1, \"asc\" ]],\"iDisplayLength\": 10,\"oLanguage\": {\"sUrl\": \"data/message/".$currentCode."/datatables.txt\"}});});";
@ -338,12 +338,12 @@ Class InstallManager extends CoordinationObj
mxPageTitle("listInstallTitlePage");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.css";
$arrayCallCss[] = "data/css/dataTables.bootstrap4-current/dataTables.bootstrap4.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/jquery.dataTables/1.10.22/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.js";
$arrayCallJs[] = "data/javascript/jquery.dataTables-current/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4-current/dataTables.bootstrap4.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$(document).ready(function(){\$('#tabObjectCoordination').dataTable({\"bPaginate\": true,\"bFilter\": false,\"bInfo\": true,\"sPaginationType\": \"full_numbers\",\"bAutoWidth\": false,\"bLengthChange\": false,\"aaSorting\": [[ 0, \"asc\" ]],\"iDisplayLength\": 10,\"oLanguage\": {\"sUrl\": \"data/message/".$currentCode."/datatables.txt\"}});});";
@ -807,12 +807,12 @@ Class InstallManager extends CoordinationObj
mxPageTitle("bkpManageInstallTitlePage");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.css";
$arrayCallCss[] = "data/css/dataTables.bootstrap4-current/dataTables.bootstrap4.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/jquery.dataTables/1.10.22/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.js";
$arrayCallJs[] = "data/javascript/jquery.dataTables-currentjquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4-current/dataTables.bootstrap4.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$(document).ready(function(){\$(\"#tabBkpList\").dataTable({\"bPaginate\": true,\"bFilter\": false,\"bInfo\": true,\"sPaginationType\": \"full_numbers\",\"bAutoWidth\": false,\"bLengthChange\": false,\"aaSorting\": [[ 1, \"asc\" ]],\"iDisplayLength\": 10,\"oLanguage\": {\"sUrl\": \"data/message/".$currentCode."/datatables.txt\"}});});";

View File

@ -52,12 +52,12 @@ Class UserModif extends CoordinationObj
mxPageTitle("titlAdminSubscriptions");
$arrayCallCss = array();
$arrayCallCss[] = "data/css/bootstrap-datepicker/1.9.0/bootstrap-datepicker3.min.css";
$arrayCallCss[] = "data/css/bootstrap-datepicker-current/bootstrap-datepicker3.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/bootstrap-datepicker/1.9.0/bootstrap-datepicker.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker/1.9.0/locales/bootstrap-datepicker.fr.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker-current/bootstrap-datepicker.min.js";
$arrayCallJs[] = "data/javascript/bootstrap-datepicker-current/locales/bootstrap-datepicker.fr.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$(document).ready(function(){ $('.datepicker').datepicker(); });";

View File

@ -59,12 +59,12 @@ Class UserTemp extends CoordinationObj
/* fin récupération des codes par defaut */
$arrayCallCss = array();
$arrayCallCss[] = "data/css/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.css";
$arrayCallCss[] = "data/css/dataTables.bootstrap4-current/dataTables.bootstrap4.min.css";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/jquery.dataTables/1.10.22/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4/1.10.22/dataTables.bootstrap4.min.js";
$arrayCallJs[] = "data/javascript/jquery.dataTables-current/jquery.dataTables.min.js";
$arrayCallJs[] = "data/javascript/dataTables.bootstrap4-current/dataTables.bootstrap4.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$(document).ready(function(){\$(\"#tabInscriptions\").dataTable({\"bPaginate\": false,\"bFilter\": false,\"bInfo\": false,\"aaSorting\": [[ 0, \"desc\" ]],\"oLanguage\": {\"sUrl\": \"data/message/".$currentCode."/datatables.txt\"}});}); ";

View File

@ -175,14 +175,14 @@ var $string = null;
$element=$form.".".$name;
$arrayCallCss = array();
$arrayCallCss[] = "data/javascript/summernote/0.8.18/summernote-bs4.min.css";
$arrayCallCss[] = "data/javascript/summernote-current/summernote-bs4.min.css";
$arrayCallCss[] = "";
mxCallCss($arrayCallCss);
$arrayCallJs = array();
$arrayCallJs[] = "data/javascript/summernote/0.8.18/summernote-bs4.min.js";
$arrayCallJs[] = "data/javascript/summernote/plugins/file/201910/summernote-file.js";
$arrayCallJs[] = "data/javascript/summernote/0.8.18/lang/summernote-fr-FR.min.js";
$arrayCallJs[] = "data/javascript/summernote-current/summernote-bs4.min.js";
// $arrayCallJs[] = "data/javascript/summernote/plugins/file/201910/summernote-file.js";
$arrayCallJs[] = "data/javascript/summernote-current/lang/summernote-fr-FR.min.js";
mxCallJs($arrayCallJs);
$arrayRawJs[] = "\$(document).ready( function(){\$('#".$name."').summernote({lang: '".$lang."',toolbar: [['style', ['style','fontsize']],['font', ['bold', 'underline', 'clear']],['fontname', ['fontname']],['color',['backcolor','color']],['para', ['style','ul', 'ol', 'paragraph']],['table', ['table']],['hr', ['hr']],/* File plugin not enabled */ /* ['insert', ['file','link', 'picture', 'video']], */ ['insert', ['link', 'picture', 'video']],['view', ['fullscreen', 'codeview']],['misc', ['undo', 'redo']],],height: ".$height.",disableResizeEditor: true, /* disable resizing editor */ airMode: false,});});";