Merge branch 'master' into permissions

This commit is contained in:
Paolo
2018-07-02 17:44:14 +02:00
12 changed files with 39 additions and 32 deletions
@@ -671,7 +671,7 @@ class InfoCenter extends Auth_Controller
$listFiltersNotSent = array();
$listCustomFilters = array();
$filtersSent = $this->FiltersModel->getFilterList('infocenter', 'PersonActions', '%InfoCenterSentApplication%');
$filtersSent = $this->FiltersModel->getFilterList('infocenter', 'overview', '%InfoCenterSentApplication%');
if (hasData($filtersSent))
{
for ($filtersCounter = 0; $filtersCounter < count($filtersSent->retval); $filtersCounter++)
@@ -682,7 +682,7 @@ class InfoCenter extends Auth_Controller
}
}
$filtersNotSent = $this->FiltersModel->getFilterList('infocenter', 'PersonActions', '%InfoCenterNotSentApplication%');
$filtersNotSent = $this->FiltersModel->getFilterList('infocenter', 'overview', '%InfoCenterNotSentApplication%');
if (hasData($filtersNotSent))
{
for ($filtersCounter = 0; $filtersCounter < count($filtersNotSent->retval); $filtersCounter++)
@@ -693,7 +693,7 @@ class InfoCenter extends Auth_Controller
}
}
$customFilters = $this->FiltersModel->getCustomFiltersList('infocenter', 'PersonActions', $this->_uid);
$customFilters = $this->FiltersModel->getCustomFiltersList('infocenter', 'overview', $this->_uid);
if (hasData($customFilters))
{
for ($filtersCounter = 0; $filtersCounter < count($customFilters->retval); $filtersCounter++)
@@ -814,7 +814,7 @@ class InfoCenter extends Auth_Controller
$listFilters = array();
$listCustomFilters = array();
$filters = $this->FiltersModel->getFilterList('infocenter', 'PersonActions', '%InfoCenterFreigegeben%');
$filters = $this->FiltersModel->getFilterList('infocenter', 'freigegeben', '%InfoCenterFreigegeben%');
if (hasData($filters))
{
for ($filtersCounter = 0; $filtersCounter < count($filters->retval); $filtersCounter++)
@@ -825,7 +825,7 @@ class InfoCenter extends Auth_Controller
}
}
$customFilters = $this->FiltersModel->getCustomFiltersList('infocenter', 'PersonActions', $this->_uid);
$customFilters = $this->FiltersModel->getCustomFiltersList('infocenter', 'freigegeben', $this->_uid);
if (hasData($customFilters))
{
for ($filtersCounter = 0; $filtersCounter < count($customFilters->retval); $filtersCounter++)
+1 -1
View File
@@ -58,7 +58,7 @@ class FHC_Controller extends CI_Controller
{
$this->_controllerId = $this->input->get(self::FHC_CONTROLLER_ID);
if (!isset($this->_controllerId) || isEmptyString($this->_controllerId))
if (isEmptyString($this->_controllerId))
{
$this->_controllerId = uniqid(); // generate a unique id
// Redirect to the same URL, but giving FHC_CONTROLLER_ID as HTTP GET parameter
+6 -6
View File
@@ -326,7 +326,7 @@ class FiltersLib
$this->_ci->load->library('PhrasesLib', array(self::FILTER_PHRASES_CATEGORY));
$tmpFilterNamePhrase = $this->_ci->phraseslib->t(self::FILTER_PHRASES_CATEGORY, $filterJson->namePhrase);
if (isset($tmpFilterNamePhrase) && !isEmptyString($tmpFilterNamePhrase)) // if is not null or an empty string
if (!isEmptyString($tmpFilterNamePhrase)) // if is not null or an empty string
{
$filterName = $tmpFilterNamePhrase;
}
@@ -368,7 +368,7 @@ class FiltersLib
$removeSelectedField = false;
$trimedval = (isset($selectedField)?trim($selectedField):'');
// Checks the parameter selectedField
if (isset($selectedField) && !isEmptyString($selectedField))
if (!isEmptyString($selectedField))
{
// Retrives all the used fields by the current filter
$fields = $this->getElementSession(self::SESSION_FIELDS);
@@ -402,7 +402,7 @@ class FiltersLib
$removeSelectedField = false;
$trimedval = (isset($selectedField)?trim($selectedField):'');
// Checks the parameter selectedField
if (isset($selectedField) && !isEmptyString($selectedField))
if (!isEmptyString($selectedField))
{
// Retrives all the used fields by the current filter
$fields = $this->getElementSession(self::SESSION_FIELDS);
@@ -431,7 +431,7 @@ class FiltersLib
$removeAppliedFilter = false;
$trimedval = (isset($appliedFilter)?trim($appliedFilter):'');
// Checks the parameter appliedFilter
if (isset($appliedFilter) && !isEmptyString($appliedFilter))
if (!isEmptyString($appliedFilter))
{
// Retrives all the used fields by the current filter
$fields = $this->getElementSession(self::SESSION_FIELDS);
@@ -519,7 +519,7 @@ class FiltersLib
$addFilter = false;
$trimedval = (isset($filter)?trim($filter):'');
// Checks the parameter filter
if (isset($filter) && !isEmptyString($filter))
if (!isEmptyString($filter))
{
// Retrives all the used fields by the current filter
$fields = $this->getElementSession(self::SESSION_FIELDS);
@@ -562,7 +562,7 @@ class FiltersLib
$saveCustomFilter = false; // by default returns a failure
$trimedval = (isset($customFilterDescription)?trim($customFilterDescription):'');
// Checks parameter customFilterDescription if not valid stop the execution
if (!isset($customFilterDescription) || isEmptyString($customFilterDescription))
if (isEmptyString($customFilterDescription))
{
return $saveCustomFilter;
}
+1 -1
View File
@@ -50,7 +50,7 @@ class Ampel_model extends DB_Model
*/
public function execBenutzerSelect($benutzer_select)
{
if (isset($benutzer_select) && !isEmptyString($benutzer_select))
if (!isEmptyString($benutzer_select))
{
return $this->execQuery($benutzer_select);
}
@@ -308,7 +308,7 @@
);
$filterWidgetArray['app'] = $APP;
$filterWidgetArray['datasetName'] = 'PersonActions';
$filterWidgetArray['datasetName'] = 'overview';
$filterWidgetArray['filterKurzbz'] = 'InfoCenterSentApplicationAll';
$filterWidgetArray['filter_id'] = $this->input->get('filter_id');
@@ -217,7 +217,7 @@
);
$filterWidgetArray['app'] = $APP;
$filterWidgetArray['datasetName'] = 'PersonActions';
$filterWidgetArray['datasetName'] = 'freigegeben';
$filterWidgetArray['filterKurzbz'] = 'InfoCenterFreigegeben5days';
$filterWidgetArray['filter_id'] = $this->input->get('filter_id');
+1 -1
View File
@@ -223,7 +223,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
switch($row->orgform_kurzbz)
{
case 'BB': echo ' <studienart>Berufbegleitendes Studium / Part-time degree programm</studienart>';
case 'BB': echo ' <studienart>Berufsbegleitendes Studium / Part-time degree programm</studienart>';
break;
case 'VZ': echo ' <studienart>Vollzeitstudium / Full-time degree programm</studienart>';
break;
+8 -8
View File
@@ -21,7 +21,7 @@
$filters = array(
array(
'app' => 'infocenter',
'dataset_name' => 'PersonActions',
'dataset_name' => 'overview',
'filter_kurzbz' => 'InfoCenterSentApplicationAll',
'description' => '{Alle}',
'sort' => 1,
@@ -52,7 +52,7 @@ $filters = array(
),
array(
'app' => 'infocenter',
'dataset_name' => 'PersonActions',
'dataset_name' => 'overview',
'filter_kurzbz' => 'InfoCenterSentApplication3days',
'description' => '{"3 Tage keine Aktion"}',
'sort' => 2,
@@ -89,7 +89,7 @@ $filters = array(
),
array(
'app' => 'infocenter',
'dataset_name' => 'PersonActions',
'dataset_name' => 'overview',
'filter_kurzbz' => 'InfoCenterNotSentApplicationAll',
'description' => '{Alle}',
'sort' => 1,
@@ -124,7 +124,7 @@ $filters = array(
),
array(
'app' => 'infocenter',
'dataset_name' => 'PersonActions',
'dataset_name' => 'overview',
'filter_kurzbz' => 'InfoCenterNotSentApplication14Days',
'description' => '{"14 Tage keine Aktion"}',
'sort' => 3,
@@ -164,7 +164,7 @@ $filters = array(
),
array(
'app' => 'infocenter',
'dataset_name' => 'PersonActions',
'dataset_name' => 'overview',
'filter_kurzbz' => 'InfoCenterSentApplicationLt3days',
'description' => '{"< 3 Tage"}',
'sort' => 3,
@@ -201,7 +201,7 @@ $filters = array(
),
array(
'app' => 'infocenter',
'dataset_name' => 'PersonActions',
'dataset_name' => 'overview',
'filter_kurzbz' => 'InfoCenterNotSentApplication5DaysOnline',
'description' => '{"5 Tage keine BewAktion"}',
'sort' => 2,
@@ -247,7 +247,7 @@ $filters = array(
),
array(
'app' => 'infocenter',
'dataset_name' => 'PersonActions',
'dataset_name' => 'freigegeben',
'filter_kurzbz' => 'InfoCenterFreigegeben5days',
'description' => '{"5 Tage Letzte Aktion"}',
'sort' => 1,
@@ -277,7 +277,7 @@ $filters = array(
),
array(
'app' => 'infocenter',
'dataset_name' => 'PersonActions',
'dataset_name' => 'freigegeben',
'filter_kurzbz' => 'InfoCenterFreigegebenAlle',
'description' => '{Alle}',
'sort' => 2,
+6 -3
View File
@@ -82,11 +82,14 @@
<xsl:if test="sponsion = ''">
<text:p text:style-name="P4">Sponsionsdatum nicht gesetzt</text:p>
</xsl:if>
<xsl:if test="bescheidbgbl1 = ''">
<text:p text:style-name="P4">Bundesgesetzblattnummer (BGBl) beim Studiengang ist nicht gesetzt</text:p>
</xsl:if>
<text:p text:style-name="P1"/>
<text:p text:style-name="P1"/>
<text:p text:style-name="P1"/>
<text:p text:style-name="P1">Pursuant to section 6 subsection 1 of the Universities of Applied Sciences Studies Act</text:p>
<text:p text:style-name="P1">(Austrian legal reference: Fachhochschul-Studiengesetz - FHStG, BGBl. Nr. <xsl:value-of select="bescheidbgbl1" /> idgF,</text:p>
<text:p text:style-name="P1">(Austrian legal reference: Fachhochschul-Studiengesetz - FHStG, BGBl. Nr. <xsl:value-of select="bescheidbgbl1" /> idgF),</text:p>
<text:p text:style-name="P1">the University of Applied Sciences Council (Fachhochschulkollegium) awards</text:p>
<text:p text:style-name="P1"/>
<text:p text:style-name="P3">
@@ -101,7 +104,7 @@
<xsl:text>, </xsl:text>
</xsl:if>
<xsl:value-of select="geburtsnation_engl" />, citizen of <xsl:value-of select="staatsbuergerschaft_engl" />,</text:p>
<text:p text:style-name="P1">student of the university of applied sciences
<text:p text:style-name="P1">student of the University of Applied Sciences
<xsl:choose>
<xsl:when test="stg_art='b'">Bachelor</xsl:when>
<xsl:when test="stg_art='m'">Master</xsl:when>
@@ -119,7 +122,7 @@
<text:p text:style-name="P1">after successfully passing the diploma examination on <xsl:value-of select="datum" /></text:p>
<text:p text:style-name="P1">at the University of Applied Sciences Technikum Wien (Fachhochschule Technikum Wien)</text:p>
<text:p text:style-name="P1">in accordance with the directive of the Agency for Quality Assurance and Accreditation Austria</text:p>
<text:p text:style-name="P1">dated 9.5.2012 the academic degree</text:p>
<text:p text:style-name="P1">dated 09.05.2012 the academic degree</text:p>
<text:p text:style-name="P1"/>
<text:p text:style-name="P3">
<xsl:value-of select="titel" />
+2 -1
View File
@@ -75,6 +75,7 @@ xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
<xsl:if test="datum = ''"><text:p text:style-name="P4">Datum der Abschlussprüfung nicht gesetzt</text:p></xsl:if>
<xsl:if test="titel = ''"><text:p text:style-name="P4">Kein akademischer Grad ausgewählt</text:p></xsl:if>
<xsl:if test="sponsion = ''"><text:p text:style-name="P4">Sponsionsdatum nicht gesetzt</text:p></xsl:if>
<xsl:if test="bescheidbgbl1 = ''"><text:p text:style-name="P4">Bundesgesetzblattnummer (BGBl) beim Studiengang ist nicht gesetzt</text:p></xsl:if>
<text:p text:style-name="P1"/>
<text:p text:style-name="P1"/>
@@ -119,7 +120,7 @@ xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
<text:p text:style-name="P1"/>
<text:p text:style-name="P1">an der Fachhochschule Technikum Wien</text:p>
<text:p text:style-name="P1">durch Ablegung der Bachelor-Prüfung am <xsl:value-of select="datum" /> ordnungsgemäß abgeschlossen hat,</text:p>
<text:p text:style-name="P1">den mit Bescheid des Board der Agentur für Qualitätssicherung und Akkreditierung Austria vom 9.5.2012,</text:p>
<text:p text:style-name="P1">den mit Bescheid des Board der Agentur für Qualitätssicherung und Akkreditierung Austria vom 09.05.2012,</text:p>
<text:p text:style-name="P1">GZ FH12020016 idgF, gemäß § 6 Abs. 2 FHStG</text:p>
<text:p text:style-name="P1">festgesetzten akademischen Grad</text:p>
<text:p text:style-name="P1"/>
+5 -3
View File
@@ -74,11 +74,13 @@ xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
<xsl:if test="datum = ''"><text:p text:style-name="P4">Datum der Abschlussprüfung nicht gesetzt</text:p></xsl:if>
<xsl:if test="titel = ''"><text:p text:style-name="P4">Kein akademischer Grad ausgewählt</text:p></xsl:if>
<xsl:if test="sponsion = ''"><text:p text:style-name="P4">Sponsionsdatum nicht gesetzt</text:p></xsl:if>
<xsl:if test="bescheidbgbl1 = ''"><text:p text:style-name="P4">Bundesgesetzblattnummer (BGBl) beim Studiengang ist nicht gesetzt</text:p></xsl:if>
<text:p text:style-name="P1"/>
<text:p text:style-name="P1"/>
<text:p text:style-name="P1"/>
<text:p text:style-name="P1">Pursuant to section 6 subsection 1 of the Universities of Applied Sciences Studies Act</text:p>
<text:p text:style-name="P1">(Austrian legal reference: Fachhochschul-Studiengesetz - FHStG, BGBl. Nr. <xsl:value-of select="bescheidbgbl1" /> idgF,</text:p>
<text:p text:style-name="P1">(Austrian legal reference: Fachhochschul-Studiengesetz - FHStG, BGBl. Nr. <xsl:value-of select="bescheidbgbl1" /> idgF),</text:p>
<text:p text:style-name="P1">the University of Applied Sciences Council (Fachhochschulkollegium) awards</text:p>
<text:p text:style-name="P1"/>
<text:p text:style-name="P3"><xsl:value-of select="anrede_engl" /><xsl:text> </xsl:text><xsl:value-of select="name" /></text:p>
@@ -89,7 +91,7 @@ xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
<xsl:text>, </xsl:text>
</xsl:if>
<xsl:value-of select="geburtsnation_engl" />, citizen of <xsl:value-of select="staatsbuergerschaft_engl" />,</text:p>
<text:p text:style-name="P1">student of the university of applied sciences
<text:p text:style-name="P1">student of the University of Applied Sciences
<xsl:choose>
<xsl:when test="stg_art='b'">Bachelor</xsl:when>
<xsl:when test="stg_art='m'">Master</xsl:when>
@@ -105,7 +107,7 @@ xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
<text:p text:style-name="P1">after successfully passing the diploma examination on <xsl:value-of select="datum" /></text:p>
<text:p text:style-name="P1">at the University of Applied Sciences Technikum Wien (Fachhochschule Technikum Wien)</text:p>
<text:p text:style-name="P1">in accordance with the directive of the Agency for Quality Assurance and Accreditation Austria</text:p>
<text:p text:style-name="P1">dated 9.5.2012 the academic degree</text:p>
<text:p text:style-name="P1">dated 09.05.2012 the academic degree</text:p>
<text:p text:style-name="P1"/>
<text:p text:style-name="P3"><xsl:value-of select="titel" /></text:p>
<text:p text:style-name="P1">abbreviated</text:p>
+2 -1
View File
@@ -75,6 +75,7 @@ xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
<xsl:if test="datum = ''"><text:p text:style-name="P4">Datum der Abschlussprüfung nicht gesetzt</text:p></xsl:if>
<xsl:if test="titel = ''"><text:p text:style-name="P4">Kein akademischer Grad ausgewählt</text:p></xsl:if>
<xsl:if test="sponsion = ''"><text:p text:style-name="P4">Sponsionsdatum nicht gesetzt</text:p></xsl:if>
<xsl:if test="bescheidbgbl1 = ''"><text:p text:style-name="P4">Bundesgesetzblattnummer (BGBl) beim Studiengang ist nicht gesetzt</text:p></xsl:if>
<text:p text:style-name="P1"/>
<text:p text:style-name="P1"/>
@@ -119,7 +120,7 @@ xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
<text:p text:style-name="P1"/>
<text:p text:style-name="P1">an der Fachhochschule Technikum Wien</text:p>
<text:p text:style-name="P1">durch Ablegung der Master-Prüfung am <xsl:value-of select="datum" /> ordnungsgemäß abgeschlossen hat,</text:p>
<text:p text:style-name="P1">den mit Bescheid des Board der Agentur für Qualitätssicherung und Akkreditierung Austria vom 9.5.2012,</text:p>
<text:p text:style-name="P1">den mit Bescheid des Board der Agentur für Qualitätssicherung und Akkreditierung Austria vom 09.05.2012,</text:p>
<text:p text:style-name="P1">GZ FH12020016 idgF, gemäß § 6 Abs. 2 FHStG</text:p>
<text:p text:style-name="P1">festgesetzten akademischen Grad</text:p>
<text:p text:style-name="P1"/>