';
+ echo '
';
//echo "
Vorschlag $i: ";
$first=false;
echo $row->vorschlag_text;
@@ -122,7 +131,7 @@ if($frage_id!='' && is_numeric($frage_id))
if($row->vorschlag_bild!='')
echo "

\n";
echo "
Punkte: ".number_format($row->punkte,2);
- echo "
Anzahl beantwortet (alle Stg): $row->anzahl";
+ //echo "
Anzahl beantwortet (alle Stg): $row->anzahl";
echo '
';
}
}
diff --git a/cms/admin.php b/cms/admin.php
index eb37bbe2f..c9a95002f 100644
--- a/cms/admin.php
+++ b/cms/admin.php
@@ -121,6 +121,7 @@ $berechtigte_oe = $rechte->getOEkurzbz('basis/cms')
$sprache = isset($_GET['sprache'])?$_GET['sprache']:DEFAULT_LANGUAGE;
$version = isset($_GET['version'])?$_GET['version']:null;
$content_id = isset($_GET['content_id'])?$_GET['content_id']:null;
+$parent_content_id = isset($_GET['parent_content_id'])?$_GET['parent_content_id']:null;
$action = isset($_GET['action'])?$_GET['action']:'';
$method = isset($_GET['method'])?$_GET['method']:null;
$filter = isset($_GET['filter'])?$_GET['filter']:null;
@@ -236,7 +237,21 @@ if(!is_null($method))
{
if($content->saveContentSprache())
{
- $message .= '
Eintrag wurde erfolgreich angelegt';
+ if ($parent_content_id!=null)
+ {
+ $parent_content = new content();
+ $parent_content->content_id = $parent_content_id;
+ $parent_content->child_content_id = $content->content_id;
+ $parent_content->insertamum = date('Y-m-d');
+ $parent_content->insertvon = $user;
+ $parent_content->sort=$parent_content->getMaxSort($parent_content_id)+1;
+
+ if($parent_content->addChild())
+ $message.='
Erfolgreich als Child von Content '.$parent_content_id.' angelegt';
+ else
+ $message.='
'.$content->errormsg.'';
+ }
+ $message .= '
Neuer Eintrag wurde erfolgreich angelegt';
$action='prefs';
$content_id=$content->content_id;
$version=1;
@@ -658,7 +673,8 @@ echo '
$db = new basis_db();
echo '
-Neuen Eintrag hinzufügen
+Neuen Eintrag hinzufügen
+Neuen Child-Eintrag hinzufügen
Content |
diff --git a/include/reservierung.class.php b/include/reservierung.class.php
index fadb76bcd..d246854dd 100644
--- a/include/reservierung.class.php
+++ b/include/reservierung.class.php
@@ -112,9 +112,9 @@ class reservierung extends basis_db
$this->errormsg = 'Gruppe darf nicht laenger als 1 Zeichen sein';
return false;
}
- if(mb_strlen($this->gruppe_kurzbz)>10)
+ if(mb_strlen($this->gruppe_kurzbz)>32)
{
- $this->gruppe_kurzbz = 'Gruppe_kurzbz darf nicht laenger als 10 Zeichen sein';
+ $this->errormsg = 'Gruppe_kurzbz darf nicht laenger als 32 Zeichen sein';
return false;
}
diff --git a/include/service.class.php b/include/service.class.php
index 65791f1fa..69a8d3f26 100755
--- a/include/service.class.php
+++ b/include/service.class.php
@@ -233,17 +233,27 @@ class service extends basis_db
/**
* Laedt die Services der uebergebenen OE
*
- * @param $oe_kurzbz
+ * @param string $oe_kurzbz OE_Kurzbezeichnung der zu suchenden Services.
+ * @param integer $content_id Default: null. Wenn true, werden nur OEs mit eingetragener Content_id zurückgegeben.
+ * Wenn content_id übergeben wird, wird nur das entsprechende Service zurückgegeben.
*/
- public function getServicesOrganisationseinheit($oe_kurzbz)
+ public function getServicesOrganisationseinheit($oe_kurzbz, $content_id=null)
{
$qry = 'SELECT
*
FROM
public.tbl_service
WHERE
- oe_kurzbz='.$this->db_add_param($oe_kurzbz).'
- ORDER BY bezeichnung';
+ oe_kurzbz='.$this->db_add_param($oe_kurzbz);
+
+ if (!is_null($content_id) && is_numeric($content_id))
+ $qry.= ' AND content_id='.$this->db_add_param($content_id);
+ elseif ($content_id==true)
+ $qry.= ' AND content_id IS NOT NULL';
+ else
+ $qry.= '';
+
+ $qry.= ' ORDER BY bezeichnung';
if($result = $this->db_query($qry))
{
@@ -272,18 +282,28 @@ class service extends basis_db
/**
* Laedt die Services der uebergebenen OE und alle Services, die dieser OE untergliedert sind
*
- * @param $oe_kurzbz
- * @param $order Default: oe_kurzbz,bezeichnung
+ * @param string $oe_kurzbz
+ * @param string $order Default: oe_kurzbz,bezeichnung
+ * @param integer $content_id Default: null. Wenn true, werden nur OEs mit eingetragener Content_id zurückgegeben.
+ * Wenn content_id übergeben wird, wird nur das entsprechende Service zurückgegeben.
*/
- public function getSubServicesOrganisationseinheit($oe_kurzbz, $order='oe_kurzbz,bezeichnung')
+ public function getSubServicesOrganisationseinheit($oe_kurzbz, $order='oe_kurzbz,bezeichnung', $content_id=null)
{
$qry = 'SELECT
*
FROM
public.tbl_service
WHERE
- oe_kurzbz IN (SELECT oe_kurzbz FROM public.tbl_organisationseinheit WHERE oe_parent_kurzbz='.$this->db_add_param($oe_kurzbz).')
- ORDER BY '.$order;
+ oe_kurzbz IN (SELECT oe_kurzbz FROM public.tbl_organisationseinheit WHERE oe_parent_kurzbz='.$this->db_add_param($oe_kurzbz).')';
+ if (!is_null($content_id) && is_numeric($content_id))
+ $qry.= ' AND content_id='.$this->db_add_param($content_id);
+ elseif ($content_id==true)
+ $qry.= ' AND content_id IS NOT NULL';
+ else
+ $qry.= '';
+
+ if (!is_null($order))
+ $qry.= ' ORDER BY '.$order;
if($result = $this->db_query($qry))
{
diff --git a/system/xsl/Zeugnis_-12_v2_Kurzstudium.xsl b/system/xsl/Zeugnis_-12_v2_Kurzstudium.xsl
index 95c477eb0..9074aef93 100644
--- a/system/xsl/Zeugnis_-12_v2_Kurzstudium.xsl
+++ b/system/xsl/Zeugnis_-12_v2_Kurzstudium.xsl
@@ -380,7 +380,7 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
- Social Media Manager
+ Social Media Management
diff --git a/system/xsl/bachelorurkunde_-12_v1.xsl b/system/xsl/bachelorurkunde_-12_v1.xsl
new file mode 100644
index 000000000..5963e5316
--- /dev/null
+++ b/system/xsl/bachelorurkunde_-12_v1.xsl
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Diplom
+
+
+
+
+
+ Gemäß § 10 Abs. 3 Z 9 des Bundesgesetzes über Fachhochschul-Studiengänge\n
+ (Fachhochschul-Studiengesetz - FHStG), BGBl. Nr.
+
+ idgF,\n
+ verleiht das Fachhochschulkollegium
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ,
+
+
+
+
+
+
+
+ geboren am
+
+ in
+
+
+ ,
+
+
+ , Staatsbürgerschaft
+
+ ,\n
+
+
+ der
+
+
+ die
+
+
+ die/der
+
+
+ den Lehrgang zur Weiterbildung nach §9 FHStG idgF
+
+
+
+
+
+ Social Media Management
+
+
+ (Lehrgangsnummer 0050012
+
+ )
+
+
+
+
+
+ an der Fachhochschule Technikum Wien abgeschlossen hat,\n
+ den Abschluss-Grad
+
+
+
+
+
+
+
+
+
+
+
+ Wien,
+
+
+
+
+
+
+ Für das Fachhochschulkollegium\n
+ Der Rektor
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/system/xsl/bachelorurkunde_-5_v1.xsl b/system/xsl/bachelorurkunde_-5_v1.xsl
new file mode 100644
index 000000000..36ed28fdd
--- /dev/null
+++ b/system/xsl/bachelorurkunde_-5_v1.xsl
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Diplom
+
+
+
+
+
+ Gemäß § 10 Abs. 3 Z 9 des Bundesgesetzes über Fachhochschul-Studiengänge\n
+ (Fachhochschul-Studiengesetz - FHStG), BGBl. Nr.
+
+ idgF,\n
+ verleiht das Fachhochschulkollegium
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ,
+
+
+
+
+
+
+
+ geboren am
+
+ in
+
+
+ ,
+
+
+ , Staatsbürgerschaft
+
+ ,\n
+
+
+ der
+
+
+ die
+
+
+ die/der
+
+
+ den Lehrgang zur Weiterbildung nach §9 FHStG idgF
+
+
+
+
+
+ Social Media Management
+
+
+ (Lehrgangsnummer 0050005
+
+ )
+
+
+
+
+
+ an der Fachhochschule Technikum Wien abgeschlossen hat,\n
+ den Abschluss-Grad
+
+
+
+
+
+
+
+
+
+
+
+ Wien,
+
+
+
+
+
+
+ Für das Fachhochschulkollegium\n
+ Der Rektor
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/system/xsl/diplomaSupp_0_v4.xsl b/system/xsl/diplomaSupp_0_v4.xsl
index 0a8da7f83..705e35cb3 100644
--- a/system/xsl/diplomaSupp_0_v4.xsl
+++ b/system/xsl/diplomaSupp_0_v4.xsl
@@ -1245,6 +1245,9 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
+
+
+
@@ -2800,7 +2803,7 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
Grading Scheme: Passed with highest distinction, Passed with distinction, Passed
-
+