diff --git a/admin/index.php b/admin/index.php
index 559a1b7..3d6f9a5 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -38,6 +38,7 @@
echo "
".theme_icon("participant_registration")." ".i18n("Participant Registration")." | ";
echo " ".theme_icon("committee_management")." ".i18n("Committee Management")." | ";
echo " ".theme_icon("judging_management")." ".i18n("Judging Management")." | ";
+ echo " ".theme_icon("account_management")." ".i18n("Account Management")." | ";
echo " ";
if($config['volunteer_enable'] == 'yes')
echo "".theme_icon("volunteer_management")." ".i18n("Volunteer Management")."";
diff --git a/admin/judges.php b/admin/judges.php
index 605bb96..0563b5e 100644
--- a/admin/judges.php
+++ b/admin/judges.php
@@ -33,7 +33,6 @@
);
echo " ";
echo ''.i18n('Judges').'';
diff --git a/user_main.php b/user_main.php
index c40bc38..4a78104 100644
--- a/user_main.php
+++ b/user_main.php
@@ -163,13 +163,15 @@ function draw_roles(){
$registered = array();
while($row = mysql_fetch_assoc($q)){
$roleid = $row['type'];
- $idx = $roleid . "_registration_type";
- if(array_key_exists($idx, $config)){
- // this is a role that can potentially be registered for
- if(is_array($u['roles']) && array_key_exists($row['type'], $u['roles'])){
- $registered[$row['type']] = $row['name'];
- }else{
- $available[$row['type']] = $row['name'];
+ if($config[$roleid.'_enable']!="no") {
+ $idx = $roleid . "_registration_type";
+ if(array_key_exists($idx, $config)){
+ // this is a role that can potentially be registered for
+ if(is_array($u['roles']) && array_key_exists($row['type'], $u['roles'])){
+ $registered[$row['type']] = $row['name'];
+ }else{
+ $available[$row['type']] = $row['name'];
+ }
}
}
}
|