Partially fix for issue #42

This commit is contained in:
Rooty 2020-12-19 20:15:40 +01:00
parent a3ea54d3b9
commit 32c483e17a
3 changed files with 323 additions and 307 deletions

View File

@ -1,201 +1,195 @@
<div class="tabe">
<ul>
<li id="startTabe" class="WindowTabeData"><a mXattribut="class:ClassTabeView">&nbsp;</a></li>
<ul class="nav container-fluid nav-tabs w-75 border-bottom-0">
<mx:bloc id="TabeB">
<li mXattribut="class:TabeView">
<a mXattribut="href:UrlTabeView" mXattribut="class:ClassTabeView">
<i class="mr-1 fa fa-lg fa-<mx:text id="pictoTabe"/>"></i>
<mx:text id="TabeNameView"/>
</a>
</li>
</mx:bloc id="TabeB">
<li id="endTabe" class="WindowTabeData"><a mXattribut="class:ClassTabeView">&nbsp;</a></li>
</ul>
</div>
<div class="box">
<!-- pour les infos courantes de l'interface -->
<div class="header"><h2><mx:text id="TabeBTabeNameView"/> (<mx:text id="TxtActionInstallControlTitle"/>)</h2>
<p><mx:text id="TxtActionInstallControlText"/></p>
<p><mx:text id="TxtActionInstallControlTextBis"/></p>
<p><mx:text id="TxtActionInstallControlTextWait"/></p>
</div>
<form enctype="multipart/form-data" mXattribut="action:urlUpload" method="post">
<div class="fieldset">
<div class="legend"><mx:text id="TxtUploadPackage"/></div>
<div><input type='hidden' class="hidden" name='MAX_FILE_SIZE' value='10000000000000'/><input name="uploadFile" type="file" /></div>
<div class="action"><input type="submit" mXattribut="value:BtnUploadInstall" class="buttonfreesize" /></div>
<li mXattribut="class:TabeView">
<a mXattribut="class:ClassTabeView" mXattribut="href:UrlTabeView">
<i class="mr-1 fa fa-lg fa-<mx:text id="pictoTabe"/>"></i>
<mx:text id="TabeNameView"/>
</a>
</li>
</mx:bloc id="TabeB">
</ul>
<div class="tab-content container-fluid px-2 py-2 border w-75">
<div class="card w-100 text-center">
<div class="card-header">
<h3><mx:text id="TabeBTabeNameView"/> (<mx:text id="TxtActionInstallControlTitle"/>)</h3>
</div>
<div class="card-title mx-auto w-75">
<p><mx:text id="TxtActionInstallControlText"/></p>
<p><mx:text id="TxtActionInstallControlTextBis"/></p>
<p><mx:text id="TxtActionInstallControlTextWait"/></p>
</div>
<div class="card-body">
<div class="row mb-2">
<form id="formUpload" role="form" class="container form w-50" method="post" enctype="multipart/form-data" mXattribut="action:urlUpload">
<input type='hidden' class="hidden" name='MAX_FILE_SIZE' value='10000000000000'/>
<div class="input-group">
<div class="custom-file">
<input type="file" class="custom-file-input" id="uploadFile">
<label class="custom-file-label" for="uploadFile">Choose file</label>
</div>
<div class="input-group-append">
<input type="submit" name="BtnValid" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" MxAttribut="value:BtnUploadInstall"/>
</div>
</div>
</form>
</div>
</div>
<div class="card-header">
<h3><mx:text id="TxtObjectCoordination"/></h3>
</div>
<div class="card-body">
<table class="table table-sm table-responsive-sm table-bordered table-striped table-hover" id="tabObjectCoordination" mXattribut="summary:TxtObjectCoordination">
<thead class="thead-default">
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="TxtSize"/></th>
<th><mx:text id="TxtVersion"/></th>
<th data-orderable="false"><mx:text id="TxtAction"/></th>
</tr>
</thead>
<tbody>
<mx:bloc id="object_coordination">
<tr>
<td class="py-0 align-middle"><mx:text id="name"/></td>
<td class="py-0 align-middle"><mx:text id="size"/></td>
<td class="py-0 align-middle"><mx:text id="version"/></td>
<td class="py-0 align-middle">
<a mXattribut="href:urlDetail" class="linkview"></a>
<a mXattribut="href:urlDownload" class="linkadd"></a>
</td>
</tr>
<mx:bloc id="DETAIL">
<tr>
<td colspan="4" class="tabledetail"><mx:text id="detail"/></td>
</tr>
</mx:bloc id="DETAIL">
</mx:bloc id="object_coordination">
</tbody>
</table>
</div>
<div class="card-header">
<h3><mx:text id="TxtObjectPlugin"/></h3>
</div>
<div class="card-body">
<table class="table table-sm table-responsive-sm table-bordered table-striped table-hover" id="tabObjectPlugin" mXattribut="summary:TxtObjectPlugin"/>
<thead class="thead-default">
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="TxtSize"/></th>
<th><mx:text id="TxtVersion"/></th>
<th data-orderable="false"><mx:text id="TxtAction"/></th>
</tr>
</thead>
<mx:bloc id="object_plugin">
<tr>
<td class="py-0 align-middle"><mx:text id="name"/></td>
<td class="py-0 align-middle"><mx:text id="size"/></td>
<td class="py-0 align-middle"><mx:text id="version"/></td>
<td class="py-0 align-middle">
<a mXattribut="href:urlDetail" class="linkview"></a>
<a mXattribut="href:urlDownload" class="linkadd"></a>
</td>
</tr>
<mx:bloc id="DETAIL">
<tr>
<td colspan="4" class="tabledetail"><mx:text id="detail"/></td>
</tr>
</mx:bloc id="DETAIL">
</mx:bloc id="object_plugin">
</table>
</div>
<div class="card-header">
<h3><mx:text id="TxtObjectPrinting"/></h3>
</div>
<div class="card-body">
<table class="table table-sm table-responsive-sm table-bordered table-striped table-hover" id="tabObjectPrinting" mXattribut="summary:TxtObjectPrinting">
<thead class="thead-default">
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="TxtSize"/></th>
<th><mx:text id="TxtVersion"/></th>
<th data-orderable="false"><mx:text id="TxtAction"/></th>
</tr>
</thead>
<mx:bloc id="object_printing">
<tr>
<td class="py-0 align-middle"><mx:text id="name"/></td>
<td class="py-0 align-middle"><mx:text id="size"/></td>
<td class="py-0 align-middle"><mx:text id="version"/></td>
<td class="py-0 align-middle">
<a mXattribut="href:urlDetail" class="linkview"></a>
<a mXattribut="href:urlDownload" class="linkadd"></a>
</td>
</tr>
<mx:bloc id="DETAIL">
<tr>
<td colspan="4" class="tabledetail"><mx:text id="detail"/></td>
</tr>
</mx:bloc id="DETAIL">
</mx:bloc id="object_printing">
</table>
</div>
<div class="card-header">
<h3><mx:text id="TxtTemplate"/></h3>
</div>
<div class="card-body">
<table class="table table-sm table-responsive-sm table-bordered table-striped table-hover" id="tabTemplate" mXattribut="summary:TxtTemplate">
<thead class="thead-default">
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="TxtSize"/></th>
<th><mx:text id="TxtVersion"/></th>
<th data-orderable="false"><mx:text id="TxtAction"/></th>
</tr>
</thead>
<mx:bloc id="template">
<tr>
<td class="py-0 align-middle"><mx:text id="name"/></td>
<td class="py-0 align-middle"><mx:text id="size"/></td>
<td class="py-0 align-middle"><mx:text id="version"/></td>
<td class="py-0 align-middle">
<a mXattribut="href:urlDetail" class="linkview"></a>
<a mXattribut="href:urlDownload" class="linkadd"></a>
</td>
</tr>
<mx:bloc id="DETAIL">
<tr>
<td colspan="4" class="tabledetail"><mx:text id="detail"/></td>
</tr>
</mx:bloc id="DETAIL">
</mx:bloc id="template">
</table>
</div>
<div class="card-header">
<h3><mx:text id="TxtUpgrade"/></h3>
</div>
<div class="card-body">
<table class="table table-sm table-responsive-sm table-bordered table-striped table-hover" id="tabUpgrade" mXattribut="summary:TxtUpgrade">
<thead class="thead-default">
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="TxtSize"/></th>
<th><mx:text id="TxtVersion"/></th>
<th data-orderable="false"><mx:text id="TxtAction"/></th>
</tr>
</thead>
<mx:bloc id="upgrade">
<tr>
<td class="py-0 align-middle"><mx:text id="name"/></td>
<td class="py-0 align-middle"><mx:text id="size"/></td>
<td class="py-0 align-middle"><mx:text id="version"/></td>
<td class="py-0 align-middle">
<a mXattribut="href:urlDetail" class="linkview"></a>
<a mXattribut="href:urlDownload" class="linkadd"></a>
</td>
</tr>
<mx:bloc id="DETAIL">
<tr>
<td colspan="4" class="tabledetail"><mx:text id="detail"/></td>
</tr>
</mx:bloc id="DETAIL">
</mx:bloc id="upgrade">
</table>
</div>
</form>
<div class="fieldset">
<div class="legend"><mx:text id="TxtActionInstallControlTextList"/></div>
<div class="fieldset">
<div class="legend"><mx:text id="TxtObjectCoordination"/></div>
<div class="legend">
<mx:text id="TxtLegend"/>
<div class="linkview">&nbsp;</div><mx:text id="BtnView"/>
<div class="linkadd">&nbsp;</div><mx:text id="TxtUploadFromFtp"/>
</div>
<table class="table" mXattribut="summary:TxtObjectCoordination">
<caption>&nbsp;</caption>
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="TxtSize"/></th>
<th><mx:text id="TxtVersion"/></th>
<th><mx:text id="TxtAction"/></th>
</tr>
<mx:bloc id="object_coordination">
<tr mXattribut="class:lineStyle">
<td><mx:text id="name"/></td>
<td><mx:text id="size"/></td>
<td><mx:text id="version"/></td>
<td class="actionOne">
<a mXattribut="href:urlDetail" class="linkview"></a>
<a mXattribut="href:urlDownload" class="linkadd"></a>
</td>
</tr>
<mx:bloc id="DETAIL">
<tr>
<td colspan="4" class="tabledetail"><mx:text id="detail"/></td>
</tr>
</mx:bloc id="DETAIL">
</mx:bloc id="object_coordination">
</table>
</div>
<div class="fieldset">
<div class="legend"><mx:text id="TxtObjectPlugin"/></div>
<div class="legend">
<mx:text id="TxtLegend"/>
<div class="linkview">&nbsp;</div><mx:text id="BtnView"/>
<div class="linkadd">&nbsp;</div><mx:text id="TxtUploadFromFtp"/>
</div>
<table class="table" mXattribut="summary:TxtObjectPlugin"/>
<caption></caption>
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="TxtSize"/></th>
<th><mx:text id="TxtVersion"/></th>
<th><mx:text id="TxtAction"/></th>
</tr>
<mx:bloc id="object_plugin">
<tr mXattribut="class:lineStyle">
<td><mx:text id="name"/></td>
<td><mx:text id="size"/></td>
<td><mx:text id="version"/></td>
<td class="action">
<a mXattribut="href:urlDetail" class="linkview"></a>
<a mXattribut="href:urlDownload" class="linkadd"></a>
</td>
</tr>
<mx:bloc id="DETAIL">
<tr>
<td colspan="4" class="tabledetail"><mx:text id="detail"/></td>
</tr>
</mx:bloc id="DETAIL">
</mx:bloc id="object_plugin">
</table>
</div>
<div class="fieldset">
<div class="legend"><mx:text id="TxtObjectPrinting"/></div>
<div class="legend">
<mx:text id="TxtLegend"/>
<div class="linkview">&nbsp;</div><mx:text id="BtnView"/>
<div class="linkadd">&nbsp;</div><mx:text id="TxtUploadFromFtp"/>
</div>
<table class="table" mXattribut="summary:TxtObjectPrinting">
<caption></caption>
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="TxtSize"/></th>
<th><mx:text id="TxtVersion"/></th>
<th><mx:text id="TxtAction"/></th>
</tr>
<mx:bloc id="object_printing">
<tr mXattribut="class:lineStyle">
<td><mx:text id="name"/></td>
<td><mx:text id="size"/></td>
<td><mx:text id="version"/></td>
<td class="action">
<a mXattribut="href:urlDetail" class="linkview"></a>
<a mXattribut="href:urlDownload" class="linkadd"></a>
</td>
</tr>
<mx:bloc id="DETAIL">
<tr>
<td colspan="4" class="tabledetail"><mx:text id="detail"/></td>
</tr>
</mx:bloc id="DETAIL">
</mx:bloc id="object_printing">
</table>
</div>
<div class="fieldset">
<div class="legend"><mx:text id="TxtTemplate"/></div>
<div class="legend">
<mx:text id="TxtLegend"/>
<div class="linkview">&nbsp;</div><mx:text id="BtnView"/>
<div class="linkadd">&nbsp;</div><mx:text id="TxtUploadFromFtp"/>
</div>
<table class="table" mXattribut="summary:TxtTemplate">
<caption></caption>
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="TxtSize"/></th>
<th><mx:text id="TxtVersion"/></th>
<th><mx:text id="TxtAction"/></th>
</tr>
<mx:bloc id="template">
<tr mXattribut="class:lineStyle">
<td><mx:text id="name"/></td>
<td><mx:text id="size"/></td>
<td><mx:text id="version"/></td>
<td class="action">
<a mXattribut="href:urlDetail" class="linkview"></a>
<a mXattribut="href:urlDownload" class="linkadd"></a>
</td>
</tr>
<mx:bloc id="DETAIL">
<tr>
<td colspan="4" class="tabledetail"><mx:text id="detail"/></td>
</tr>
</mx:bloc id="DETAIL">
</mx:bloc id="template">
</table>
</fieldset>
<div class="fieldset">
<div class="legend"><mx:text id="TxtUpgrade"/></div>
<div class="legend">
<mx:text id="TxtLegend"/>
<div class="linkview">&nbsp;</div><mx:text id="BtnView"/>
<div class="linkadd">&nbsp;</div><mx:text id="TxtUploadFromFtp"/>
</div>
<table class="table" mXattribut="summary:TxtTemplate">
<caption></caption>
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="TxtSize"/></th>
<th><mx:text id="TxtVersion"/></th>
<th><mx:text id="TxtAction"/></th>
</tr>
<mx:bloc id="upgrade">
<tr mXattribut="class:lineStyle">
<td><mx:text id="name"/></td>
<td><mx:text id="size"/></td>
<td><mx:text id="version"/></td>
<td class="action">
<a mXattribut="href:urlDetail" class="linkview"></a>
<a mXattribut="href:urlDownload" class="linkadd"></a>
</td>
</tr>
<mx:bloc id="DETAIL">
<tr>
<td colspan="4" class="tabledetail"><mx:text id="detail"/></td>
</tr>
</mx:bloc id="DETAIL">
</mx:bloc id="upgrade">
</table>
</div>
<br/>
</div>
</div>

View File

@ -1,115 +1,111 @@
<div class="tabe">
<ul>
<li id="startTabe" class="WindowTabeData"><a mXattribut="class:ClassTabeView">&nbsp;</a></li>
<ul class="nav container-fluid nav-tabs w-75 border-bottom-0">
<mx:bloc id="TabeB">
<li mXattribut="class:TabeView">
<a mXattribut="href:UrlTabeView" mXattribut="class:ClassTabeView">
<i class="mr-1 fa fa-lg fa-<mx:text id="pictoTabe"/>"></i>
<mx:text id="TabeNameView"/>
</a>
</li>
</mx:bloc id="TabeB">
<li id="endTabe" class="WindowTabeData"><a mXattribut="class:ClassTabeView">&nbsp;</a></li>
</ul>
</div>
<div class="box">
<!-- pour les infos courantes de l'interface -->
<div class="header"><h2><mx:text id="TabeBTabeNameView"/> (<mx:text id="MsgBkpInstallTitle"/>)</h2>
<p><mx:text id="MsgBkpInstallText"/></p>
<p><mx:text id="MsgBkpInstallNotice"/></p>
</div>
<a mXattribut="href:jsDoBkp"><img src="data/template/default/media/picto/config.gif" alt="config.gif" /></a>
<a mXattribut="href:jsDoBkp"><mx:text id="MsgCreateBkpTitle"/></a>
<div class="fieldset">
<div class="legend"><mx:text id="TxtBkpList"/></div>
<div class="legendcolor">
<div><strong><mx:text id="TxtLegend"/></strong></div>
<div class="lnColor3">&nbsp;</div><div><mx:text id="TxtBkpLine"/></div>
<div class="lnColor1">&nbsp;</div><div><mx:text id="TxtBkpScriptLine"/></div>
<div class="lnColor2">&nbsp;</div><div><mx:text id="TxtBkpDbLine"/></div>
</div>
<hr/>
<div class="legendcolor">
<div><strong></strong></div>
<div class="linkview">&nbsp;</div><div><mx:text id="BtnView"/></div>
<div class="linkadd">&nbsp;</div><div><mx:text id="TxtInstall"/></div>
<div class="linkdelete">&nbsp;</div><div><mx:text id="TxtUnInstall"/></div>
</div>
<table class="table">
<caption><mx:text id="TxtBkpList"/></caption>
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="Txtdate"/></th>
<th><mx:text id="TxtAction"/></th>
</tr>
<mx:bloc id="BACKUP">
<tr mXattribut="class:lineStyle">
<td class="lnColor3"><mx:text id="nom"/></td>
<td><mx:text id="date"/></td>
<td class="actionOne"><a mXattribut="href:js" class="linkview"></a></td>
</tr>
<tr style="display:none;" mXattribut="id:id">
<td colspan="3">
<table class="table">
<mx:bloc id="DB">
<tr>
<td class="tabledetail">
<table class="table">
<caption></caption>
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="TxtAction"/></th>
</tr>
<tr mXattribut="class:lineStyle">
<td class="lnColor2"><mx:text id="nom"/></td>
<td class="actionOne">
<a mXattribut="href:link" class="linkadd"></a>
<a mXattribut="href:linkDel" class="linkdelete"></a>
</td>
</tr>
<li mXattribut="class:TabeView">
<a mXattribut="class:ClassTabeView" mXattribut="href:UrlTabeView">
<i class="mr-1 fa fa-lg fa-<mx:text id="pictoTabe"/>"></i>
<mx:text id="TabeNameView"/>
</a>
</li>
</mx:bloc id="TabeB">
</ul>
<div class="tab-content container-fluid px-2 py-2 border w-75">
<div class="card w-100 text-center">
<div class="card-header">
<h3><mx:text id="TabeBTabeNameView"/> (<mx:text id="MsgBkpInstallTitle"/>)</h3>
</div>
<div class="card-title mx-auto w-75">
<p><mx:text id="MsgBkpInstallText"/></p>
<p><mx:text id="MsgBkpInstallNotice"/></p>
</div>
<div class="card-body">
<div class="row mb-2">
<a mXattribut="href:jsDoBkp"><img src="data/template/default/media/picto/config.gif" alt="config.gif" /></a>
<a mXattribut="href:jsDoBkp"><mx:text id="MsgCreateBkpTitle"/></a>
</div>
</div>
<div class="card-header">
<h3><mx:text id="TxtBkpList"/></h3>
</div>
<div class="card-body">
<table class="table table-sm table-responsive-sm table-bordered table-striped table-hover" id="tabBkpList" mXattribut="summary:TxtBkpList">
<thead class="thead-default">
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="Txtdate"/></th>
<th data-orderable="false"><mx:text id="TxtAction"/></th>
</tr>
</thead>
<tbody>
<mx:bloc id="BACKUP">
<tr>
<td><mx:text id="nom"/></td>
<td><mx:text id="date"/></td>
<td><a mXattribut="href:js" class="linkview"></a></td>
</tr>
<tr style="display:none;" mXattribut="id:id">
<td colspan="3">
<table class="table">
<mx:bloc id="DB">
<tr>
<td class="tabledetail">
<table class="table">
<caption></caption>
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="TxtAction"/></th>
</tr>
<tr mXattribut="class:lineStyle">
<td class="lnColor2"><mx:text id="nom"/></td>
<td class="actionOne">
<a mXattribut="href:link" class="linkadd"></a>
<a mXattribut="href:linkDel" class="linkdelete"></a>
</td>
</tr>
</table>
</td>
</tr>
</mx:bloc id="DB">
<mx:bloc id="SCRIPT">
<tr>
<td class="tabledetail">
<table class="table">
<caption></caption>
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="TxtAction"/></th>
</tr>
<tr mXattribut="class:lineStyle">
<td class="lnColor1"><mx:text id="oldname"/></td>
<td class="actionOne">
<a mXattribut="href:link" class="linkadd"></a>
<a mXattribut="href:linkDel" class="linkdelete"></a>
</td>
</tr>
</table>
</td>
</tr>
</mx:bloc id="SCRIPT">
<mx:bloc id="NOBKP">
<tr>
<td><mx:text id="MsgNoBkp"/></td>
</tr>
</mx:bloc id="NOBKP">
</table>
</fieldset>
</tr>
</mx:bloc id="BACKUP">
</tbody>
</table>
</td>
</tr>
</mx:bloc id="DB">
<mx:bloc id="SCRIPT">
<tr>
<td class="tabledetail">
<table class="table">
<caption></caption>
<tr>
<th><mx:text id="TxtName"/></th>
<th><mx:text id="TxtAction"/></th>
</tr>
<tr mXattribut="class:lineStyle">
<td class="lnColor1"><mx:text id="oldname"/></td>
<td class="actionOne">
<a mXattribut="href:link" class="linkadd"></a>
<a mXattribut="href:linkDel" class="linkdelete"></a>
</td>
</tr>
</table>
</td>
</tr>
</mx:bloc id="SCRIPT">
<mx:bloc id="NOBKP">
<tr>
<td><mx:text id="MsgNoBkp"/></td>
</tr>
</mx:bloc id="NOBKP">
</table>
</fieldset>
</tr>
</mx:bloc id="BACKUP">
</table>
</div>
</div>
<form name="MsgHidden" method="post" action="#">
<input type="hidden" name="TxtConfirmExecutionBd" mXattribut="value:TxtConfirmExecutionBd"/>
<input type="hidden" name="TxtConfirmDeleteBd" mXattribut="value:TxtConfirmDeleteBd"/>
<input type="hidden" name="TxtConfirmExecutionScript" mXattribut="value:TxtConfirmExecutionScript"/>
<input type="hidden" name="TxtConfirmDeleteScript" mXattribut="value:TxtConfirmDeleteScript"/>
<input type="hidden" name="TxtConfirmDoBkp" mXattribut="value:TxtConfirmDoBkp"/>
</form>
</div>
</div>
<form name="MsgHidden" method="post" action="#">
<input type="hidden" name="TxtConfirmExecutionBd" mXattribut="value:TxtConfirmExecutionBd"/>
<input type="hidden" name="TxtConfirmDeleteBd" mXattribut="value:TxtConfirmDeleteBd"/>
<input type="hidden" name="TxtConfirmExecutionScript" mXattribut="value:TxtConfirmExecutionScript"/>
<input type="hidden" name="TxtConfirmDeleteScript" mXattribut="value:TxtConfirmDeleteScript"/>
<input type="hidden" name="TxtConfirmDoBkp" mXattribut="value:TxtConfirmDoBkp"/>
</form>
<script language="Javascript" type="text/javascript">
<!--

View File

@ -49,7 +49,7 @@ Class InstallManager extends CoordinationObj
*/
function tabeCreate()
{
$tabPictoTabe = array("eye","cogs", "cogs");
$tabPictoTabe = array("eye","minus", "cogs");
$tabTabe = array("BtnUpload","BtnInstall", "BtnBkp");
$tabAction = array(array("actionInstall"), array("listInstall", "beforeInstall", "install","afterInstall", "beforeUninstall", "uninstall", "afterUninstall"), array("bkpManageInstall"));
$tabUrlTabe = array(formatUrl($this->getId(), "InstallManager", "actionInstall"),formatUrl($this->getId(), "InstallManager", "listInstall"),formatUrl($this->getId(), "InstallManager", "bkpManageInstall"));
@ -79,6 +79,32 @@ Class InstallManager extends CoordinationObj
includePackage ("ftp.php");
includePackage ("backup.php");
/* gestion du lib en fonction de la langue courante */
$currentCode=$GLOBALS["SYSTEM_USER_SESSION"]->langue->getCode();
$defaultCode=$GLOBALS["SYSTEM_DEFAULT_LANGUAGE_CODE"];
/* fin récupèration des codes par defaut */
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";
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";
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\"}});});";
$arrayRawJs[] = "\$(document).ready(function(){\$('#tabObjectPlugin').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\"}});});";
$arrayRawJs[] = "\$(document).ready(function(){\$('#tabObjectPrinting').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\"}});});";
$arrayRawJs[] = "\$(document).ready(function(){\$('#tabTemplate').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\"}});});";
$arrayRawJs[] = "\$(document).ready(function(){\$('#tabUpgrade').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\"}});});";
mxRawJs($arrayRawJs);
withBlocPath("InstallManager", "actioninstall");
$this->tabeCreate();