| 272 | | <tr class="pm_opts" <?php echo $privacyman == '0' ? 'style="display:none"':''?>> |
|---|
| 273 | | <td><a href="#" class="info"><?php echo _("Max attempts")?><span><?php echo _('This sets the amount of atempts the caller has to enter a valid callerID')?></span></a>:</td> |
|---|
| 274 | | <td> |
|---|
| 275 | | <select name="pmmaxretries" tabindex="<?php echo ++$tabindex;?>"> |
|---|
| 276 | | <?php |
|---|
| 277 | | if(!isset($pmmaxretries)){$pmmaxretries=3;} |
|---|
| 278 | | for($i=1;$i<11;$i++){ |
|---|
| 279 | | echo '<option value="'.$i.'"'.($pmmaxretries == $i ? 'SELECTED' : '').' >'.$i.'</option>'; |
|---|
| 280 | | } |
|---|
| 281 | | ?> |
|---|
| 282 | | </select> |
|---|
| 283 | | </td> |
|---|
| 284 | | </tr> |
|---|
| 285 | | <tr class="pm_opts" <?php echo $privacyman == '0' ? 'style="display:none"':''?>> |
|---|
| 286 | | <td><a href="#" class="info"><?php echo _("Min Length")?><span><?php echo _('This sets the minimum amount of digits a callerID needs to contain in order to be valid')?></span></a>:</td> |
|---|
| 287 | | <td> |
|---|
| 288 | | <select name="pmminlength" tabindex="<?php echo ++$tabindex;?>"> |
|---|
| 289 | | <?php |
|---|
| 290 | | if(!isset($pmminlength)){$pmminlength=10;} |
|---|
| 291 | | for($i=1;$i<16;$i++){ |
|---|
| 292 | | echo '<option value="'.$i.'"'.($pmminlength == $i ? 'SELECTED' : '').' >'.$i.'</option>'; |
|---|
| 293 | | } |
|---|
| 294 | | ?> |
|---|
| 295 | | </select> |
|---|
| 296 | | </td> |
|---|
| 297 | | </tr> |
|---|
| | 272 | |
|---|