diff --git a/pg-view/reg/index.php b/pg-view/reg/index.php index 073d259..a00b7db 100644 --- a/pg-view/reg/index.php +++ b/pg-view/reg/index.php @@ -30,7 +30,9 @@ else { $condition) if ($condition === 'all') - echo '
  • ' . $suffix . '
  • '; + echo '
  • ' . $suffix . '
  • ' . LF; +if (!in_array('all', CONF['reg']['suffixes'], true)) + echo '
  • ' . LF; ?> @@ -41,7 +43,9 @@ foreach (CONF['reg']['suffixes'] as $suffix => $condition) $condition) if ($condition === 'approved') - echo '
  • ' . $suffix . '
  • '; + echo '
  • ' . $suffix . '
  • ' . LF; +if (!in_array('approved', CONF['reg']['suffixes'], true)) + echo '
  • ' . LF; ?> @@ -52,7 +56,9 @@ foreach (CONF['reg']['suffixes'] as $suffix => $condition) $condition) if ($condition === 'none') - echo '
  • ' . $suffix . '
  • '; + echo '
  • ' . $suffix . '
  • ' . LF; +if (!in_array('none', CONF['reg']['suffixes'], true)) + echo '
  • ' . LF; ?>