/[locfinder]/locfinder/pages/compare.php
ViewVC logotype

Diff of /locfinder/pages/compare.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by yob, Fri Jan 24 07:59:30 2003 UTC revision 1.4 by yob, Fri Jan 24 08:10:06 2003 UTC
# Line 60  if (!isset($id_1) || !isset($id_2)) Line 60  if (!isset($id_1) || !isset($id_2))
60      $node_1_url = $loc_db->f("url");      $node_1_url = $loc_db->f("url");
61      $node_1_wiki_url = get_node_wiki($node_1_id);      $node_1_wiki_url = get_node_wiki($node_1_id);
62    
63      if (substr($node_1_url, 0, 4) != "http")      if ((substr($node_1_url, 0, 4) != "http") && ($node_1_url != ""))
64          $node_1_url = "http://" . $node_1_url;          $node_1_url = "http://" . $node_1_url;
65    
66      if (strlen($node_1_url) != 0) {      if (strlen($node_1_url) != 0) {
# Line 69  if (!isset($id_1) || !isset($id_2)) Line 69  if (!isset($id_1) || !isset($id_2))
69    
70      } else {      } else {
71    
72          $node_1_url = "";          $node_1_url = " none ";
73    
74      }      }
75    
# Line 94  if (!isset($id_1) || !isset($id_2)) Line 94  if (!isset($id_1) || !isset($id_2))
94      $node_2_ospf_mode = $loc_db->f("ospf_mode");      $node_2_ospf_mode = $loc_db->f("ospf_mode");
95      $node_2_ip_block = get_ip_block($node_2_id);      $node_2_ip_block = get_ip_block($node_2_id);
96      $node_2_age = $loc_db->f("age");      $node_2_age = $loc_db->f("age");
97      $node_2_url = "http://" . $loc_db->f("url");      $node_2_url = $loc_db->f("url");
98      $node_2_wiki_url = get_node_wiki($node_2_id);      $node_2_wiki_url = get_node_wiki($node_2_id);
99    
100      if (substr($node_2_url, 0, 4) != "http")      if ((substr($node_2_url, 0, 4) != "http") && ($node_2_url != ""))
101          $node_2_url = "http://" . $node_2_url;          $node_2_url = "http://" . $node_2_url;
102    
103      if (strlen($node_2_url) != 0) {      if (strlen($node_2_url) != 0) {
# Line 106  if (!isset($id_1) || !isset($id_2)) Line 106  if (!isset($id_1) || !isset($id_2))
106    
107      } else {      } else {
108    
109          $node_2_url = "";          $node_2_url = " none ";
110    
111      }      }
112    
# Line 217  if (!isset($id_1) || !isset($id_2)) Line 217  if (!isset($id_1) || !isset($id_2))
217    
218                    <tr>                    <tr>
219                      <th class="nodeinfo">External URL:</th>                      <th class="nodeinfo">External URL:</th>
220                      <td class="nodeinfo"><A HREF="<? echo $node_1_url ?>"><? echo $node_1_url ?></a></td>                      <td class="nodeinfo"><? echo $node_1_url ?></td>
221                    </tr>                    </tr>
222    
223                    <tr>                    <tr>
# Line 346  if (!isset($id_1) || !isset($id_2)) Line 346  if (!isset($id_1) || !isset($id_2))
346    
347                    <tr>                    <tr>
348                      <th class="nodeinfo">External URL:</th>                      <th class="nodeinfo">External URL:</th>
349                      <td class="nodeinfo"><A HREF="<? echo $node_2_url ?>"><? echo $node_2_url ?></a></td>                      <td class="nodeinfo"><? echo $node_2_url ?></td>
350                    </tr>                    </tr>
351    
352                    <tr>                    <tr>

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26