mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-27 00:28:47 +00:00
97 lines
3.3 KiB
Smarty
97 lines
3.3 KiB
Smarty
{*************************************
|
|
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
************************************}
|
|
{literal}
|
|
<script type="text/javascript">
|
|
function modulemanager_import_validate(form) {
|
|
if(form.module_zipfile.value == '') {
|
|
alert("Please select the zip file before proceeding.");
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
</script>
|
|
{/literal}
|
|
|
|
<div id="vtlib_modulemanager_import" style="display:block;position:absolute;width:500px;"></div>
|
|
|
|
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%"> <!-- crmv@30683 -->
|
|
<tr>
|
|
<td valign="top"></td>
|
|
<td class="showPanelBg" style="padding: 5px;" valign="top" width="100%"> <!-- crmv@30683 -->
|
|
|
|
|
|
<div align=center>
|
|
{include file='SetMenu.tpl'}
|
|
{include file='Buttons_List.tpl'} {* crmv@30683 *}
|
|
<table class="settingsSelUITopLine" border="0" cellpadding="5" cellspacing="0" width="100%">
|
|
<tr>
|
|
<td rowspan="2" valign="top" width="50"><img src="{'vtlib_modmng.gif'|resourcever}" alt="{$MOD.LBL_USERS}" title="{$MOD.LBL_USERS}" border="0" height="48" width="48"></td>
|
|
<td class="heading2" valign="bottom"><b>{$MOD.LBL_SETTINGS} > {$MOD.VTLIB_LBL_MODULE_MANAGER} > {$APP.LBL_IMPORT} </b></td> <!-- crmv@30683 -->
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="small" valign="top">{$MOD.VTLIB_LBL_MODULE_MANAGER_DESCRIPTION}</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
<table border="0" cellpadding="10" cellspacing="0" width="100%">
|
|
<tr>
|
|
<td>
|
|
<div id="vtlib_modulemanager_import_div">
|
|
<form method="POST" action="index.php" enctype="multipart/form-data">
|
|
<input type="hidden" name="__csrf_token" value="{$CSRF_TOKEN}"> {* crmv@171581 *}
|
|
<table class='tableHeading' cellpadding=5 cellspacing=0 border=0 width=100%>
|
|
<tr>
|
|
<td class='big' colspan=2><b>{$MOD.VTLIB_LBL_SELECT_PACKAGE_FILE}</b></td>
|
|
</tr>
|
|
</table>
|
|
<table cellpadding=5 cellspacing=0 border=0 width=100%>
|
|
<tr valign=top>
|
|
<td class='cellLabel small'>
|
|
<font color=red>*</font> <b>{$MOD.VTLIB_LBL_FILE_LOCATION}</b>
|
|
</td>
|
|
<td class='cellText small'>
|
|
<input type="file" class="small" name="module_zipfile" size=50>
|
|
<p>
|
|
{$MOD.VTLIB_LBL_PACKAGE_FILE_HELP}
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table class='tableHeading' cellpadding=5 cellspacing=0 border=0 width=100%>
|
|
<tr valign=top>
|
|
<td class='cellText small' colspan=2 align=right>
|
|
<input type="hidden" name="module" value="Settings">
|
|
<input type="hidden" name="action" value="ModuleManager">
|
|
<input type="hidden" name="module_import" value="Step2">
|
|
<input type="hidden" name="parenttab" value="Settings">
|
|
|
|
<input type="submit" class="crmbutton small edit" value="{$APP.LBL_IMPORT}" onclick="return modulemanager_import_validate(this.form)">
|
|
<input type="submit" class="crmbutton small delete" value="{$APP.LBL_CANCEL_BUTTON_LABEL}"
|
|
onclick="this.form.module_import.value='';">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- End of Display -->
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
</td>
|
|
<td valign="top"></td>
|
|
</tr>
|
|
</table>
|
|
<br> |