mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
139 lines
7.5 KiB
Smarty
139 lines
7.5 KiB
Smarty
{*
|
|
/*************************************
|
|
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
************************************/
|
|
*}
|
|
|
|
{if $NOTIFY_DETAILS.type eq "select"}
|
|
<div id="orgLay" class="layerPopup">
|
|
<table border=0 cellspacing=0 cellpadding=5 width=100% class=layerHeadingULine>
|
|
<tr>
|
|
<td class="layerPopupHeading" align="left">{$NOTIFY_DETAILS.name}</td>
|
|
<td align="right" class="small"><a href="javascript:hide('editdiv');"><img
|
|
src="{'close.gif'|resourcever}" align="middle" border="0"></a></td>
|
|
</tr>
|
|
</table>
|
|
<table border=0 cellspacing=0 cellpadding=5 width=95% align=center>
|
|
<tr>
|
|
<td class="small">
|
|
<table border=0 celspacing=0 cellpadding=5 width=100% align=center bgcolor=white>
|
|
<tr>
|
|
<td align="right" class="cellLabel small" width="40%"><b>{$MOD.LBL_STATUS} :</b></td>
|
|
<td align="left" class="cellText small" width="60%">
|
|
<!-- crmv@10488-->
|
|
<select class="small" id="notify_status">
|
|
<!-- crmv@10488e-->
|
|
{if $NOTIFY_DETAILS.active eq 1}
|
|
<option value="1"
|
|
"selected">{$MOD.LBL_ACTIVE}</option>
|
|
<option value="0">{$MOD.LBL_INACTIVE}</option>
|
|
{else}
|
|
<option value="1">{$MOD.LBL_ACTIVE}</option>
|
|
<option value="0"
|
|
"selected">{$MOD.LBL_INACTIVE}</option>
|
|
{/if}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="dvInnerHeader">
|
|
<b>{$MOD.LBL_SELECT_EMAIL_TEMPLATE_FOR} {$NOTIFY_DETAILS.name}</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right" class="cellLabel small"><b>{$MOD.LBL_TEMPLATE} : </b></td>
|
|
<td align="left" class="cellText small">
|
|
<input type="hidden" id="notifysubject" value="aaaa">
|
|
<select class="small" id="notifybody">
|
|
|
|
{foreach from=$VALUES key=k item=v}
|
|
{if $k eq $SEL_ID}
|
|
<option value="{$k}" selected>{$v}</option>
|
|
{else}
|
|
<option value="{$k}">{$v}</option>
|
|
{/if}
|
|
{/foreach}
|
|
|
|
</select>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table border=0 cellspacing=0 cellpadding=5 width=100% class="layerPopupTransport">
|
|
<tr>
|
|
<td class="small" align="center">
|
|
<input name="save" value=" {$APP.LBL_SAVE_BUTTON_LABEL} " class="crmButton small save" type="button"
|
|
onClick="fetchSaveNotify('{$NOTIFY_DETAILS.id}')">
|
|
<input name="cancel" value=" {$APP.LBL_CANCEL_BUTTON_LABEL} " class="crmButton small cancel"
|
|
type="button" onClick="hide('editdiv');">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
{else}
|
|
<div id="orgLay" class="layerPopup">
|
|
<table border=0 cellspacing=0 cellpadding=5 width=100% class=layerHeadingULine>
|
|
<tr>
|
|
<td class="layerPopupHeading" align="left">{$NOTIFY_DETAILS.name}</td>
|
|
<td align="right" class="small"><a href="javascript:hide('editdiv');"><img
|
|
src="{'close.gif'|resourcever}" align="middle" border="0"></a></td>
|
|
</tr>
|
|
</table>
|
|
<table border=0 cellspacing=0 cellpadding=5 width=95% align=center>
|
|
<tr>
|
|
<td class="small">
|
|
<table border=0 celspacing=0 cellpadding=5 width=100% align=center bgcolor=white>
|
|
<tr>
|
|
<td align="right" class="cellLabel small" width="40%"><b>{$MOD.LBL_STATUS} :</b></td>
|
|
<td align="left" class="cellText small" width="60%">
|
|
<!-- crmv@10488-->
|
|
<select class="small" id="notify_status">
|
|
<!-- crmv@10488e-->
|
|
{if $NOTIFY_DETAILS.active eq 1}
|
|
<option value="1"
|
|
"selected">{$MOD.LBL_ACTIVE}</option>
|
|
<option value="0">{$MOD.LBL_INACTIVE}</option>
|
|
{else}
|
|
<option value="1">{$MOD.LBL_ACTIVE}</option>
|
|
<option value="0"
|
|
"selected">{$MOD.LBL_INACTIVE}</option>
|
|
{/if}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="dvInnerHeader"><b>{$MOD.LBL_EMAIL_CONTENTS}</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right" class="cellLabel small"><b>{$MOD.LBL_SUBJECT} : </b></td>
|
|
<td align="left" class="cellText small"><input class="txtBox" id="notifysubject"
|
|
name="notifysubject"
|
|
value="{$NOTIFY_DETAILS.subject}" size="40"
|
|
type="text"></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right" class="cellLabel small" valign="top"><b>{$MOD.LBL_MESSAGE} : </b></td>
|
|
<td align="left" class="cellText small"><textarea id="notifybody" name="notifybody"
|
|
class="txtBox" rows="5"
|
|
cols="40">{$NOTIFY_DETAILS.body}</textarea>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table border=0 cellspacing=0 cellpadding=5 width=100% class="layerPopupTransport">
|
|
<tr>
|
|
<td class="small" align="center">
|
|
<input name="save" value=" {$APP.LBL_SAVE_BUTTON_LABEL} " class="crmButton small save" type="button"
|
|
onClick="fetchSaveNotify('{$NOTIFY_DETAILS.id}')">
|
|
<input name="cancel" value=" {$APP.LBL_CANCEL_BUTTON_LABEL} " class="crmButton small cancel"
|
|
type="button" onClick="hide('editdiv');">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
{/if} |