This commit is contained in:
kindlm
2017-03-03 11:33:18 +01:00
162 changed files with 1544 additions and 1907 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ $uid = get_uid();
$rechte = new benutzerberechtigung();
$rechte->getBerechtigungen($uid);
if(!$rechte->isBerechtigt('basis/addon'))
if(!$rechte->isBerechtigt('basis/addon', null, 'suid'))
{
exit('Sie haben keine Berechtigung für die Verwaltung von Addons');
}
@@ -66,7 +66,7 @@ if(!$result = @$db->db_query("SELECT 1 FROM addon.tbl_template_items"))
if(!$db->db_query($qry))
echo '<strong>addon.tbl_template_items: '.$db->db_last_error().'</strong><br>';
else
else
echo ' addon.tbl_template_items: Tabelle addon.template_items hinzugefuegt!<br>';
}
+1 -1
View File
@@ -43,7 +43,7 @@ $uid = get_uid();
$rechte = new benutzerberechtigung();
$rechte->getBerechtigungen($uid);
if(!$rechte->isBerechtigt('basis/addon'))
if(!$rechte->isBerechtigt('basis/addon', null, 'suid'))
{
exit('Sie haben keine Berechtigung für die Verwaltung von Addons');
}
+3 -1
View File
@@ -2,8 +2,10 @@
if (! defined('BASEPATH')) exit('No direct script access allowed');
// ONLY FOR DEBUGGING - If you are unsure, don't change it. If the message should be sent immediately. Default false
$config['send_immediately'] = false;
$config['msg_delivery'] = true; // Default true
$config['send_immediately'] = false; // If the message should be sent immediately. Default false
$config['system_person_id'] = 1; // Dummy sender, used for sending messages from the system
$config['redirect_view_message_url'] = 'index.ci.php/Redirect/redirectByToken/'; //
$config['message_html_view_url'] = 'index.ci.php/ViewMessage/toHTML/';
+84 -18
View File
@@ -103,42 +103,80 @@ class Messages extends VileSci_Controller
redirect('/system/Messages/view/' . $msg->retval . '/' . $originMsg->retval[0]->person_id);
}
public function write($sender_id, $receiver_id)
public function write($sender_id)
{
$person = $this->PersonModel->load($receiver_id);
if ($person->error)
$prestudent_id = $this->input->post('prestudent_id');
$this->load->model('crm/Prestudent_model', 'PrestudentModel');
$prestudent = $this->MessageModel->getMsgVarsData($prestudent_id);
if ($prestudent->error)
{
show_error($person->retval);
show_error($prestudent->retval);
}
$this->load->model('system/Message_model', 'MessageModel');
if (!hasData($variables = $this->MessageModel->getMessageVars()))
{
unset($variables);
}
else
{
$variablesArray = array();
// Skip person_id and prestudent_id
for($i = 2; $i < count($variables->retval); $i++)
{
$variablesArray['{'.str_replace(" ", "_", strtolower($variables->retval[$i])).'}'] = $variables->retval[$i];
}
}
array_shift($variables->retval); // Remove person_id
array_shift($variables->retval); // Remove prestudent_id
$data = array (
'sender_id' => $sender_id,
'receiver_id' => $receiver_id,
'receiver' => $person->retval[0]
'receivers' => $prestudent->retval,
'variables' => $variablesArray
);
$v = $this->load->view('system/messageWrite', $data);
}
public function send($sender_id, $receiver_id)
public function send($sender_id)
{
$error = false;
$subject = $this->input->post('subject');
$body = $this->input->post('body');
$this->load->model('system/Message_model', 'MessageModel');
$originMsg = $this->MessageModel->load($msg_id);
if ($originMsg->error)
$prestudents = $this->input->post('prestudents');
$data = $this->MessageModel->getMsgVarsData($prestudents);
if (hasData($data))
{
show_error($originMsg->retval);
for ($i = 0; $i < count($data->retval); $i++)
{
$parsedText = "";
$dataArray = (array)$data->retval[$i];
foreach($dataArray as $key => $val)
{
$newKey = str_replace(" ", "_", strtolower($key));
$dataArray[$newKey] = $dataArray[$key];
}
$parsedText = $this->messagelib->parseMessageText($body, $dataArray);
$msg = $this->messagelib->sendMessage($sender_id, $dataArray['person_id'], $subject, $parsedText, PRIORITY_NORMAL);
if ($msg->error)
{
show_error($msg->retval);
$error = true;
break;
}
}
}
$msg = $this->messagelib->sendMessage($sender_id, $receiver_id, $subject, $body, PRIORITY_NORMAL);
if ($msg->error)
if (!$error)
{
show_error($msg->retval);
echo "Messages sent successfully";
}
redirect('/system/Messages/view/' . $msg->retval . '/' . $receiver_id);
}
private function getPersonId()
@@ -176,4 +214,32 @@ class Messages extends VileSci_Controller
->set_output(json_encode($result));
}
}
}
public function parseMessageText()
{
$prestudent_id = $this->input->get('prestudent_id');
$text = $this->input->get('text');
if (isset($prestudent_id))
{
$data = $this->MessageModel->getMsgVarsData($prestudent_id);
$parsedText = "";
if (hasData($data))
{
$dataArray = (array)$data->retval[0];
foreach($dataArray as $key => $val)
{
$newKey = str_replace(" ", "_", strtolower($key));
$dataArray[$newKey] = $dataArray[$key];
}
$parsedText = $this->messagelib->parseMessageText($text, $dataArray);
}
$this->output
->set_content_type('application/json')
->set_output(json_encode($parsedText));
}
}
}
+11 -3
View File
@@ -265,12 +265,12 @@ class MessageLib
}
else
{
if (!empty($subject))
if (empty($subject))
{
$result = $this->_error('', MSG_ERR_SUBJECT_EMPTY);
break;
}
else if (!empty($body))
else if (empty($body))
{
$result = $this->_error('', MSG_ERR_BODY_EMPTY);
break;
@@ -884,4 +884,12 @@ class MessageLib
{
return success($retval, $code, MessageLib::MSG_INDX_PREFIX);
}
}
/**
*
*/
public function parseMessageText($text, $data = array())
{
return $this->ci->parser->parse_string($text, $data, true);
}
}
@@ -66,4 +66,31 @@ class Message_model extends DB_Model
return $this->execQuery($sql, $parametersArray);
}
/**
*
*/
public function getMessageVars()
{
$result = $this->db->query('SELECT * FROM public.vw_msg_vars WHERE 0 = 1');
if ($result)
{
return success($result->list_fields());
}
else
{
return error($this->db->error(), FHC_DB_ERROR);
}
}
/**
*
*/
public function getMsgVarsData($prestudent_id)
{
$query = 'SELECT * FROM public.vw_msg_vars WHERE prestudent_id %s ?';
return $this->execQuery(sprintf($query, is_array($prestudent_id) ? 'IN' : '='), array($prestudent_id));
}
}
@@ -1,511 +0,0 @@
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Message_model extends DB_Model
{
/**
* Send a New Message
*
* @param integer $sender_id
* @param mixed $recipients A single integer or an array of integers
* @param string $subject
* @param string $body
* @param integer $priority
* @return integer $new_thread_id
*/
function send_new_message($sender_id, $recipients, $subject, $body, $priority)
{
$this->db->trans_start();
$thread_id = $this->_insert_thread($subject);
$msg_id = $this->_insert_message($thread_id, $sender_id, $body, $priority);
// Create batch inserts
$participants[] = array('thread_id' => $thread_id,'user_id' => $sender_id);
$statuses[] = array('message_id' => $msg_id, 'user_id' => $sender_id,'status' => MSG_STATUS_READ);
if ( ! is_array($recipients))
{
$participants[] = array('thread_id' => $thread_id,'user_id' => $recipients);
$statuses[] = array('message_id' => $msg_id, 'user_id' => $recipients, 'status' => MSG_STATUS_UNREAD);
}
else
{
foreach ($recipients as $recipient)
{
$participants[] = array('thread_id' => $thread_id,'user_id' => $recipient);
$statuses[] = array('message_id' => $msg_id, 'user_id' => $recipient, 'status' => MSG_STATUS_UNREAD);
}
}
$this->_insert_participants($participants);
$this->_insert_statuses($statuses);
$this->db->trans_complete();
if ($this->db->trans_status() === FALSE)
{
$this->db->trans_rollback();
return FALSE;
}
return $thread_id;
}
// ------------------------------------------------------------------------
/**
* Reply to Message
*
* @param integer $reply_msg_id
* @param integer $sender_id
* @param string $body
* @param integer $priority
* @return integer $new_msg_id
*/
function reply_to_message($reply_msg_id, $sender_id, $body, $priority)
{
$this->db->trans_start();
// Get the thread id to keep messages together
if ( ! $thread_id = $this->_get_thread_id_from_message($reply_msg_id))
{
return FALSE;
}
// Add this message
$msg_id = $this->_insert_message($thread_id, $sender_id, $body, $priority);
if ($recipients = $this->_get_thread_participants($thread_id, $sender_id))
{
$statuses[] = array('message_id' => $msg_id, 'user_id' => $sender_id,'status' => MSG_STATUS_READ);
foreach ($recipients as $recipient)
{
$statuses[] = array('message_id' => $msg_id, 'user_id' => $recipient['user_id'], 'status' => MSG_STATUS_UNREAD);
}
$this->_insert_statuses($statuses);
}
$this->db->trans_complete();
if ($this->db->trans_status() === FALSE)
{
$this->db->trans_rollback();
return FALSE;
}
return $msg_id;
}
// ------------------------------------------------------------------------
/**
* Get a Single Message
*
* @param integer $msg_id
* @param integer $user_id
* @return array
*/
function get_message($msg_id, $user_id)
{
$sql = 'SELECT m.*, s.status, t.subject, ' . USER_TABLE_USERNAME .
' FROM ' . $this->db->dbprefix . 'msg_messages m ' .
' JOIN ' . $this->db->dbprefix . 'msg_threads t ON (m.thread_id = t.id) ' .
' JOIN ' . $this->db->dbprefix . USER_TABLE_TABLENAME . ' ON (' . USER_TABLE_ID . ' = m.sender_id) '.
' JOIN ' . $this->db->dbprefix . 'msg_status s ON (s.message_id = m.id AND s.user_id = ? ) ' .
' WHERE m.id = ? ' ;
$query = $this->db->query($sql, array($user_id, $msg_id));
return $query->result_array();
}
// ------------------------------------------------------------------------
/**
* Get a Full Thread
*
* @param integer $thread_id
* @param integer $user_id
* @param boolean $full_thread
* @param string $order_by
* @return array
*/
function get_full_thread($thread_id, $user_id, $full_thread = FALSE, $order_by = 'asc')
{
$sql = 'SELECT m.*, s.status, t.subject, '.USER_TABLE_USERNAME .
' FROM ' . $this->db->dbprefix . 'msg_participants p ' .
' JOIN ' . $this->db->dbprefix . 'msg_threads t ON (t.id = p.thread_id) ' .
' JOIN ' . $this->db->dbprefix . 'msg_messages m ON (m.thread_id = t.id) ' .
' JOIN ' . $this->db->dbprefix . USER_TABLE_TABLENAME . ' ON (' . USER_TABLE_ID . ' = m.sender_id) '.
' JOIN ' . $this->db->dbprefix . 'msg_status s ON (s.message_id = m.id AND s.user_id = ? ) ' .
' WHERE p.user_id = ? ' .
' AND p.thread_id = ? ';
if ( ! $full_thread)
{
$sql .= ' AND m.cdate >= p.cdate';
}
$sql .= ' ORDER BY m.cdate ' . $order_by;
$query = $this->db->query($sql, array($user_id, $user_id, $thread_id));
return $query->result_array();
}
// ------------------------------------------------------------------------
/**
* Get All Threads
*
* @param integer $user_id
* @param boolean $full_thread
* @param string $order_by
* @return array
*/
function get_all_threads($user_id, $full_thread = FALSE, $order_by = 'asc')
{
$sql = 'SELECT m.*, s.status, t.subject, '.USER_TABLE_USERNAME .
' FROM ' . $this->db->dbprefix . 'msg_participants p ' .
' JOIN ' . $this->db->dbprefix . 'msg_threads t ON (t.id = p.thread_id) ' .
' JOIN ' . $this->db->dbprefix . 'msg_messages m ON (m.thread_id = t.id) ' .
' JOIN ' . $this->db->dbprefix . USER_TABLE_TABLENAME . ' ON (' . USER_TABLE_ID . ' = m.sender_id) '.
' JOIN ' . $this->db->dbprefix . 'msg_status s ON (s.message_id = m.id AND s.user_id = ? ) ' .
' WHERE p.user_id = ? ' ;
if (!$full_thread)
{
$sql .= ' AND m.cdate >= p.cdate';
}
$sql .= ' ORDER BY t.id ' . $order_by. ', m.cdate '. $order_by;
$query = $this->db->query($sql, array($user_id, $user_id));
return $query->result_array();
}
// ------------------------------------------------------------------------
/**
* Change Message Status
*
* @param integer $msg_id
* @param integer $user_id
* @param integer $status_id
* @return integer
*/
function update_message_status($msg_id, $user_id, $status_id)
{
$this->db->where(array('message_id' => $msg_id, 'user_id' => $user_id ));
$this->db->update('msg_status', array('status' => $status_id ));
return $this->db->affected_rows();
}
// ------------------------------------------------------------------------
/**
* Add a Participant
*
* @param integer $thread_id
* @param integer $user_id
* @return boolean
*/
function add_participant($thread_id, $user_id)
{
$this->db->trans_start();
$participants[] = array('thread_id' => $thread_id,'user_id' => $user_id);
$this->_insert_participants($participants);
// Get Messages by Thread
$messages = $this->_get_messages_by_thread_id($thread_id);
foreach ($messages as $message)
{
$statuses[] = array('message_id' => $message['id'], 'user_id' => $user_id, 'status' => MSG_STATUS_UNREAD);
}
$this->_insert_statuses($statuses);
$this->db->trans_complete();
if ($this->db->trans_status() === FALSE)
{
$this->db->trans_rollback();
return FALSE;
}
return TRUE;
}
// ------------------------------------------------------------------------
/**
* Remove a Participant
*
* @param integer $thread_id
* @param integer $user_id
* @return boolean
*/
function remove_participant($thread_id, $user_id)
{
$this->db->trans_start();
$this->_delete_participant($thread_id, $user_id);
$this->_delete_statuses($thread_id, $user_id);
$this->db->trans_complete();
if ($this->db->trans_status() === FALSE)
{
$this->db->trans_rollback();
return FALSE;
}
return TRUE;
}
// ------------------------------------------------------------------------
/**
* Valid New Participant - because of CodeIgniter's DB Class return style,
* it is safer to check for uniqueness first
*
* @param integer $thread_id
* @param integer $user_id
* @return boolean
*/
function valid_new_participant($thread_id, $user_id)
{
$sql = 'SELECT COUNT(*) AS count ' .
' FROM ' . $this->db->dbprefix . 'msg_participants p ' .
' WHERE p.thread_id = ? ' .
' AND p.user_id = ? ';
$query = $this->db->query($sql, array($thread_id, $user_id));
if ($query->row()->count)
{
return FALSE;
}
return TRUE;
}
// ------------------------------------------------------------------------
/**
* Application User
*
* @param integer $user_id`
* @return boolean
*/
function application_user($user_id)
{
$sql = 'SELECT COUNT(*) AS count ' .
' FROM ' . $this->db->dbprefix . USER_TABLE_TABLENAME .
' WHERE ' . USER_TABLE_ID . ' = ?' ;
$query = $this->db->query($sql, array($user_id));
if ($query->row()->count)
{
return TRUE;
}
return FALSE;
}
// ------------------------------------------------------------------------
/**
* Get Participant List
*
* @param integer $thread_id
* @param integer $sender_id
* @return mixed
*/
function get_participant_list($thread_id, $sender_id = 0)
{
if ($results = $this->_get_thread_participants($thread_id, $sender_id))
{
return $results;
}
return FALSE;
}
// ------------------------------------------------------------------------
/**
* Get Message Count
*
* @param integer $user_id
* @param integer $status_id
* @return integer
*/
function get_msg_count($user_id, $status_id = MSG_STATUS_UNREAD)
{
$query = $this->db->select('COUNT(*) AS msg_count')->where(array('user_id' => $user_id, 'status' => $status_id ))->get('msg_status');
return $query->row()->msg_count;
}
// ------------------------------------------------------------------------
// Private Functions from here out!
// ------------------------------------------------------------------------
/**
* Insert Thread
*
* @param string $subject
* @return integer
*/
private function _insert_thread($subject)
{
$insert_id = $this->db->insert('msg_threads', array('subject' => $subject));
return $this->db->insert_id();
}
/**
* Insert Message
*
* @param integer $thread_id
* @param integer $sender_id
* @param string $body
* @param integer $priority
* @return integer
*/
private function _insert_message($thread_id, $sender_id, $body, $priority)
{
$insert['thread_id'] = $thread_id;
$insert['sender_id'] = $sender_id;
$insert['body'] = $body;
$insert['priority'] = $priority;
$insert_id = $this->db->insert('msg_messages', $insert);
return $this->db->insert_id();
}
/**
* Insert Participants
*
* @param array $participants
* @return bool
*/
private function _insert_participants($participants)
{
return $this->db->insert_batch('msg_participants', $participants);
}
/**
* Insert Statuses
*
* @param array $statuses
* @return bool
*/
private function _insert_statuses($statuses)
{
return $this->db->insert_batch('msg_status', $statuses);
}
/**
* Get Thread ID from Message
*
* @param integer $msg_id
* @return integer
*/
private function _get_thread_id_from_message($msg_id)
{
$query = $this->db->select('thread_id')->get_where('msg_messages', array('id' => $msg_id));
if ($query->num_rows())
{
return $query->row()->thread_id;
}
return 0;
}
/**
* Get Messages by Thread
*
* @param integer $thread_id
* @return array
*/
private function _get_messages_by_thread_id($thread_id)
{
$query = $this->db->get_where('msg_messages', array('thread_id' => $thread_id));
return $query->result_array();
}
/**
* Get Thread Particpiants
*
* @param integer $thread_id
* @param integer $sender_id
* @return array
*/
private function _get_thread_participants($thread_id, $sender_id = 0)
{
$array['thread_id'] = $thread_id;
if ($sender_id) // If $sender_id 0, no one to exclude
{
$array['msg_participants.user_id != '] = $sender_id;
}
$this->db->select('msg_participants.user_id, '.USER_TABLE_USERNAME, FALSE);
$this->db->join(USER_TABLE_TABLENAME, 'msg_participants.user_id = ' . USER_TABLE_ID);
$query = $this->db->get_where('msg_participants', $array);
return $query->result_array();
}
/**
* Delete Participant
*
* @param integer $thread_id
* @param integer $user_id
* @return boolean
*/
private function _delete_participant($thread_id, $user_id)
{
$this->db->delete('msg_participants', array('thread_id' => $thread_id, 'user_id' => $user_id));
if ($this->db->affected_rows() > 0)
{
return TRUE;
}
return FALSE;
}
/**
* Delete Statuses
*
* @param integer $thread_id
* @param integer $user_id
* @return boolean
*/
private function _delete_statuses($thread_id, $user_id)
{
$sql = 'DELETE s FROM msg_status s ' .
' JOIN ' . $this->db->dbprefix . 'msg_messages m ON (m.id = s.message_id) ' .
' WHERE m.thread_id = ? ' .
' AND s.user_id = ? ';
$query = $this->db->query($sql, array($thread_id, $user_id));
return TRUE;
}
}
/* end of file mahana_model.php */
+128 -10
View File
@@ -3,14 +3,47 @@
<body>
<?php
$href = str_replace("/system/Messages/write", "/system/Messages/send", $_SERVER["REQUEST_URI"]);
$href = substr($href, 0, strrpos($href, '?'));
?>
<form id="sendForm" method="post" action="<?php echo $href; ?>">
<div class="row">
<div class="span4">
To: <?php echo $receiver->vorname . " " . $receiver->nachname; ?><br/>
Subject: <input type="text" value="" name="subject"><br/>
To:
<?php
for($i = 0; $i < count($receivers); $i++)
{
$receiver = $receivers[$i];
// Every 10 recipients a new line
if ($i > 1 && $i % 10 == 0)
{
echo '<br>';
}
echo $receiver->Vorname . " " . $receiver->Nachname . "; ";
}
?>
<br>
Subject: <input type="text" value="" name="subject" size="70"><br/>
<textarea id="bodyTextArea" name="body"></textarea>
<?php
if (isset($variables))
{
?>
Variables:<br>
<select id="variables" size="12" style="min-width:200px;">
<?php
foreach($variables as $key => $val)
{
?>
<option value="<?php echo $key; ?>"><?php echo $val; ?></option>
<?php
}
?>
</select>
<?php
}
?>
</div>
</div>
@@ -22,29 +55,114 @@
</div>
</div>
<?php
if (isset($receivers) && count($receivers) > 0)
{
?>
<div class="row">
<div class="span4">
Recipients:<br>
<select id="recipients">
<option value="-1">Select...</option>
<?php
foreach($receivers as $receiver)
{
?>
<option value="<?php echo $receiver->prestudent_id; ?>"><?php echo $receiver->Nachname . " " . $receiver->Vorname; ?></option>
<?php
}
?>
</select>
<a href="#" id="refresh">Refresh</a>
</div>
</div>
<div class="row">
<div class="span4">
<textarea id="tinymcePreview"></textarea>
</div>
</div>
<?php
}
?>
<?php
for($i = 0; $i < count($receivers); $i++)
{
$receiver = $receivers[$i];
echo '<input type="hidden" name="prestudents[]" value="' . $receiver->prestudent_id . '">' . "\n";
}
?>
</form>
</body>
<script>
tinymce.init({
selector: "#bodyTextArea"
selector: "#bodyTextArea"
});
<?php
$url = str_replace("/system/Messages/write", "/system/Messages/getVorlage", $_SERVER["REQUEST_URI"]);
?>
tinymce.init({
menubar: false,
toolbar: false,
readonly: 1,
selector: "#tinymcePreview",
statusbar: true
});
function getVorlageText(vorlage_kurzbz)
$(document).ready(function() {
if ($("#variables"))
{
$("#variables").dblclick(function() {
if ($("#bodyTextArea"))
{
tinyMCE.get("bodyTextArea").setContent(tinyMCE.get("bodyTextArea").getContent() + $(this).children(":selected").val());
}
});
}
if ($("#recipients"))
{
$("#recipients").change(tinymcePreviewSetContent);
}
if ($("#refresh"))
{
$("#refresh").click(tinymcePreviewSetContent);
}
});
function tinymcePreviewSetContent()
{
if ($("#tinymcePreview"))
{
if ($("#recipients").children(":selected").val() > -1)
{
parseMessageText($("#recipients").children(":selected").val(), tinyMCE.get("bodyTextArea").getContent());
}
else
{
tinyMCE.get("tinymcePreview").setContent("");
}
}
}
function parseMessageText(prestudent_id, text)
{
<?php
$url = str_replace("/system/Messages/write", "/system/Messages/parseMessageText", $_SERVER["REQUEST_URI"]);
$url = substr($url, 0, strrpos($url, '/'));
?>
$.ajax({
dataType: "json",
url: "<?php echo $url; ?>",
data: {"vorlage_kurzbz": vorlage_kurzbz},
data: {"prestudent_id": prestudent_id, "text" : text},
success: function(data, textStatus, jqXHR) {
tinyMCE.activeEditor.setContent(data.retval[0].text);
tinyMCE.get("tinymcePreview").setContent(data);
},
error: function(jqXHR, textStatus, errorThrown) {
alert(textStatus + " - " + errorThrown);
alert(textStatus + " - " + errorThrown + " - " + jqXHR.responseText);
}
});
}
+4 -2
View File
@@ -291,8 +291,10 @@ if ($type=='student' && (!defined('CIS_PROFIL_STUDIENINFORMATION_ANZEIGEN') || C
".$p->t('global/studiengang').": $studiengang->bezeichnung<br>
".$p->t('global/semester').": $user->semester <a href='#' onClick='javascript:window.open(\"../stud_in_grp.php?kz=$user->studiengang_kz&sem=$user->semester\",\"_blank\",\"width=600,height=500,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes, resizable=1\");return false;'>".$p->t('benotungstool/liste')."</a><br>
".$p->t('global/verband').": $user->verband ".($user->verband!=' '?"<a href='#' onClick='javascript:window.open(\"../stud_in_grp.php?kz=$user->studiengang_kz&sem=$user->semester&verband=$user->verband\",\"_blank\",\"width=600,height=500,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes, resizable=1\");return false;'>".$p->t('benotungstool/liste')."</a>":"")."<br>
".$p->t('global/gruppe').": $user->gruppe ".($user->gruppe!=' '?"<a href='#' onClick='javascript:window.open(\"../stud_in_grp.php?kz=$user->studiengang_kz&sem=$user->semester&verband=$user->verband&grp=$user->gruppe\",\"_blank\",\"width=600,height=500,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes, resizable=1\");return false;'>".$p->t('benotungstool/liste')."</a>":"")."<br>
".$p->t('profil/martrikelnummer').": $user->matrikelnr<br />";
".$p->t('global/gruppe').": $user->gruppe ".($user->gruppe!=' '?"<a href='#' onClick='javascript:window.open(\"../stud_in_grp.php?kz=$user->studiengang_kz&sem=$user->semester&verband=$user->verband&grp=$user->gruppe\",\"_blank\",\"width=600,height=500,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes, resizable=1\");return false;'>".$p->t('benotungstool/liste')."</a>":"")."<br>";
if($user->studiengang_kz<10000)
echo $p->t('profil/martrikelnummer').": $user->matrikelnr<br />";
}
if ($type=='mitarbeiter')
+5 -2
View File
@@ -35,6 +35,7 @@ if (!$db = new basis_db())
die('Fehler beim Oeffnen der Datenbankverbindung');
$person_id = '';
$serverzugriff=false;
//Wenn das Bild direkt aufgerufen wird, ist eine Authentifizierung erforderlich
//Wenn es vom Server selbst aufgerufen wird, ist keine Auth. notwendig
//(z.B. fuer die Erstellung von PDFs)
@@ -43,7 +44,7 @@ if($_SERVER['REMOTE_ADDR']!=$_SERVER['SERVER_ADDR'])
// wenn session gesetzt ist von Prestudententool, Incomingtool oder Bewerbungstool -> keine Abfrage da diese Personen noch keine uid haben
if(!isset($_SESSION['prestudent/user']) && !isset($_SESSION['incoming/user']) && !isset($_SESSION['bewerbung/personId']))
$uid = get_uid();
else
else
{
if (isset($_SESSION['incoming/user']))
{
@@ -61,6 +62,8 @@ if($_SERVER['REMOTE_ADDR']!=$_SERVER['SERVER_ADDR'])
}
}
}
else
$serverzugriff=true;
//default bild (ein weisser pixel)
$cTmpHEX='/9j/4AAQSkZJRgABAQEASABIAAD/4QAWRXhpZgAATU0AKgAAAAgAAAAAAAD//gAXQ3JlYXRlZCB3aXRoIFRoZSBHSU1Q/9sAQwAFAwQEBAMFBAQEBQUFBgcMCAcHBwcPCwsJDBEPEhIRDxERExYcFxMUGhURERghGBodHR8fHxMXIiQiHiQcHh8e/9sAQwEFBQUHBgcOCAgOHhQRFB4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4e/8AAEQgAAQABAwEiAAIRAQMRAf/EABUAAQEAAAAAAAAAAAAAAAAAAAAI/8QAFBABAAAAAAAAAAAAAAAAAAAAAP/EABQBAQAAAAAAAAAAAAAAAAAAAAD/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwCywAf/2Q==';
@@ -88,7 +91,7 @@ if(isset($_GET['src']) && $_GET['src']=='person' && isset($_GET['person_id']) &
}
}
elseif(!isset($uid) && $person_id != $row->person_id)
elseif(!isset($uid) && $person_id != $row->person_id && !$serverzugriff)
{
$gesperrt=true;
}
+2 -2
View File
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -67,7 +67,7 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'skin/tempus.css" type="text/css"?>';
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 &lt;christian.paminger@technikum-wien.at&gt;,
Andreas Oesterreicher &lt;andreas.oesterreicher@technikum-wien.at&gt;,
Rudolf Hangl &lt;rudolf.hangl@technikum-wien.at&gt;,
+1 -1
View File
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
+4 -4
View File
@@ -19,7 +19,7 @@
*/
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -32,7 +32,7 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'content/bindings.css" type="text/css"?>
$student_uid = filter_input(INPUT_GET,'student_uid');
$lehrveranstaltung_id= filter_input(INPUT_GET,'lehrveranstaltung_id');
?>
<window id="anwesenheit-window" title="anwesenheit"
@@ -81,13 +81,13 @@ $lehrveranstaltung_id= filter_input(INPUT_GET,'lehrveranstaltung_id');
sort="rdf:http://www.technikum-wien.at/anwesenheit/rdf#uid" onclick="anwesenheitTreeSort()"/>
<splitter class="tree-splitter"/>
</treecols>
<template>
<rule>
<treechildren>
<treeitem uri="rdf:*">
<treerow properties="rdf:http://www.technikum-wien.at/anwesenheit/rdf#ampel">
<treecell label="rdf:http://www.technikum-wien.at/anwesenheit/rdf#lehrveranstaltung_bezeichnung" />
<treecell label="rdf:http://www.technikum-wien.at/anwesenheit/rdf#lehrveranstaltung_bezeichnung" />
<treecell label="rdf:http://www.technikum-wien.at/anwesenheit/rdf#nachname" />
<treecell label="rdf:http://www.technikum-wien.at/anwesenheit/rdf#vorname" />
<treecell label="rdf:http://www.technikum-wien.at/anwesenheit/rdf#prozent" />
+7 -7
View File
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../config/vilesci.config.inc.php');
@@ -31,15 +31,15 @@ echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
echo '<?xml-stylesheet href="'.APP_ROOT.'skin/tempus.css" type="text/css"?>';
echo '<?xml-stylesheet href="'.APP_ROOT.'content/bindings.css" type="text/css"?>';
if(isset($_GET['bankverbindung_id']) && is_numeric($_GET['bankverbindung_id']))
$bankverbindung_id=$_GET['bankverbindung_id'];
else
else
$bankverbindung_id='';
if(isset($_GET['person_id']) && is_numeric($_GET['person_id']))
$person_id=$_GET['person_id'];
else
else
$person_id='';
?>
@@ -84,11 +84,11 @@ else
<row>
<label value="Kontonummer" control="bankverbindung-textbox-kontonr"/>
<textbox id="bankverbindung-textbox-kontonr" checked="true"/>
</row>
</row>
<row>
<label value="BLZ" control="bankverbindung-textbox-blz"/>
<textbox id="bankverbindung-textbox-blz" checked="true"/>
</row>
</row>
<row>
<label value="Typ" control="bankverbindung-textbox-typ"/>
<menulist id="bankverbindung-menulist-typ" flex="1">
+3 -3
View File
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../config/vilesci.config.inc.php');
@@ -179,7 +179,7 @@ else
<rows>
<row>
<label value="Typ" control="betriebsmittel-menulist-betriebsmitteltyp"/>
<menulist id="betriebsmittel-menulist-betriebsmitteltyp"
<menulist id="betriebsmittel-menulist-betriebsmitteltyp"
disabled="true" flex="1"
datasources="<?php echo APP_ROOT ?>rdf/betriebsmitteltyp.rdf.php"
ref="http://www.technikum-wien.at/betriebsmitteltyp/liste"
@@ -217,7 +217,7 @@ else
<menulist id="betriebsmittel-menulist-inventarnummer"
editable="true" disabled="true"
datasources="rdf:null" flex="1"
ref="http://www.technikum-wien.at/betriebsmittel/liste"
ref="http://www.technikum-wien.at/betriebsmittel/liste"
oninput="BetriebsmittelMenulistInventarLoad(this)"
>
<template>
+6 -6
View File
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -35,7 +35,7 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'content/datepicker/datepicker.css" type
if(isset($_GET['uid']))
$uid = $_GET['uid'];
else
else
die('Parameter uid muss uebergeben werden');
?>
@@ -110,7 +110,7 @@ else
sort="rdf:http://www.technikum-wien.at/bnfunktion/rdf#wochenstunden" onclick="FunktionTreeSort()"/>
<splitter class="tree-splitter"/>
</treecols>
<template>
<rule>
<treechildren>
@@ -265,8 +265,8 @@ else
<spacer flex="1" />
<button id="funktion-button-speichern" oncommand="FunktionDetailSpeichern()" label="Speichern" disabled="true"/>
</hbox>
</groupbox>
<spacer/>
</vbox>
</groupbox>
<spacer/>
</vbox>
</hbox>
</window>
+1 -1
View File
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
+9 -9
View File
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -31,15 +31,15 @@ echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
echo '<?xml-stylesheet href="'.APP_ROOT.'skin/tempus.css" type="text/css"?>';
echo '<?xml-stylesheet href="'.APP_ROOT.'content/bindings.css" type="text/css"?>';
if(isset($_GET['kontakt_id']) && is_numeric($_GET['kontakt_id']))
$kontakt_id=$_GET['kontakt_id'];
else
else
$kontakt_id='';
if(isset($_GET['person_id']) && is_numeric($_GET['person_id']))
$person_id=$_GET['person_id'];
else
else
$person_id='';
?>
@@ -67,7 +67,7 @@ else
<rows>
<row>
<label value="Typ" control="kontakt-menulist-typ"/>
<menulist id="kontakt-menulist-typ"
<menulist id="kontakt-menulist-typ"
datasources="<?php echo APP_ROOT ?>rdf/kontakttyp.rdf.php" flex="1"
ref="http://www.technikum-wien.at/kontakttyp/liste" >
<template>
@@ -86,15 +86,15 @@ else
<row>
<label value="Anmerkung" control="kontakt-textbox-anmerkung"/>
<textbox id="kontakt-textbox-anmerkung" maxlength="64"/>
</row>
</row>
<row>
<label value="Zustellung" control="kontakt-checkbox-zustellung"/>
<checkbox id="kontakt-checkbox-zustellung" checked="true"/>
</row>
<row>
<label value="Firma / Standort" control="kontakt-menulist-firma"/>
<!--<menulist id="kontakt-menulist-firma"
<!--<menulist id="kontakt-menulist-firma"
datasources="<?php echo APP_ROOT ?>rdf/firma.rdf.php?optional=true" flex="1"
ref="http://www.technikum-wien.at/firma/liste" >
<template>
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -64,7 +64,7 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/lvplanung/lehrveranstaltungnotenov
<toolbarbutton id="lehrveranstaltung-toolbar-refresh" label="Aktualisieren" oncommand="LvTreeRefresh()" disabled="false" image="../skin/images/refresh.png" tooltiptext="Liste neu laden"/>
<toolbarbutton id="lehrveranstaltung-toolbar-lehrauftrag" label="Lehrauftrag" oncommand="LvCreateLehrauftrag()" disabled="false" image="../skin/images/person.gif" tooltiptext="Lehrauftrag ausdrucken" hidden="true"/>
<toolbarbutton label="Ausbildungssemester " id="lehrveranstaltung-toolbar-filter-ausbildungssemester" type="menu" hidden="true">
<toolbarbutton label="Ausbildungssemester " id="lehrveranstaltung-toolbar-filter-ausbildungssemester" type="menu" hidden="true">
<menupopup id="lehrveranstaltung-toolbar-popup-filter-ausbildungssemester" >
<menuitem id="lehrveranstaltung-toolbar-filter-ausbildungssemester-alle" type="radio" checked="true" label="Alle Semester" oncommand="FilterLehrveranstaltungAusbsem('')" disabled="false" tooltiptext="Alle Semester anzeigen"/>
<menuitem id="lehrveranstaltung-toolbar-filter-ausbildungssemester-1" type="radio" label="1. Semester" oncommand="FilterLehrveranstaltungAusbsem('1')" disabled="false"/>
@@ -255,9 +255,9 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/lvplanung/lehrveranstaltungnotenov
<tab id="lehrveranstaltung-tab-notizen" label="Notizen" />
<tab id="lehrveranstaltung-tab-lvangebot" label="LV-Angebot" />
<tab id="lehrveranstaltung-tab-termine" label="Termine" onclick="LehrveranstaltungTermineIFrameLoad()"/>
<?php
<?php
if($rechte->isBerechtigt('student/anwesenheit'))
echo '<tab id="lehrveranstaltung-tab-anwesenheit" label="Anwesenheit" onclick="LehrveranstaltungAnwesenheitIFrameLoad();"/>';
echo '<tab id="lehrveranstaltung-tab-anwesenheit" label="Anwesenheit" onclick="LehrveranstaltungAnwesenheitIFrameLoad();"/>';
?>
</tabs>
@@ -270,7 +270,7 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/lvplanung/lehrveranstaltungnotenov
</vbox>
<vbox id="lehrveranstaltung-lvangebot" />
<iframe id="lehrveranstaltung-termine" src="" style="margin-top:10px;" />
<?php
<?php
if($rechte->isBerechtigt('student/anwesenheit'))
echo '<iframe id="lehrveranstaltung-anwesenheit" src="" style="margin-top:10px;" />';
?>
+1 -1
View File
@@ -20,7 +20,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
+20 -20
View File
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -40,9 +40,9 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'content/datepicker/datepicker.css" type
if(isset($_GET['id']) && is_numeric($_GET['id']))
$id=$_GET['id'];
else
else
$id='';
$datum_obj = new datum();
$db = new basis_db();
@@ -92,7 +92,7 @@ $studiengang->load($stundenplan->studiengang_kz);
<row>
<spacer />
<spacer />
</row>
</row>
<row>
<label value="Studiengang"/>
<label value="<?php echo $studiengang->kuerzel; ?>" id="stpl-details-dialog-label-studiengang"/>
@@ -117,19 +117,19 @@ $studiengang->load($stundenplan->studiengang_kz);
</row>
<row>
<label value="Spezialgruppe" control="stpl-details-dialog-menulist-gruppe_kurzbz"/>
<menulist id="stpl-details-dialog-menulist-gruppe_kurzbz"
<menulist id="stpl-details-dialog-menulist-gruppe_kurzbz"
flex="1">
<menupopup>
<?php
echo "<menuitem value='' label='-- keine Auswahl --'/>\n";
$qry = "SELECT gruppe_kurzbz
FROM public.tbl_gruppe
$qry = "SELECT gruppe_kurzbz
FROM public.tbl_gruppe
WHERE studiengang_kz='$stundenplan->studiengang_kz' AND semester='$stundenplan->semester'
UNION
SELECT gruppe_kurzbz
FROM lehre.tbl_lehreinheitgruppe
WHERE lehreinheit_id='$stundenplan->lehreinheit_id'";
if($db->db_query($qry))
{
while($row = $db->db_fetch_object())
@@ -138,9 +138,9 @@ $studiengang->load($stundenplan->studiengang_kz);
{
if($row->gruppe_kurzbz==$stundenplan->gruppe_kurzbz)
$selected="selected='true'";
else
else
$selected='';
echo "<menuitem value='$row->gruppe_kurzbz' label='$row->gruppe_kurzbz' $selected/>\n";
}
}
@@ -153,19 +153,19 @@ $studiengang->load($stundenplan->studiengang_kz);
<label value="UNr" />
<textbox id="stpl-details-dialog-textbox-unr" value="<?php echo $stundenplan->unr; ?>"/>
</row>
<row>
<label value="Fix" />
<checkbox id="stpl-details-dialog-checkbox-fix" checked="<?php echo ($stundenplan->fix?'true':'false'); ?>"/>
</row>
<row>
<label value="Ort" control="stpl-details-dialog-menulist-ort_kurzbz"/>
<menulist id="stpl-details-dialog-menulist-ort_kurzbz"
<menulist id="stpl-details-dialog-menulist-ort_kurzbz"
flex="1">
<menupopup>
<?php
$qry = "SELECT ort_kurzbz FROM public.tbl_ort WHERE aktiv=true ORDER BY ort_kurzbz";
if($db->db_query($qry))
{
while($row = $db->db_fetch_object())
@@ -174,9 +174,9 @@ $studiengang->load($stundenplan->studiengang_kz);
{
if($row->ort_kurzbz==$stundenplan->ort_kurzbz)
$selected="selected='true'";
else
else
$selected='';
echo "<menuitem value='$row->ort_kurzbz' label='$row->ort_kurzbz' $selected/>\n";
}
}
@@ -187,12 +187,12 @@ $studiengang->load($stundenplan->studiengang_kz);
</row>
<row>
<label value="Stunde" control="stpl-details-dialog-menulist-stunde"/>
<menulist id="stpl-details-dialog-menulist-stunde"
<menulist id="stpl-details-dialog-menulist-stunde"
flex="1">
<menupopup>
<?php
$qry = "SELECT stunde FROM lehre.tbl_stunde ORDER BY stunde";
if($db->db_query($qry))
{
while($row = $db->db_fetch_object())
@@ -201,9 +201,9 @@ $studiengang->load($stundenplan->studiengang_kz);
{
if($row->stunde==$stundenplan->stunde)
$selected="selected='true'";
else
else
$selected='';
echo "<menuitem value='$row->stunde' label='$row->stunde' $selected/>\n";
}
}
@@ -239,5 +239,5 @@ $studiengang->load($stundenplan->studiengang_kz);
<button id="stpl-details-dialog-button-speichern" command="stpl-details-dialog-command-save" label="speichern" accesskey="s"/>
</hbox>
</groupbox>
</vbox>
</vbox>
</window>
+23 -23
View File
@@ -21,7 +21,7 @@
*/
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -61,91 +61,91 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<treecols>
<treecol id="lehreinheit_id" label="LE_ID" flex="2" primary="false"
class="sortDirectionIndicator" sortActive="true" sortDirection="ascending"
persist="hidden, width, ordinal"
persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehreinheit_id" />
<splitter class="tree-splitter"/>
<treecol id="stplLektor" label="Lektor" flex="2" hidden="false"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lektor" />
<splitter class="tree-splitter"/>
<treecol id="stplLehrfachKurzbz" label="Fach" flex="1" hidden="false"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrfach" />
<splitter class="tree-splitter"/>
<treecol id="stplLehrform" label="Form" flex="1" hidden="false"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrform" />
<splitter class="tree-splitter"/>
<treecol id="stplLehrfachBezeichnung" label="Lehrfach" flex="20" hidden="false"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#lehrfach_bez" />
<splitter class="tree-splitter"/>
<treecol id="stpl_studiengang" label="Studiengang" flex="1" hidden="false"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#studiengang" />
<splitter class="tree-splitter"/>
<treecol id="stplSemester" label="S" flex="1" hidden="false"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#sem" />
<splitter class="tree-splitter"/>
<treecol id="stplVerband" label="V" flex="1" hidden="false"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#ver" />
<splitter class="tree-splitter"/>
<treecol id="gruppe" label="G" flex="1" hidden="false"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#grp" />
<splitter class="tree-splitter"/>
<treecol id="stpl_einheit" label="SpzGrp" flex="3" hidden="false"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#gruppe" />
<splitter class="tree-splitter"/>
<treecol id="stplOrt" label="Ort" flex="2" hidden="true"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#ort_kurzbz" />
<splitter class="tree-splitter"/>
<treecol id="stpl_datum" label="Datum" flex="2" hidden="true"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#datum" />
<splitter class="tree-splitter"/>
<treecol id="stpl_stunde" label="Std" flex="1" hidden="true"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#stunde" />
<splitter class="tree-splitter"/>
<treecol id="stplUNR" label="UNR" flex="2" hidden="true"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#unr" />
<splitter class="tree-splitter"/>
<treecol id="stundenplan_id" label="StundenplanID" flex="2" hidden="true"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#id" />
<splitter class="tree-splitter"/>
<treecol id="anzahlstudenten" label="AnzahlStudenten" flex="2" hidden="false"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#anzahlstudenten" />
<splitter class="tree-splitter"/>
<treecol id="stpl-details-overlay-lehrstunde-anmerkung" label="Anmerkung" flex="2" hidden="false"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#anmerkung" />
<splitter class="tree-splitter"/>
<treecol id="stpl-details-overlay-lehrstunde-anmerkung_lehreinheit" label="AnmerkungLE" flex="2" hidden="false"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#anmerkung_lehreinheit" />
<splitter class="tree-splitter"/>
<treecol id="stpl-details-overlay-lehrstunde-titel" label="Titel" flex="2" hidden="false"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#titel" />
<splitter class="tree-splitter"/>
<treecol id="stpl-details-overlay-lehrstunde-gruppe_bezeichnung" label="Gruppe Bezeichnung" flex="2" hidden="true"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#gruppe_bezeichnung" />
<splitter class="tree-splitter"/>
<treecol id="stpl-details-overlay-lehrstunde-gruppe_beschreibung" label="Gruppe Beschreibung" flex="2" hidden="true"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#gruppe_beschreibung" />
<splitter class="tree-splitter"/>
<treecol id="stpl-details-overlay-lehrstunde-reservierung" label="Reservierung" flex="2" hidden="true"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
class="sortDirectionIndicator" persist="hidden, width, ordinal"
sort="rdf:http://www.technikum-wien.at/lehrstunde/rdf#reservierung" />
<splitter class="tree-splitter"/>
</treecols>
+1 -1
View File
@@ -19,7 +19,7 @@
*/
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -20,7 +20,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
@@ -46,7 +46,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<column flex="4"/>
<column flex="1"/>
</columns>
<rows>
<rows>
<row flex="1">
<vbox flex="1">
<tree id="mitarbeiter-buchung-tree" seltype="multi" hidecolumnpicker="false" flex="1"
@@ -103,7 +103,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
sort="rdf:http://www.technikum-wien.at/wawi_buchung/rdf#buchungsdatum_iso" />
<splitter class="tree-splitter"/>
</treecols>
<template>
<treechildren flex="1" >
<treeitem uri="rdf:*">
@@ -146,14 +146,14 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<label value="Betrag" control="mitarbeiter-buchung-textbox-betrag"/>
<hbox>
<textbox id="mitarbeiter-buchung-textbox-betrag" disabled="true" maxlength="9" size="9"/>
<spacer flex="1" />
<spacer flex="1" />
</hbox>
</row>
<row>
<label value="Buchungsdatum" control="mitarbeiter-buchung-textbox-buchungsdatum"/>
<hbox>
<box class="Datum" id="mitarbeiter-buchung-textbox-buchungsdatum" disabled="true"/>
<spacer flex="1" />
<spacer flex="1" />
</hbox>
</row>
<row>
@@ -21,7 +21,7 @@
*/
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -46,7 +46,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<textbox id="mitarbeiter-detail-textbox-person_id" hidden="true" />
<groupbox id='groupbox-personendaten'>
<!--PersonenDaten-->
<caption label="Personendaten" />
<caption label="Personendaten" />
<grid align="end" flex="1"
flags="dont-build-content"
enableColumnDrag="true"
@@ -186,9 +186,9 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</grid>
</groupbox>
<!-- MITARBEITER DATEN -->
<hbox>
<groupbox flex="8">
<caption label="Mitarbeiterdaten" />
@@ -225,10 +225,10 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<textbox id="mitarbeiter-detail-textbox-telefonklappe" size="10" maxlength="10" disabled="true" oninput="MitarbeiterDetailValueChange()"/>
<spacer />
</hbox>
<checkbox label="Fixangestellt" id="mitarbeiter-detail-checkbox-fixangestellt" checked="false" disabled="true" onchange="MitarbeiterDetailValueChange()"/>
<checkbox label="Fixangestellt" id="mitarbeiter-detail-checkbox-fixangestellt" checked="false" disabled="true" onchange="MitarbeiterDetailValueChange()"/>
<spacer />
</row>
<row>
<row>
<label align="end" control="mitarbeiter-detail-menulist-ort_kurzbz" value="Buero"/>
<vbox>
<menulist id="mitarbeiter-detail-menulist-ort_kurzbz" disabled="true"
@@ -288,16 +288,16 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</menulist>
<textbox id="mitarbeiter-detail-textbox-resturlaubstage" disabled="true" oninput="MitarbeiterDetailValueChange()" />
</vbox>
</row>
</row>
</rows>
</grid>
<hbox class="style-groupbox">
</hbox>
</groupbox>
</hbox>
<hbox>
<spacer flex="1"/>
<button id="mitarbeiter-detail-button-speichern" disabled="true" label="Speichern" oncommand="MitarbeiterSave();"/>
</hbox>
@@ -21,7 +21,7 @@
*/
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -138,7 +138,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
sort="rdf:http://www.technikum-wien.at/bisverwendung/rdf#insertvon" onclick="MitarbeiterTreeVerwendungSort()"/>
<splitter class="tree-splitter"/>
</treecols>
<template>
<rule>
<treechildren>
@@ -149,7 +149,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<treecell label="rdf:http://www.technikum-wien.at/bisverwendung/rdf#ausmass" />
<treecell label="rdf:http://www.technikum-wien.at/bisverwendung/rdf#verwendung" />
<treecell label="rdf:http://www.technikum-wien.at/bisverwendung/rdf#hauptberuf" />
<treecell label="rdf:http://www.technikum-wien.at/bisverwendung/rdf#hauptberuflich" />
<treecell label="rdf:http://www.technikum-wien.at/bisverwendung/rdf#hauptberuflich" />
<treecell label="rdf:http://www.technikum-wien.at/bisverwendung/rdf#habilitation" />
<treecell label="rdf:http://www.technikum-wien.at/bisverwendung/rdf#vertragsstunden" />
<treecell label="rdf:http://www.technikum-wien.at/bisverwendung/rdf#beginn" />
@@ -188,7 +188,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
flags="dont-build-content"
enableColumnDrag="true"
style="margin:5px;"
persist="hidden, height"
persist="hidden, height"
>
<treecols>
<treecol id="mitarbeiter-funktion-treecol-studiengang" label="Studiengang" flex="1" persist="hidden, width" hidden="false"
@@ -208,7 +208,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
sort="rdf:http://www.technikum-wien.at/bisfunktion/rdf#studiengang_kz" onclick="MitarbeiterTreeFunktionSort()"/>
<splitter class="tree-splitter"/>
</treecols>
<template>
<rule>
<treechildren>
@@ -264,7 +264,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</row>
</rows>
</grid>
</groupbox>
</groupbox>
</vbox>
</hbox>
</hbox>
@@ -279,7 +279,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
flags="dont-build-content"
enableColumnDrag="true"
style="margin:5px;"
persist="hidden, height"
persist="hidden, height"
>
<treecols>
<treecol id="mitarbeiter-entwicklungsteam-treecol-studiengang" label="Studiengang" flex="1" persist="hidden, width" hidden="false"
@@ -311,7 +311,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
sort="rdf:http://www.technikum-wien.at/entwicklungsteam/rdf#besqualcode" onclick="MitarbeiterTreeEntwicklungsteamSort()"/>
<splitter class="tree-splitter"/>
</treecols>
<template>
<rule>
<treechildren>
@@ -23,7 +23,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -20,7 +20,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -66,7 +66,7 @@ foreach($addon_obj->result as $addon)
<textbox id="mitarbeiter-vertrag-neu-textbox-vertrag_id" value=""/>
</hbox>
<description>Die folgenden Lehraufträge sind noch keinem Vertrag zugeordnet.
Markieren Sie die Lehraufträge um diese dem Vertrag zuzuordnen:</description>
Markieren Sie die Lehraufträge um diese dem Vertrag zuzuordnen:</description>
<tree id="mitarbeiter-vertrag-tree-nichtzugeordnet" seltype="multi" hidecolumnpicker="false" flex="1"
datasources="rdf:null" ref="http://www.technikum-wien.at/vertragdetails"
enableColumnDrag="true"
@@ -91,27 +91,27 @@ foreach($addon_obj->result as $addon)
<splitter class="tree-splitter"/>
<treecol id="mitarbeiter-vertrag-tree-nichtzugeordnet-studiensemester_kurzbz" label="Studiensemester" flex="2" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/vertragdetails/rdf#studiensemester_kurzbz" />
sort="rdf:http://www.technikum-wien.at/vertragdetails/rdf#studiensemester_kurzbz" />
<splitter class="tree-splitter"/>
<treecol id="mitarbeiter-vertrag-tree-nichtzugeordnet-pruefung_id" label="PruefungID" flex="2" hidden="true"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/vertragdetails/rdf#pruefung_id" />
sort="rdf:http://www.technikum-wien.at/vertragdetails/rdf#pruefung_id" />
<splitter class="tree-splitter"/>
<treecol id="mitarbeiter-vertrag-tree-nichtzugeordnet-mitarbeiter_uid" label="mitarbeiter_uid" flex="2" hidden="true"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/vertragdetails/rdf#mitarbeiter_uid" />
sort="rdf:http://www.technikum-wien.at/vertragdetails/rdf#mitarbeiter_uid" />
<splitter class="tree-splitter"/>
<treecol id="mitarbeiter-vertrag-tree-nichtzugeordnet-projektarbeit_id" label="ProjektarbeitID" flex="2" hidden="true"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/vertragdetails/rdf#projektarbeit_id" />
sort="rdf:http://www.technikum-wien.at/vertragdetails/rdf#projektarbeit_id" />
<splitter class="tree-splitter"/>
<treecol id="mitarbeiter-vertrag-tree-nichtzugeordnet-lehreinheit_id" label="LehreinheitID" flex="2" hidden="true"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/vertragdetails/rdf#lehreinheit_id" />
sort="rdf:http://www.technikum-wien.at/vertragdetails/rdf#lehreinheit_id" />
<splitter class="tree-splitter"/>
<treecol id="mitarbeiter-vertrag-tree-nichtzugeordnet-betreuerart_kurzbz" label="BetreuerartKurzbz" flex="2" hidden="true"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/vertragdetails/rdf#betreuerart_kurzbz" />
sort="rdf:http://www.technikum-wien.at/vertragdetails/rdf#betreuerart_kurzbz" />
</treecols>
<template>
@@ -138,21 +138,21 @@ foreach($addon_obj->result as $addon)
<column flex="1"/>
<column flex="8"/>
</columns>
<rows id="mitarbeiter-buchung-grid-detail-rows">
<rows id="mitarbeiter-buchung-grid-detail-rows">
<row>
<label value="Vertragsdatum" control="mitarbeiter-vertrag-neu-box-vertragsdatum" />
<hbox>
<box class="Datum" id="mitarbeiter-vertrag-neu-box-vertragsdatum"/>
<spacer />
</hbox>
</row>
</row>
<row>
<label value="Bezeichnung" control="mitarbeiter-vertrag-neu-textbox-bezeichnung" />
<hbox>
<textbox id="mitarbeiter-vertrag-neu-textbox-bezeichnung" value=""/>
<spacer />
</hbox>
</row>
</row>
<row>
<label value="Typ" control="mitarbeiter-vertrag-neu-menulist-vertragstyp"/>
<menulist id="mitarbeiter-vertrag-neu-menulist-vertragstyp" disabled="false"
@@ -187,7 +187,7 @@ foreach($addon_obj->result as $addon)
</row>
</rows>
</grid>
</hbox>
</hbox>
<button id="mitarbeiter-vertrag-neu-button-speichern" label="Vertrag erstellen" oncommand="MitarbeiterVertragNeuGenerateVertrag()" />
</vbox>
</window>
@@ -19,7 +19,7 @@
*/
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
@@ -21,7 +21,7 @@
*/
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
+13 -13
View File
@@ -20,7 +20,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -30,55 +30,55 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'content/datepicker/datepicker.css" type
echo '<?xml-stylesheet href="'.APP_ROOT.'skin/tempus.css" type="text/css"?>';
echo '<?xml-stylesheet href="'.APP_ROOT.'content/bindings.css" type="text/css"?>';
if(isset($_GET['projekt_kurzbz']))
$projekt_kurzbz=$_GET['projekt_kurzbz'];
else
else
$projekt_kurzbz='';
if(isset($_GET['projektphase_id']) && is_numeric($_GET['projektphase_id']))
$projektphase_id=$_GET['projektphase_id'];
else
else
$projektphase_id='';
if(isset($_GET['projekttask_id']) && is_numeric($_GET['projekttask_id']))
$projekttask_id=$_GET['projekttask_id'];
else
else
$projekttask_id='';
if(isset($_GET['uid']))
$uid=$_GET['uid'];
else
$uid='';
else
$uid='';
if(isset($_GET['person_id']) && is_numeric($_GET['person_id']))
$person_id=$_GET['person_id'];
else
else
$person_id='';
if(isset($_GET['prestudent_id']) && is_numeric($_GET['prestudent_id']))
$prestudent_id=$_GET['prestudent_id'];
else
else
$prestudent_id='';
if(isset($_GET['bestellung_id']) && is_numeric($_GET['bestellung_id']))
$bestellung_id=$_GET['bestellung_id'];
else
else
$bestellung_id='';
if(isset($_GET['user']) && is_numeric($_GET['user']))
$user=$_GET['user'];
else
else
$user='';
if(isset($_GET['lehreinheit_id']) && is_numeric($_GET['lehreinheit_id']))
$lehreinheit_id=$_GET['lehreinheit_id'];
else
else
$lehreinheit_id='';
if(isset($_GET['anrechnung_id']) && is_numeric($_GET['anrechnung_id']))
$anrechnung_id=$_GET['anrechnung_id'];
else
else
$anrechnung_id='';
?>
+1 -1
View File
@@ -21,7 +21,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
+6 -6
View File
@@ -20,7 +20,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -30,16 +30,16 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
/*echo '<?xml-stylesheet href="gantt.css" type="text/css"?>';*/
?>
<!DOCTYPE overlay >
<overlay id="gant"
<overlay id="gant"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
>
<script type="application/x-javascript" src="<?php echo APP_ROOT; ?>content/projekt/gantt.overlay.js.php" />
<vbox id="box-ganttx" flex="1">
<toolbox>
<toolbar id="toolbar-bestellung-main">
<toolbarbutton id="toolbarbutton-notiz-filter" label="Ansicht " type="menu">
<toolbarbutton id="toolbarbutton-notiz-filter" label="Ansicht " type="menu">
<menupopup>
<menuitem id="toolbarbutton-menuitem-gantt-studienjahr" label="Studienjahr" type="radio" name="sort" oncommand="drawGantt()" tooltiptext="Anzeige Studienjahr" checked="true"/>
<menuitem id="toolbarbutton-menuitem-gantt-kalenderjahr" label="Kalenderjahr" type="radio" name="sort" oncommand="drawGantt()" tooltiptext="Anzeige Kalenderjahr"/>
@@ -52,10 +52,10 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<label value="Beginn:" control="toolbarbutton-gantt-label-beginn"/>
<box class="Datum" id="toolbarbutton-gantt-beginn" disabled="false"/>
<label value="Ende:" control="toolbarbutton-gantt-label-ende"/>
<box class="Datum" id="toolbarbutton-gantt-ende" disabled="false"/>
<box class="Datum" id="toolbarbutton-gantt-ende" disabled="false"/>
<toolbarbutton id="toolbarbutton-gantt-anzeigen" label="anzeigen" oncommand="showZeitraum(document.getElementById('toolbarbutton-gantt-beginn').value, document.getElementById('toolbarbutton-gantt-ende').value)" disabled="false" tooltiptext="Zeite Zeitraum"/>
</toolbar>
</toolbox>
<iframe id="iframe-gant-projekt" flex="5" src="" />
</vbox>
</vbox>
</overlay>
File diff suppressed because it is too large Load Diff
+8 -8
View File
@@ -20,7 +20,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -86,11 +86,11 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</menupopup>
</template>
</menulist>
</menulist>
</row>
<row>
<label value="Zusammenfassung" control="textbox-projekttask-mantis-issue_summary"/>
<textbox id="textbox-projekttask-mantis-issue_summary"/>
<textbox id="textbox-projekttask-mantis-issue_summary"/>
<label value="Reporter_real_name" control="textbox-projekttask-mantis-issue_reporter_real_name"/>
<textbox id="textbox-projekttask-mantis-issue_reporter_real_name" disabled="true"/>
</row>
@@ -152,15 +152,15 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<textbox id="textbox-projekttask-mantis-issue_status_name" disabled="true"/>
<spacer />
</vbox>
</row>
</row>
<row>
<label value="View_state_id" control="textbox-projekttask-mantis-issue_view_state_id"/>
<textbox id="textbox-projekttask-mantis-issue_view_state_id" disabled="true"/>
<label value="Due_date" control="textbox-projekttask-mantis-issue_due_date"/>
<textbox id="textbox-projekttask-mantis-issue_due_date" disabled="true"/>
</row>
<row>
<label value="Severity_id" control="textbox-projekttask-mantis-issue_severity_id"/>
<textbox id="textbox-projekttask-mantis-issue_severity_id" disabled="true"/>
@@ -182,7 +182,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<textbox id="textbox-projekttask-mantis-issue_reproducibility_id" disabled="true"/>
<label value="Reproducibility_name" control="textbox-projekttask-mantis-issue_reproducibility_name"/>
<textbox id="textbox-projekttask-mantis-issue_reproducibility_name" disabled="true"/>
</row>
</row>
<row>
<label value="Date_submitted" control="textbox-projekttask-mantis-issue_date_submitted"/>
<textbox id="textbox-projekttask-mantis-issue_date_submitted" disabled="true"/>
@@ -206,7 +206,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<textbox id="textbox-projekttask-mantis-issue_resolution_id" disabled="true"/>
<label value="Resolution_name" control="textbox-projekttask-mantis-issue_resolution_name"/>
<textbox id="textbox-projekttask-mantis-issue_resolution_name" disabled="true"/>
</row>
</row>
</rows>
</grid>
<hbox>
+1 -1
View File
@@ -20,7 +20,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -50,7 +50,7 @@ else
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
@@ -20,7 +20,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -126,14 +126,14 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</row>
<row style="background-color:#eeeeee">
<label value="Anzahl MA" control="textbox-projekt-anzahl_ma"/>
<hbox>
<hbox>
<textbox id="textbox-projekt-anzahl_ma" size="7" maxlength="7" disabled="true" onchange="makeProjektAnalyse()"/>
</hbox>
<spacer />
</row>
<row style="background-color:#eeeeee">
<label value="Aufwand PT" control="textbox-projekt-aufwand_pt" />
<hbox>
<hbox>
<textbox id="textbox-projekt-aufwand_pt" size="7" maxlength="7" disabled="true" onchange="makeProjektAnalyse()"/>
</hbox>
<spacer />
@@ -20,7 +20,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -76,7 +76,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<treecol id="treecol-projektdokument-projektphase_id" label="ProjektphaseID" flex="2" hidden="true" persist="hidden, width, ordinal"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/dms/rdf#projektphaseID"/>
<splitter class="tree-splitter"/>
<splitter class="tree-splitter"/>
<treecol id="treecol-projektdokument-insertamum" label="Angelegt am" flex="5" hidden="true" persist="hidden, width, ordinal"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/dms/rdf#insertamum"/>
@@ -106,7 +106,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<treerow >
<treecell label="rdf:http://www.technikum-wien.at/dms/rdf#name"/>
<treecell label="rdf:http://www.technikum-wien.at/dms/rdf#projekt_kurzbz"/>
<treecell label="rdf:http://www.technikum-wien.at/dms/rdf#projektphase_id"/>
<treecell label="rdf:http://www.technikum-wien.at/dms/rdf#projektphase_id"/>
<treecell label="rdf:http://www.technikum-wien.at/dms/rdf#insertamum"/>
<treecell label="rdf:http://www.technikum-wien.at/dms/rdf#updateamum"/>
<treecell label="rdf:http://www.technikum-wien.at/dms/rdf#insertvon"/>
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
@@ -31,12 +31,12 @@ echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
echo '<?xml-stylesheet href="'.APP_ROOT.'skin/planner.css" type="text/css"?>';
if(isset($_GET['projekt_kurzbz']))
$projekt_kurzbz=$_GET['projekt_kurzbz'];
else
else
$projekt_kurzbz='';
//echo $oe;
if(isset($_GET['projektphase_id']))
$projektphase_id=$_GET['projektphase_id'];
else
else
$projektphase_id='';
?>
@@ -65,7 +65,7 @@ else
<menulist id="projektdokument-menulist-dokument"
editable="true"
datasources="rdf:null" flex="1"
ref="http://www.technikum-wien.at/dms/liste"
ref="http://www.technikum-wien.at/dms/liste"
oninput="ProjektdokumentMenulistDokumentLoad(this);"
oncommand=""
>
+2 -2
View File
@@ -20,7 +20,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -116,7 +116,7 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/projekt/projektphasedetail.overlay
<treecol id="treecol-projektphase-endeiso" label="EndeISO" flex="2" hidden="true" persist="hidden width ordinal"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/projektphase/rdf#ende_iso" />
</treecols>
<template>
@@ -21,7 +21,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -51,7 +51,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<column flex="5"/>
</columns>
<rows>
<row>
<label value="Projekt Kurzbz" control="textbox-projektphase-detail-projekt_kurzbz"/>
<hbox>
@@ -63,7 +63,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<label value="Parent Projektphase" control="menulist-projektphase-detail-projektphase_fk"/>
<menulist id="menulist-projektphase-detail-projektphase_fk"
datasources="rdf:null"
ref="http://www.technikum-wien.at/projektphase"
ref="http://www.technikum-wien.at/projektphase"
disabled="true"
>
<template>
@@ -72,7 +72,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
label="rdf:http://www.technikum-wien.at/projektphase/rdf#bezeichnung"
uri="rdf:*"/>
</menupopup>
</template>
</menulist>
</hbox>
@@ -84,18 +84,18 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<spacer />
<label value="Typ" control="textbox-projektphase-detail-typ"/>
<hbox>
<menulist id="textbox-projektphase-detail-typ" disabled="true">
<menulist id="textbox-projektphase-detail-typ" disabled="true">
<menupopup>
<menuitem value="Arbeitspaket" label="Arbeitspaket"/>
<menuitem value="Arbeitspaket" label="Arbeitspaket"/>
<menuitem value="Projektphase" label="Projektphase"/>
<menuitem value="Milestone" label="Milestone"/>
</menupopup>
</menulist>
</menupopup>
</menulist>
<spacer />
</hbox>
</hbox>
</row>
<row>
<label value="Beschreibung" control="menulist-projektphase-detail-ressource"/>
@@ -107,11 +107,11 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<menulist id="menulist-projektphase-detail-ressource"
datasources="rdf:null"
xmlns:RESSOURCE="http://www.technikum-wien.at/ressource/rdf#"
ref="http://www.technikum-wien.at/ressource/alle"
ref="http://www.technikum-wien.at/ressource/alle"
disabled="true"
>
<template>
<menupopup>
<menuitem value="rdf:http://www.technikum-wien.at/ressource/rdf#ressource_id"
label="rdf:http://www.technikum-wien.at/ressource/rdf#bezeichnung ( rdf:http://www.technikum-wien.at/ressource/rdf#typ )"
+4 -4
View File
@@ -20,7 +20,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -55,7 +55,7 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/projekt/mantisdetail.overlay.xul.p
<toolbarbutton id="projekttask-toolbar-neu" label="Neuer Task" oncommand="TaskNeu();" disabled="true" image="../skin/images/NeuDokument.png" tooltiptext="Neuen Task anlegen" />
<toolbarbutton id="projekttask-toolbar-del" label="Loeschen" oncommand="TaskDelete();" disabled="true" image="../skin/images/DeleteIcon.png" tooltiptext="Task löschen"/>
<toolbarbutton id="projekttask-toolbar-refresh" label="Aktualisieren" oncommand="TaskTreeRefresh()" disabled="false" image="../skin/images/refresh.png" tooltiptext="Liste neu laden"/>
<toolbarbutton anonid="toolbarbutton-notiz-filter" label="Filter " type="menu">
<toolbarbutton anonid="toolbarbutton-notiz-filter" label="Filter " type="menu">
<menupopup>
<menuitem label="Erledigte Tasks" type="radio" name="sort" oncommand="LoadTasks(currentProjektPhaseID,'erledigt')" tooltiptext="Erledigte Tasks anzeigen"/>
<menuitem label="Offene Tasks" type="radio" name="sort" oncommand="LoadTasks(currentProjektPhaseID,'offen')" tooltiptext="Offene Tasks anzeigen"/>
@@ -71,7 +71,7 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/projekt/mantisdetail.overlay.xul.p
<!-- Bem.: style="visibility:collapse" versteckt eine Spalte -->
<tree id="projekttask-tree" seltype="single" hidecolumnpicker="false" flex="1"
datasources="rdf:null" ref="http://www.technikum-wien.at/projekttask"
style="margin:0px;height:500px" enableColumnDrag="true"
style="margin:0px;height:500px" enableColumnDrag="true"
ondraggesture="nsDragAndDrop.startDrag(event,taskDDObserver);"
onselect="onselectProjekttask(this);"
@@ -135,7 +135,7 @@ echo '<?xul-overlay href="'.APP_ROOT.'content/projekt/mantisdetail.overlay.xul.p
<treecell label="rdf:http://www.technikum-wien.at/projekttask/rdf#mantis_id"/>
<treecell label="rdf:http://www.technikum-wien.at/projekttask/rdf#scrumsprint_id"/>
<treecell label="rdf:http://www.technikum-wien.at/projekttask/rdf#ende"/>
<treecell label="rdf:http://www.technikum-wien.at/projekttask/rdf#ressource_bezeichnung"/>
<treecell label="rdf:http://www.technikum-wien.at/projekttask/rdf#ressource_bezeichnung"/>
<treecell label="erledigt" value="rdf:http://www.technikum-wien.at/projekttask/rdf#erledigt"/>
</treerow>
</treeitem>
@@ -21,7 +21,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -67,7 +67,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</row>
<row>
<box orient="vertical">
<button label=" Beschreibung" image="../skin/images/markdown_button.png" id="button-projekttask-beschreibung-parsedown" oncommand="showProjekttaskParsedown()" control="textbox-projekttask-detail-beschreibung"/>
<button label=" Beschreibung" image="../skin/images/markdown_button.png" id="button-projekttask-beschreibung-parsedown" oncommand="showProjekttaskParsedown()" control="textbox-projekttask-detail-beschreibung"/>
<spacer />
</box>
<textbox id="textbox-projekttask-detail-beschreibung" multiline="true" disabled="true" rows="10"/>
@@ -98,11 +98,11 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<menulist id="textbox-projekttask-detail-ressource"
datasources="rdf:null"
xmlns:RESSOURCE="http://www.technikum-wien.at/ressource/rdf#"
ref="http://www.technikum-wien.at/ressource/alle"
ref="http://www.technikum-wien.at/ressource/alle"
disabled="true"
>
<template>
<menupopup>
<menuitem value="rdf:http://www.technikum-wien.at/ressource/rdf#ressource_id"
label="rdf:http://www.technikum-wien.at/ressource/rdf#bezeichnung ( rdf:http://www.technikum-wien.at/ressource/rdf#typ )"
+4 -4
View File
@@ -20,7 +20,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -37,7 +37,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<overlay id="overlay-ressource"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
>
@@ -73,7 +73,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<toolbarbutton id="toolbarbutton-ressource-projektphase-drucken" label="Drucken" oncommand="RessourcePrintPhasen()" image="../skin/images/drucken.png" tooltiptext="Drucken"/>
</toolbar>
</toolbox>
<iframe id="iframe-ressource-projektphase" flex="5" src="about:blank" />
</vbox>
<vbox>
@@ -83,7 +83,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<toolbarbutton id="toolbarbutton-ressource-projektask-drucken" label="Drucken" oncommand="RessourcePrintTask()" image="../skin/images/drucken.png" tooltiptext="Drucken"/>
</toolbar>
</toolbox>
<iframe id="iframe-ressource-projekttask" flex="5" src="about:blank" />
</vbox>
</tabpanels>
+6 -6
View File
@@ -22,13 +22,13 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
echo '<?xml-stylesheet href="'.APP_ROOT.'skin/tempus.css" type="text/css"?>';
echo '<?xml-stylesheet href="'.APP_ROOT.'skin/tempus.css" type="text/css"?>';
?>
<window id="window-ressource-neu" title="Neue Ressource anlegen"
@@ -57,7 +57,7 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'skin/tempus.css" type="text/css"?>';
<menulist id="ressource-menulist-mitarbeiter"
editable="true"
datasources="rdf:null" flex="1"
ref="http://www.technikum-wien.at/mitarbeiter/liste"
ref="http://www.technikum-wien.at/mitarbeiter/liste"
oninput="RessourceMenulistMitarbeiterLoad(this);"
oncommand=""
>
@@ -75,7 +75,7 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'skin/tempus.css" type="text/css"?>';
<menulist id="ressource-menulist-student"
editable="true"
datasources="rdf:null" flex="1"
ref="http://www.technikum-wien.at/student/alle"
ref="http://www.technikum-wien.at/student/alle"
oninput="RessourceMenulistStudentLoad(this);"
oncommand=""
>
@@ -93,7 +93,7 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'skin/tempus.css" type="text/css"?>';
<menulist id="ressource-menulist-betriebsmittel"
editable="true"
datasources="rdf:null" flex="1"
ref="http://www.technikum-wien.at/betriebsmittel/liste"
ref="http://www.technikum-wien.at/betriebsmittel/liste"
oninput="RessourceMenulistBetriebsmittelLoad(this)"
oncommand=""
>
@@ -111,7 +111,7 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'skin/tempus.css" type="text/css"?>';
<menulist id="ressource-menulist-firma"
editable="true"
datasources="rdf:null" flex="1"
ref="http://www.technikum-wien.at/firma/liste"
ref="http://www.technikum-wien.at/firma/liste"
oninput="RessourceMenulistFirmaLoad(this)"
oncommand=""
>
+1 -1
View File
@@ -19,7 +19,7 @@
*/
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -20,7 +20,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -37,12 +37,12 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'content/datepicker/datepicker.css" type
if(isset($_GET['prestudent_id']))
$prestudent_id=$_GET['prestudent_id'];
else
else
$prestudent_id='';
if(isset($_GET['akte_id']))
$akte_id=$_GET['akte_id'];
else
else
$akte_id='';
$vorname = '';
@@ -51,7 +51,7 @@ if($prestudent_id!='')
{
$prestudent = new prestudent();
$prestudent->load($prestudent_id);
$vorname = $prestudent->vorname;
$nachname = $prestudent->nachname;
}
@@ -80,7 +80,7 @@ $db = new basis_db();
<label value="Dokumenttyp" />
<menulist id="interessent-dokumente-dialog-menulist-dokument_kurzbz"
datasources="<?php echo APP_ROOT; ?>rdf/dokumenttyp.rdf.php?ohne_dok=Zeugnis" flex="1"
ref="http://www.technikum-wien.at/dokumenttyp"
ref="http://www.technikum-wien.at/dokumenttyp"
>
<template>
<menupopup>
@@ -100,7 +100,7 @@ $db = new basis_db();
<textbox multiline="true" rows="10" id="interessent-dokumente-dialog-textbox-anmerkung" />
</row>
<row id="interessent-dokumente-dialog-row-anmerkung" hidden="false">
<spacer />
<spacer />
<hbox>
<spacer flex="1" />
<button id="interessent-dokumente-dialog-button-speichern" oncommand="InteressentDokumenteDialogSpeichern()" label="Speichern" />
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
@@ -42,14 +42,14 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<menupopup id="interessent-dokumente-tree-nichtabgegeben-popup" onpopupshowing="InteressentDokumenteTreeNichtAbgegebenPopupShowing()">
<menuitem label="Upload" oncommand="InteressentDokumenteNichtabgegebenUpload();" id="interessent-dokumente-tree-nichtabgegeben-popup-upload" hidden="false"/>
<menuitem label="Bearbeiten" oncommand="InteressentDokumenteNichtabgegebenBearbeiten();" id="interessent-dokumente-tree-nichtabgegeben-popup-edit" hidden="false"/>
<menuitem label="Dokument löschen" oncommand="InteressentDokumenteNichtabgegebenEntfernen();" id="interessent-dokumente-tree-nichtabgegeben-popup-remove" hidden="false"/>
<menuitem label="Dokument löschen" oncommand="InteressentDokumenteNichtabgegebenEntfernen();" id="interessent-dokumente-tree-nichtabgegeben-popup-remove" hidden="false"/>
</menupopup>
</popupset>
<popupset>
<menupopup id="interessent-dokumente-tree-abgegeben-popup" onpopupshowing="InteressentDokumenteTreeAbgegebenPopupShowing()">
<menuitem label="Upload" oncommand="InteressentDokumenteAbgegebenUpload();" id="interessent-dokumente-tree-abgegeben-popup-upload" hidden="false"/>
<menuitem label="Bearbeiten" oncommand="InteressentDokumenteAbgegebenBearbeiten();" id="interessent-dokumente-tree-abgegeben-popup-edit" hidden="false"/>
<menuitem label="Dokument löschen" oncommand="InteressentDokumenteAbgegebenEntfernen();" id="interessent-dokumente-tree-abgegeben-popup-remove" hidden="false"/>
<menuitem label="Dokument löschen" oncommand="InteressentDokumenteAbgegebenEntfernen();" id="interessent-dokumente-tree-abgegeben-popup-remove" hidden="false"/>
</menupopup>
</popupset>
<hbox flex="1">
@@ -113,7 +113,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
sort="rdf:http://www.technikum-wien.at/dokument/rdf#pflicht" onclick="InteressentDokumenteNichtAbgegebenTreeSort()"/>
<splitter class="tree-splitter"/>
</treecols>
<template>
<rule>
<treechildren>
@@ -138,7 +138,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</template>
</tree>
</groupbox>
<vbox>
<spacer flex="1" />
<button id="interessent-dokumente-filter" oncommand="InteressentDokumenteFilter()" label="Filter" tooltiptext="Liste aller Studenten mit fehlenden Dokumenten" />
@@ -150,7 +150,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<button id="interessent-dokumente-remove" oncommand="InteressentDokumenteRemove()" label="&lt;=" style="font-weight: bold;"/>
<spaver flex="4" />
</vbox>
<groupbox flex="3">
<caption label="Akzeptiert"/>
<tree id="interessent-dokumente-tree-abgegeben" seltype="multi" hidecolumnpicker="false" flex="1"
@@ -211,7 +211,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
sort="rdf:http://www.technikum-wien.at/dokument/rdf#anmerkung_intern" onclick="InteressentDokumenteNichtAbgegebenTreeSort()"/>
<splitter class="tree-splitter"/>
</treecols>
<template>
<rule>
<treechildren>
+7 -4
View File
@@ -3254,7 +3254,7 @@ if(!$error)
$pruefung->mitarbeiter_uid = $_POST['mitarbeiter_uid'];
$pruefung->note = $_POST['note'];
if(isset($_POST['punkte']))
$pruefung->punkte = $_POST['punkte'];
$pruefung->punkte = str_replace(',','.',$_POST['punkte']);
$pruefung->pruefungstyp_kurzbz = $_POST['pruefungstyp_kurzbz'];
$pruefung->datum = $_POST['datum'];
$pruefung->anmerkung = $_POST['anmerkung'];
@@ -3331,7 +3331,7 @@ if(!$error)
$zeugnisnote->studiensemester_kurzbz = $studiensemester_kurzbz;
$zeugnisnote->note = $_POST['note'];
if(isset($_POST['punkte']))
$zeugnisnote->punkte = $_POST['punkte'];
$zeugnisnote->punkte = str_replace(',','.',$_POST['punkte']);
else
$zeugnisnote->punkte='';
$zeugnisnote->uebernahmedatum = date('Y-m-d H:i:s');
@@ -3774,6 +3774,9 @@ if(!$error)
$data = $pruefling->getReihungstestErgebnisPerson($_POST['person_id'], true, $_POST['reihungstest_id']);
else
$data = $pruefling->getReihungstestErgebnisPerson($_POST['person_id'], false, $_POST['reihungstest_id']);
// Runden auf 2 Nachkommastellen
$data = number_format($data, 2, '.','');
$return = true;
}
else
@@ -3892,7 +3895,7 @@ if(!$error)
$person_id = $_POST['person_id'];
if($person_id=='')
$person_id=$prestudent->person_id;
$punkte = $_POST['punkte'];
$punkte = str_replace(',','.',$_POST['punkte']);
$teilgenommen = ($_POST['teilgenommen']=='true'?true:false);
$anmeldedatum = $_POST['anmeldedatum'];
$studienplan_id = $_POST['studienplan_id'];
@@ -4049,7 +4052,7 @@ if(!$error)
}
else
{
$punkte = $_POST['punkte'];
$punkte = str_replace(',','.',$_POST['punkte']);
$reihungstestangetreten = ($_POST['reihungstestangetreten']=='true'?true:false);
$prestudent->punkte = $punkte;
$prestudent->reihungstestangetreten = $reihungstestangetreten;
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
@@ -20,7 +20,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
@@ -53,17 +53,17 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
context="student-anrechnungen-tree-popup"
flags="dont-build-content"
>
<treecols>
<treecol id="student-anrechnungen-tree-anrechnung_id" label="Anrechnung ID" flex="2" hidden="true"
<treecol id="student-anrechnungen-tree-anrechnung_id" label="Anrechnung ID" flex="2" hidden="true"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/anrechnung/rdf#anrechnung_id"/>
<splitter class="tree-splitter"/>
<treecol id="student-anrechnungen-tree-lehrveranstaltung_id" label="Lehrveranstaltung ID" flex="2" hidden="true"
<treecol id="student-anrechnungen-tree-lehrveranstaltung_id" label="Lehrveranstaltung ID" flex="2" hidden="true"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/anrechnung/rdf#lehrveranstaltung_id"/>
<splitter class="tree-splitter"/>
<treecol id="student-anrechnungen-tree-lehrveranstaltung_bezeichnung" label="Lehrveranstaltung" flex="2" hidden="false"
<treecol id="student-anrechnungen-tree-lehrveranstaltung_bezeichnung" label="Lehrveranstaltung" flex="2" hidden="false"
class="sortDirectionIndicator"
sort="rdf:http://www.technikum-wien.at/anrechnung/rdf#lehrveranstaltung_bez"/>
<splitter class="tree-splitter"/>
@@ -88,7 +88,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
sort="rdf:http://www.technikum-wien.at/anrechnung/rdf#insertamum" />
<splitter class="tree-splitter"/>
</treecols>
<template>
<treechildren flex="1" >
<treeitem uri="rdf:*">
+1 -1
View File
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
+1 -1
View File
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
@@ -41,7 +41,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<vbox id="student-gruppen" style="overflow:auto; margin:0px;" flex="1">
<popupset>
<menupopup id="student-gruppe-tree-popup">
<menuitem label="Entfernen" oncommand="StudentGruppeDelete();" id="student-gruppe-tree-popup-delete" hidden="false"/>
<menuitem label="Entfernen" oncommand="StudentGruppeDelete();" id="student-gruppe-tree-popup-delete" hidden="false"/>
</menupopup>
</popupset>
<hbox flex="1">
@@ -76,7 +76,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
sort="rdf:http://www.technikum-wien.at/gruppen/rdf#uid" />
<splitter class="tree-splitter"/>
</treecols>
<template>
<rule>
<treechildren>
+10 -10
View File
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
@@ -56,7 +56,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
context="student-io-tree-popup"
flags="dont-build-content"
>
<!-- onselect="StudentIOAuswahl()" - wird jetzt per JS gesetzt -->
<!-- onselect="StudentIOAuswahl()" - wird jetzt per JS gesetzt -->
<treecols>
<treecol id="student-io-tree-mobilitaetsprogramm_kurzbz" label="Kurzbz" flex="2" hidden="false" primary="true"
class="sortDirectionIndicator"
@@ -85,7 +85,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
sort="rdf:http://www.technikum-wien.at/bisio/rdf#bisio_id" />
<splitter class="tree-splitter"/>
</treecols>
<template>
<treechildren flex="1" >
<treeitem uri="rdf:*">
@@ -104,13 +104,13 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<vbox>
<hbox>
<button id="student-io-button-neu" label="Neu" oncommand="StudentIONeu();" disabled="true"/>
<button id="student-io-button-loeschen" label="Loeschen" oncommand="StudentIODelete();" disabled="true"/>
<button id="student-io-button-loeschen" label="Loeschen" oncommand="StudentIODelete();" disabled="true"/>
</hbox>
<vbox hidden="true">
<label value="Neu"/>
<checkbox id="student-io-detail-checkbox-neu" checked="true" />
<checkbox id="student-io-detail-checkbox-neu" checked="true" />
<label value="Uid"/>
<textbox id="student-io-detail-textbox-uid" disabled="true"/>
<textbox id="student-io-detail-textbox-uid" disabled="true"/>
<label value="BisIO ID"/>
<textbox id="student-io-detail-textbox-bisio_id" disabled="true"/>
</vbox>
@@ -126,7 +126,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<label value="Von" control="student-io-textbox-von"/>
<hbox>
<box class="Datum" id="student-io-textbox-von" disabled="true"/>
<spacer flex="1" />
<spacer flex="1" />
</hbox>
</row>
<row>
@@ -179,7 +179,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</template>
</menulist>
</row>
</rows>
</grid>
</groupbox>
@@ -195,7 +195,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<label value="Lehrveranstaltung" control="student-io-menulist-lehrveranstaltung"/>
<menulist id="student-io-menulist-lehrveranstaltung" disabled="true"
datasources="rdf:null" flex="1"
ref="http://www.technikum-wien.at/lehrveranstaltung/liste"
ref="http://www.technikum-wien.at/lehrveranstaltung/liste"
oncommand="StudentIOLVAChange()">
<template>
<menupopup>
@@ -230,7 +230,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</row>
</rows>
</grid>
</groupbox>
</groupbox>
<hbox>
<spacer flex="1" />
<button id="student-io-button-speichern" oncommand="StudentIODetailSpeichern()" label="Speichern" disabled="true"/>
+11 -11
View File
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -55,7 +55,7 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'content/datepicker/datepicker.css" type
<rows>
<row>
<label value="Typ" control="student-konto-neu-menulist-buchungstyp"/>
<menulist id="student-konto-neu-menulist-buchungstyp"
<menulist id="student-konto-neu-menulist-buchungstyp"
datasources="<?php echo APP_ROOT ?>rdf/buchungstyp.rdf.php?aktiv=true" flex="1"
ref="http://www.technikum-wien.at/buchungstyp/liste"
oncommand="StudentKontoNeuDefaultBetrag()" >
@@ -66,7 +66,7 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'content/datepicker/datepicker.css" type
label="rdf:http://www.technikum-wien.at/buchungstyp/rdf#beschreibung"
standardbetrag="rdf:http://www.technikum-wien.at/buchungstyp/rdf#standardbetrag"
standardtext="rdf:http://www.technikum-wien.at/buchungstyp/rdf#standardtext"
<?php
<?php
// Credit Points werden nur angezeigt, wenn diese im Config aktiviert wurden
if(defined('FAS_KONTO_SHOW_CREDIT_POINTS') && FAS_KONTO_SHOW_CREDIT_POINTS=='true')
echo 'credit_points="rdf:http://www.technikum-wien.at/buchungstyp/rdf#credit_points"';
@@ -82,12 +82,12 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'content/datepicker/datepicker.css" type
<label value="Betrag" control="student-konto-neu-textbox-betrag"/>
<hbox>
<textbox id="student-konto-neu-textbox-betrag" value="-0.00" maxlength="9" size="9"/>
<spacer flex="1" />
<spacer flex="1" />
</hbox>
</row>
<row>
<label value="Buchungsdatum" control="student-konto-neu-textbox-buchungsdatum"/>
<hbox>
<hbox>
<box class='Datum' id="student-konto-neu-textbox-buchungsdatum"/>
<spacer flex="1" />
</hbox>
@@ -100,12 +100,12 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'content/datepicker/datepicker.css" type
<label value="Mahnspanne" control="student-konto-neu-textbox-mahnspanne"/>
<hbox>
<textbox id="student-konto-neu-textbox-mahnspanne" value="30" maxlength="4" size="4"/>
<spacer flex="1" />
<spacer flex="1" />
</hbox>
</row>
<row>
<label value="Studiensemester" control="student-konto-neu-menulist-studiensemester"/>
<menulist id="student-konto-neu-menulist-studiensemester"
<menulist id="student-konto-neu-menulist-studiensemester"
datasources="<?php echo APP_ROOT ?>rdf/studiensemester.rdf.php" flex="1"
ref="http://www.technikum-wien.at/studiensemester/liste" >
<template>
@@ -117,24 +117,24 @@ echo '<?xml-stylesheet href="'.APP_ROOT.'content/datepicker/datepicker.css" type
</template>
</menulist>
</row>
<?php
<?php
// Credit Points werden nur angezeigt, wenn diese im Config aktiviert wurden
if(defined('FAS_KONTO_SHOW_CREDIT_POINTS') && FAS_KONTO_SHOW_CREDIT_POINTS=='true')
$hidden='';
else
$hidden='hidden="true"';
echo ' <row '.$hidden.'>
<label value="Credit Points" control="student-konto-neu-textbox-credit_points" '.$hidden.'/>
<hbox '.$hidden.'>
<textbox id="student-konto-neu-textbox-credit_points" maxlength="9" size="9" value="0.00" '.$hidden.'/>
<spacer flex="1" />
<spacer flex="1" />
</hbox>
</row>';
?>
<row>
<label value="Anmerkung" control="student-konto-neu-textbox-anmerkung"/>
<textbox id="student-konto-neu-textbox-anmerkung" multiline="true"/>
<textbox id="student-konto-neu-textbox-anmerkung" multiline="true"/>
</row>
</rows>
</grid>
+16 -16
View File
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
@@ -49,7 +49,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<column flex="1"/>
</columns>
<rows>
<row>
<row>
<hbox>
<spacer flex="1" />
<button id="student-konto-button-filter" value="alle" oncommand="StudentKontoFilter()" label="offene anzeigen" disabled="true"/>
@@ -83,7 +83,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<spacer flex="1" />
</vbox>
<button id="student-konto-button-filterbuchungstyp" oncommand="StudentKontoFilterBuchungstyp()" label="filtern"/>
</hbox>
</row>
<row>
@@ -112,10 +112,10 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<spacer flex="1" />
</vbox>
<button id="student-konto-button-filterbuchungstypoffen" oncommand="StudentKontoFilterStudenten('konto')" label="filtern"/>
</hbox>
</row>
<row flex="1">
<vbox flex="1">
<label id="student-konto-label-filter" value="alle Buchungen:"/>
@@ -125,7 +125,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
context="student-konto-tree-popup"
flags="dont-build-content"
>
<!-- onselect="StudentKontoAuswahl()" - wird jetzt per JS gesetzt -->
<!-- onselect="StudentKontoAuswahl()" - wird jetzt per JS gesetzt -->
<treecols>
<treecol id="student-konto-tree-buchungsdatum" label="Buchungsdatum" flex="1" hidden="false" primary="true"
class="sortDirectionIndicator"
@@ -170,7 +170,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
sort="rdf:http://www.technikum-wien.at/konto/rdf#anmerkung" />
<splitter class="tree-splitter"/>
</treecols>
<template>
<treechildren flex="1" >
<treeitem uri="rdf:*">
@@ -216,7 +216,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<label value="Betrag" control="student-konto-textbox-betrag"/>
<hbox>
<textbox id="student-konto-textbox-betrag" disabled="true" maxlength="9" size="9"/>
<spacer flex="1" />
<spacer flex="1" />
</hbox>
</row>
<row>
@@ -224,7 +224,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<hbox>
<box class="Datum" id="student-konto-textbox-buchungsdatum" disabled="true"/>
<!--<textbox id="student-konto-textbox-buchungsdatum" disabled="true" maxlength="10" size="10"/>-->
<spacer flex="1" />
<spacer flex="1" />
</hbox>
</row>
<row>
@@ -235,7 +235,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<label value="Mahnspanne" control="student-konto-textbox-mahnspanne"/>
<hbox>
<textbox id="student-konto-textbox-mahnspanne" disabled="true" maxlength="4" size="4"/>
<spacer flex="1" />
<spacer flex="1" />
</hbox>
</row>
<row>
@@ -259,7 +259,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
uri="rdf:*"/>
</menupopup>
</rule>
</template>
</menulist>
</row>
@@ -298,11 +298,11 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
uri="rdf:*"/>
</menupopup>
</rule>
</template>
</menulist>
</row>
<?php
<?php
// Credit Points werden nur angezeigt, wenn diese im Config aktiviert wurden
if(defined('FAS_KONTO_SHOW_CREDIT_POINTS') && FAS_KONTO_SHOW_CREDIT_POINTS=='true')
$hidden='';
@@ -312,7 +312,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<label value="Credit Points" control="student-konto-textbox-credit_points" '.$hidden.'/>
<hbox '.$hidden.'>
<textbox id="student-konto-textbox-credit_points" disabled="true" maxlength="9" size="9" '.$hidden.'/>
<spacer flex="1" />
<spacer flex="1" />
</hbox>
</row>';
?>
@@ -320,12 +320,12 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<label value="Zahlungsreferenz" control="student-konto-textbox-zahlungsreferenz"/>
<hbox>
<textbox id="student-konto-textbox-zahlungsreferenz" disabled="true" maxlength="20" size="20"/>
<spacer flex="1" />
<spacer flex="1" />
</hbox>
</row>
<row>
<label value="Anmerkung" control="student-konto-textbox-anmerkung"/>
<textbox id="student-konto-textbox-anmerkung" multiline="true"/>
<textbox id="student-konto-textbox-anmerkung" multiline="true"/>
</row>
</rows>
</grid>
+11 -11
View File
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
@@ -58,7 +58,7 @@ echo "<?xml-stylesheet href=\"".APP_ROOT."content/bindings.css\" type=\"text/css
style="margin-bottom:5px;" height="100%" enableColumnDrag="true"
context="student-noten-tree-popup"
flags="dont-build-content"
>
>
<treecols>
<treecol id="student-noten-tree-zeugnis" label="Zeugnis" hidden="false" persist="hidden, width, ordinal"
class="sortDirectionIndicator" tooltiptext="Zeugnisoption deaktiviert"
@@ -135,7 +135,7 @@ echo "<?xml-stylesheet href=\"".APP_ROOT."content/bindings.css\" type=\"text/css
sort="rdf:http://www.technikum-wien.at/zeugnisnote/rdf#punkte" />
<splitter class="tree-splitter"/>
</treecols>
<template>
<treechildren flex="1" >
<treeitem uri="rdf:*">
@@ -169,7 +169,7 @@ echo "<?xml-stylesheet href=\"".APP_ROOT."content/bindings.css\" type=\"text/css
<button id="student-note-copy" label="&lt;=" style="font-weight: bold;" oncommand="StudentNotenMove();"/>
<spacer flex="1"/>
</vbox>
<vbox flex="1">
<label value='Lektor' />
<tree id="student-lvgesamtnoten-tree" seltype="multi" hidecolumnpicker="false" flex="1"
@@ -177,7 +177,7 @@ echo "<?xml-stylesheet href=\"".APP_ROOT."content/bindings.css\" type=\"text/css
style="margin-bottom:5px;" height="100%" enableColumnDrag="true"
flags="dont-build-content"
>
<treecols>
<treecol id="student-lvgesamtnoten-tree-lehrveranstaltung_bezeichnung" label="Lehrveranstaltung" flex="2" hidden="false" primary="true"
class="sortDirectionIndicator"
@@ -226,7 +226,7 @@ echo "<?xml-stylesheet href=\"".APP_ROOT."content/bindings.css\" type=\"text/css
sort="rdf:http://www.technikum-wien.at/lvgesamtnote/rdf#punkte" />
<splitter class="tree-splitter"/>
</treecols>
<template>
<treechildren flex="1" >
<treeitem uri="rdf:*">
@@ -248,12 +248,12 @@ echo "<?xml-stylesheet href=\"".APP_ROOT."content/bindings.css\" type=\"text/css
</template>
</tree>
</vbox>
</hbox>
<hbox>
</hbox>
<hbox>
<label value="Note" control="student-noten-menulist-note"/>
<menulist id="student-noten-menulist-note" disabled="true"
datasources="<?php echo APP_ROOT ?>rdf/note.rdf.php" flex="1"
ref="http://www.technikum-wien.at/note/liste"
ref="http://www.technikum-wien.at/note/liste"
oncommand="StudentNoteSpeichern()">
<template>
<menupopup>
@@ -265,9 +265,9 @@ echo "<?xml-stylesheet href=\"".APP_ROOT."content/bindings.css\" type=\"text/css
</menulist>
<label value="Punkte" control="student-noten-textbox-punkte" hidden="<?php echo $punktehidden; ?>"/>
<textbox id="student-noten-textbox-punkte" oninput="StudentNotenPunkteChange()" disabled="true" hidden="<?php echo $punktehidden; ?>"/>
<button id="student-noten-button-speichern" oncommand="StudentNoteSpeichern()" label="Speichern" disabled="true" hidden="<?php echo $punktehidden; ?>"/>
<spacer flex="1" />
</hbox>
</vbox>
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
@@ -52,7 +52,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
context="student-projektarbeit-tree-popup"
flags="dont-build-content"
>
<treecols>
<treecol id="student-projektarbeit-tree-projekttyp_kurzbz" label="Typ" flex="2" hidden="false"
class="sortDirectionIndicator"
@@ -113,7 +113,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
sort="rdf:http://www.technikum-wien.at/projektarbeit/rdf#firma_id" />
<splitter class="tree-splitter"/>
</treecols>
<template>
<treechildren flex="1" >
<treeitem uri="rdf:*">
@@ -142,7 +142,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<button id="student-projektarbeit-button-loeschen" label="Loeschen" oncommand="StudentProjektarbeitLoeschen();" disabled="true"/>
</vbox>
</hbox>
<hbox>
<hbox>
<vbox hidden="true">
<label value="Neu"/>
<checkbox id="student-projektarbeit-checkbox-neu" checked="true" />
@@ -207,7 +207,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<label value="Lehrveranstaltung" control="student-projektarbeit-menulist-lehrveranstaltung"/>
<menulist id="student-projektarbeit-menulist-lehrveranstaltung" disabled="true"
datasources="rdf:null" flex="1"
ref="http://www.technikum-wien.at/lehrveranstaltung/liste"
ref="http://www.technikum-wien.at/lehrveranstaltung/liste"
oncommand="StudentProjektarbeitLVAChange()"
>
<template>
@@ -298,7 +298,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<hbox>
<textbox id="student-projektarbeit-textbox-faktor" disabled="true" maxlength="3" size="3"/>
</hbox>
<label value="Gesamtstunden" control="student-projektarbeit-textbox-gesamtstunden"/>
<hbox>
<textbox id="student-projektarbeit-textbox-gesamtstunden" disabled="true" maxlength="8" size="8"/>
@@ -313,7 +313,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
style="margin-left:10px;margin-right:10px;margin-bottom:5px;margin-top: 10px;" height="100px" enableColumnDrag="true"
context="student-projektbetreuer-tree-popup"
flags="dont-build-content"
>
>
<!--onselect="StudentProjektbetreuerAuswahl()" - wird jetzt per JS gesetzt-->
<treecols>
<treecol id="student-projektbetreuer-tree-nachname" label="Nachname" flex="2" hidden="false"
@@ -362,7 +362,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
sort="rdf:http://www.technikum-wien.at/projektbetreuer/rdf#projektarbeit_id" />
<splitter class="tree-splitter"/>
</treecols>
<template>
<treechildren flex="1" >
<treeitem uri="rdf:*">
@@ -406,7 +406,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
<menulist id="student-projektbetreuer-menulist-person"
editable="true" disabled="true"
datasources="rdf:null" flex="1"
ref="http://www.technikum-wien.at/person/liste"
ref="http://www.technikum-wien.at/person/liste"
oninput="StudentProjektbetreuerMenulistPersonLoad(this)"
oncommand="StudentProjektbetreuerLoadMitarbeiterDaten()">
<template>
@@ -476,7 +476,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
</rows>
</grid>
</groupbox>
</hbox>
</hbox>
<spacer flex="1" />
</vbox>
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
+1 -1
View File
@@ -21,7 +21,7 @@
*/
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
@@ -22,7 +22,7 @@
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
require_once('../../config/vilesci.config.inc.php');
+1 -1
View File
@@ -19,7 +19,7 @@
*/
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/vnd.mozilla.xul+xml");
Regular → Executable
+87 -33
View File
@@ -49,7 +49,7 @@ class notiz extends basis_db
public $bestellung_id;
public $lehreinheit_id;
public $anrechnung_id;
/**
* Konstruktor
* @param $notiz_id
@@ -94,7 +94,7 @@ class notiz extends basis_db
$this->updateamum=$row->updateamum;
$this->updatevon=$row->updatevon;
$this->getDokumente($row->notiz_id);
return true;
}
else
@@ -109,7 +109,7 @@ class notiz extends basis_db
return false;
}
}
/**
* Löscht eine Notiz
* @param $notiz_id
@@ -122,13 +122,13 @@ class notiz extends basis_db
$this->errormsg = 'NotizID ist ungueltig';
return false;
}
// Dokumente der Notiz löschen
$this->getDokumente($notiz_id);
if(!empty($this->dokumente))
{
$dms = new dms();
foreach($this->dokumente as $dms_id)
{
$dms->deleteDms($dms_id);
@@ -142,8 +142,8 @@ class notiz extends basis_db
$this->errormsg = 'Fehler beim Loeschen der Daten';
return false;
}
return true;
}
return true;
}
/**
* Prueft die Daten vor dem Speichern
@@ -152,7 +152,7 @@ class notiz extends basis_db
public function validate()
{
return true;
}
}
/**
* Speichert den aktuellen Datensatz in die Datenbank
@@ -239,11 +239,11 @@ class notiz extends basis_db
/**
* Speichert die Zuordnung einer Notiz
*
*
*/
public function saveZuordnung()
{
$qry = "INSERT INTO public.tbl_notizzuordnung(notiz_id, projekt_kurzbz, projektphase_id, projekttask_id,
$qry = "INSERT INTO public.tbl_notizzuordnung(notiz_id, projekt_kurzbz, projektphase_id, projekttask_id,
uid, person_id, prestudent_id, bestellung_id, lehreinheit_id, anrechnung_id) VALUES(".
$this->db_add_param($this->notiz_id, FHC_INTEGER).','.
$this->db_add_param($this->projekt_kurzbz).','.
@@ -255,7 +255,7 @@ class notiz extends basis_db
$this->db_add_param($this->bestellung_id, FHC_INTEGER).','.
$this->db_add_param($this->lehreinheit_id, FHC_INTEGER).','.
$this->db_add_param($this->anrechnung_id, FHC_INTEGER).');';
if($this->db_query($qry))
{
return true;
@@ -266,18 +266,18 @@ class notiz extends basis_db
return false;
}
}
/**
* Speichert ein Dokument zur Notiz
* @param int $dms_id
* @return boolean
*/
public function saveDokument($dms_id)
public function saveDokument($dms_id)
{
$qry = "INSERT INTO public.tbl_notiz_dokument(notiz_id, dms_id) VALUES(".
$this->db_add_param($this->notiz_id, FHC_INTEGER).','.
$this->db_add_param($dms_id, FHC_INTEGER).');';
if($this->db_query($qry))
{
return true;
@@ -290,7 +290,7 @@ class notiz extends basis_db
}
/**
*
*
* Laedt die Notizen
* @param $erledigt
* @param $projekt_kurzbz
@@ -320,13 +320,13 @@ class notiz extends basis_db
$anrechnung_id=null,
$titel=null)
{
$qry = "SELECT
*
FROM
public.tbl_notiz
$qry = "SELECT
*
FROM
public.tbl_notiz
LEFT JOIN public.tbl_notizzuordnung USING(notiz_id)
WHERE 1=1";
if(!is_null($erledigt))
{
if($erledigt)
@@ -358,13 +358,13 @@ class notiz extends basis_db
$qry.=" AND titel=".$this->db_add_param($titel);
$qry.=' ORDER BY start, ende, titel';
if($result = $this->db_query($qry))
{
while($row = $this->db_fetch_object($result))
{
$obj = new notiz();
$obj->notiz_id=$row->notiz_id;
$obj->titel=$row->titel;
$obj->text=$row->text;
@@ -378,7 +378,7 @@ class notiz extends basis_db
$obj->updateamum=$row->updateamum;
$obj->updatevon=$row->updatevon;
$obj->getDokumente($row->notiz_id);
$this->result[] = $obj;
}
return true;
@@ -405,7 +405,7 @@ class notiz extends basis_db
LEFT JOIN public.tbl_notizzuordnung USING(notiz_id)
WHERE person_id = ' . $this->db_add_param($person_id, FHC_INTEGER) .
' AND (insertvon = ' . $this->db_add_param('online') .' OR insertvon = ' . $this->db_add_param('online_notiz').')
ORDER BY notiz_id';
if($result = $this->db_query($qry))
@@ -438,9 +438,63 @@ class notiz extends basis_db
}
}
/**
* TEMPORARY: kurzfristig wird für das Onlinebewerbungstool die Ausbildung
* (Name und Adresse der besuchten Schule) in eine Notiz mit
* insertvon = online_ausbildung gespeichert.
* Wird auf UDF umgebaut!
*
* Laedt die Notizen zur Ausbilund vom Bewerbungstool
* @param $person_id int
* @return boolean
*/
public function getBewerbungstoolNotizenAusbildung($person_id)
{
$qry = 'SELECT
*
FROM
public.tbl_notiz
LEFT JOIN public.tbl_notizzuordnung USING(notiz_id)
WHERE person_id = ' . $this->db_add_param($person_id, FHC_INTEGER) .
' AND insertvon = ' . $this->db_add_param('online_ausbildung') .
' ORDER BY notiz_id';
if($result = $this->db_query($qry))
{
while($row = $this->db_fetch_object($result))
{
$obj = new notiz();
$obj->notiz_id=$row->notiz_id;
$obj->titel=$row->titel;
$obj->text=$row->text;
$obj->verfasser_uid=$row->verfasser_uid;
$obj->bearbeiter_uid=$row->bearbeiter_uid;
$obj->start=$row->start;
$obj->ende=$row->ende;
$obj->erledigt=$this->db_parse_bool($row->erledigt);
$obj->insertamum=$row->insertamum;
$obj->insertvon=$row->insertvon;
$obj->updateamum=$row->updateamum;
$obj->updatevon=$row->updatevon;
$this->result[] = $obj;
}
return true;
}
else
{
$this->errormsg = 'Fehler beim Laden der Daten';
return false;
}
}
/**
*
*
* Laedt die Notizen
* @param $erledigt
@@ -458,13 +512,13 @@ class notiz extends basis_db
*/
public function getAnzahlNotizen($erledigt=null, $projekt_kurzbz=null, $projektphase_id=null, $projekttask_id=null, $uid=null, $person_id=null, $prestudent_id=null, $bestellung_id=null, $user=null, $lehreinheit_id=null, $anrechnung_id=null)
{
$qry = "SELECT
$qry = "SELECT
count(*) as anzahl
FROM
public.tbl_notiz
FROM
public.tbl_notiz
LEFT JOIN public.tbl_notizzuordnung USING(notiz_id)
WHERE 1=1";
if(!is_null($erledigt))
{
if($erledigt)
@@ -492,7 +546,7 @@ class notiz extends basis_db
$qry.=" AND lehreinheit_id=".$this->db_add_param($lehreinheit_id, FHC_INTEGER);
if($anrechnung_id!='')
$qry.=" AND anrechnung_id=".$this->db_add_param($anrechnung_id, FHC_INTEGER);
if($result = $this->db_query($qry))
{
if($row = $this->db_fetch_object($result))
@@ -509,12 +563,12 @@ class notiz extends basis_db
return false;
}
}
/**
* Laedt die Dokumente der Notiz
* @return boolean
*/
public function getDokumente($notiz_id)
public function getDokumente($notiz_id)
{
$qry = "SELECT dms_id FROM public.tbl_notiz_dokument WHERE notiz_id=".$this->db_add_param($notiz_id, FHC_INTEGER);
@@ -524,7 +578,7 @@ class notiz extends basis_db
{
$this->dokumente[] = $row->dms_id;
}
return true;
}
else
+8 -2
View File
@@ -543,7 +543,7 @@ class prestudent extends person
* @param $orgform Organisationsform.
* @return boolean true wenn erfolgreich, false im Fehlerfall
*/
public function loadIntessentenUndBewerber($studiensemester_kurzbz, $studiengang_kz, $semester=null, $typ=null, $orgform=null)
public function loadInteressentenUndBewerber($studiensemester_kurzbz, $studiengang_kz, $semester=null, $typ=null, $orgform=null)
{
$stsemqry='';
if(!is_null($studiensemester_kurzbz) && $studiensemester_kurzbz!='')
@@ -597,13 +597,19 @@ class prestudent extends person
case "reihungstestangemeldet":
$qry.="
AND a.rolle='Interessent'
AND EXISTS(SELECT 1 FROM public.tbl_rt_person
AND EXISTS(
SELECT
1
FROM
public.tbl_rt_person
JOIN public.tbl_reihungstest ON(rt_id = reihungstest_id)
WHERE
person_id=a.person_id
AND studienplan_id IN(
SELECT studienplan_id FROM lehre.tbl_studienplan
JOIN lehre.tbl_studienordnung USING(studienordnung_id)
WHERE tbl_studienordnung.studiengang_kz=a.studiengang_kz)
AND tbl_reihungstest.studiensemester_kurzbz=".$this->db_add_param($studiensemester_kurzbz)."
)";
break;
case "reihungstestnichtangemeldet":
+18 -18
View File
@@ -20,11 +20,11 @@
*/
/**
* RDF Klasse
*
* Hilfsfunktionen für die Generierung von RDF-Dateien
*
* Hilfsfunktionen für die Generierung von RDF-Dateien
*
*/
class rdf
class rdf
{
// Header Variablen
public $content_type='Content-type: application/xhtml+xml'; // string
@@ -39,10 +39,10 @@ class rdf
protected $counter=0;
public $obj_id;
public $obj = array();
public $attr = array();
public $attr = array();
protected $childs = array();
protected $sequence = array();
/**
* Konstruktor - Uebergibt die Connection und laedt optional eine Reservierung
* @param $reservierung_id
@@ -52,10 +52,10 @@ class rdf
$this->xml_ns = $xml_ns;
$this->rdf_url = $rdf_url;
}
/**
* Erstellt ein neues RDF Description Objekt
*
*
* @return index des neuen Objekts
*/
public function newObjekt($id)
@@ -66,8 +66,8 @@ class rdf
}
/**
* Setzt die ID eines Objektes
*
* Setzt die ID eines Objektes
*
* @param $id
*/
public function setObjID($id)
@@ -75,7 +75,7 @@ class rdf
$this->obj_id=$id;
return true;
}
/**
* Sendet die HTTP-Header der RDF Datei
* @param $cache
@@ -90,7 +90,7 @@ class rdf
{
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
}
header($this->content_type);
@@ -126,14 +126,14 @@ class rdf
$this->rdf_text="\n".'<RDF:RDF'."\n\t"
.'xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"'."\n\t".'xmlns:nc="http://home.netscape.com/NC-rdf#"'."\n\t".'xmlns:'.$this->xml_ns.'="'.$this->rdf_url.'/rdf#"'."\n".'>'."\n\t";
}
/**
* Erzeugt die Descriptions aus den bestehenden Daten
*/
public function createRdfData()
{
foreach ($this->obj as $obj)
{
{
$this->rdf_text.="\n\t\t".'<RDF:Description id="'.$obj->obj_id.'" about="'.$this->rdf_url.'/'.$obj->obj_id.'" >';
foreach ($obj->attr as $attr)
{
@@ -151,7 +151,7 @@ class rdf
* Fuegt ein Objekt zur Sequence hinzu
* Wenn eine Parent_id uebergeben wird, wird das Objekt unterhalb dieses Eintrags
* angehängt
*
*
* @param $id
* @param $parent_id
*/
@@ -163,14 +163,14 @@ class rdf
}
else
{
$this->sequence[]=$id;
$this->sequence[]=$id;
}
}
/**
* Erzeugt die Sequenz
* Wenn eine ID uebergeben wird, wird nur die Sequenz unterhalb dieser ID erzeugt
*
*
* @param $id
*/
function createRDFSequence($id=null)
@@ -199,7 +199,7 @@ class rdf
$this->rdf_text.='</RDF:li>';
}
}
/**
* Generiert den RDF Footer
*/
+2 -2
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -59,7 +59,7 @@ if(isset($_GET['optional']) && $_GET['optional']=='true')
$db = new basis_db();
if($db->db_query($qry))
{
{
while($row = $db->db_fetch_object())
{
echo '
+1 -1
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
+4 -4
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -31,7 +31,7 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
// DAO
require_once('../config/vilesci.config.inc.php');
require_once('../include/basis_db.class.php');
$rdf_url='http://www.technikum-wien.at/akadgrad';
echo '
@@ -44,7 +44,7 @@ echo '
';
if(isset($_GET['studiengang_kz']) && is_numeric($_GET['studiengang_kz']))
$studiengang_kz = $_GET['studiengang_kz'];
else
else
die('Studiengang_kz muss uebergeben werden');
if(!is_numeric($studiengang_kz))
@@ -69,7 +69,7 @@ if(isset($_GET['optional']) && $_GET['optional']=='true')
$db = new basis_db();
if($db->db_query($qry))
{
{
while($row = $db->db_fetch_object())
{
echo '
+5 -5
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -36,14 +36,14 @@ require_once('../include/datum.class.php');
if(isset($_GET['person_id']))
$person_id = $_GET['person_id'];
else
else
$person_id = '';
if(isset($_GET['dokument_kurzbz']))
$dokument_kurzbz = $_GET['dokument_kurzbz'];
else
else
$dokument_kurzbz = '';
if(isset($_GET['akte_id']))
{
$akte_id=$_GET['akte_id'];
@@ -95,7 +95,7 @@ foreach ($akten->result as $row)
<AKTE:updatevon><![CDATA['.$row->updatevon.']]></AKTE:updatevon>
<AKTE:insertamum><![CDATA['.$row->insertamum.']]></AKTE:insertamum>
<AKTE:insertvon><![CDATA['.$row->insertvon.']]></AKTE:insertvon>
<AKTE:uid><![CDATA['.$row->uid.']]></AKTE:uid>
<AKTE:uid><![CDATA['.$row->uid.']]></AKTE:uid>
<AKTE:anmerkung_intern><![CDATA['.$row->anmerkung_intern.']]></AKTE:anmerkung_intern>
<AKTE:titel_intern><![CDATA['.$row->titel_intern.']]></AKTE:titel_intern>
<AKTE:anmerkung><![CDATA['.$row->anmerkung.']]></AKTE:anmerkung>
+1 -1
View File
@@ -41,7 +41,7 @@ else
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
header("Content-type: application/xhtml+xml");
+1 -1
View File
@@ -20,7 +20,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
+1 -1
View File
@@ -20,7 +20,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
+3 -3
View File
@@ -15,14 +15,14 @@
* 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>,
* Authors: Christian Paminger <christian.paminger@technikum-wien.at>,
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
* Rudolf Hangl <rudolf.hangl@technikum-wien.at>.
*/
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
//header("Content-type: application/vnd.mozilla.xul+xml");
@@ -48,7 +48,7 @@ $rdf_url='http://www.technikum-wien.at/aufmerksamdurch';
<RDF:Seq about="<?php echo $rdf_url ?>/alle">
<?php
foreach ($ad->result as $row)
foreach ($ad->result as $row)
{
?>
<RDF:li>
+1 -1
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
+2 -2
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -53,7 +53,7 @@ if(isset($_GET['optional']) && $_GET['optional']=='true')
<BT:bezeichnung>-- keine Auswahl --</BT:bezeichnung>
<BT:beschreibung>-- keine Auswahl --</BT:beschreibung>
</RDF:Description>
</RDF:li>
</RDF:li>
';
}
$qry = "SELECT * FROM bis.tbl_ausbildung ORDER BY ausbildungcode";
+9 -9
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -34,26 +34,26 @@ require_once('../include/bankverbindung.class.php');
require_once('../include/datum.class.php');
require_once('../include/benutzerberechtigung.class.php');
$uid = get_uid();
$recht = new benutzerberechtigung();
$uid = get_uid();
$recht = new benutzerberechtigung();
$recht->getBerechtigungen($uid);
if(!$recht->isberechtigt('mitarbeiter/bankdaten') && !$recht->isBerechtigt('student/bankdaten'))
die('Sie haben keine Berechtigung');
if(isset($_GET['person_id']))
$person_id = $_GET['person_id'];
else
else
$person_id = '';
if(isset($_GET['bankverbindung_id']))
$bankverbindung_id = $_GET['bankverbindung_id'];
else
else
$bankverbindung_id = '';
$datum = new datum();
$bankverbindung = new bankverbindung();
$rdf_url='http://www.technikum-wien.at/bankverbindung';
echo '
@@ -80,14 +80,14 @@ else
function draw_rdf($row)
{
global $rdf_url;
switch($row->typ)
{
case 'p': $typ_bezeichnung = 'Privatkonto'; break;
case 'f': $typ_bezeichnung = 'Firmenkonto'; break;
default: $typ_bezeichnung = ''; break;
}
echo '
<RDF:li>
<RDF:Description id="'.$row->bankverbindung_id.'" about="'.$rdf_url.'/'.$row->bankverbindung_id.'" >
+4 -4
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -53,7 +53,7 @@ $datum_obj = new datum();
$fkt = new funktion();
$fkt->getAll();
foreach ($fkt->result as $row)
foreach ($fkt->result as $row)
$fkt_arr[$row->funktion_kurzbz] = $row->beschreibung;
$db = new basis_db();
@@ -62,13 +62,13 @@ if($uid!='')
{
$qry = "SELECT * FROM public.tbl_benutzerfunktion WHERE uid=".$db->db_add_param($uid)." ORDER BY funktion_kurzbz";
}
else
else
{
$qry = "SELECT * FROM public.tbl_benutzerfunktion WHERE benutzerfunktion_id=".$db->db_add_param($benutzerfunktion_id);
}
if($db->db_query($qry))
{
{
while($row = $db->db_fetch_object())
{
$oe = new organisationseinheit($row->oe_kurzbz);
+2 -2
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -45,7 +45,7 @@ $rdf_url='http://www.technikum-wien.at/berufstaetigkeit';
<?php
if(isset($_GET['optional']) && $_GET['optional']=='true')
{
echo '
echo '
<RDF:li>
<RDF:Description id="" about="'.$rdf_url.'/'.'" >
<BT:code></BT:code>
+2 -2
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -49,7 +49,7 @@ $db = new basis_db();
if($db->db_query($qry))
{
while($row = $db->db_fetch_object())
{
{
echo '
<RDF:li>
<RDF:Description id="'.$row->ba1code.'" about="'.$rdf_url.'/'.$row->ba1code.'" >
+2 -2
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -49,7 +49,7 @@ $db = new basis_db();
if($db->db_query($qry))
{
while($row = $db->db_fetch_object())
{
{
echo '
<RDF:li>
<RDF:Description id="'.$row->ba2code.'" about="'.$rdf_url.'/'.$row->ba2code.'" >
+2 -2
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -49,7 +49,7 @@ $db = new basis_db();
if($db->db_query($qry))
{
while($row = $db->db_fetch_object())
{
{
echo '
<RDF:li>
<RDF:Description id="'.$row->beschausmasscode.'" about="'.$rdf_url.'/'.$row->beschausmasscode.'" >
+2 -2
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -48,7 +48,7 @@ $db = new basis_db();
if($db->db_query($qry))
{
while($row = $db->db_fetch_object())
{
{
echo '
<RDF:li>
<RDF:Description id="'.$row->besqualcode.'" about="'.$rdf_url.'/'.$row->besqualcode.'" >
+31 -31
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
// DAO
@@ -38,38 +38,38 @@ require_once('../include/adresse.class.php');
require_once('../include/firma.class.php');
require_once('../include/standort.class.php');
require_once('../include/kontakt.class.php');
require_once('../include/wawi_aufteilung.class.php');
require_once('../include/studiengang.class.php');
require_once('../include/wawi_aufteilung.class.php');
require_once('../include/studiengang.class.php');
if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
{
$bestellung = new wawi_bestellung();
if(isset($_GET['id']))
{
if(!$bestellung->load($_GET['id']))
die('Bestellung wurde nicht gefunden');
$besteller = new benutzer();
if(!$besteller->load($bestellung->besteller_uid))
die('Besteller konnte nicht geladen werden');
$konto = new wawi_konto();
$konto->load($bestellung->konto_id);
$kostenstelle = new wawi_kostenstelle();
$kostenstelle->load($bestellung->kostenstelle_id);
$rechnungsadresse = new adresse();
$rechnungsadresse->load($bestellung->rechnungsadresse);
$lieferadresse = new adresse();
$lieferadresse->load($bestellung->lieferadresse);
$aufteilung = new wawi_aufteilung();
$aufteilung->getAufteilungFromBestellung($bestellung->bestellung_id);
$studiengang = new studiengang();
$aufteilung = new wawi_aufteilung();
$aufteilung->getAufteilungFromBestellung($bestellung->bestellung_id);
$studiengang = new studiengang();
$firma = new firma();
$standort = new standort();
@@ -78,11 +78,11 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
{
$firma->load($bestellung->firma_id);
$kundennummer = $firma->get_kundennummer($bestellung->firma_id, $kostenstelle->oe_kurzbz);
$standort->load_firma($firma->firma_id);
if(isset($standort->result[0]))
$standort = $standort->result[0];
$empfaengeradresse->load($standort->adresse_id);
$kontakt = new kontakt();
$kontakt->loadFirmaKontakttyp($standort->standort_id, 'telefon');
@@ -98,10 +98,10 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
$kundennummer='';
}
$datum_obj = new datum();
header("Content-type: application/xhtml+xml");
echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
echo "\n<bestellungen><bestellung>\n";
echo " <bestell_nr><![CDATA[$bestellung->bestell_nr]]></bestell_nr>\n";
echo " <titel><![CDATA[$bestellung->titel]]></titel>\n";
@@ -134,15 +134,15 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
echo " <plz><![CDATA[$empfaengeradresse->plz]]></plz>\n";
echo " <ort><![CDATA[$empfaengeradresse->ort]]></ort>\n";
echo " <telefon><![CDATA[$telefon]]></telefon>\n";
echo " <fax><![CDATA[$fax]]></fax>\n";
echo " <fax><![CDATA[$fax]]></fax>\n";
echo " </empfaenger>\n";
$details = new wawi_bestelldetail();
$details->getAllDetailsFromBestellung($bestellung->bestellung_id);
$summe_netto=0;
$summe_brutto=0;
$summe_mwst=0;
$i=0;
$pagebreakposition=30;
$pagebreak=false;
@@ -155,7 +155,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
//echo "reduce";
$pagebreakposition--;
}
//echo "pos:".$pagebreakposition;
//echo "i:".$i;
if(!$pagebreak && $i>$pagebreakposition)
@@ -188,10 +188,10 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
echo " </details_1>\n";
else
echo " </details>\n";
echo " <aufteilungen_1>\n";
$anzAufteilungen = sizeof($aufteilung->result);
$i = 0;
$anzAufteilungen = sizeof($aufteilung->result);
$i = 0;
$aufteilbreak=false;
foreach($aufteilung->result as $aufteilung_row)
{
@@ -201,18 +201,18 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
echo '</aufteilungen_1>';
echo '<aufteilungen_2>';
}
// Aufteilung nur auf Studiengaenge
if($studiengang->getStudiengangFromOe($aufteilung_row->oe_kurzbz))
{
{
// Diplomstudiengänge nicht laden, Dummy Studiengaenge (stgkz>10000) nicht laden, Studiengang EAS (Ausserordentliche) nicht laden
if($studiengang->typ !='d' && $studiengang->studiengang_kz>0 && $studiengang->studiengang_kz<10000 && $aufteilung_row->oe_kurzbz!='eas')
{
echo " <aufteilung>\n";
echo " <oe><![CDATA[".strtoupper($aufteilung_row->oe_kurzbz)."]]></oe>\n";
echo " <prozent><![CDATA[$aufteilung_row->anteil]]></prozent>\n";
echo " </aufteilung>\n";
$i++;
echo " <oe><![CDATA[".strtoupper($aufteilung_row->oe_kurzbz)."]]></oe>\n";
echo " <prozent><![CDATA[$aufteilung_row->anteil]]></prozent>\n";
echo " </aufteilung>\n";
$i++;
}
}
}
+9 -9
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -35,22 +35,22 @@ require_once('../include/datum.class.php');
if(isset($_GET['betriebsmittel_id']))
$betriebsmittel_id = $_GET['betriebsmittel_id'];
else
else
$betriebsmittel_id = '';
if(isset($_GET['filter']))
$filter = $_GET['filter'];
else
else
$filter = '';
if(isset($_GET['datum']))
$datum = $_GET['datum'];
else
else
$datum = '';
if(isset($_GET['stunde']))
$stunde = $_GET['stunde'];
else
else
$stunde = '';
$betriebsmittel = new betriebsmittel();
@@ -88,11 +88,11 @@ if($betriebsmittel_id!='')
elseif($filter!='')
{
$betriebsmittel->searchBetriebsmittel($filter);
foreach ($betriebsmittel->result as $row)
draw_rdf($row);
}
elseif($datum!='')
{
@@ -109,7 +109,7 @@ elseif($datum!='')
function draw_rdf($row)
{
global $rdf_url;
echo '
<RDF:li>
<RDF:Description id="'.$row->betriebsmittel_id.'" about="'.$rdf_url.'/'.$row->betriebsmittel_id.'" >
+19 -19
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -37,17 +37,17 @@ require_once('../include/betriebsmitteltyp.class.php');
if(isset($_GET['person_id']))
$person_id = $_GET['person_id'];
else
else
$person_id = '';
if(isset($_GET['betriebsmitteltyp']))
$betriebsmitteltyp = $_GET['betriebsmitteltyp'];
else
else
$betriebsmitteltyp = null;
if(isset($_GET['betriebsmittelperson_id']))
$betriebsmittelperson_id = $_GET['betriebsmittelperson_id'];
else
else
$betriebsmittelperson_id = null;
if(isset($_GET['id']))
@@ -62,32 +62,32 @@ $datum = new datum();
if($xmlformat!='xml')
{
echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
$rdf_url='http://www.technikum-wien.at/betriebsmittel';
echo '
<RDF:RDF
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:BTM="'.$rdf_url.'/rdf#"
>
<RDF:Seq about="'.$rdf_url.'/liste">';
$betriebsmittel = new betriebsmittelperson();
if($betriebsmittelperson_id=='' && $person_id!='')
{
if($betriebsmittel->getBetriebsmittelPerson($person_id, $betriebsmitteltyp))
foreach ($betriebsmittel->result as $row)
draw_content($row);
else
else
die($betriebsmittel->errormsg);
}
else
else
{
if($betriebsmittel->load($betriebsmittelperson_id))
draw_content($betriebsmittel);
else
else
die($betriebsmittel->errormsg);
}
echo '</RDF:Seq>
@@ -102,10 +102,10 @@ else
$oe = new organisationseinheit();
$oe->load($bmp->oe_kurzbz);
$organisationseinheit = $oe->organisationseinheittyp_kurzbz.' '.$oe->bezeichnung;
$person = new person();
$person->load($bmp->person_id);
$bmt = new betriebsmitteltyp();
$bmt->load($bmp->betriebsmitteltyp);
$typ = $bmt->result[0]->beschreibung;
@@ -133,12 +133,12 @@ else
<datum><![CDATA['.date("d.m.Y").']]></datum>
</betriebsmittelperson>
';
}
function draw_content($row)
{
global $rdf_url, $datum;
echo '
<RDF:li>
<RDF:Description id="'.$row->betriebsmittelperson_id.'" about="'.$rdf_url.'/'.$row->betriebsmittelperson_id.'" >
@@ -150,7 +150,7 @@ function draw_content($row)
<BTM:nummer2><![CDATA['.$row->nummer2.']]></BTM:nummer2>
<BTM:inventarnummer><![CDATA['.$row->inventarnummer.']]></BTM:inventarnummer>
<BTM:reservieren><![CDATA['.($row->reservieren?'Ja':'Nein').']]></BTM:reservieren>
<BTM:ort_kurzbz><![CDATA['.$row->ort_kurzbz.']]></BTM:ort_kurzbz>
<BTM:ort_kurzbz><![CDATA['.$row->ort_kurzbz.']]></BTM:ort_kurzbz>
<BTM:person_id><![CDATA['.$row->person_id.']]></BTM:person_id>
<BTM:anmerkung><![CDATA['.$row->anmerkung.']]></BTM:anmerkung>
<BTM:kaution><![CDATA['.$row->kaution.']]></BTM:kaution>
@@ -165,4 +165,4 @@ function draw_content($row)
}
?>
+2 -2
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -48,7 +48,7 @@ $btm = new betriebsmitteltyp();
if(!$btm->getAll())
die($btm->errormsg);
foreach ($btm->result as $row)
foreach ($btm->result as $row)
{
?>
<RDF:li>
+4 -4
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -36,14 +36,14 @@ require_once('../include/studiengang.class.php');
if(isset($_GET['bisverwendung_id']))
$bisverwendung_id = $_GET['bisverwendung_id'];
else
else
$bisverwendung_id = '';
if(isset($_GET['studiengang_kz']))
$studiengang_kz = $_GET['studiengang_kz'];
else
else
$studiengang_kz = '';
$datum = new datum();
$stg = new studiengang();
$stg->getAll(null, false);
+12 -12
View File
@@ -23,7 +23,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -38,16 +38,16 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
if(isset($_GET['uid']))
$uid = $_GET['uid'];
else
else
$uid = null;
if(isset($_GET['bisio_id']))
$bisio_id = $_GET['bisio_id'];
else
else
$bisio_id = null;
$datum = new datum();
$rdf_url='http://www.technikum-wien.at/bisio';
echo '
@@ -57,7 +57,7 @@ echo '
>
<RDF:Seq about="'.$rdf_url.'/liste">
';
//Daten holen
$ioobj = new bisio();
@@ -70,7 +70,7 @@ if($uid)
foreach ($ioobj->result as $row)
draw_content($row);
}
else
else
die($ioobj->errormsg);
}
elseif($bisio_id)
@@ -79,18 +79,18 @@ elseif($bisio_id)
//dieser eine Datensatz geladen
if($ioobj->load($bisio_id))
draw_content($ioobj);
else
else
die($ioobj->errormsg);
}
else
else
die('Falsche Parameteruebergabe');
function draw_content($row)
{
{
global $rdf_url, $datum, $db;
$lehrveranstaltung_id='';
$studiensemester_kurzbz = '';
if($row->lehreinheit_id!='')
{
$qry = "SELECT lehrveranstaltung_id, studiensemester_kurzbz FROM lehre.tbl_lehreinheit WHERE lehreinheit_id='$row->lehreinheit_id'";
@@ -103,7 +103,7 @@ function draw_content($row)
}
}
}
echo '
<RDF:li>
<RDF:Description id="'.$row->bisio_id.'" about="'.$rdf_url.'/'.$row->bisio_id.'" >
+1 -1
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
+2 -2
View File
@@ -23,7 +23,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -41,7 +41,7 @@ if(isset($_GET['aktiv']))
{
if($_GET['aktiv']=='true')
$aktiv=true;
else
else
$aktiv=false;
}
+30 -30
View File
@@ -27,7 +27,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -36,34 +36,34 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
// DAO
require_once('../config/vilesci.config.inc.php');
require_once('../include/dokument.class.php');
require_once('../include/akte.class.php');
require_once('../include/prestudent.class.php');
require_once('../include/datum.class.php');
require_once('../include/akte.class.php');
require_once('../include/prestudent.class.php');
require_once('../include/datum.class.php');
$rdf_url='http://www.technikum-wien.at/dokument';
if(isset($_GET['studiengang_kz']) && is_numeric($_GET['studiengang_kz']))
$studiengang_kz=$_GET['studiengang_kz'];
else
else
die('Fehlerhafte Parameteruebergabe');
if(isset($_GET['prestudent_id']))
if(is_numeric($_GET['prestudent_id']))
$prestudent_id=$_GET['prestudent_id'];
else
else
die('Prestudent_id ist ungueltig');
else
else
$prestudent_id = null;
$dok = new dokument();
if(!$dok->getFehlendeDokumente($studiengang_kz, $prestudent_id))
die($dok->errormsg);
$prestudent = new prestudent();
$prestudent = new prestudent();
if(!$prestudent->load($prestudent_id))
die($prestudent->errormsg);
die($prestudent->errormsg);
$date = new datum();
$date = new datum();
?>
<RDF:RDF
@@ -78,23 +78,23 @@ $date = new datum();
// Alle dokumenttypen die der Student abzugeben hat vom Studiengang
foreach ($dok->result as $row)
{
$akte = new akte();
$akte->getAkten($prestudent->person_id, $row->dokument_kurzbz);
$akte = new akte();
$akte->getAkten($prestudent->person_id, $row->dokument_kurzbz);
// Schleife für alle Akten -> wenn akte draufhängt id in rdf -> akte_id anhängen
$onlinebewerbung = ($row->onlinebewerbung)?'ja':'nein';
$onlinebewerbung = ($row->onlinebewerbung)?'ja':'nein';
$pflicht = ($row->pflicht)?'ja':'nein';
// Wenn Akten vorhanden anzeigen
if(count($akte->result) != 0)
{
foreach($akte->result as $a)
{
$datum='';
$datumhochgeladen=(isset($a->insertamum))?$date->formatDatum($a->insertamum, 'd.m.Y'):'';
$nachgereicht = (isset($a->nachgereicht) && $a->nachgereicht)?'ja':'';
$info = (isset($a->anmerkung))?$akte->result[0]->anmerkung:'';
$vorhanden = (isset($a->dms_id) || $a->inhalt_vorhanden)?'ja':((isset($a->nachgereicht) && $a->nachgereicht)?'nachgereicht':'nein');
$datumhochgeladen=(isset($a->insertamum))?$date->formatDatum($a->insertamum, 'd.m.Y'):'';
$nachgereicht = (isset($a->nachgereicht) && $a->nachgereicht)?'ja':'';
$info = (isset($a->anmerkung))?$akte->result[0]->anmerkung:'';
$vorhanden = (isset($a->dms_id) || $a->inhalt_vorhanden)?'ja':((isset($a->nachgereicht) && $a->nachgereicht)?'nachgereicht':'nein');
echo '
<RDF:li>
@@ -140,21 +140,21 @@ foreach ($dok->result as $row)
}
// Alle Akten/Dokumente holen die Upgeloaded wurden ohne die vom Studiengang und Zeugnisse
$akte = new akte();
$akte = new akte();
if(!$akte->getAkten($prestudent->person_id, null, $prestudent->studiengang_kz, $prestudent->prestudent_id))
die('fehler');
die('fehler');
foreach($akte->result as $a)
{
$datum='';
$datumhochgeladen=(isset($a->insertamum))?$date->formatDatum($a->insertamum, 'd.m.Y'):'';
$nachgereicht = (isset($a->nachgereicht) && $a->nachgereicht)?'ja':'';
$info = (isset($a->anmerkung))?$akte->result[0]->anmerkung:'';
$vorhanden = (isset($a->dms_id) || $a->inhalt_vorhanden)?'ja':'nein';
$dokument_kurzbz = $a->dokument_kurzbz;
$dokument = new dokument();
$dokument->loadDokumenttyp($dokument_kurzbz);
$datumhochgeladen=(isset($a->insertamum))?$date->formatDatum($a->insertamum, 'd.m.Y'):'';
$nachgereicht = (isset($a->nachgereicht) && $a->nachgereicht)?'ja':'';
$info = (isset($a->anmerkung))?$akte->result[0]->anmerkung:'';
$vorhanden = (isset($a->dms_id) || $a->inhalt_vorhanden)?'ja':'nein';
$dokument_kurzbz = $a->dokument_kurzbz;
$dokument = new dokument();
$dokument->loadDokumenttyp($dokument_kurzbz);
echo '
<RDF:li>
+17 -17
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -32,30 +32,30 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
require_once('../config/vilesci.config.inc.php');
require_once('../include/dokument.class.php');
require_once('../include/datum.class.php');
require_once('../include/akte.class.php');
require_once('../include/akte.class.php');
require_once('../include/prestudent.class.php');
require_once('../include/mitarbeiter.class.php');
$rdf_url='http://www.technikum-wien.at/dokumentprestudent';
$date = new datum();
if(isset($_GET['prestudent_id']))
if(is_numeric($_GET['prestudent_id']))
$prestudent_id=$_GET['prestudent_id'];
else
else
die('Prestudent_id ist ungueltig');
else
else
die('Fehlerhafte Parameteruebergabe');
$dok = new dokument();
if(!$dok->getPrestudentDokumente($prestudent_id))
die($dok->errormsg);
$prestudent = new prestudent();
$prestudent = new prestudent();
if(!$prestudent->load($prestudent_id))
die($prestudent->errormsg);
die($prestudent->errormsg);
echo '
<RDF:RDF
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
@@ -67,20 +67,20 @@ echo '
foreach ($dok->result as $row)
{
$akte = new akte();
$akte->getAkten($prestudent->person_id, $row->dokument_kurzbz);
$akte = new akte();
$akte->getAkten($prestudent->person_id, $row->dokument_kurzbz);
$datum=(isset($row->datum))?$date->formatDatum($row->datum, 'd.m.Y'):'';
$mitarbeiter = new mitarbeiter($row->mitarbeiter_uid);
if(count($akte->result) != 0)
{
foreach($akte->result as $a)
{
$datumhochgeladen=(isset($a->insertamum))?$date->formatDatum($a->insertamum, 'd.m.Y'):'';
$nachgereicht = (isset($a->nachgereicht) && $a->nachgereicht)?'ja':'';
$info = (isset($a->anmerkung))?$a->anmerkung:'';
$vorhanden = (isset($a->dms_id) || $a->inhalt_vorhanden)?'ja':'nein';
$datumhochgeladen=(isset($a->insertamum))?$date->formatDatum($a->insertamum, 'd.m.Y'):'';
$nachgereicht = (isset($a->nachgereicht) && $a->nachgereicht)?'ja':'';
$info = (isset($a->anmerkung))?$a->anmerkung:'';
$vorhanden = (isset($a->dms_id) || $a->inhalt_vorhanden)?'ja':'nein';
echo '
<RDF:li>
+4 -4
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -36,14 +36,14 @@ require_once('../include/studiengang.class.php');
if(isset($_GET['mitarbeiter_uid']))
$mitarbeiter_uid = $_GET['mitarbeiter_uid'];
else
else
$mitarbeiter_uid = '';
if(isset($_GET['studiengang_kz']))
$studiengang_kz = $_GET['studiengang_kz'];
else
else
$studiengang_kz = '';
$datum = new datum();
$stg = new studiengang();
$stg->getAll(null, false);
+3 -3
View File
@@ -15,14 +15,14 @@
* 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>,
* Authors: Christian Paminger <christian.paminger@technikum-wien.at>,
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
* Rudolf Hangl <rudolf.hangl@technikum-wien.at>.
*/
// header fuer no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -101,7 +101,7 @@ if($db->db_query($qry))
<?php
}
}
else
else
die('Fehlerhafte qry'.$qry);
?>
</RDF:Seq>
+12 -12
View File
@@ -15,14 +15,14 @@
* 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>,
* Authors: Christian Paminger <christian.paminger@technikum-wien.at>,
* Andreas Oesterreicher <andreas.oesterreicher@technikum-wien.at> and
* Rudolf Hangl <rudolf.hangl@technikum-wien.at>.
*/
// header fuer no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");
@@ -66,7 +66,7 @@ echo '
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:FACHBEREICH="'.$rdf_url.'/rdf#"
>
';
$hier = '';
@@ -78,7 +78,7 @@ if($result = $db->db_query($qry))
{
while ($row = $db->db_fetch_object($result))
{
echo '
echo '
<RDF:Description id="'.$row->fachbereich_kurzbz.'" about="'.$rdf_url.'/'.$row->fachbereich_kurzbz.'" >
<FACHBEREICH:kurzbz>'.$row->fachbereich_kurzbz.'</FACHBEREICH:kurzbz>
<FACHBEREICH:bezeichnung><![CDATA['.$row->bezeichnung.']]></FACHBEREICH:bezeichnung>
@@ -89,13 +89,13 @@ if($result = $db->db_query($qry))
';
$hier .= "\n<RDF:li>";
$hier .= "\n".' <RDF:Seq about="'.$rdf_url.'/'.$row->fachbereich_kurzbz.'">'."\n";
$qry = "SELECT
distinct mitarbeiter_uid as uid, tbl_mitarbeiter.kurzbz, vorname, nachname, titelpre, titelpost
FROM
campus.vw_lehreinheit JOIN public.tbl_mitarbeiter USING(mitarbeiter_uid)
$qry = "SELECT
distinct mitarbeiter_uid as uid, tbl_mitarbeiter.kurzbz, vorname, nachname, titelpre, titelpost
FROM
campus.vw_lehreinheit JOIN public.tbl_mitarbeiter USING(mitarbeiter_uid)
JOIN public.tbl_benutzer ON(mitarbeiter_uid=uid) JOIN public.tbl_person USING(person_id)
WHERE
WHERE
fachbereich_kurzbz='".addslashes($row->fachbereich_kurzbz)."' AND
studiensemester_kurzbz='".addslashes($studiensemester_kurzbz)."'";
//echo $qry;
@@ -124,8 +124,8 @@ if($result = $db->db_query($qry))
echo $lektoren;
echo '<RDF:Seq about="'.$rdf_url.'/liste">';
echo $hier;
echo $hier;
echo '</RDF:Seq>';
?>
</RDF:RDF>
+1 -1
View File
@@ -22,7 +22,7 @@
// header für no cache
header("Cache-Control: no-cache");
header("Cache-Control: post-check=0, pre-check=0",false);
header("Expires Mon, 26 Jul 1997 05:00:00 GMT");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Pragma: no-cache");
// content type setzen
header("Content-type: application/xhtml+xml");

Some files were not shown because too many files have changed in this diff Show More