-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
Conflicts: merling+.zip
- Loading branch information
Showing
9 changed files
with
760 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
76 changes: 76 additions & 0 deletions
76
updates/files/layouts/vlayout/modules/Vtiger/SendSMSForm.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{*<!-- | ||
/********************************************************************************* | ||
** The contents of this file are subject to the vtiger CRM Public License Version 1.0 | ||
* ("License"); You may not use this file except in compliance with the License | ||
* The Original Code is: vtiger CRM Open Source | ||
* The Initial Developer of the Original Code is vtiger. | ||
* Portions created by vtiger are Copyright (C) vtiger. | ||
* All Rights Reserved. | ||
* | ||
********************************************************************************/ | ||
-->*} | ||
{strip} | ||
<div id="sendSmsContainer" class='modelContainer modal fade' tabindex="-1" style="text-align: right;"> | ||
<div class="modal-dialog modal-lg"> | ||
<div class="modal-content"> | ||
<div class="modal-header contentsBackground"> | ||
<button data-dismiss="modal" class="close" title="{vtranslate('LBL_CLOSE')}">×</button> | ||
<h3 class="modal-title">{vtranslate('LBL_SEND_SMS_TO_SELECTED_NUMBERS', $MODULE)}</h3> | ||
</div> | ||
<form class="form-horizontal" id="massSave" method="post" action="index.php"> | ||
<input type="hidden" name="module" value="{$MODULE}" /> | ||
<input type="hidden" name="source_module" value="{$SOURCE_MODULE}" /> | ||
<input type="hidden" name="action" value="MassSaveAjax" /> | ||
<input type="hidden" name="viewname" value="{$VIEWNAME}" /> | ||
<input type="hidden" name="selected_ids" value={ZEND_JSON::encode($SELECTED_IDS)}> | ||
<input type="hidden" name="excluded_ids" value={ZEND_JSON::encode($EXCLUDED_IDS)}> | ||
<input type="hidden" name="search_key" value= "{$SEARCH_KEY}" /> | ||
<input type="hidden" name="operator" value="{$OPERATOR}" /> | ||
<input type="hidden" name="search_value" value="{$ALPHABET_VALUE}" /> | ||
<input type="hidden" name="search_params" value='{ZEND_JSON::encode($SEARCH_PARAMS)}' /> | ||
|
||
<div class="modal-body tabbable"> | ||
<div> | ||
<span><strong>{vtranslate('LBL_STEP_0',$MODULE)}</strong></span> | ||
: | ||
{vtranslate('LBL_TYPE_THE_SRC_NUMBER',$MODULE)} ( {vtranslate('LBL_SMS_SRC_MAX_CHARACTERS_ALLOWED',$MODULE)} ) | ||
</div> | ||
<input type="text" class="input-xxlarge" name="sourceNumber" id="sourceNumber" placeholder="{vtranslate('SMS_SRC_NUMBER', $MODULE)}"></input> | ||
<hr> | ||
<div> | ||
<span><strong>{vtranslate('LBL_STEP_1',$MODULE)}</strong></span> | ||
: | ||
{vtranslate('LBL_SELECT_THE_PHONE_NUMBER_FIELDS_TO_SEND',$MODULE)} | ||
</div> | ||
<select name="fields[]" data-placeholder="{vtranslate('LBL_ADD_MORE_FIELDS',$MODULE)}" multiple class="chzn-select form-control"> | ||
<optgroup> | ||
{foreach item=PHONE_FIELD from=$PHONE_FIELDS} | ||
{assign var=PHONE_FIELD_NAME value=$PHONE_FIELD->get('name')} | ||
<option value="{$PHONE_FIELD_NAME}"> | ||
{if !empty($SINGLE_RECORD)} | ||
{assign var=FIELD_VALUE value=$SINGLE_RECORD->get($PHONE_FIELD_NAME)} | ||
{/if} | ||
{vtranslate($PHONE_FIELD->get('label'), $SOURCE_MODULE)}{if !empty($FIELD_VALUE)} ({$FIELD_VALUE}){/if} | ||
</option> | ||
{/foreach} | ||
</optgroup> | ||
</select> | ||
<hr> | ||
<div> | ||
<span><strong>{vtranslate('LBL_STEP_2',$MODULE)}</strong></span> | ||
: | ||
{vtranslate('LBL_TYPE_THE_MESSAGE',$MODULE)} ( {vtranslate('LBL_SMS_MAX_CHARACTERS_ALLOWED',$MODULE)} ) | ||
</div> | ||
<textarea class="input-xxlarge form-control" name="message" id="message" placeholder="{vtranslate('LBL_WRITE_YOUR_MESSAGE_HERE', $MODULE)}"></textarea> | ||
</div> | ||
<div class="modal-footer"> | ||
<div class=" pull-right cancelLinkContainer"> | ||
<a class="cancelLink" type="reset" data-dismiss="modal">{vtranslate('LBL_CANCEL', $MODULE)}</a> | ||
</div> | ||
<button class="btn btn-success" type="submit" name="saveButton"><strong>{vtranslate('LBL_SEND', $MODULE)}</strong></button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
{/strip} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.