This commit is contained in:
Andreas Österreicher
2007-07-12 12:58:52 +00:00
parent 8dc6d1ff62
commit bd16a639b4
3 changed files with 10 additions and 6 deletions
+8 -5
View File
@@ -42,6 +42,7 @@ class prestudent extends person
var $punkte;
var $bismelden;
var $anmerkung;
var $ext_id_prestudent;
var $rolle_kurzbz;
var $studiensemester_kurzbz;
@@ -116,6 +117,7 @@ class prestudent extends person
$this->bismelden = ($row->bismelden=='t'?true:false);
$this->person_id = $row->person_id;
$this->anmerkung = $row->anmerkung;
$this->ext_id_prestudent = $row->ext_id;
if(!person::load($row->person_id))
return false;
@@ -186,7 +188,7 @@ class prestudent extends person
$this->addslashes($this->insertvon).",".
$this->addslashes($this->updateamum).",".
$this->addslashes($this->updatevon).",".
$this->addslashes($this->ext_id).",".
$this->addslashes($this->ext_id_prestudent).",".
$this->addslashes($this->anmerkung).");";
}
else
@@ -212,7 +214,7 @@ class prestudent extends person
' bismelden='.($this->bismelden?'true':'false').",".
' updateamum='.$this->addslashes($this->updateamum).",".
' updatevon='.$this->addslashes($this->updatevon).",".
' ext_id='.$this->addslashes($this->ext_id).",".
' ext_id='.$this->addslashes($this->ext_id_prestudent).",".
' anmerkung='.$this->addslashes($this->anmerkung).
" WHERE prestudent_id='".addslashes($this->prestudent_id)."';";
}
@@ -328,7 +330,7 @@ class prestudent extends person
$ps->updatevon = $row->updatevon;
$ps->insertamum = $row->insertamum;
$ps->insertvon = $row->insertvon;
$ps->ext_id = $row->ext_id;
$ps->ext_id_prestudent = $row->ext_id_prestudent;
$this->result[]=$ps;
$this->num_rows++;
}
@@ -408,6 +410,7 @@ class prestudent extends person
$this->insertvon = $row->insertvon;
$this->updateamum = $row->updateamum;
$this->updatevon = $row->updatevon;
$this->ext_id_prestudent = $row->ext_id;
}
return true;
}
@@ -613,7 +616,7 @@ class prestudent extends person
$this->addslashes($this->insertvon).",".
$this->addslashes($this->updateamum).",".
$this->addslashes($this->updatevon).",".
$this->addslashes($this->ext_id).");";
$this->addslashes($this->ext_id_prestudent).");";
}
else
{
@@ -672,7 +675,7 @@ class prestudent extends person
$this->addslashes($this->insertvon).','.
$this->addslashes($this->updateamum).','.
$this->addslashes($this->updatevon).','.
$this->addslashes($this->ext_id).');';
$this->addslashes($this->ext_id_prestudent).');';
if($log->save(true))
{
+1 -1
View File
@@ -183,7 +183,7 @@ if($xmlformat=='rdf')
draw_prestudent($prestd);
}
}
elseif(in_array($typ, array('prestudent', 'interessent','bewerber','aufgenommen',
elseif(in_array($typ, array('prestudent', 'interessenten','bewerber','aufgenommen',
'warteliste','absage','zgv','reihungstestangemeldet',
'reihungstestnichtangemeldet')))
{
@@ -380,6 +380,7 @@ echo '<tr><td>EMail</td><td><input type="text" id="email" maxlength="128" name="
echo '<tr><td>Telefon</td><td><input type="text" id="telefon" maxlength="128" name="telefon" value="'.$telefon.'" /></td></tr>';
echo '<tr><td>Mobil</td><td><input type="text" id="mobil" maxlength="128" name="mobil" value="'.$mobil.'" /></td></tr>';
echo '<tr><td>Letzte Ausbildung</td><td><SELECT id="letzteausbildung" name="letzteausbildung">';
echo '<OPTION value="" '.($letzteausbildung==''?'selected':'').'>-- keine Auswahl --</OPTION>';
$qry = "SELECT * FROM bis.tbl_ausbildung ORDER BY ausbildungcode";
if($result = pg_query($conn, $qry))
{