inc/footer.inc.php
author rejo
Mon, 23 Jul 2007 22:05:19 +0000
changeset 38 cf767482333a
parent 33 370e0d7fa3e7
child 47 ae140472d97c
permissions -rw-r--r--
[feladat @ 85] The type of zone wasn't show to users with access level 1. If a user with access level 1 did have access to a slave zone the user did not see the IP of the master nameserver of that zone. Now the user will the IP address (readonly and only if one is set). Bugfix. If no master IP for a slave zone is given, a warning is shown regardless of the userlevel. Bugfix. Both the "add record" and "edit record" buttons in the "edit zone" screen is no longer available for users with level 1 for domains of type "slave". Bug report by Antonio Prado. Some PHP and HTML cleanup (removing of empty tags and unnecessary repeatings of calls to a single function).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     1
<?
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     2
global $db;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     3
if(is_object($db))
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     4
{
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     5
	 $db->disconnect();
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     6
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     7
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     8
?>
13
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
     9
  </div> <!-- /content -->
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    10
  <div class="footer">
33
370e0d7fa3e7 [feladat @ 80]
rejo
parents: 31
diff changeset
    11
   <a href="https://rejo.zenger.nl/poweradmin/">a complete(r) <strong>poweradmin</strong></a> - <a href="credits.php">credits</a>
13
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    12
  </div>
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    13
<?
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    14
if(file_exists('inc/custom_footer.inc.php')) 
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    15
{
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    16
	include('inc/custom_footer.inc.php');
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    17
}
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    18
?>
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    19
 </body>
2ff220cfde13 [feladat @ 60]
rejo
parents: 4
diff changeset
    20
</html>