Changeset 5919

Show
Ignore:
Timestamp:
07/05/08 18:58:08 (5 months ago)
Author:
lazytt
Message:

#2845 add tabindex to all items except those called via drawlistmenu or drawselect or other hooks. also missed page.routing.php

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.5/announcement/page.announcement.php

    r5762 r5919  
    9494                        <tr> 
    9595                                <td><a href="#" class="info"><?php echo _("Description")?>:<span><?php echo _("The name of this announcement")?></span></a></td> 
    96                                 <td><input size="15" type="text" name="description" value="<?php  echo $description; ?>"></td> 
     96                                <td><input size="15" type="text" name="description" value="<?php  echo $description; ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    9797                        </tr> 
    9898 
     
    101101                <td><a href="#" class="info"><?php echo _("Recording")?><span><?php echo _("Message to be played.<br>To add additional recordings use the \"System Recordings\" MENU to the left")?></span></a></td> 
    102102                <td> 
    103                         <select name="recording"
     103                        <select name="recording"  tabindex="<?php echo ++$tabindex;?>"
    104104                        <?php 
    105105                                $tresults = recordings_list(); 
     
    118118                <td><a href="#" class="info"><?php echo _("Repeat")?><span><?php echo _("Key to press that will allow for the message to be replayed. If you choose this option there will be a short delay inserted after the message. If a longer delay is needed it should be incoporated into the recording.")?></span></a></td> 
    119119                <td> 
    120                         <select name="repeat_msg"
     120                        <select name="repeat_msg"  tabindex="<?php echo ++$tabindex;?>"
    121121                        <?php 
    122122                                $default = isset($repeat_msg) ? $repeat_msg : ''; 
     
    136136        <tr> 
    137137                <td><a href="#" class="info"><?php echo _("Allow Skip")?><span><?php echo _("If the caller is allowed to press a key to skip the message.")?></span></a></td> 
    138                 <td><input type="checkbox" name="allow_skip" value="1" <?php echo ($allow_skip ? 'CHECKED' : ''); ?> /></td> 
     138                <td><input type="checkbox" name="allow_skip" value="1" tabindex="<?php echo ++$tabindex;?>" <?php echo ($allow_skip ? 'CHECKED' : ''); ?> /></td> 
    139139        </tr> 
    140140        <tr> 
    141141                <td><a href="#" class="info"><?php echo _("Return to IVR")?><span><?php echo _("If this announcement came from an IVR and this box is checked, the destination below will be ignored and instead it will return to the calling IVR. Otherwise, the destinatino below will be taken. Don't check if not using in this mode. <br>The IVR return location will be to the last IVR in the call chain that was called so be careful to only check when needed. For example, if an IVR directs a call to another destination which eventually calls this annoucement and this box is checked, it will return to that IVR which may not be the expected behavior.")?></span></a></td> 
    142                 <td><input type="checkbox" name="return_ivr" value="1" <?php echo ($return_ivr ? 'CHECKED' : ''); ?> /></td> 
     142                <td><input type="checkbox" name="return_ivr" value="1" tabindex="<?php echo ++$tabindex;?>" <?php echo ($return_ivr ? 'CHECKED' : ''); ?> /></td> 
    143143        </tr> 
    144144        <tr> 
    145145                <td><a href="#" class="info"><?php echo _("Don't Answer Channel")?><span><?php echo _("Check this to keep the channel from explicitly being answered. When checked, the message will be played and if the channel is not already answered it will be delivered as early media if the channel supports that. When not checked, the channel is answered followed by a 1 second delay. When using an annoucement from an IVR or other sources that have already answered the channel, that 1 second delay may not be desired.")?></span></a></td> 
    146                 <td><input type="checkbox" name="noanswer" value="1" <?php echo ($noanswer ? 'CHECKED' : ''); ?> /></td> 
     146                <td><input type="checkbox" name="noanswer" value="1" tabindex="<?php echo ++$tabindex;?>" <?php echo ($noanswer ? 'CHECKED' : ''); ?> /></td> 
    147147        </tr> 
    148148         
     
    155155                         
    156156                        <tr> 
    157                         <td colspan="2"><br><input name="Submit" type="submit" value="<?php echo _("Submit Changes")?>"
     157                        <td colspan="2"><br><input name="Submit" type="submit" value="<?php echo _("Submit Changes")?>" tabindex="<?php echo ++$tabindex;?>"
    158158                        <?php if ($extdisplay) { echo '&nbsp;<input name="delete" type="submit" value="'._("Delete").'">'; } ?> 
    159159                        </td>            
  • modules/branches/2.5/asterisk-cli/page.cli.php

    r4555 r5919  
    3636                <tr> 
    3737                        <td class="label" align="right"><?php echo _("Command:")?></td> 
    38                         <td class="type"><input name="txtCommand" type="text" size="70" value="<?php htmlspecialchars($txtCommand);?>"></td> 
     38                        <td class="type"><input name="txtCommand" type="text" size="70" value="<?php htmlspecialchars($txtCommand);?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    3939                </tr> 
    4040                 
     
    4242                        <td valign="top">   </td> 
    4343                        <td valign="top" class="label"> 
    44                                 <input type="submit" class="button" value="<?php echo _("Execute:")?>"
     44                                <input type="submit" class="button" value="<?php echo _("Execute:")?>" tabindex="<?php echo ++$tabindex;?>"
    4545                        </td> 
    4646                </tr> 
  • modules/branches/2.5/asteriskinfo/page.asteriskinfo.php

    r5721 r5919  
    176176        </table> 
    177177<tr> 
    178         <td colspan="2"><h6><input name="Submit" type="submit" value="<?php echo _("Refresh")?>"></h6></td> 
     178        <td colspan="2"><h6><input name="Submit" type="submit" value="<?php echo _("Refresh")?>" tabindex="<?php echo ++$tabindex;?>"></h6></td> 
    179179</tr> 
    180180</table> 
  • modules/branches/2.5/backup/schedule_functions.php

    r5905 r5919  
    338338        <tr> 
    339339                <td><a href="#" class="info"><?php echo _("Schedule Name:")?><span><?php echo _("Give this Backup Schedule a brief name to help you identify it.");?></span></a></td> 
    340                 <td><input type="text" name="name" value="<?php echo (isset($name) ? $name : ''); ?>"></td> 
     340                <td><input type="text" name="name" value="<?php echo (isset($name) ? $name : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    341341        </tr> 
    342342 
     
    344344                <td><a href="#" class="info"><?php echo _("VoiceMail");?><span><?php echo _("Backup the System VoiceMail Boxes... CAUTION: Could result in large file");?></span></a>: </td> 
    345345                <?php if ($voicemail == "yes"){?> 
    346                         <td><input type="radio" name="bk_voicemail" value="yes" checked=checked/> <?php echo _("yes");?> &nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="bk_voicemail" value="no"/> <?php echo _("no");?></td> 
     346                        <td><input type="radio" name="bk_voicemail" tabindex="<?php echo ++$tabindex;?>" value="yes" checked=checked /> <?php echo _("yes");?> &nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="bk_voicemail" value="no"/> <?php echo _("no");?></td> 
    347347                <?php } else{ ?> 
    348                         <td><input type="radio" name="bk_voicemail" value="yes" /> <?php echo _("yes");?> &nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="bk_voicemail" value="no" checked=checked/> <?php echo _("no");?></td> 
     348                        <td><input type="radio" name="bk_voicemail" tabindex="<?php echo ++$tabindex;?>" value="yes" /> <?php echo _("yes");?> &nbsp;&nbsp;&nbsp;&nbsp;<input type="radio" name="bk_voicemail" value="no" checked=checked/> <?php echo _("no");?></td> 
    349349                <?php } ?> 
    350350        </tr> 
  • modules/branches/2.5/callback/page.callback.php

    r5287 r5919  
    108108        <tr> 
    109109                <td><a href="#" class="info"><?php echo _("Callback Description:")?><span><?php echo _("Enter a description for this callback.")?></span></a></td> 
    110                 <td><input type="text" name="description" value="<?php echo (isset($thisItem['description']) ? $thisItem['description'] : ''); ?>"></td> 
     110                <td><input type="text" name="description" value="<?php echo (isset($thisItem['description']) ? $thisItem['description'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    111111        </tr> 
    112112        <tr> 
    113113                <td><a href="#" class="info"><?php echo _("Callback Number:")?><span><?php echo _("Optional: Enter the number to dial for the callback.  Leave this blank to just dial the incoming Caller ID Number")?></span></a></td> 
    114                 <td><input type="text" name="callbacknum" value="<?php echo (isset($thisItem['callbacknum']) ? $thisItem['callbacknum'] : ''); ?>"></td> 
     114                <td><input type="text" name="callbacknum" value="<?php echo (isset($thisItem['callbacknum']) ? $thisItem['callbacknum'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    115115        </tr> 
    116116        <tr> 
    117117                <td><a href="#" class="info"><?php echo _("Delay Before Callback:")?><span><?php echo _("Optional: Enter the number of seconds the system should wait before calling back.")?></span></a></td> 
    118                 <td><input size="3" type="text" name="sleep" value="<?php echo (isset($thisItem['sleep']) ? $thisItem['sleep'] : ''); ?>"></td> 
     118                <td><input size="3" type="text" name="sleep" value="<?php echo (isset($thisItem['sleep']) ? $thisItem['sleep'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    119119        </tr> 
    120120        <tr><td colspan="2"><br><h5><?php echo _("Destination after Callback")?>:<hr></h5></td></tr> 
     
    130130 
    131131        <tr> 
    132                 <td colspan="2"><br><h6><input name="submit" type="submit" value="<?php echo _("Submit Changes")?>"></h6></td>                 
     132                <td colspan="2"><br><h6><input name="submit" type="submit" value="<?php echo _("Submit Changes")?>" tabindex="<?php echo ++$tabindex;?>"></h6></td>            
    133133        </tr> 
    134134        </table> 
  • modules/branches/2.5/cidlookup/page.cidlookup.php

    r3204 r5919  
    101101        <tr> 
    102102                <td><a href="#" class="info"><?php echo _("Source Description:")?><span><?php echo _("Enter a description for this source.")?></span></a></td> 
    103                 <td><input type="text" name="description" value="<?php echo (isset($thisItem['description']) ? $thisItem['description'] : ''); ?>"></td> 
     103                <td><input type="text" name="description" value="<?php echo (isset($thisItem['description']) ? $thisItem['description'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    104104        </tr> 
    105105        <tr> 
    106106                <td><a href="#" class="info"><?php echo _("Source type:")?><span><?php echo _("Enter the source type, you can choose beetwen:<ul><li>Internal: use astdb as lookup source, use phonebook module to populate it</li><li>ENUM: Use DNS to lookup caller names, it uses ENUM lookup zones as configured in enum.conf</li><li>HTTP: It executes an HTTP GET passing the caller number as argument to retrieve the correct name</li><li>MySQL: It queryes a MySQL database to retrieve caller name</li></ul>")?></span></a></td> 
    107107                <td> 
    108                         <select id="sourcetype" name="sourcetype" onChange="javascript:displaySourceParameters(this, this.selectedIndex)"
     108                        <select id="sourcetype" name="sourcetype" onChange="javascript:displaySourceParameters(this, this.selectedIndex)" tabindex="<?php echo ++$tabindex;?>"
    109109                                <option value="internal" <?php echo ($thisItem['sourcetype'] == 'internal' ? 'selected' : '')?>>Internal</option> 
    110110                                <option value="enum" <?php echo ($thisItem['sourcetype'] == 'enum' ? 'selected' : '')?>>ENUM</option> 
     
    117117        <tr> 
    118118                <td><a href="#" class="info"><?php echo _("Cache results:")?><span><?php echo _("Decide wether or not cache the results to astDB; it will overwrite present values. It does not affect Internal source behaviour")?></span></a></td> 
    119                 <td><input type="checkbox" name="cache" value="1" <?php echo ($thisItem['cache'] == 1 ? 'checked' : ''); ?>"></td> 
     119                <td><input type="checkbox" name="cache" value="1" <?php echo ($thisItem['cache'] == 1 ? 'checked' : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    120120        </tr> 
    121121        <tr> 
     
    128128                                        <tr> 
    129129                                                <td width="50%"><a href="#" class="info"><?php echo _("Host:")?><span><?php echo _("Host name or IP address")?></span></a></td> 
    130                                                 <td><input type="text" name="http_host" value="<?php echo (isset($thisItem['http_host']) ? $thisItem['http_host'] : ''); ?>"></td> 
     130                                                <td><input type="text" name="http_host" value="<?php echo (isset($thisItem['http_host']) ? $thisItem['http_host'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    131131                                        </tr> 
    132132         
    133133                                        <tr> 
    134134                                                <td><a href="#" class="info"><?php echo _("Port:")?><span><?php echo _("Port HTTP server is listening at (default 80)")?></span></a></td> 
    135                                                 <td><input type="text" name="http_port" value="<?php echo (isset($thisItem['http_port']) ? $thisItem['http_port'] : ''); ?>"></td> 
     135                                                <td><input type="text" name="http_port" value="<?php echo (isset($thisItem['http_port']) ? $thisItem['http_port'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    136136                                        </tr> 
    137137                                         
    138138                                        <tr> 
    139139                                                <td><a href="#" class="info"><?php echo _("Username:")?><span><?php echo _("Username to use in HTTP authentication")?></span></a></td> 
    140                                                 <td><input type="text" name="http_username" value="<?php echo (isset($thisItem['http_username']) ? $thisItem['http_username'] : ''); ?>"></td> 
     140                                                <td><input type="text" name="http_username" value="<?php echo (isset($thisItem['http_username']) ? $thisItem['http_username'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    141141                                        </tr> 
    142142                                 
    143143                                        <tr> 
    144144                                                <td><a href="#" class="info"><?php echo _("Password:")?><span><?php echo _("Password to use in HTTP authentication")?></span></a></td> 
    145                                                 <td><input type="text" name="http_password" value="<?php echo (isset($thisItem['http_password']) ? $thisItem['http_password'] : ''); ?>"></td> 
     145                                                <td><input type="text" name="http_password" value="<?php echo (isset($thisItem['http_password']) ? $thisItem['http_password'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    146146                                        </tr> 
    147147                                 
    148148                                        <tr> 
    149149                                                <td><a href="#" class="info"><?php echo _("Path:")?><span><?php echo _("Path of the file to GET<br/>e.g.: /cidlookup.php")?></span></a></td> 
    150                                                 <td><input type="text" name="http_path" value="<?php echo (isset($thisItem['http_path']) ? $thisItem['http_path'] : ''); ?>"></td> 
     150                                                <td><input type="text" name="http_path" value="<?php echo (isset($thisItem['http_path']) ? $thisItem['http_path'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    151151                                        </tr> 
    152152                                 
    153153                                        <tr> 
    154154                                                <td><a href="#" class="info"><?php echo _("Query:")?><span><?php echo _("Query string, special token '[NUMBER]' will be replaced with caller number<br/>e.g.: number=[NUMBER]&source=crm")?></span></a></td> 
    155                                                 <td><input type="text" name="http_query" value="<?php echo (isset($thisItem['http_query']) ? $thisItem['http_query'] : ''); ?>"></td> 
     155                                                <td><input type="text" name="http_query" value="<?php echo (isset($thisItem['http_query']) ? $thisItem['http_query'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    156156                                        </tr> 
    157157                                </table> 
     
    167167                                        <tr> 
    168168                                                <td width="50%"><a href="#" class="info"><?php echo _("Host:")?><span><?php echo _("MySQL Host")?></span></a></td> 
    169                                                 <td><input type="text" name="mysql_host" value="<?php echo (isset($thisItem['mysql_host']) ? $thisItem['mysql_host'] : ''); ?>"></td> 
     169                                                <td><input type="text" name="mysql_host" value="<?php echo (isset($thisItem['mysql_host']) ? $thisItem['mysql_host'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    170170                                        </tr> 
    171171                                        <tr> 
    172172                                                <td><a href="#" class="info"><?php echo _("Database:")?><span><?php echo _("Database name")?></span></a></td> 
    173                                                 <td><input type="text" name="mysql_dbname" value="<?php echo (isset($thisItem['mysql_dbname']) ? $thisItem['mysql_dbname'] : ''); ?>"></td> 
     173                                                <td><input type="text" name="mysql_dbname" value="<?php echo (isset($thisItem['mysql_dbname']) ? $thisItem['mysql_dbname'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    174174                                        </tr> 
    175175                                        <tr> 
    176176                                                <td><a href="#" class="info"><?php echo _("Query:")?><span><?php echo _("Query, special token '[NUMBER]' will be replaced with caller number<br/>e.g.: SELECT name FROM phonebook WHERE number LIKE '%[NUMBER]%'")?></span></a></td> 
    177                                                 <td><input type="text" name="mysql_query" value="<?php echo (isset($thisItem['mysql_query']) ? $thisItem['mysql_query'] : ''); ?>"></td> 
     177                                                <td><input type="text" name="mysql_query" value="<?php echo (isset($thisItem['mysql_query']) ? $thisItem['mysql_query'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    178178                                        </tr> 
    179179                                 
    180180                                        <tr> 
    181181                                                <td><a href="#" class="info"><?php echo _("Username:")?><span><?php echo _("MySQL Username")?></span></a></td> 
    182                                                 <td><input type="text" name="mysql_username" value="<?php echo (isset($thisItem['mysql_username']) ? $thisItem['mysql_username'] : ''); ?>"></td> 
     182                                                <td><input type="text" name="mysql_username" value="<?php echo (isset($thisItem['mysql_username']) ? $thisItem['mysql_username'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    183183                                        </tr> 
    184184                                        <tr> 
    185185                                                <td><a href="#" class="info"><?php echo _("Password:")?><span><?php echo _("MySQL Password")?></span></a></td> 
    186                                                 <td><input type="text" name="mysql_password" value="<?php echo (isset($thisItem['mysql_password']) ? $thisItem['mysql_password'] : ''); ?>"></td> 
     186                                                <td><input type="text" name="mysql_password" value="<?php echo (isset($thisItem['mysql_password']) ? $thisItem['mysql_password'] : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    187187                                        </tr> 
    188188                                </table> 
     
    202202 
    203203        <tr> 
    204                 <td colspan="2"><br><h6><input name="submit" type="submit" value="<?php echo _("Submit Changes")?>"></h6></td>                 
     204                <td colspan="2"><br><h6><input name="submit" type="submit" value="<?php echo _("Submit Changes")?>" tabindex="<?php echo ++$tabindex;?>"></h6></td>            
    205205        </tr> 
    206206        </table> 
  • modules/branches/2.5/conferences/page.conferences.php

    r5762 r5919  
    115115<?php           } else { ?> 
    116116                <td><a href="#" class="info"><?php echo _("Conference Number:")?><span><?php echo _("Use this number to dial into the conference.")?></span></a></td> 
    117                 <td><input type="text" name="account" value=""></td> 
     117                <td><input type="text" name="account" value="" tabindex="<?php echo ++$tabindex;?>"></td> 
    118118<?php           } ?> 
    119119        </tr> 
    120120        <tr> 
    121121                <td><a href="#" class="info"><?php echo _("Conference Name:")?><span><?php echo _("Give this conference a brief name to help you identify it.")?></span></a></td> 
    122                 <td><input type="text" name="name" value="<?php echo (isset($description) ? $description : ''); ?>"></td> 
     122                <td><input type="text" name="name" value="<?php echo (isset($description) ? $description : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    123123        </tr> 
    124124        <tr> 
    125125                <td><a href="#" class="info"><?php echo _("User PIN:")?><span><?php echo _("You can require callers to enter a password before they can enter this conference.<br><br>This setting is optional.<br><br>If either PIN is entered, the user will be prompted to enter a PIN.")?></span></a></td> 
    126                 <td><input size="8" type="text" name="userpin" value="<?php echo (isset($userpin) ? $userpin : ''); ?>"></td> 
     126                <td><input size="8" type="text" name="userpin" value="<?php echo (isset($userpin) ? $userpin : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    127127        </tr> 
    128128        <tr> 
    129129                <td><a href="#" class="info"><?php echo _("Admin PIN:")?><span><?php echo _("Enter a PIN number for the admin user.<br><br>This setting is optional unless the 'leader wait' option is in use, then this PIN will identify the leader.")?></span></a></td> 
    130                 <td><input size="8" type="text" name="adminpin" value="<?php echo (isset($adminpin) ? $adminpin : ''); ?>"></td> 
     130                <td><input size="8" type="text" name="adminpin" value="<?php echo (isset($adminpin) ? $adminpin : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    131131        </tr> 
    132132 
     
    141141                <td><a href="#" class="info"><?php echo _("Join Message:")?><span><?php echo _("Message to be played to the caller before joining the conference.<br><br>To add additional recordings please use the \"System Recordings\" MENU to the left")?></span></a></td> 
    142142                <td> 
    143                         <select name="joinmsg"
     143                        <select name="joinmsg" tabindex="<?php echo ++$tabindex;?>"
    144144                        <?php 
    145145                                $tresults = recordings_list(); 
     
    169169                <td><a href="#" class="info"><?php echo _("Leader Wait:")?><span><?php echo _("wait until the conference leader (admin user) arrives before starting the conference")?></span></a></td> 
    170170                <td> 
    171                         <select name="opt#w"
     171                        <select name="opt#w" tabindex="<?php echo ++$tabindex;?>"
    172172                        <?php 
    173173                                $optselect = strpos($options, "w"); 
     
    181181                <td><a href="#" class="info"><?php echo _("Quiet Mode:")?><span><?php echo _("quiet mode (do not play enter/leave sounds)")?></span></a></td> 
    182182                <td> 
    183                         <select name="opt#q"
     183                        <select name="opt#q" tabindex="<?php echo ++$tabindex;?>"
    184184                        <?php 
    185185                                $optselect = strpos($options, "q"); 
     
    193193                <td><a href="#" class="info"><?php echo _("User Count:")?><span><?php echo _("announce user(s) count on joining conference")?></span></a></td> 
    194194                <td> 
    195                         <select name="opt#c"
     195                        <select name="opt#c" tabindex="<?php echo ++$tabindex;?>"
    196196                        <?php 
    197197                                $optselect = strpos($options, "c"); 
     
    205205                <td><a href="#" class="info"><?php echo _("User join/leave:")?><span><?php echo _("announce user join/leave")?></span></a></td> 
    206206                <td> 
    207                         <select name="opt#i"
     207                        <select name="opt#i" tabindex="<?php echo ++$tabindex;?>"
    208208                        <?php 
    209209                                $optselect = strpos($options, "i"); 
     
    217217                <td><a href="#" class="info"><?php echo _("Music on Hold:")?><span><?php echo _("enable music on hold when the conference has a single caller")?></span></a></td> 
    218218                <td> 
    219                         <select name="opt#M"
     219                        <select name="opt#M" tabindex="<?php echo ++$tabindex;?>"
    220220                        <?php 
    221221                                $optselect = strpos($options, "M"); 
     
    229229                <td><a href="#" class="info"><?php echo _("Allow Menu:")?><span><?php echo _("present menu (user or admin) when '*' is received ('send' to menu)")?></span></a></td> 
    230230                <td> 
    231                         <select name="opt#s"
     231                        <select name="opt#s" tabindex="<?php echo ++$tabindex;?>"
    232232                        <?php 
    233233                                $optselect = strpos($options, "s"); 
     
    242242                <td><a href="#" class="info"><?php echo _("Record Conference:")?><span><?php echo _("record the conference call")?></span></a></td> 
    243243                <td> 
    244                         <select name="opt#r"
     244                        <select name="opt#r" tabindex="<?php echo ++$tabindex;?>"
    245245                                <?php 
    246246                                $optselect = strpos($options, "r"); 
     
    253253 
    254254        <tr> 
    255                 <td colspan="2"><br><h6><input name="Submit" type="submit" value="<?php echo _("Submit Changes")?>"></h6></td>                 
     255                <td colspan="2"><br><h6><input name="Submit" type="submit" value="<?php echo _("Submit Changes")?>" tabindex="<?php echo ++$tabindex;?>"></h6></td>            
    256256        </tr> 
    257257        </table> 
  • modules/branches/2.5/core/page.ampusers.php

    r5323 r5919  
    168168                                        <a href=# class="info"><?php echo _("Username<span>Create a unique username for this new user</span>")?></a>:  
    169169                                </td><td> 
    170                                         <input type="text" size="20" name="username" value="<?php echo $username;?>"/> 
     170                                        <input type="text" size="20" name="username" value="<?php echo $username;?>" tabindex="<?php echo ++$tabindex;?>"/> 
    171171                                </td> 
    172172                        </tr> 
     
    175175                                        <a href=# class="info"><?php echo _("Password<span>Create a password for this new user</span>")?></a>:  
    176176                                </td><td> 
    177                                         <input type="password" size="20" name="password" value="<?php echo $password;?>"/> 
     177                                        <input type="password" size="20" name="password" value="<?php echo $password;?>" tabindex="<?php echo ++$tabindex;?>"/> 
    178178                                </td> 
    179179                        </tr> 
     
    188188                                        <a href=# class="info"><?php echo _("Department Name<span>Restrict this user's view of Digital Receptionist menus and System Recordings to only those for this department.</span>")?></a>:  
    189189                                </td><td> 
    190                                         <input type="text" size="20" name="deptname" value="<?php echo htmlspecialchars($deptname);?>"/> 
     190                                        <input type="text" size="20" name="deptname" value="<?php echo htmlspecialchars($deptname);?>" tabindex="<?php echo ++$tabindex;?>"/> 
    191191                                </td> 
    192192                        </tr> 
     
    195195                                        <a href=# class="info"><?php echo _("Extension Range<span>Restrict this user's view to only Extensions, Ring Groups, and Queues within this range.</span>")?></a>:  
    196196                                </td><td> 
    197                                         <input type="text" size="5" name="extension_low" value="<?php echo htmlspecialchars($extension_low);?>"/> 
     197                                        <input type="text" size="5" name="extension_low" value="<?php echo htmlspecialchars($extension_low);?>" tabindex="<?php echo ++$tabindex;?>"/> 
    198198                                        &nbsp;to 
    199                                         <input type="text" size="5" name="extension_high" value="<?php echo htmlspecialchars($extension_high);?>"/> 
     199                                        <input type="text" size="5" name="extension_high" value="<?php echo htmlspecialchars($extension_high);?>" tabindex="<?php echo ++$tabindex;?>"/> 
    200200                                </td> 
    201201                        </tr> 
     
    204204                                        <a href=# class="info"><?php echo _("Admin Access<span>Select the Admin Sections this user should have access to.</span>")?></a>:  
    205205                                </td><td> 
    206                                         <select multiple name="sections[]"
     206                                        <select multiple name="sections[]" tabindex="<?php echo ++$tabindex;?>"
    207207                                        <option /> 
    208208<?php  
     
    238238                        <tr> 
    239239                                <td colspan="2"> 
    240                                         <h6><input name="Submit" type="button" value="<?php echo _("Submit Changes")?>" onclick="checkAmpUser(ampuserEdit, '<?php echo ($userdisplay ? "editampuser" : "addampuser") ?>')"></h6> 
     240                                        <h6><input name="Submit" type="button" value="<?php echo _("Submit Changes")?>" onclick="checkAmpUser(ampuserEdit, '<?php echo ($userdisplay ? "editampuser" : "addampuser") ?>')" tabindex="<?php echo ++$tabindex;?>"></h6> 
    241241                                </td> 
    242242                        </tr> 
  • modules/branches/2.5/core/page.did.php

    r5904 r5919  
    153153                <tr> 
    154154                        <td><a href="#" class="info"><?php echo _("Description")?><span><?php echo _('Provide a meaningful description of what this incoming route is')?></span></a>:</td> 
    155                         <td><input type="text" name="description" value="<?php echo htmlspecialchars(isset($description)?$description:''); ?>"></td> 
     155                        <td><input type="text" name="description" value="<?php echo htmlspecialchars(isset($description)?$description:''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    156156                </tr> 
    157157                <tr> 
    158158                        <td><a href="#" class="info"><?php echo _("DID Number")?><span><?php echo _('Define the expected DID Number if your trunk passes DID on incoming calls. <br><br>Leave this blank to match calls with any or no DID info.<br><br>You can also use a pattern match (eg _2[345]X) to match a range of numbers')?></span></a>:</td> 
    159                         <td><input type="text" name="extension" value="<?php echo htmlspecialchars(isset($extension)?$extension:''); ?>"></td> 
     159                        <td><input type="text" name="extension" value="<?php echo htmlspecialchars(isset($extension)?$extension:''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    160160                </tr> 
    161161                <tr> 
    162162                        <td><a href="#" class="info"><?php echo _("Caller ID Number")?><span><?php echo _('Define the Caller ID Number to be matched on incoming calls.<br><br>Leave this field blank to match any or no CID info.')?></span></a>:</td> 
    163                         <td><input type="text" name="cidnum" value="<?php echo htmlspecialchars(isset($cidnum)?$cidnum:'') ?>"></td> 
     163                        <td><input type="text" name="cidnum" value="<?php echo htmlspecialchars(isset($cidnum)?$cidnum:'') ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    164164                </tr> 
    165165                <tr><td colspan="2"><h5><?php echo _("Fax Handling")?><hr></h5></td></tr> 
     
    169169                        </td> 
    170170                        <td> 
    171                                 <select name="faxexten"
     171                                <select name="faxexten" tabindex="<?php echo ++$tabindex;?>"
    172172<?php  
    173173// Cleaning up warnings. I should do this a better way. 
     
    205205                        </td> 
    206206                        <td> 
    207                                 <input type="text" size="20" name="faxemail" value="<?php echo htmlspecialchars($faxemail)?>"/> 
     207                                <input type="text" size="20" name="faxemail" value="<?php echo htmlspecialchars($faxemail)?>" tabindex="<?php echo ++$tabindex;?>"/> 
    208208                        </td> 
    209209                </tr> 
     
    211211                        <td><a href="#" class="info"><?php echo _("Fax Detection Type")?><span><?php echo _('Selecting Zaptel or NVFax will immediately answer the call and play ringing tones to the caller for the number of seconds in Pause below. Use NVFax on SIP or IAX trunks.')?></span></a>:</td> 
    212212                        <td> 
    213                                 <select name="answer"
     213                                <select name="answer" tabindex="<?php echo ++$tabindex;?>"
    214214                                        <option value="0" <?php  echo ($answer == '0' ? 'SELECTED' : '')?>><?php echo _("None")?> 
    215215                                        <option value="1" <?php  echo ($answer == '1' ? 'SELECTED' : '')?>><?php echo _("Zaptel")?> 
     
    220220                <tr> 
    221221                        <td><a href="#" class="info"><?php echo _("Pause After Answer")?><span><?php echo _('The number of seconds we should wait after performing an Immediate Answer. The primary purpose of this is to pause and listen for a fax tone before allowing the call to proceed.')?></span></a>:</td> 
    222                         <td><input type="text" name="wait" size="3" value="<?php echo isset($wait)?$wait:'' ?>"></td> 
     222                        <td><input type="text" name="wait" size="3" value="<?php echo isset($wait)?$wait:'' ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    223223                </tr> 
    224224<?php 
     
    231231                        <td><a href="#" class="info"><?php echo _("Privacy Manager")?><span><?php echo _('If no Caller ID is sent, Privacy Manager will asks the caller to enter their 10 digit phone number. The caller is given 3 attempts.')?></span></a>:</td> 
    232232                        <td> 
    233                                 <select name="privacyman"
     233                                <select name="privacyman" tabindex="<?php echo ++$tabindex;?>"
    234234                                        <option value="0" <?php  echo ($privacyman == '0' ? 'SELECTED' : '')?>><?php echo _("No")?> 
    235235                                        <option value="1" <?php  echo ($privacyman == '1' ? 'SELECTED' : '')?>><?php echo _("Yes")?> 
     
    241241                <tr> 
    242242                        <td><a href="#" class="info"><?php echo _("Alert Info")?><span><?php echo _('ALERT_INFO can be used for distinctive ring with SIP devices.')?></span></a>:</td> 
    243                         <td><input type="text" name="alertinfo" size="10" value="<?php echo ($alertinfo)?$alertinfo:'' ?>"></td> 
     243                        <td><input type="text" name="alertinfo" size="10" value="<?php echo ($alertinfo)?$alertinfo:'' ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    244244                </tr> 
    245245                <tr> 
    246246                        <td><a href="#" class="info"><?php echo _("CID name prefix")?>:<span><?php echo _('You can optionally prefix the Caller ID name. ie: If you prefix with "Sales:", a call from John Doe would display as "Sales:John Doe" on the extensions that ring.')?></span></a>:</td> 
    247                         <td><input type="text" name="grppre" size="10" value="<?php echo ($grppre)?$grppre:'' ?>"></td> 
     247                        <td><input type="text" name="grppre" size="10" value="<?php echo ($grppre)?$grppre:'' ?>" tabindex="<?php echo ++$tabindex;?>"></td> 
    248248                </tr> 
    249249<?php   if (function_exists('music_list')) { ?> 
     
    251251                        <td><a href="#" class="info"><?php echo _("Music On Hold?")?><span><?php echo _("Set the MoH class that will be used for calls that come in on this route. For example, choose a type appropriate for routes coming in from a country which may have announcements in their language.")?></span></a></td> 
    252252                        <td> 
    253                                 <select name="mohclass"
     253                                <select name="mohclass" tabindex="<?php echo ++$tabindex;?>"
    254254                                <?php 
    255255                                        $tresults = music_list($amp_conf['ASTVARLIBDIR']."/mohmp3"); 
     
    268268                <tr> 
    269269                        <td><a href="#" class="info"><?php echo _("Signal RINGING")?><span><?php echo _('Some devices or providers require RINGING to be sent before ANSWER. You\'ll notice this happening if you can send calls directly to a phone, but if you send it to an IVR, it won\'t connect the call.')?></span></a>:</td> 
    270                         <td><input type="checkbox" name="ringing" value="CHECKED" <?php echo $ringing ?> /></td> 
     270                        <td><input type="checkbox" name="ringing" value="CHECKED" <?php echo $ringing ?> tabindex="<?php echo ++$tabindex;?>"/></td> 
    271271                </tr> 
    272272<?php 
     
    288288                <tr> 
    289289                        <td colspan="2"> 
    290                                 <h6><input name="Submit" type="submit" value="<?php echo _("Submit")?>">&nbsp;&nbsp; 
    291                                 <input name="submitclear" type="submit" value="<?php echo _("Clear Destination & Submit")?>"></h6> 
     290                                <h6><input name="Submit" type="submit" value="<?php echo _("Submit")?>" tabindex="<?php echo ++$tabindex;?>">&nbsp;&nbsp; 
     291                                <input name="submitclear" type="submit" value="<?php echo _("Clear Destination & Submit")?>" ></h6> 
    292292                        </td>            
    293293                </tr> 
  • modules/branches/2.5/core/page.general.php

    r5917 r5919  
    112112<?php echo _("W: Allow the calling user to start recording after pressing *1 (Asterisk v1.2)")?><br> 
    113113        </span></a> 
    114         <input type="text" size="2" name="DIAL_OPTIONS" value="<?php  echo htmlspecialchars($DIAL_OPTIONS)?>"/> 
     114        <input type="text" size="2" name="DIAL_OPTIONS" value="<?php  echo htmlspecialchars($DIAL_OPTIONS)?>" tabindex="<?php echo ++$tabindex;?>"/> 
    115115        <br><br> 
    116116        <a href=# class="info"><?php echo _("Asterisk Outbound Dial command options:")?><span><br>