mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-27 08:38:46 +00:00
81 lines
2.2 KiB
Smarty
81 lines
2.2 KiB
Smarty
{*
|
|
/*************************************
|
|
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
************************************/
|
|
*}
|
|
{* crmv@96450 *}
|
|
|
|
<script type="text/javascript" src="{"modules/Settings/ProcessMaker/resources/ActionTaskScript.js"|resourcever}"></script>
|
|
|
|
{* javascript for the module maker *}
|
|
<script type="text/javascript" src="modules/Settings/ModuleMaker/ModuleMaker.js"></script>
|
|
<script type="text/javascript">
|
|
{literal}
|
|
var parentAjaxCall = ModuleMakerFields.ajaxCall;
|
|
ModuleMakerFields.ajaxCall = function(action, params, callback, options) {
|
|
if (typeof(options) == 'object') options.processMakerMode = true; else options = {processMakerMode:true};
|
|
parentAjaxCall.call(ModuleMakerFields, action, params, callback, options);
|
|
}
|
|
{/literal}
|
|
</script>
|
|
|
|
{* some CSS *}
|
|
<style type="text/css">
|
|
{literal}
|
|
.mmaker_step_field_cell {
|
|
min-height: 40px;
|
|
height: 40px;
|
|
}
|
|
.floatingDiv {
|
|
display:none;
|
|
position: fixed;
|
|
}
|
|
.floatingHandle {
|
|
padding: 5px;
|
|
cursor: move;
|
|
}
|
|
.newFieldMnu {
|
|
text-decoration: none;
|
|
color: black;
|
|
display: block;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
padding-left: 5px;
|
|
background-repeat: no-repeat;
|
|
background-position: left;
|
|
}
|
|
.newFieldMnuSelected {
|
|
background-color: #0099ff;
|
|
color: white;
|
|
}
|
|
.newfieldprop {
|
|
display:none;
|
|
}
|
|
{/literal}
|
|
</style>
|
|
|
|
{* include blocks table *}
|
|
<div id="mmaker_div_allblocks">
|
|
{if $MODE eq 'openimportdynaformblocks'}
|
|
{* crmv@160837 some code removed *}
|
|
{foreach key=DYNAELEMENT item=STEPVARS from=$STEPVARS_ARR}
|
|
<br>
|
|
<table class="tableHeading" width="100%" border="0" cellspacing="0" cellpadding="5">
|
|
<tr>
|
|
<td class="dvInnerHeader">
|
|
<input type="checkbox" class="small" id="importall_{$DYNAELEMENT}" name="importall_{$DYNAELEMENT}" onChange="ProcessHelperScript.checkAllDynaformBlocks('{$DYNAELEMENT}',this.checked)" />
|
|
<strong><label for="importall_{$DYNAELEMENT}">{$TITLES[$DYNAELEMENT]}</label></strong>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
{include file="Settings/ModuleMaker/Step2Fields.tpl"}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{/foreach}
|
|
{else}
|
|
{include file="Settings/ModuleMaker/Step2Fields.tpl"}
|
|
{/if}
|
|
</div> |