equal
deleted
inserted
replaced
16 <h5>* - Felder sind erforderlich!</h5> |
16 <h5>* - Felder sind erforderlich!</h5> |
17 </div> |
17 </div> |
18 <!-- <form action="<?php $_SERVER['PHP_SELF'] ?>" method="post" enctype="application/x-www-form-urlencoded" name="form_svc"> --> |
18 <!-- <form action="<?php $_SERVER['PHP_SELF'] ?>" method="post" enctype="application/x-www-form-urlencoded" name="form_svc"> --> |
19 <form action="<?php $_SERVER['PHP_SELF'] ?>" method="post" enctype="multipart/form-data" name="form_info" target="_self"> |
19 <form action="<?php $_SERVER['PHP_SELF'] ?>" method="post" enctype="multipart/form-data" name="form_info" target="_self"> |
20 <div align="center"> |
20 <div align="center"> |
21 <table width="60%" border="0" cellspacing="3" cellpadding="3"> |
21 <table width="70%" border="0" cellspacing="3" cellpadding="3"> |
22 <tr> |
22 <tr> |
23 <td>Titel *<br/><br /> |
23 <td>Titel *<br/><br /> |
24 max. 300 Zeichen möglich</td> |
24 max. 300 Zeichen möglich</td> |
25 <td><textarea name="inf[iname]" id="titel" cols="50" rows="2"><?php echo $inf['iname']; ?></textarea> |
25 <td><textarea name="inf[iname]" id="titel" cols="50" rows="2"><?php echo $inf['iname']; ?></textarea> |
26 <?php |
26 <?php |
354 } |
354 } |
355 echo " </select> |
355 echo " </select> |
356 </td> |
356 </td> |
357 </tr>\n"; |
357 </tr>\n"; |
358 } |
358 } |
|
359 include($_SERVER['DOCUMENT_ROOT'] ."/fhiiqm/form/info_file_form.inc.php"); |
359 ?> |
360 ?> |
360 |
361 <!-- |
361 <tr> |
362 <tr> |
362 <td>Dateibezeichnung Dokument (*)</td> |
363 <td>Dateibezeichnung Dokument (*)</td> |
363 <td><input name="inf[ifname]" type="text" size="50" maxlength="50" value="<?php echo $inf['ifname']; ?>" /> |
364 <td><input name="inf[ifname]" type="text" size="50" maxlength="50" value="<?php echo $inf['ifname']; ?>" /> |
364 <?php |
365 <?php |
|
366 /* |
365 echo "<br />bitte <u>keine</u> Umlaute im Dateinamen angeben!"; |
367 echo "<br />bitte <u>keine</u> Umlaute im Dateinamen angeben!"; |
366 if (isset($inf['ifname']) && $upd && is_uploaded_file($_FILES["ifile"]["tmp_name"]) && $inf['ifname']<'!') |
368 if (isset($inf['ifname']) && $upd && is_uploaded_file($_FILES["ifile"]["tmp_name"]) && $inf['ifname']<'!') |
367 { |
369 { |
368 echo "<br><span class=\"red\">Dateiname ist erforderlich!</span>\n"; |
370 echo "<br><span class=\"red\">Dateiname ist erforderlich!</span>\n"; |
369 $okn = false; |
371 $okn = false; |
372 { |
374 { |
373 if ($inf['ifname']>='!' && file_exists("infos/".$inf['ifname'])) |
375 if ($inf['ifname']>='!' && file_exists("infos/".$inf['ifname'])) |
374 echo "<br />Dokument anschauen: <a href='infos/" . $inf['ifname'] ."'>" . $inf['ifname'] . "</a>"; |
376 echo "<br />Dokument anschauen: <a href='infos/" . $inf['ifname'] ."'>" . $inf['ifname'] . "</a>"; |
375 // if ($okn) $okn = true; else $okn=false; |
377 // if ($okn) $okn = true; else $okn=false; |
376 } |
378 } |
|
379 */ |
377 ?> |
380 ?> |
378 </td> |
381 </td> |
379 </tr> |
382 </tr> |
380 |
383 --> |
381 <input type="hidden" name="inf[pers]" id="pid" value="<?php echo $inf['pers']; // Author ?>"/> |
384 <input type="hidden" name="inf[pers]" id="pid" value="<?php echo $inf['pers']; // Author ?>"/> |
382 <input type="hidden" name="MAX_FILE_SIZE" value="32000000"/> |
385 <input type="hidden" name="MAX_FILE_SIZE" value="32000000"/> |
383 <input type="hidden" name="inf[okn]" value="<?php echo $okn; ?>"/> |
386 <input type="hidden" name="inf[okn]" value="<?php echo $okn; ?>"/> |
384 <!-- </table> |
387 <!-- </table> |
385 </div> |
388 </div> |