From 350c873942923c531e7bc78fb835a2df68c1482d Mon Sep 17 00:00:00 2001 From: Gerald Simane Date: Thu, 14 May 2009 06:28:19 +0000 Subject: [PATCH] --- cis/private/mailverteiler.php | 115 ++++++++++++++++++++++++---------- 1 file changed, 83 insertions(+), 32 deletions(-) diff --git a/cis/private/mailverteiler.php b/cis/private/mailverteiler.php index 7f36c4f3a..98342f379 100644 --- a/cis/private/mailverteiler.php +++ b/cis/private/mailverteiler.php @@ -83,7 +83,37 @@ else return true; } + function show_layer(x) + { + if (document.getElementById && document.getElementById(x)) + { + document.getElementById(x).style.visibility = 'visible'; + document.getElementById(x).style.display = 'inline'; + } else if (document.all && document.all[x]) { + document.all[x].visibility = 'visible'; + document.all[x].style.display='inline'; + } else if (document.layers && document.layers[x]) { + document.layers[x].visibility = 'show'; + document.layers[x].style.display='inline'; + } + } + + function hide_layer(x) + { + if (document.getElementById && document.getElementById(x)) + { + document.getElementById(x).style.visibility = 'hidden'; + document.getElementById(x).style.display = 'none'; + } else if (document.all && document.all[x]) { + document.all[x].visibility = 'hidden'; + document.all[x].style.display='none'; + } else if (document.layers && document.layers[x]) { + document.layers[x].visibility = 'hide'; + document.layers[x].style.display='none'; + } + } + //--> @@ -94,14 +124,16 @@   +
Kommunikation - Mailverteiler
+

Hinweis: Diese Verteiler dürfen nur für Fachhochschul-relevante Zwecke verwendet werden! -
+
Info: Infos bezüglich Berechtigungskonzept Mailverteiler, Bedienungsanleitung Mailverteiler'; @@ -146,20 +178,39 @@ if (isset($nicht_tw_arr)) unset($nicht_tw_arr); } - + foreach($stg_obj->result as $row) { // Kopfzeile hinausschreiben - echo ""; - echo ""; - echo ""; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - echo "\n"; + echo "
 
"; - echo " $row->kuerzel - $row->bezeichnungstudiengang_kz\">   top 
 
"; +# echo ""; + echo ''; + echo " "; + + echo " "; + echo " "; + echo " "; + echo " "; + echo " "; +# echo "\n"; + echo "
 
anzeigen"; + echo " $row->kuerzel - $row->bezeichnungstudiengang_kz\">   top 
 
"; + + // Kopfzeile hinausschreiben + echo ""; +# echo ""; + echo ''; + + echo " "; + + echo " "; + echo " "; + echo " "; + echo " "; + echo " "; +# echo "\n"; + // Verteiler Normal $grp_obj = new gruppe($conn); @@ -169,7 +220,8 @@ foreach($grp_obj->result as $row1) { echo ""; - echo " "; + echo " "; + echo " "; // LINK for opening a closed mail dispatcher // display the open-link only when its a closed dispatcher and if the user has status lector @@ -183,29 +235,34 @@ /* open a popup containing the final dispatcher address */ if(MAILVERTEILER_SPERRE) echo 'Verteiler'; - echo ""; + echo " "; + echo " "; + echo "".strtolower($row1->gruppe_kurzbz)."@".DOMAIN.""; + echo " "; } else { - echo ""; - echo " "; - echo "gesperrt"; + echo " "; + echo " "; + echo "gesperrt"; + echo " "; } } else { - echo ""; + echo " "; echo " "; + echo "".strtolower($row1->gruppe_kurzbz)."@".DOMAIN.""; + echo " "; } - if(strtolower($row1->gruppe_kurzbz)=='tw_std') - echo ''; - else - echo ' "; echo "\n"; } @@ -312,16 +369,10 @@ { echo ""; } - + } echo ""; -?> - -   - - -