make 'other' field optional and add inactivate/activate button

This commit is contained in:
2025-08-16 16:03:27 +02:00
parent 2f67319cdc
commit d0d19b8b4e
4 changed files with 104 additions and 80 deletions

View File

@@ -44,7 +44,7 @@ class page
OR ua_authority_a_id = 1)
WHERE
spage_page_id = 1
AND ua_user_kid_uk_id = '.$user->get_ua_id().' ORDER BY spage_id ASC;
AND ua_user_kid_uk_id = ' . $user->get_ua_id() . ' ORDER BY spage_id ASC;
';
} else {
$menus_query = 'SELECT * FROM subpage WHERE spage_page_id = 1;';
@@ -238,7 +238,7 @@ class page
case 'money_update':
// FRISSÍTÉS
include 'include_money_update.php';
// no break
// no break
case 'settings':
// BEÁLLÍTÁSOK
include 'include_settings.php';
@@ -404,6 +404,10 @@ class page
// TÁBORVEZETŐ TÖRLÉS
include 'include_delete_camp_leader.php';
break;
case 'set_active_status':
// TÁBORVEZETŐ TÖRLÉS
include 'include_set_active_status.php';
break;
case 'emails':
# email log
include('include_emails.php');
@@ -419,7 +423,7 @@ class page
break;
case 'ajax':
if ($this->is_subpage()) {
include 'ajax/'.$this->get_subpage();
include 'ajax/' . $this->get_subpage();
}
break;
case 'view':