]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
The new group page should only be available if the general library type is sql
authorkkalev <kkalev>
Sat, 10 Aug 2002 18:46:33 +0000 (18:46 +0000)
committerkkalev <kkalev>
Sat, 10 Aug 2002 18:46:33 +0000 (18:46 +0000)
Changelog
htdocs/group_new.php3

index 698bca1006d86121d64abccc091c6c661b928951..54abfc795689ab6ca4a2b3628d704f5cb7263d1b 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -6,6 +6,7 @@ Ver 1.50:
 * Add support for the '=*' and '!*' operators
 * Added a HELP_WANTED file describing what are the major things missing which people could contribute.
 * Updated TODO
+* The new group page should only be available if the general library type is sql
 Ver 1.30:
 * Add limit of results returned in accounting.php3
 * Fix a bug in time2strclock() in lib/functions.php3. Seconds ammount more than 9 would not show.
index 0af6e3211a3ee0f2aae973f0fec4a67ad5daf2d1..b9abcc52c0aa090af602d665005acb6712c36e40 100644 (file)
@@ -4,6 +4,21 @@ if ($show == 1){
        exit;
 }
 require('../conf/config.php3');
+
+if ($config[general_lib_type] != 'sql'){
+       echo <<<EOM
+<title>New group creation page</title>
+<link rel="stylesheet" href="style.css">
+</head>
+<body bgcolor="#80a040" background="images/greenlines1.gif" link="black" alink="black">
+<center>
+<b>This page is only available if you are using sql as general library type</b>
+</body>
+</html>
+EOM;
+        exit();
+}
+
 require('../lib/attrshow.php3');
 require('../lib/defaults.php3');