diff --git a/views/bootstrap/class.AttributeMgr.php b/views/bootstrap/class.AttributeMgr.php index e482f58f1..36bb1da47 100644 --- a/views/bootstrap/class.AttributeMgr.php +++ b/views/bootstrap/class.AttributeMgr.php @@ -141,20 +141,12 @@ function showAttributeDefinitions(selectObj) { foreach ($attrdefs as $attrdef) { print "
getID()."\" style=\"display : none;\">"; + if($attrdef->isUsed()) + echo '
'.getMLText('attrdef_in_use').'
'; ?>
isUsed()) { -?> -
- - - - -
-'.getMLText('attrdef_in_use').'

'; + if($attrdef->isUsed()) { $res = $attrdef->getStatistics(3); if(isset($res['frequencies']) && $res['frequencies']) { print ""; @@ -256,6 +248,15 @@ function showAttributeDefinitions(selectObj) { } print "
"; } + } else { +?> +
+ + + + +
+