mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-26 08:29:28 +00:00
Schnittstelle zum Schlagwortdienst überarbeitet damit dieser mit der neuen Version des Schlagwortdienstes funktioniert
This commit is contained in:
@@ -312,7 +312,7 @@ if($command=="update" && $error!=true)
|
||||
$htmlstr .= "</td></tr>\n";
|
||||
$htmlstr .= "<tr><td width='30%'><b>".$p->t('abgabetool/kontrollierteSchlagwoerter').":*</b></td>
|
||||
<td width='40%'><input type='text' name='kontrollschlagwoerter' id='kontrollschlagwoerter' value='".$kontrollschlagwoerter."' size='60' maxlength='150'></td>
|
||||
<td width='30%' align='left'><input type='button' name='SWD' value=' SWD ' onclick='window.open(\"abgabe_student_swd.php\")'></td></tr>\n";
|
||||
<td width='30%' align='left'><input type='button' name='SWD' value=' SWD ' onclick='window.open(\"swd.php\")'></td></tr>\n";
|
||||
$htmlstr .= "<tr><td><b>".$p->t('abgabetool/deutscheSchlagwoerter').":</b></td>
|
||||
<td><input type='text' name='schlagwoerter' value='".$schlagwoerter."' size='60' maxlength='150'></td></tr>\n";
|
||||
$htmlstr .= "<tr><td><b>".$p->t('abgabetool/englischeSchlagwoerter').":</b></td>
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
<?php
|
||||
/* Copyright (C) 2009 Technikum-Wien
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* Authors: Christian Paminger < christian.paminger@technikum-wien.at >
|
||||
* Andreas Oesterreicher < andreas.oesterreicher@technikum-wien.at >
|
||||
* Rudolf Hangl < rudolf.hangl@technikum-wien.at >
|
||||
* Gerald Simane-Sequens < gerald.simane-sequens@technikum-wien.at >
|
||||
*/
|
||||
|
||||
require_once('../../../config/cis.config.inc.php');
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<title>Abgabesystem_Studentensicht</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link rel="stylesheet" href="../../../skin/vilesci.css" type="text/css">
|
||||
<link rel="stylesheet" href="../../../include/js/tablesort/table.css" type="text/css">
|
||||
<script src="../../../include/js/tablesort/table.js" type="text/javascript"></script>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
UTF8 = {
|
||||
encode: function(s)
|
||||
{
|
||||
for(var c, i = -1, l = (s = s.split("")).length, o = String.fromCharCode; ++i < l;
|
||||
s[i] = (c = s[i].charCodeAt(0)) >= 127 ? o(0xc0 | (c >>> 6)) + o(0x80 | (c & 0x3f)) : s[i]
|
||||
);
|
||||
return s.join("");
|
||||
},
|
||||
|
||||
decode: function(s)
|
||||
{
|
||||
for(var a, b, i = -1, l = (s = s.split("")).length, o = String.fromCharCode, c = "charCodeAt"; ++i < l;
|
||||
((a = s[i][c](0)) & 0x80) && (s[i] = (a & 0xfc) == 0xc0 && ((b = s[i + 1][c](0)) & 0xc0) == 0x80 ?
|
||||
o(((a & 0x03) << 6) + (b & 0x3f)) : o(128), s[++i] = "")
|
||||
);
|
||||
return s.join("");
|
||||
}
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
<body class="background_main">
|
||||
<FORM NAME=weiter id=weiter METHOD=POST ACTION="http://www.bsz-bw.de/cgi-bin/oswd-suche.pl">
|
||||
<?php
|
||||
echo '<input type="hidden" name="ruecksprung" value="'.APP_ROOT.'/cis/private/lehre/abgabe_student_swd.php">
|
||||
</form>';
|
||||
if(isset($_POST['subject_swd']))
|
||||
{
|
||||
$subject_swd=iconv("ISO-8859-1", "UTF-8", $_POST['subject_swd']);
|
||||
echo "<script>document.getElementById(\"swd\").value='$subject_swd';</script>";
|
||||
echo "<script>
|
||||
if(opener.document.getElementById('kontrollschlagwoerter').value=='')
|
||||
{
|
||||
opener.document.getElementById('kontrollschlagwoerter').value='$subject_swd';window.close();
|
||||
}
|
||||
else
|
||||
{
|
||||
opener.document.getElementById('kontrollschlagwoerter').value=opener.document.getElementById('kontrollschlagwoerter').value+', $subject_swd';window.close();
|
||||
}
|
||||
</script>";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<script>document.getElementById('weiter').submit();</script>";
|
||||
}
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
$url = "http://xgnd.bsz-bw.de/";
|
||||
$zielfeld = "kontrollschlagwoerter";
|
||||
$url = $url."?zielfeld=".$zielfeld;
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
print file_get_contents($url);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user