📄 emailsettings.html.svn-base
字号:
<!-- * Asterisk-GUI - an Asterisk configuration interface * * VoiceMail->Email Template Settings * * Copyright (C) 2006-2007, Digium, Inc. * * Pari Nannapaneni <pari@digium.com> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the maintainers of this project for assistance; * the project provides a web site, mailing lists and IRC * channels for your use. * * This program is free software, distributed under the terms of * the GNU General Public License Version 2. See the LICENSE file * at the top of the source tree. *--><script src="scripts/prototype.js"></script><script src="scripts/astman.js"></script><script src="scripts/tooltip.js"></script><link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" /><script>var vmfields = ['serveremail','emailsubject','emailbody','save','cancel'];var vmwidgets = {};var voicemailcallbacks = {};voicemailcallbacks.savechanges = function(){ var t = _$('emailbody').value ; var r = t.split('\\n'); _$('emailbody').value = r.join('\r\n'); }voicemailcallbacks.beforeSaving = function() { var r = _$('emailbody').value.split('\n'); var s = r.join('\\n'); _$('emailbody').value = s; return true;}voicemailcallbacks.format = function(t) { if (t.name != 'general') return null; return "General";}voicemailcallbacks.loaded = function() { _$('hiddenvoicemail').selectitem(0) ; var t = _$('emailbody').value ; var r = t.split('\\n'); _$('emailbody').value = r.join('\r\n'); parent.loadscreen(this);}function localajaxinit(){ for (var x =0; x< vmfields.length; x++) { vmwidgets[vmfields[x]] = _$(vmfields[x]); vmwidgets[vmfields[x]].disabled = true; } parent.astmanEngine.config2list("voicemail.conf", _$('hiddenvoicemail'), vmwidgets, voicemailcallbacks);}</script><body id="foo" onload="localajaxinit()" bgcolor="EFEFEF"><div class="mainscreenTitleBar"> <span style="margin-left: 4px;font-weight:bold;">Settings for Voicemail notification Emails </span> <span style="cursor: pointer; cursor: hand;" onclick="window.location.href=window.location.href;" > <img src="images/refresh.png" title=" Refresh " border=0 > </span></div><div><select id="hiddenvoicemail" style="display:none"></select><table align="center" cellpadding=2 cellspacing=1 border=0><TR> <TD colspan=2 align=center height=33 valign=middle><B>Template for Voicemail Emails </B></TD></TR><TR> <TD align=right>From</TD> <TD><input type="text" id="serveremail" size=45></TD></TR><TR> <TD align=right>Subject</TD> <TD><input type="text" id="emailsubject" size=45></TD></TR><TR> <TD valign=top>Message</TD> <TD><textarea id="emailbody" rows=10 cols=55></textarea></TD></TR><TR> <TD colspan=2 align=center> <input type="button" id="save" value="Save"> <input type="button" id="cancel" value="Cancel"> </TD></TR></table><BR><table align="center" cellpadding=2 cellspacing=1 border=0><TR> <TD valign=top align=center style="font-size:10px;"><B>Template Variables:</B></TD> <TD style="font-size : 11px;">\t : TAB</TD></TR><TR> <TD></TD> <TD style="font-size : 11px;">{VM_NAME} : Recipient's firstname and lastname</TD></TR><TR> <TD></TD> <TD style="font-size : 11px;">{VM_DUR} : The duration of the voicemail message</TD></TR><TR> <TD></TD> <TD style="font-size : 11px;">{VM_MAILBOX} : The recipient's extension</TD></TR><TR> <TD></TD> <TD style="font-size : 11px;">{VM_CALLERID} : The caller id of the person who left the message</TD></TR><TR> <TD></TD> <TD style="font-size : 11px;">{VM_MSGNUM} : The message number in your mailbox</TD></TR><TR> <TD></TD> <TD style="font-size : 11px;">{VM_DATE} : The date and time the message was left</TD></TR></table></div></body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -