fixed meta refresh URLs
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 17 Jan 2010 07:00:32 +0000 (07:00 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 17 Jan 2010 07:00:32 +0000 (07:00 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@127 01035d8c-6547-0410-b346-abe4f91aad63

13 files changed:
easy-asterisk-gui/cgi-bin/about.sh
easy-asterisk-gui/cgi-bin/admin.sh
easy-asterisk-gui/cgi-bin/faq.sh
easy-asterisk-gui/cgi-bin/ipphones.sh
easy-asterisk-gui/cgi-bin/login.sh
easy-asterisk-gui/cgi-bin/logout.sh
easy-asterisk-gui/cgi-bin/network.sh
easy-asterisk-gui/cgi-bin/phones.pl
easy-asterisk-gui/cgi-bin/phones.sh
easy-asterisk-gui/cgi-bin/set_network.sh
easy-asterisk-gui/cgi-bin/set_ring.sh
easy-asterisk-gui/cgi-bin/set_voiplines.sh
easy-asterisk-gui/cgi-bin/voiplines.sh

index 82ea416ba635433e9ed6de6d07448856bf45c55c..a6c3dd0f0cfb7e7361d3d70082e55358c91ac544 100644 (file)
@@ -9,7 +9,7 @@ echo $HTTP_COOKIE | grep "loggedin" > /dev/null
 if [ $? -eq 1 ]; then
     echo "<html>"
     echo "<head>"
-    echo '<meta http-equiv="REFRESH" content="0;url=http:login.sh">'
+    echo '<meta http-equiv="REFRESH" content="0;url=login.sh">'
     echo "</head>"
     echo "</html>"
     exit
@@ -40,7 +40,7 @@ cat <<EOF
     <table align="right" width=600>
       <tr><td align="left" valign="top"><h2>About</h2></td></tr>
 EOF
-echo '      <tr><td><strong>Easy Asterisk</strong> Revision: 124</td></tr> '
+echo '      <tr><td><a href="http://rowetel.com/ucasterisk/easy.html">Easy Asterisk</a> Revision: 122 </td></tr> '
 echo '      <tr><td>&nbsp;</td></tr>'
 echo '      <tr><td>Brought to you by the <a href="http://rowetel.com/ucasterisk/index.html">Free Telephony Project</a></td></tr>'
 echo '      <tr><td><a href="http://rowetel.com/ucasterisk/ip04.html"><img src="http://rowetel.com/images/ip04/ip04_case.jpg" border="0" /></a></td></tr>'
index 50bc6244df3c010b917c5cc801863d76d8b34575..69c7f93c2f03186b05c1b85aa22e2fcea5b15b8d 100644 (file)
@@ -9,7 +9,7 @@ echo $HTTP_COOKIE | grep "loggedin" > /dev/null
 if [ $? -eq 1 ]; then
     echo "<html>"
     echo "<head>"
-    echo '<meta http-equiv="REFRESH" content="0;url=http:login.sh">'
+    echo '<meta http-equiv="REFRESH" content="0;url=login.sh">'
     echo "</head>"
     echo "</html>"
     exit
index 15bcca0e30de41515ff9862c6c9a8807605fcb0e..1fdc0adb2f2f9745336d295147b7d44d50341b71 100644 (file)
@@ -9,7 +9,7 @@ echo $HTTP_COOKIE | grep "loggedin" > /dev/null
 if [ $? -eq 1 ]; then
     echo "<html>"
     echo "<head>"
-    echo '<meta http-equiv="REFRESH" content="0;url=http:login.sh">'
+    echo '<meta http-equiv="REFRESH" content="0;url=login.sh">'
     echo "</head>"
     echo "</html>"
     exit
index 0636102b0a2f900f42d7c8ec72799bebebab8d18..e546de6fc3095d2e5b8fd2ff29a7a113b58097f9 100644 (file)
@@ -9,7 +9,7 @@ echo $HTTP_COOKIE | grep "loggedin" > /dev/null
 if [ $? -eq 1 ]; then
     echo "<html>"
     echo "<head>"
-    echo '<meta http-equiv="REFRESH" content="0;url=http:login.sh">'
+    echo '<meta http-equiv="REFRESH" content="0;url=login.sh">'
     echo "</head>"
     echo "</html>"
     exit
index 99a60f55e2f310a18b91e4ba2d875ea5f1cf9e0d..fe46266fc8ad09d7ce2bdd226cd438cbea61fc08 100644 (file)
@@ -39,7 +39,7 @@ else
         echo ""
        echo "<head>"
        echo "<title>Easy Asterisk - Login</title>"
-       echo '<meta http-equiv="REFRESH" content="0;url=http:phones.sh">'
+       echo '<meta http-equiv="REFRESH" content="0;url=phones.sh">'
        echo "</head>"
        echo "<body>"
        echo "Please wait a few seconds....."
@@ -50,7 +50,7 @@ else
        <html>
        <head>
        <title>Easy Asterisk - Login</title>
-       <meta http-equiv="REFRESH" content="0;url=http:login.sh">
+       <meta http-equiv="REFRESH" content="0;url=login.sh">
        <body>
        Please wait a few seconds.....
        </body>
index bf8a05ded3cd395db563d50cab9b667efd407702..90d5583ed63f2838af0f26fc2dc35c68d51674be 100644 (file)
@@ -8,6 +8,6 @@ Content-type: text/html
 Set-Cookie: loggedin=1; expires=Thursday, 01-Jan-98 12:00:00 GMT
 
 <title>Easy Asterisk - Logout</title>
-<meta http-equiv="REFRESH" content="0;url=http:login.sh"
+<meta http-equiv="REFRESH" content="0;url=login.sh"
 EOF
 #echo $HTTP_COOKIE
index df4e162e89e41e0b2439053cef35b733eed67d29..ab1312cb0b71edc32a5588eb8e8e7533f62e13c7 100644 (file)
@@ -9,7 +9,7 @@ echo $HTTP_COOKIE | grep "loggedin" > /dev/null
 if [ $? -eq 1 ]; then
     echo "<html>"
     echo "<head>"
-    echo '<meta http-equiv="REFRESH" content="0;url=http:login.sh">'
+    echo '<meta http-equiv="REFRESH" content="0;url=login.sh">'
     echo "</head>"
     echo "</html>"
     exit
index 98db525f354458a321d378703043673c863c2cb1..a9638d46fc222b236c9193754a16e4caadd5f9ab 100644 (file)
@@ -130,7 +130,7 @@ close SIP;
 
 # start phones ringing form -------------------------------------------
 
-print '<form action="set_ring.sh?" method="get">';
+print '<form action="set_ring.sh" method="get">';
 
 # print list of analog phones
 
index 846854c845343aae21c598aca553ebf1b40319e8..7804fe2d217f4109f46bb8a1ea36d22f8821deb4 100644 (file)
@@ -9,7 +9,7 @@ echo $HTTP_COOKIE | grep "loggedin" > /dev/null
 if [ $? -eq 1 ]; then
     echo "<html>"
     echo "<head>"
-    echo '<meta http-equiv="REFRESH" content="0;url=http:login.sh">'
+    echo '<meta http-equiv="REFRESH" content="0;url=login.sh">'
     echo "</head>"
     echo "</html>"
     exit
index 23c69e785f0296f2a6e824b003f5f15da2ca0652..5f65bf67bca8efed188e82a511947efa6264aca1 100644 (file)
@@ -7,7 +7,7 @@ cat <<EOF
 <html>
 <head>
 <title>set_network.sh</title>
-<meta http-equiv="REFRESH" content="0;url=http:network.sh">
+<meta http-equiv="REFRESH" content="0;url=network.sh">
 <body>
 Please wait a few seconds.....
 </body>
index c7b559c496c885e3d02c7ac6900957e7afa74e4b..608bc4d8cadd886ee6f5ef883eb4f1efb07685ca 100644 (file)
@@ -9,7 +9,7 @@ echo $HTTP_COOKIE | grep "loggedin" > /dev/null
 if [ $? -eq 1 ]; then
     echo "<html>"
     echo "<head>"
-    echo '<meta http-equiv="REFRESH" content="0;url=http:login.sh">'
+    echo '<meta http-equiv="REFRESH" content="0;url=login.sh">'
     echo "</head>"
     echo "</html>"
     exit
@@ -34,7 +34,7 @@ cat <<EOF
 <html>
 <head>
 <title>Easy Asterisk - Set Ring</title>
-<meta http-equiv="REFRESH" content="0;url=http:phones.sh">
+<meta http-equiv="REFRESH" content="0;url=phones.sh">
 <body>
 Please wait a few seconds.....
 EOF
index 696d4f40eccfd9e41a601a2aab821924ef8f33e7..3039a260187a7de0ad550a0c87ac39e2b9b0e0cd 100644 (file)
@@ -10,7 +10,7 @@ echo $HTTP_COOKIE | grep "loggedin" > /dev/null
 if [ $? -eq 1 ]; then
     echo "<html>"
     echo "<head>"
-    echo '<meta http-equiv="REFRESH" content="0;url=http:login.sh">'
+    echo '<meta http-equiv="REFRESH" content="0;url=login.sh">'
     echo "</head>"
     echo "</html>"
     exit
@@ -36,7 +36,7 @@ cat <<EOF
 <html>
 <head>
 <title>set_voiplines.sh</title>
-<meta http-equiv="REFRESH" content="0;url=http:voiplines.sh">
+<meta http-equiv="REFRESH" content="0;url=voiplines.sh">
 <body>
 Please wait a few seconds.....
 </body>
index 619af847cc0e9ace9af6c6238856eaef34d76810..5abe5cbb9327add810f4d922f180e16bf7f06695 100644 (file)
@@ -9,7 +9,7 @@ echo $HTTP_COOKIE | grep "loggedin" > /dev/null
 if [ $? -eq 1 ]; then
     echo "<html>"
     echo "<head>"
-    echo '<meta http-equiv="REFRESH" content="0;url=http:login.sh">'
+    echo '<meta http-equiv="REFRESH" content="0;url=login.sh">'
     echo "</head>"
     echo "</html>"
     exit