]> git.sur5r.net Git - contagged/blobdiff - tags.php
Version updated
[contagged] / tags.php
index 3b06df663b898a4a723dca1d4f69497edce83478..9310f29f77e164bbeb5f283b17f5b96bcf27ce40 100644 (file)
--- a/tags.php
+++ b/tags.php
@@ -2,6 +2,10 @@
   require_once('inc/init.php');
   ldap_login();
 
+  if ($conf['userlogreq'] && $user == ''){
+    header('Location: login.php');
+    exit();
+  }
   //prepare templates
   tpl_std();
   $smarty->assign('tagcloud',tag_cloud());
     global $conf;
     global $LDAP_CON;
     global $FIELDS;
-    if(!$conf['extended']) return;
+    if(!$FIELDS['_marker']) return;
 
     $result = ldap_queryabooks('(objectClass=inetOrgPerson)',$FIELDS['_marker']);
-
     $max = 0;
     $min = 999999999;
     $tags = array();