?>
</option>
<?php 
    }
    ?>
				</select>
		</fieldset>
	</div>
	<h2>Members</h2>
	<div class="vbx-full-pane">
		<?php 
    echo AppletUI::DropZone('pass');
    ?>
	</div>
	<h2>Non-members</h2>
	<div class="vbx-full-pane">
		<?php 
    echo AppletUI::DropZone('fail');
    ?>
	</div>
<?php 
} else {
    ?>
	<div class="vbx-full-pane">
		<h3>You need to create a subscription list first.</h3>
	</div>
<?php 
}
?>
</div>
Esempio n. 2
0
    } else {
        ?>
		<p>Use %sender% to substitute the sender's number, %number% for the number texted or %body% for the message body.</p>
<?php 
    }
    ?>
		<fieldset class="vbx-input-container">
			<textarea name="sms" class="medium"><?php 
    echo AppletInstance::getValue('sms');
    ?>
</textarea>
		</fieldset>
	</div>
	<h2>Next</h2>
	<p>After sending the message, continue to the next applet</p>
	<div class="vbx-full-pane">
		<?php 
    echo AppletUI::DropZone('next');
    ?>
	</div>
<?php 
} else {
    ?>
	<div class="vbx-full-pane">
		<h3>You do not have any phone numbers!</h3>
	</div>
<?php 
}
?>
</div>
Esempio n. 3
0
			<a href="#" class="timing-<?php 
        echo $state;
        ?>
"><?php 
        echo $state;
        ?>
</a>
			<br class="clear"/>
		</div>
<?php 
    }
    ?>
	</div>

	<h3>Open applet.</h3>
	<div class="vbx-full-pane">
		<p>When someone calls or SMS while open, use the applet below.</p>
		<?php 
    echo AppletUI::DropZone('open', 'Open');
    ?>
	</div>
	<h3>Closed applet.</h3>
	<div class="vbx-full-pane">
		<p>When someone calls or SMS while closed, use the applet below.</p>
		<?php 
    echo AppletUI::DropZone('closed', 'Closed');
    ?>
	</div>
</div>
<?php 
}
Esempio n. 4
0

<div class="vbx-applet openvbx-zendesk-applet">
    <h2>This applet creates a ticket in ZenDesk for calls</h2>
    <p>Enter in the URL subdomain you use for Desk</p>
    <textarea class="small" name="subdomain"><?php 
echo AppletInstance::getValue('subdomain');
?>
</textarea>
    <p>Enter in the ZenDesk API Token</p>
    <textarea class="small" name="apitoken"><?php 
echo AppletInstance::getValue('apitoken');
?>
</textarea>
   <p>Enter in the email address</p>
    <textarea class="small" name="email"><?php 
echo AppletInstance::getValue('email');
?>
</textarea>

 <br />
    <h2> Select An Action for The Caller</h2>
    <?php 
echo AppletUI::DropZone('primary');
?>
</div>

Esempio n. 5
0
	</div><!-- .vbx-split-pane -->

	<h3>Limit</h3>
	<div class="vbx-full-pane">
		<fieldset class="vbx-input-container">
			<p>Phone numbers exceeding this limit within the duration will be blocked</p>
			<textarea name="limit" placeholder='10'><?php 
echo AppletInstance::getValue('limit');
?>
</textarea>
		</fieldset>
	</div><!-- .vbx-split-pane -->
	
	<h2>Next</h2>
	<p>Go to the next applet if the number hasn't exceeded the limit</p>
	<div class="vbx-full-pane">
		<?php 
echo AppletUI::DropZone('unblocked');
?>
	</div><!-- .vbx-full-pane -->

	<h2>Next - if limit exceeds</h2>
	<p>Go to the next applet if the number has exceeded the limit</p>
	<div class="vbx-full-pane">
		<?php 
echo AppletUI::DropZone('blocked');
?>
	</div><!-- .vbx-full-pane -->

</div><!-- .vbx-applet -->
Esempio n. 6
0
					<input type="radio" class='no-answer-action-radio' name="no-answer-action" value="redirect" <?php 
echo $no_answer_action === 'redirect' ? 'checked="checked"' : '';
?>
 />
				</td>
				<td class="content-cell" style="vertical-align: middle;">
					<table><tr style="border-bottom-width: 0px;">
						<td align="left" style="vertical-align: middle;"><h4>Go to</h4></td>
						<td align="right">
							<?php 
echo AppletUI::DropZone('no-answer-redirect');
?>
						</td>
					</tr></table>
				</td>
			</tr>
		</table>
	</div>
	<div class="vbx-full-pane nobody-answers-number <?php 
echo $dial_whom_selector === 'number' ? '' : 'hide';
?>
">
		<?php 
echo AppletUI::DropZone('no-answer-redirect-number');
?>
	</div>
												
	<!-- Set the version of this applet -->
	<input type="hidden" name="version" value="3" />
</div><!-- .vbx-applet -->
Esempio n. 7
0
		<h3>Query URL:</h3>
		<br />
		<div class="vbx-full-pane">
			<input class="curling_url medium" name="url" value="<?php 
echo $url;
?>
"/>
			<!--<a href="#" onclick="return false" class="normal-button" id="curling_url_test"><span>Test URL Query</span></a>-->
			<br />
		</div>
		</fieldset>
		<div id="curl_result"></div>
		<h3>After reading the result...</h3>
		<br />
		<div class="vbx-full-pane">
			<?php 
echo AppletUI::dropZone('next');
?>
		</div>
	</div>
	
	<div class="more-settings">
		<h3>If it doesn't work...</h3>
	    <br />
		<div class="vbx-full-pane">
	        <?php 
echo AppletUI::DropZone('fallback');
?>
		</div>
	</div>
</div>