Files
4G/ad_dokart_erw.php

82 lines
2.4 KiB
PHP
Executable File

<?php
@session_start();
$mandant_name = $_SESSION[ "mandant_name" ];
include_once( "f_admin.php" );
include_once( "f_wfl.php" );
include_once( "kd_einsprungspunkte.php" );
///////////////////////////////
// Darf der Benutzer diese Seite sehen?
$exec = besitzt_benutzer_systemrecht( $_SESSION[ "mandant_name" ], $_SESSION[ "benutzer_anmeldename" ], "ADMINISTRATOR" );
if ( $exec[ 0 ] != 1 )
{
header( "Location: us_uebersicht.php" );
}
///////////////////////////////
$dokart_kuerzel = $_GET[ "alpha_01" ];
$_SESSION[ "javascript_startup" ] = "var dokart_kuerzel = '".$dokart_kuerzel."';";
$_SESSION[ "title" ] = "Administratorbereich Dokument-/Aktenartverwaltung";
include( 'ssi_header.php' );
$_SESSION[ "title" ] = "";
include( "ad_menu.php" );
$_SESSION[ "javascript_startup" ] = "";
$dokart = liefere_dokartinformationen( $mandant_name, $dokart_kuerzel );
if ( ( is_array( $dokart[ 2 ][ "attribute" ] ) ) and ( count( $dokart[ 2 ][ "attribute" ] ) > 0 ) )
{
foreach( $dokart[ 2 ][ "attribute" ] as $attribut )
{
$attribut_liste = $attribut_liste."<option value='".$attribut[ "attrib_name" ]."' >".$attribut[ "attrib_name" ]."</option>";
}
}
echo "<div style='margin-left:200px; padding-bottom:30px; min-height:550px;'>";
//echo "<span>Schnellsuche:</span><input type='text' style='width:200px;' value='Schnellsuche ...' name='schnellsuche' id='schnellsuche' onfocus=\"this.value = ''; fuelle_element( 'ergebnis_1', '' ); \" onblur=\"this.value='Schnellsuche ...';\" onkeyup=\"ajaxFunction( 'su_web.php?cmd=suche_benutzer&mandant_name=".urlencode( $mandant_name )."&konfig_option='+encodeURIComponent( this.value ), 'eintraege_liste' );\" /><br /><br />";
echo '<div id="eintraege_liste" name="eintraege_liste" style=" display:inline;" ><select id="select_style_1" size="20" name="users" onchange="fuelle_element( \'ergebnis_3\', \'\' ); ajaxFunction( \'su_web.php?cmd=attrib_detaileinstellungen&alpha_02=\'+this.value+\'&alpha_01=\'+encodeURIComponent( \''.$dokart_kuerzel.'\' ), \'ergebnis_1\' );" >';
echo $attribut_liste;
?>
</select></div>
<div name="ergebnis_1" id="ergebnis_1" style=" vertical-align:top; position:absolute; display:inline; margin-top:10px;" ></div>
<div name="ergebnis_2" id="ergebnis_2" style=" margin-top:10px;" ></div>
<?php
echo '<div name="ergebnis_3" id="ergebnis_3" style=" margin-top:10px;" >'.$_SESSION[ "meldung_ad" ].'</div>';
$_SESSION[ "meldung_ad" ] = "";
echo "</div>";
include( 'ssi_footer.php' );
?>