1) { echo _mb("There are too many primary groups defined for the user with ID: ").$userId; die(); } if ($cntPG == 0) { //give an error if now primary_group is defined for the current user echo _mb("You have not yet an primary group. Please contact the central system admin to define a primary group for user with ID: ").$userId; die(); } //get only those users which have the right to registrate and have a primary role defined - they are the metadata publishers in sense of the registry /* * @security_patch irv done */ //security_patch_log(__FILE__,__LINE__); //import_request_variables("PG"); $postvars = explode(",", "filter2,insert,remove,filter3,remove_user,selected_user"); foreach ($postvars as $value) { ${$value} = $_POST[$value]; } ?> '; ?> Allow departments to publish own metadata 0){ for($i=0; $i0){ for($i=0; $i"; /*filterbox*************************************************************************/ echo ""; /*insert all profiles in selectbox*****************************************************************/ echo "
"._mb("Registrating institutions").":
"; echo ""; /*Button****************************************************************************************************/ echo "
"; echo ""; echo "
"; echo ""; /*filterbox****************************************************************************************/ echo ""; /*insert container_profile_dependence and container_group_dependence in selectbox******************/ echo "
"._mb("My (metadata-)provider").":
"; echo ""; echo ""; ?>