Esempio n. 1
0
echo $showGroupVoicemailPrompt ? 'hide' : '';
?>
">
						<h4>Take a voicemail</h4>
					</div>
					<div class="group-voicemail <?php 
echo $showGroupVoicemailPrompt ? '' : 'hide';
?>
">
						<table><tr style="border-bottom-width: 0px;">
							<td align="left" style="vertical-align: middle;"><h4>Take a voicemail</h4></td>
							<td>&nbsp;&nbsp;&nbsp;</td>
							<td style="width: 100%; vertical-align: middle; text-align: right;">
								<label><b>Personalized Greeting</b>
								<?php 
echo AppletUI::AudioSpeechPicker('no-answer-group-voicemail', 'No one is currently available to take your call, please leave a message after the beep.');
?>
								</label>
							</td>
						</tr></table>
					</div>
				</td>
			</tr>
			<tr class="radio-table-row last <?php 
echo $no_answer_action === 'redirect' ? 'on' : 'off';
?>
">
				<td class="radio-cell">
					<input type="radio" class='no-answer-action-radio' name="no-answer-action" value="redirect" <?php 
echo $no_answer_action === 'redirect' ? 'checked="checked"' : '';
?>
Esempio n. 2
0
<?php

// get the current owner (user or group) to decide if we should show the Prompt area on load
$currentlyIsUser = AppletInstance::getUserGroupPickerValue('permissions') instanceof VBX_User;
?>

<div class="vbx-applet voicemail-applet">

		<div class="prompt-for-group" style="display: <?php 
echo $currentlyIsUser ? "none" : "";
?>
">
			<h2>Prompt</h2>
			<p>What will the caller hear before leaving their message?</p>
			<?php 
echo AppletUI::AudioSpeechPicker('prompt');
?>
		</div>
		
		<div class="prompt-for-individual" style="display: <?php 
echo !$currentlyIsUser ? "none" : "";
?>
">
			<h2>Prompt</h2>
			
			<div class="vbx-full-pane">
				<fieldset class="vbx-input-container">
					The individual's personal voicemail greeting will be played.
				</fieldset>
			</div>
		</div>
Esempio n. 3
0
echo $showGroupVoicemailPrompt ? 'hide' : '';
?>
">
						<h4>Take a voicemail</h4>
					</div>
					<div class="group-voicemail <?php 
echo $showGroupVoicemailPrompt ? '' : 'hide';
?>
">
						<table><tr style="border-bottom-width: 0px;">
							<td align="left" style="vertical-align: middle;"><h4>Take a voicemail</h4></td>
							<td>&nbsp;&nbsp;&nbsp;</td>
							<td style="width: 100%; vertical-align: middle; text-align: right;">
								<label><b>Personalized Greeting</b>
								<?php 
echo AppletUI::AudioSpeechPicker('no-answer-group-voicemail');
?>
								</label>
							</td>
						</tr></table>
					</div>
				</td>
			</tr>
			<tr class="radio-table-row last <?php 
echo $no_answer_action === 'redirect' ? 'on' : 'off';
?>
">
				<td class="radio-cell">
					<input type="radio" class='no-answer-action-radio' name="no-answer-action" value="redirect" <?php 
echo $no_answer_action === 'redirect' ? 'checked="checked"' : '';
?>