Bei Upload neuer Version Beschreibung und Suche aktualisieren

This commit is contained in:
Manfred
2021-09-03 18:02:58 +02:00
parent 3b89561736
commit 1759bd75da
+214 -200
View File
@@ -33,7 +33,7 @@ $rechte->getBerechtigungen($user);
if (! $rechte->isberechtigt('basis/dms', null, 's', null))
die($rechte->errormsg);
?>
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//DE"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
@@ -160,6 +160,17 @@ if (! $rechte->isberechtigt('basis/dms', null, 's', null))
beschreibungstext = beschreibungstext.replace(/Ze1l3numxbr/g, "\r\n");
document.getElementById("beschreibung-textarea").value = beschreibungstext;
}
function updateSchlagworte(schlagworte)
{
document.getElementById("schlagworte-textarea").value = schlagworte;
}
function updateCisSuche(cisSuche)
{
if (cisSuche == true)
document.getElementById("cis_suche_checkbox").checked = true;
else
document.getElementById("cis_suche_checkbox").checked = false;
}
var __js_page_array = new Array();
function js_toggle_container(conid)
@@ -216,7 +227,7 @@ if (! $rechte->isberechtigt('basis/dms', null, 's', null))
}
</script>
</head>
<body>
<body>
<?php
$kategorie_kurzbz = isset($_REQUEST['kategorie_kurzbz']) ? $_REQUEST['kategorie_kurzbz'] : '';
@@ -542,14 +553,14 @@ elseif ($chkatID != '')
else
{
// Suche anzeigen
echo '<div align="left"><h1>Dokument Auswählen</h1></div><div align="right"></div>
<form action="'.$_SERVER['PHP_SELF'].'?searching=true&searchstring='.$searchstring.'" method="POST">
<input type="text" name="searchstring" value="'.$searchstring.'" placeholder="#123 oder Text">
<input type="submit" class="buttondesign" value="Suchen">
echo '<div align="left"><h1>Dokument Auswählen</h1></div><div align="right"></div>
<form action="'.$_SERVER['PHP_SELF'].'?searching=true&searchstring='.$searchstring.'" method="POST">
<input type="text" name="searchstring" value="'.$searchstring.'" placeholder="#123 oder Text">
<input type="submit" class="buttondesign" value="Suchen">
</form>';
echo ' <table cellspacing=0>
<tr>
echo ' <table cellspacing=0>
<tr>
<td valign="top" nowrap style="border-right: 1px solid lightblue; border-top: 1px solid lightblue; padding-right:5px">';
// Link zu Admin-Oberfläche
@@ -564,31 +575,31 @@ else
echo '<ul>';
drawKategorieMenue($dms->result);
echo '</ul>';
echo '<script>
$(document).ready(function()
{
OpenTreeToKategorie("'.$kategorie_kurzbz.'");
});
//Klappt den Kategoriebaum auf, damit die ausgewaehlte Kategorie sichtbar ist
function OpenTreeToKategorie(kategorie)
{
elem = document.getElementById(kategorie);
if(elem.nodeName=="UL")
elem.style.display="block";
while(true)
{
if(!elem.parentNode)
break;
else
elem = elem.parentNode;
if(elem.nodeName=="UL" && elem.className=="tabcontent")
elem.style.display="block";
}
}
echo '<script>
$(document).ready(function()
{
OpenTreeToKategorie("'.$kategorie_kurzbz.'");
});
//Klappt den Kategoriebaum auf, damit die ausgewaehlte Kategorie sichtbar ist
function OpenTreeToKategorie(kategorie)
{
elem = document.getElementById(kategorie);
if(elem.nodeName=="UL")
elem.style.display="block";
while(true)
{
if(!elem.parentNode)
break;
else
elem = elem.parentNode;
if(elem.nodeName=="UL" && elem.className=="tabcontent")
elem.style.display="block";
}
}
</script>';
echo '</td>
echo '</td>
<td valign="top" style="border-top: 1px solid lightblue;">';
// Dokumente der Ausgewaehlten Kategorie laden und Anzeigen
$dms = new dms();
@@ -714,7 +725,7 @@ else
echo '&dpp='.$_GET['dpp'];
}
echo '&searching=true&searchstring='.$searchstring.'" method="POST" style="float:left"><input type="submit" class="buttondesign" name="100weiter" value="100 weiter" style="margin-left:2px"/><input type="hidden" name="searchstring" id="searchstring" value="'.$searchstring.'" /></form>';
echo '<form action="'.$_SERVER['PHP_SELF'].'?searching=true&searchstring='.$searchstring.'&page='.$page.' method="POST" style="float:right">
echo '<form action="'.$_SERVER['PHP_SELF'].'?searching=true&searchstring='.$searchstring.'&page='.$page.' method="POST" style="float:right">
<input type="hidden" name="page" id="page" value="';
if ($page == 0 || $page == '')
{
@@ -724,9 +735,9 @@ else
{
echo $page;
}
echo '">
<input type="hidden" name="searchstring" id="searchstring" value="'.$searchstring.'" />
<input type="hidden" name="searching" id="searchstring" value="'.$searching.'" />
echo '">
<input type="hidden" name="searchstring" id="searchstring" value="'.$searchstring.'" />
<input type="hidden" name="searching" id="searchstring" value="'.$searching.'" />
<select name="dpp" onchange="this.form.submit();" style="margin-left:20px;">';
if (isset($_GET['dpp']))
{
@@ -765,14 +776,14 @@ else
}
else
{
echo ' <option>10</option><option selected>20</option><option>30</option>
<option>40</option><option>50</option><option>60</option>
<option>70</option><option>80</option><option>90</option>
<option>100</option><option>150</option><option>200</option>
echo ' <option>10</option><option selected>20</option><option>30</option>
<option>40</option><option>50</option><option>60</option>
<option>70</option><option>80</option><option>90</option>
<option>100</option><option>150</option><option>200</option>
<option>500</option><option>1000</option><option>2000</option>';
}
echo '
</select> Elemente pro Seite&nbsp;
echo '
</select> Elemente pro Seite&nbsp;
</form>';
}
else
@@ -898,7 +909,7 @@ else
echo '&dpp='.$_GET['dpp'];
}
echo '" method="POST" style="float:left"><input type="submit" class="buttondesign" name="100weiter" value="100 weiter" style="margin-left:2px"/></form>';
echo '<form action="'.$_SERVER['PHP_SELF'].'?kategorie_kurzbz='.$kategorie_kurzbz.'&page='.$page.' method="POST" style="float:right">
echo '<form action="'.$_SERVER['PHP_SELF'].'?kategorie_kurzbz='.$kategorie_kurzbz.'&page='.$page.' method="POST" style="float:right">
<input type="hidden" name="kategorie_kurzbz" id="kategorie_kurzbz" value="'.$kategorie_kurzbz.'" /><input type="hidden" name="page" id="page" value="';
if ($page == 0 || $page == '')
{
@@ -908,7 +919,7 @@ else
{
echo $page;
}
echo '">
echo '">
<select name="dpp" onchange="this.form.submit();" style="margin-left:20px;">';
if (isset($_GET['dpp']))
{
@@ -947,14 +958,14 @@ else
}
else
{
echo ' <option>10</option><option selected>20</option><option>30</option>
<option>40</option><option>50</option><option>60</option>
<option>70</option><option>80</option><option>90</option>
<option>100</option><option>150</option><option>200</option>
echo ' <option>10</option><option selected>20</option><option>30</option>
<option>40</option><option>50</option><option>60</option>
<option>70</option><option>80</option><option>90</option>
<option>100</option><option>150</option><option>200</option>
<option>500</option><option>1000</option><option>2000</option>';
}
echo '
</select> Elemente pro Seite&nbsp;
echo '
</select> Elemente pro Seite&nbsp;
</form>';
}
else
@@ -965,21 +976,21 @@ else
}
// drawFilesThumb($dms->result);
echo '
</td>
</tr>
echo '
</td>
</tr>
</table>';
if ($rechte->isberechtigt('basis/dms', $kategorie->kategorie_oe_kurzbz, 'sui'))
{
echo '
<br>
<a href="#Upload" onclick="return upload()">Neue Datei hochladen</a>
<br>
<br><br>
<div id="divupload">
<hr>
echo '
<br>
<a href="#Upload" onclick="return upload()">Neue Datei hochladen</a>
<br>
<br><br>
<div id="divupload">
<hr>
<span id="ueberschrift"></span>';
if (isset($_REQUEST['searching']) && $_REQUEST['searching'] == 'true')
{
@@ -989,13 +1000,13 @@ else
{
echo '<form action="'.$_SERVER['PHP_SELF'].'?kategorie_kurzbz='.$kategorie_kurzbz.'&page='.$page.'&dpp='.$dpp.'" method="POST" enctype="multipart/form-data">';
}
echo '
<input type="hidden" name="kategorie_kurzbz" id="kategorie_kurzbz" value="'.$kategorie_kurzbz.'">
<input type="hidden" name="dms_id" id="dms_id" value="">
<table>
<tr>
<td>Beschreibung</td>
<td><textarea name="beschreibung" id="beschreibung-textarea" rows="1" cols="80" style="font-size: small;"></textarea></td>
echo '
<input type="hidden" name="kategorie_kurzbz" id="kategorie_kurzbz" value="'.$kategorie_kurzbz.'">
<input type="hidden" name="dms_id" id="dms_id" value="">
<table>
<tr>
<td>Beschreibung</td>
<td><textarea name="beschreibung" id="beschreibung-textarea" rows="1" cols="80" style="font-size: small;"></textarea></td>
</tr>
<tr>
<td>Schlagworte<br/>(Semikolon getrennt)</td>
@@ -1003,17 +1014,17 @@ else
</tr>
<tr>
<td>CIS-Suche</td>
<td><input type="checkbox" name="cis_suche"></td>
</tr>
<tr>
<td></td>
<td><input type="file" name="userfile"></td>
</tr>
</table>
<input type="hidden" name="projekt_kurzbz" value="'.$projekt_kurzbz.'">
<input type="hidden" name="projektphase_id" value="'.$projektphase_id.'">
<input type="submit" class="buttondesign" name="fileupload" value="Upload">
</form>
<td><input type="checkbox" id="cis_suche_checkbox" name="cis_suche"></td>
</tr>
<tr>
<td></td>
<td><input type="file" name="userfile"></td>
</tr>
</table>
<input type="hidden" name="projekt_kurzbz" value="'.$projekt_kurzbz.'">
<input type="hidden" name="projektphase_id" value="'.$projektphase_id.'">
<input type="submit" class="buttondesign" name="fileupload" value="Upload">
</form>
<br>';
$files = scandir(IMPORT_PATH);
$files_count = count($files) - 2; // Minus zwei wegen "." und ".."
@@ -1023,9 +1034,9 @@ else
}
if ($openupload)
{
echo '<script>
$(document).ready(function()
{
echo '<script>
$(document).ready(function()
{
';
if ($newVersionID != '')
{
@@ -1036,8 +1047,8 @@ else
else
echo 'upload();';
echo '
});
echo '
});
</script>';
}
}
@@ -1057,56 +1068,56 @@ function drawAllVersions($id)
$dms = new dms();
$dms->getAllVersions($id);
echo '<script>
$(document).ready(function()
{
$("#t3").tablesorter(
{
sortList: [[0,1]], headers: {6:{sorter:false}},
widgets: ["zebra"],
});
});
</script>
<table style="width:70%" class="tablesorter" id="t3">
<thead>
<tr align="center">
<th>Version</th>
<th>Name</th>
echo '<script>
$(document).ready(function()
{
$("#t3").tablesorter(
{
sortList: [[0,1]], headers: {6:{sorter:false}},
widgets: ["zebra"],
});
});
</script>
<table style="width:70%" class="tablesorter" id="t3">
<thead>
<tr align="center">
<th>Version</th>
<th>Name</th>
<th>Beschreibung</th>
<th>Schlagworte</th>
<th>CIS-Suche</th>
<th>CIS-Suche</th>
<th>Kategorie</th>
<th>Filename intern</th>
<th>Datum</th>
<th>User</th>
</tr>
<th>Filename intern</th>
<th>Datum</th>
<th>User</th>
</tr>
</thead><tbody>';
foreach ($dms->result as $dms_help)
{
echo '<tr>
<td style="padding: 1px; vertical-align:middle" align="center">'.$dms_help->version.'</td>
<td style="padding: 1px; vertical-align:middle">'.$dms_help->name.'</td>
echo '<tr>
<td style="padding: 1px; vertical-align:middle" align="center">'.$dms_help->version.'</td>
<td style="padding: 1px; vertical-align:middle">'.$dms_help->name.'</td>
<td style="padding: 1px; vertical-align:middle">'.$dms_help->beschreibung.'</td>
<td style="padding: 1px; vertical-align:middle">'.$dms_help->schlagworte.'</td>
<td style="padding: 1px; vertical-align:middle">'.($dms_help->cis_suche == 'true'?'Ja':'Nein').'</td>
<td style="padding: 1px; vertical-align:middle">'.($dms_help->cis_suche == 'true'?'Ja':'Nein').'</td>
<td style="padding: 1px; vertical-align:middle" align="center">'.$dms_help->kategorie_kurzbz.'</td>
<td style="padding: 1px; vertical-align:middle" align="center">'.$dms_help->filename.'</td>
<td style="padding: 1px; vertical-align:middle">'.$dms_help->insertamum.'</td>
<td style="padding: 1px; vertical-align:middle;">'.$dms_help->insertvon.'</td>
<td style="padding: 1px; vertical-align:middle;">
<ul class="sf-menu">
<li><a style="font-size:small">Erweitert</a>
<ul>
<td style="padding: 1px; vertical-align:middle" align="center">'.$dms_help->filename.'</td>
<td style="padding: 1px; vertical-align:middle">'.$dms_help->insertamum.'</td>
<td style="padding: 1px; vertical-align:middle;">'.$dms_help->insertvon.'</td>
<td style="padding: 1px; vertical-align:middle;">
<ul class="sf-menu">
<li><a style="font-size:small">Erweitert</a>
<ul>
<li><a href="dms.php?id='.$dms_help->dms_id.'&version='.$dms_help->version.'" style="font-size:small" target="_blank">Herunterladen</a></li>';
if ($rechte->isberechtigt('basis/dms', $kategorie->kategorie_oe_kurzbz, 'su'))
echo '<li><a href="'.$_SERVER['PHP_SELF'].'?renameid='.$dms_help->dms_id.'&kategorie_kurzbz='.$dms_help->kategorie_kurzbz.'&dms_id='.$dms_help->dms_id.'&version='.$dms_help->version.'" style="font-size:small">Datei umbenennen</a></li>';
if ($rechte->isberechtigt('basis/dms', $kategorie->kategorie_oe_kurzbz, 'suid'))
echo '<li><a href="'.$_SERVER['PHP_SELF'].'?kategorie_kurzbz='.$dms_help->kategorie_kurzbz.'&versionid='.$dms_help->dms_id.'&dms_id='.$dms_help->dms_id.'&version='.$dms_help->version.'&delete" style="font-size:small">Löschen</a></li>';
echo '</ul>
</li>
</ul>
</td>
echo '</ul>
</li>
</ul>
</td>
</tr>';
}
echo '</tbody></table>';
@@ -1121,41 +1132,41 @@ function drawFilesFromImport()
if ($handle = opendir(IMPORT_PATH))
{
echo '<script>
$(document).ready(function()
{
$("#t3").tablesorter(
{
sortList: [[0,0]], headers: {1:{sorter:false}},
widgets: ["zebra"]
});
});
echo '<script>
$(document).ready(function()
{
$("#t3").tablesorter(
{
sortList: [[0,0]], headers: {1:{sorter:false}},
widgets: ["zebra"]
});
});
</script>';
echo ' <h3>Files im Import Ordner</h3>
<table class="tablesorter" id="t3" style="width: auto"> <form action ="'.$_SERVER['PHP_SELF'].'" method="POST" name="import" >
echo ' <h3>Files im Import Ordner</h3>
<table class="tablesorter" id="t3" style="width: auto"> <form action ="'.$_SERVER['PHP_SELF'].'" method="POST" name="import" >
<thead><th>File</th><th></th></thead><tbody>';
while (false !== ($file = readdir($handle)))
{
if ($file != '.' && $file != '..')
{
echo '
<tr>
<td>
<span> '.$file.'</span>
</td>
<td>
<a onclick="window.location=\'#divupload\'; document.import.importFile.value=\''.$file.'\';document.import.submit();" style="font-size:small">Upload</a>
</td>
echo '
<tr>
<td>
<span> '.$file.'</span>
</td>
<td>
<a onclick="window.location=\'#divupload\'; document.import.importFile.value=\''.$file.'\';document.import.submit();" style="font-size:small">Upload</a>
</td>
</tr>';
}
}
echo '
<input type="hidden" name="dms_id_import" id="dms_id_import" value="">
<input type="hidden" name="importFile" value="">
<input type="hidden" name="kategorie_kurzbz" id="kategorie_kurzbz" value="'.$kategorie_kurzbz.'">
<input type="hidden" name="projekt_kurzbz" value="'.$projekt_kurzbz.'">
<input type="hidden" name="projektphase_id" value="'.$projektphase_id.'">
echo '
<input type="hidden" name="dms_id_import" id="dms_id_import" value="">
<input type="hidden" name="importFile" value="">
<input type="hidden" name="kategorie_kurzbz" id="kategorie_kurzbz" value="'.$kategorie_kurzbz.'">
<input type="hidden" name="projekt_kurzbz" value="'.$projekt_kurzbz.'">
<input type="hidden" name="projektphase_id" value="'.$projektphase_id.'">
</form></tbody></table>';
closedir($handle);
}
@@ -1247,44 +1258,44 @@ function drawFilesList($rows)
if (count($rows) > 0)
{
echo '
<script>
$(document).ready(function()
{
$("#t2").tablesorter(
echo '
<script>
$(document).ready(function()
{
$("#t2").tablesorter(
{';
if ($suche == true)
echo 'sortList: [[4,0],[1,1]], headers: {3:{sorter:false}},';
else
echo 'sortList: [[0,0]], headers: {2:{sorter:false}},';
echo '
widgets: ["zebra"]
});
});
</script>
echo '
widgets: ["zebra"]
});
});
</script>
';
}
echo '
<table class="tablesorter" id="t2">
<thead>
<tr>
<th>Titel</th>
echo '
<table class="tablesorter" id="t2">
<thead>
<tr>
<th>Titel</th>
<th title="Version">V</th>';
if ($suche == true)
{
echo '<th>Kategorie</th>';
}
echo '
<th>&nbsp;</th>
<th>ID</th>
echo '
<th>&nbsp;</th>
<th>ID</th>
<th>Beschreibung</th>
<th>Schlagworte</th>
<th>CIS-Suche</th>
</tr>
</thead>
<tbody>
<th>CIS-Suche</th>
</tr>
</thead>
<tbody>
';
$i = 0;
foreach ($rows as $row)
@@ -1295,8 +1306,8 @@ function drawFilesList($rows)
else
$i++;
echo '
<tr>
echo '
<tr>
<td style="padding: 1px;">';
if (array_key_exists($row->mimetype, $mimetypes))
echo '<img title="'.$row->name.'" src="../skin/images/'.$mimetypes[$row->mimetype].'" style="height: 15px">';
@@ -1312,9 +1323,9 @@ function drawFilesList($rows)
$newerVersionAlert = 'alert(\'Achtung!! Es gibt eine neuere Version dieses Dokuments. Es wird die aktuellste eingefügt.\');';
}
echo '
<a href="id://'.$row->dms_id.'/Auswahl" onclick="'.$newerVersionAlert.' FileBrowserDialog.mySubmit('.$row->dms_id.'); return false;" style="font-size: small" title="'.$row->beschreibung.'">
'.$newVersion.' '.$row->name.'</a>
echo '
<a href="id://'.$row->dms_id.'/Auswahl" onclick="'.$newerVersionAlert.' FileBrowserDialog.mySubmit('.$row->dms_id.'); return false;" style="font-size: small" title="'.$row->beschreibung.'">
'.$newVersion.' '.$row->name.'</a>
</td>';
$datum = new datum();
@@ -1335,10 +1346,10 @@ function drawFilesList($rows)
echo '<td style="padding: 1px;">';
// Upload einer neuen Version
echo '<ul class="sf-menu">
<li><a href="#" style="font-size:small">Erweitert</a>
<ul>
<li><a href="id://'.$row->dms_id.'/Auswahl" onclick="'.$newerVersionAlert.' FileBrowserDialog.mySubmit('.$row->dms_id.');" style="font-size:small">Auswählen</a></li>
echo '<ul class="sf-menu">
<li><a href="#" style="font-size:small">Erweitert</a>
<ul>
<li><a href="id://'.$row->dms_id.'/Auswahl" onclick="'.$newerVersionAlert.' FileBrowserDialog.mySubmit('.$row->dms_id.');" style="font-size:small">Auswählen</a></li>
<li><a href="dms.php?id='.$row->dms_id.'&version='.$row->version.'" style="font-size:small" target="_blank">Herunterladen</a></li>';
if ($rechte->isberechtigt('basis/dms', $kategorie->kategorie_oe_kurzbz, 'sui'))
{
@@ -1348,7 +1359,10 @@ function drawFilesList($rows)
$beschreibungstext = str_replace('"', "D4n7ührung", $beschreibungstext);
$beschreibungstext = str_replace("\\", "6Sl4sh", $beschreibungstext);
$beschreibungstext = str_replace("\r\n", "Ze1l3numxbr", $beschreibungstext);
echo $beschreibungstext.'\'); return upload(\''.$row->dms_id.'\',\''.$row->name.'\');" style="font-size:small">Neue Version hochladen</a></li>';
echo $beschreibungstext.'\');
updateSchlagworte(\''.$row->schlagworte.'\');
updateCisSuche(\''.$row->cis_suche.'\');
return upload(\''.$row->dms_id.'\',\''.$row->name.'\');" style="font-size:small">Neue Version hochladen</a></li>';
}
if (isset($_REQUEST['searching']) && $_REQUEST['searching'] == 'true')
{
@@ -1490,9 +1504,9 @@ function drawFilesList($rows)
if ($rechte->isberechtigt('basis/dms', $kategorie->kategorie_oe_kurzbz, 'suid'))
echo '<li><a href="'.$_SERVER['PHP_SELF'].'?kategorie_kurzbz='.$row->kategorie_kurzbz.'&dms_id='.$row->dms_id.'&delete" onclick="return conf_del()" style="font-size:small" >Löschen</a></li>';
}
echo '
</ul>
</li>
echo '
</ul>
</li>
</ul>';
echo '</td>';
echo '<td style="padding: 1px;">'.$row->dms_id.'</td>';
@@ -1540,15 +1554,15 @@ function drawRenameForm($dms_id, $version, $page = NULL, $dpp = NULL, $searching
echo '&dpp='.$dpp;
echo '" method="POST">';
}
echo '
<table>
<tr>
<td>Dateiname:</td>
<td><input type="text" size="40" name="dateiname" value="'.$dms->convert_html_chars($dms->name).'"></td>
</tr>
<tr>
<td>Beschreibung:</td>
<td><textarea name="beschreibung" rows="2" cols="80" style="font-size: small;">'.$dms->convert_html_chars($dms->beschreibung).'</textarea></td>
echo '
<table>
<tr>
<td>Dateiname:</td>
<td><input type="text" size="40" name="dateiname" value="'.$dms->convert_html_chars($dms->name).'"></td>
</tr>
<tr>
<td>Beschreibung:</td>
<td><textarea name="beschreibung" rows="2" cols="80" style="font-size: small;">'.$dms->convert_html_chars($dms->beschreibung).'</textarea></td>
</tr>
<tr>
<td>Schlagworte<br/>(Semikolon getrennt):</td>
@@ -1557,12 +1571,12 @@ function drawRenameForm($dms_id, $version, $page = NULL, $dpp = NULL, $searching
<tr>
<td>CIS-Suche:</td>
<td><input type="checkbox" name="cis_suche" '.($dms->cis_suche == 'true'?'checked="checked"':'').'></td>
</tr>
</table>
<input type="hidden" name="action" value="rename">
<input type="hidden" name="dms_id" value="'.$dms_id.'">
</tr>
</table>
<input type="hidden" name="action" value="rename">
<input type="hidden" name="dms_id" value="'.$dms_id.'">
<input type="hidden" name="version" value="'.$version.'">';
echo '<input type="submit" class="buttondesign" name="submit" value="Umbenennen">
echo '<input type="submit" class="buttondesign" name="submit" value="Umbenennen">
</form>';
}
else
@@ -1603,8 +1617,8 @@ function drawChangeKategorie($dms_id, $page = NULL, $dpp = NULL)
echo '&dpp='.$dpp;
echo '" method="POST">';
}
echo '
<select name="kategoriez">
echo '
<select name="kategoriez">
<option value="auswahl">-- Bitte Auswählen --</option>';
foreach ($allKategorien->result as $kategorienResult)
@@ -1619,8 +1633,8 @@ function drawChangeKategorie($dms_id, $page = NULL, $dpp = NULL)
echo '<option '.$selected.' value="'.$kategorienResult->kategorie_kurzbz.'">'.$kategorienResult->bezeichnung.' ['.$kategorienResult->kategorie_kurzbz.']</option>';
}
echo '</select>
<input type="hidden" name="action" value="chkat">
echo '</select>
<input type="hidden" name="action" value="chkat">
<input type="hidden" name="dms_id" value="'.$dms_id.'">';
if (! is_null($page))
echo '<input type="hidden" name="page" value="'.$page.'">';
@@ -1629,6 +1643,6 @@ function drawChangeKategorie($dms_id, $page = NULL, $dpp = NULL)
echo '<input type="submit" class="buttondesign" name="chkat_save" value="Speichern"></form>';
}
?>
</body>
</html>
?>
</body>
</html>