Beispiel #1
0
	<!-- pstn -->
    <?php 
if ($User->settings->enablePSTN == 1) {
    ?>
	<tr>
    	<td><?php 
    print _("PSTN");
    ?>
</td>
    	<td>
        	<select class="form-control input-sm input-w-auto" name="pstn">
            <?php 
    foreach (array(0, 1, 2, 3) as $p) {
        $selected = $p == $user['pstn'] ? "selected" : "";
        print "<option value='{$p}' {$selected}>" . $Subnets->parse_permissions($p) . "</option>";
    }
    ?>
        	</select>
    	</td>
		<td class="info2"><?php 
    print _('Select to allow user to manage PSTN numbers');
    ?>
</td>
	</tr>
    <?php 
}
?>

	<!-- Custom -->
	<?php