few tweaks to phones and ipphones pages
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Wed, 6 Jan 2010 04:06:11 +0000 (04:06 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Wed, 6 Jan 2010 04:06:11 +0000 (04:06 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@99 01035d8c-6547-0410-b346-abe4f91aad63

easy-asterisk-gui/at-530.html
easy-asterisk-gui/ipphones.pl
easy-asterisk-gui/phones.pl
easy-asterisk-gui/phones.sh
easy-asterisk-gui/tooltips.html

index ab94e3d730ce8186e9da965aad3f575c3dd63f8c..4ae7e08e6b90d0dff55283e431ffcc62f321483b 100644 (file)
@@ -1,5 +1,5 @@
 <ol>
-<li>Connect the WAN port of the AT-530 to your LAN, it will boot and obtain an IP via DHCP.  
+<li>Connect the WAN port of the AT-530 to your network, it will boot and obtain an IP via DHCP.  
 <li>Find the <strong>IP</strong> of the phone by pressing the <strong>Sysinfo</strong> button a few times.  
 <li>Open another browser window.  Go to the phones <strong>IP</strong>, for example <strong>http://192.168.1.160</strong>
 <li>Login to the phone using the username/password <strong>admin/admin</strong>.  
index cdd93d19dd9815ec22e36c8973fee68128113da4..e17e0e79e33833a585bd0990c54eab748b1c88be 100755 (executable)
@@ -60,6 +60,7 @@ foreach $e (sort keys %ip) {
         $comment=$ipad{$e};
         $tooltip_ext = "onMouseOver=\"popUp(event,'phone_ext')\" onmouseout=\"popUp(event,'phone_ext')\"";
        $tooltip_ip =  "onMouseOver=\"popUp(event,'phone_ipphone_ip')\" onmouseout=\"popUp(event,'phone_ipphone_ip')\"";
+       $unconnected = 0;
     }
     else {
        $unconnected = $unconnected + 1;
index 518b40f221e14a1a10b39503bf02c71c548ab16b..3b3262c2ed7e2858cc4752af2cca5d76fc6b6aef 100755 (executable)
@@ -102,6 +102,9 @@ foreach $s (sort keys %sip) {
     }
 }
 
+print '<tr><td>&nbsp;</td></tr>';
+print "<tr><td onMouseOver=\"popUp(event,'phone_addipphone')\" onmouseout=\"popUp(event,'phone_addipphone')\"><a href=\"ipphones.sh\">Add IP Phone</a></td></tr>";
+
 $tool_tip = "onMouseOver=\"popUp(event,'phone_lines')\" onmouseout=\"popUp(event,'phone_lines')\"";
 
 print '<tr><td>&nbsp</td></tr>';
index 98bec0c45f42f00b89bbbdae7e571b474149c366..ea0a8cb7c1f5298fee43ed73bac39f75dd375279 100644 (file)
@@ -66,8 +66,6 @@ cat <<EOF
       <tr>
           <td onMouseOver="popUp(event,'phone_phones')" onmouseout="popUp(event,'phone_phones')" 
                colspan="3" align="left" valign="top" ><h2>Phones</h2></td>
-         <td onMouseOver="popUp(event,'phone_addipphone')" onmouseout="popUp(event,'phone_addipphone')">
-               <a href="addipphone.sh">Add IP Phone</a></td>
       </tr>
 EOF
 
index 20d90e12d33dc193a967346ce17091a4a74b63e6..41e067bac0c7c689053927d902eaedc871f6ae7f 100644 (file)
                         Instructions and help on adding a new IP phone</div>
 
 <div id="ipphones_ipphones" class="tip">
-                        List of possible IP phones.  Choose a free one
-                        (cross) for a new phone.  Refresh this page tp
-                        update</div>
+                        List of possible IP phones.  For a new phone
+                        choose any Available number.  Refresh this
+                        page tp update</div>
 
 <div id="ipphones_connected" class="tip">
                         The IP phone is connected to your phone system and ready to use</div>
 
 <div id="ipphones_notconnected" class="tip">
-                        No IP phone is connected.  This could be
-                        because no IP phone is present, or the IP
-                        phone has not been set up.</div>
+                        No IP phone is connected.  Either no IP phone
+                        is present, or the IP phone has not been set
+                        up.</div>