Example #1
0
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
 *
 */
require_once '../config/vilesci.config.inc.php';
require_once '../include/functions.inc.php';
require_once '../include/benutzerberechtigung.class.php';
require_once '../include/studiensemester.class.php';
$uid = get_uid();
$error_msg = '';
loadVariables($uid);
$rechte = new benutzerberechtigung();
$rechte->getBerechtigungen($uid);
if (!$rechte->isBerechtigt('basis/tempus')) {
    die('Sie haben keine Berechtigung fuer diese Seite');
}
header("Content-type: application/vnd.mozilla.xul+xml");
echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>';
/*echo '<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>';*/
echo '<?xml-stylesheet href="' . APP_ROOT . 'skin/tempus.css" type="text/css"?>';
echo '<?xul-overlay href="' . APP_ROOT . 'content/tempusoverlay.xul.php"?>';
echo '<?xml-stylesheet href="' . APP_ROOT . 'content/bindings.css" type="text/css" ?>';
echo '<?xml-stylesheet href="datepicker/datepicker.css" type="text/css"?>';
?>

<!DOCTYPE window [
Example #2
0
if (isset($_GET['buchungsnr']) && is_numeric($_GET['buchungsnr'])) {
    $buchungsnr = $_GET['buchungsnr'];
} else {
    $buchungsnr = '';
}
if (isset($_GET['buchungsnummern'])) {
    $buchungsnummern = $_GET['buchungsnummern'];
} else {
    $buchungsnummern = '';
}
$studiengang_kz = isset($_GET['studiengang_kz']) ? $_GET['studiengang_kz'] : '';
$datum = new datum();
$konto = new konto();
if (isset($_SERVER['REMOTE_USER'])) {
    $user = get_uid();
    loadVariables($user);
    if ($kontofilterstg == 'false') {
        $studiengang_kz = '';
    }
}
if ($person_id != '') {
    $konto->getBuchungen($person_id, $filter, $studiengang_kz);
} elseif ($buchungsnr != '') {
    if (!$konto->load($buchungsnr)) {
        die($konto->errormsg);
    }
}
// ----------------------------------- RDF --------------------------------------
$rdf_url = 'http://www.technikum-wien.at/konto';
if ($xmlformat == 'rdf') {
    echo '
require_once '../../include/stundenplan.class.php';
require_once '../../include/functions.inc.php';
require_once '../../include/studiengang.class.php';
require_once '../../include/datum.class.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 . 'content/bindings.css" type="text/css"?>';
echo '<?xml-stylesheet href="' . APP_ROOT . 'content/datepicker/datepicker.css" type="text/css"?>';
if (isset($_GET['id']) && is_numeric($_GET['id'])) {
    $id = $_GET['id'];
} else {
    $id = '';
}
$datum_obj = new datum();
$db = new basis_db();
loadVariables(get_uid());
$stundenplan = new stundenplan($db_stpl_table);
if (!$stundenplan->load($id)) {
    die('Fehler beim Laden der Daten');
}
$studiengang = new studiengang();
$studiengang->load($stundenplan->studiengang_kz);
?>

<window id="stpl-details-dialog" title="Details"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        onload="StplDetailsInit('<?php 
echo $datum_obj->convertISODate($stundenplan->datum);
?>
','<?php 
echo $stundenplan->mitarbeiter_uid;