Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
admin_admission.php File Reference

Namespaces

namespace  studip_core

Functions

if($_REQUEST['delete_studg'])
if($_REQUEST['delete_domain']) 
get_snapshot ()

Variables

else $header_object_id = $seminar_id
 $header_line = getHeaderLine($header_object_id)
 $db = _("Sie haben Lese- oder Schreibzugriff nur mit Passwort gewählt. Bitte geben Sie ein Passwort ein.") _("Das Passwort ist zu kurz. Es sollte mindestens 4 Zeichen lang sein.") _("Das Passwort stimmt nicht mit dem Wiederholungspasswort überein!") new DB_Seminar
 $db2 = new DB_Seminar
 $db3 = new DB_Seminar
 $db4 = new DB_Seminar
 $db6 = new DB_Seminar
 $cssSw = new cssClassSwitcher
 $admin_admission_data = unserialize(base64_decode($_REQUEST['admin_admission_data']))
 $admin_admission_data_original = unserialize(base64_decode($_REQUEST['admin_admission_data_original']))
 $messaging = new messaging
 $errormsg = ''
 $group_obj = StudipAdmissionGroup::GetAdmissionGroupBySeminarId($seminar_id)
 $num_waitlist = $db->f(0)
 $num_all = "admission_turnout"]
<?=_("Start-undEndzeit:")?></b >
< br ></font >< fontsize=-1 > & 
nbsp
 else
if($admin_admission_data["sem_admission_start_date"]
<>-1) echo date("H" 
$admin_admission_data ["sem_admission_start_date"]
Anmeldungen
if($admin_admission_data["sem_admission_end_date"]
<>-1) echo date("H" 
$admin_admission_data ["sem_admission_end_date"]
</td >< tdclass="<?echo$cssSw-> getClass ()?>" width
</td >< tdclass="<?echo$cssSw->
welche Nutzerdomänen
zugelassen 
sind
 $seminar_domains = UserDomain::getUserDomainsForSeminar($seminar_id)
foreach($seminar_domains as
$domain) 
$domains = array_diff($all_domains, $seminar_domains)
if(!LockRules::check($seminar_id,
'user_domain')&&count($domains)) 
endif

Function Documentation

if ($_REQUEST['delete_studg']) if ($_REQUEST['delete_domain']) get_snapshot ( )

This function creates a snapshot for all the values the admin_admission script uses

The function serializes all the data which is used on this page. So you can compare an old and a new state of the whole set. It is used to inform the user, that the data isn't saved yet.

Parameters
stringall the data in serialized form

Variable Documentation

$admin_admission_data = unserialize(base64_decode($_REQUEST['admin_admission_data']))
if ($admin_admission_data["sem_admission_start_date"]<>-1) echo date("H" $admin_admission_data["sem_admission_start_date"]
if ($admin_admission_data["sem_admission_end_date"]<>-1) echo date("H" $admin_admission_data["sem_admission_end_date"]
$admin_admission_data_original = unserialize(base64_decode($_REQUEST['admin_admission_data_original']))
$cssSw = new cssClassSwitcher
$db = _("Sie haben Lese- oder Schreibzugriff nur mit Passwort gewählt. Bitte geben Sie ein Passwort ein.") _("Das Passwort ist zu kurz. Es sollte mindestens 4 Zeichen lang sein.") _("Das Passwort stimmt nicht mit dem Wiederholungspasswort überein!") new DB_Seminar
$db2 = new DB_Seminar
$db3 = new DB_Seminar
$db4 = new DB_Seminar
$db6 = new DB_Seminar
foreach ($seminar_domains as $domain) $domains = array_diff($all_domains, $seminar_domains)
if (is_array($admin_admission_data["studg"])&&$admin_admission_data["admission_turnout"]) $errormsg = ''
$header_line = getHeaderLine($header_object_id)
else $header_object_id = $seminar_id
$num_all = "admission_turnout"]
$num_waitlist = $db->f(0)
$seminar_domains = UserDomain::getUserDomainsForSeminar($seminar_id)
r Anmeldungen
else
if (!LockRules::check($seminar_id, 'user_domain')&&count($domains)) endif
</td><tdclass="<?echo$cssSw-> getClass()?>" width
Initial value:
"2">
<font size=-1><b><?=_("zugelassenene Nutzerdomänen:")
<?=_("Start-undEndzeit:")?></b><br></font><fontsize=-1> & nbsp
Initial value:
"left">
<font size=-1><b><?=_("Anmeldeverfahren:")
</td><tdclass="<?echo$cssSw-> welche Nutzerdomänen zugelassen sind