mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Nationensperre im Dropdown für Staatsbuergerschaft, Geburtsnation, ZGVNation und ZGVMasternation umgesetzt
This commit is contained in:
@@ -107,9 +107,16 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
ref="http://www.technikum-wien.at/nation/liste" >
|
||||
<template>
|
||||
<menupopup>
|
||||
<?php
|
||||
$styleNationSperre = 'rdf:http://www.technikum-wien.at/nation/rdf#styleNationSperre';
|
||||
$nationSperre= 'rdf:http://www.technikum-wien.at/nation/rdf#sperre';
|
||||
?>
|
||||
<menuitem value="rdf:http://www.technikum-wien.at/nation/rdf#nation_code"
|
||||
label="rdf:http://www.technikum-wien.at/nation/rdf#kurztext"
|
||||
uri="rdf:*"/>
|
||||
uri="rdf:*"
|
||||
style="<?php echo $styleNationSperre?>"
|
||||
disabled="<?php echo $nationSperre?>"
|
||||
/>
|
||||
</menupopup>
|
||||
</template>
|
||||
</menulist>
|
||||
@@ -130,12 +137,21 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
ref="http://www.technikum-wien.at/nation/liste" >
|
||||
<template>
|
||||
<menupopup>
|
||||
<?php
|
||||
$styleNationSperre = 'rdf:http://www.technikum-wien.at/nation/rdf#styleNationSperre';
|
||||
$nationSperre= 'rdf:http://www.technikum-wien.at/nation/rdf#sperre';
|
||||
?>
|
||||
<menuitem value="rdf:http://www.technikum-wien.at/nation/rdf#nation_code"
|
||||
label="rdf:http://www.technikum-wien.at/nation/rdf#kurztext"
|
||||
uri="rdf:*"/>
|
||||
uri="rdf:*"
|
||||
style="<?php echo $styleNationSperre?>"
|
||||
disabled="<?php echo $nationSperre?>"
|
||||
/>
|
||||
</menupopup>
|
||||
</template>
|
||||
</menulist>
|
||||
|
||||
|
||||
<label value="Matrikelnummer" control="student-detail-textbox-matr_nr"/>
|
||||
<hbox><textbox id="student-detail-textbox-matr_nr" disabled="true" maxlength="32" size="15"/></hbox>
|
||||
<label value="Sprache" control="student-detail-menulist-sprache" />
|
||||
@@ -329,9 +345,16 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
style="min-width: 100px">
|
||||
<template>
|
||||
<menupopup>
|
||||
<?php
|
||||
$styleNationSperre = 'rdf:http://www.technikum-wien.at/nation/rdf#styleNationSperre';
|
||||
$nationSperre= 'rdf:http://www.technikum-wien.at/nation/rdf#sperre';
|
||||
?>
|
||||
<menuitem value="rdf:http://www.technikum-wien.at/nation/rdf#nation_code"
|
||||
label="rdf:http://www.technikum-wien.at/nation/rdf#kurztext"
|
||||
uri="rdf:*"/>
|
||||
uri="rdf:*"
|
||||
style="<?php echo $styleNationSperre?>"
|
||||
disabled="<?php echo $nationSperre?>"
|
||||
/>
|
||||
</menupopup>
|
||||
</template>
|
||||
</menulist>
|
||||
@@ -347,7 +370,8 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
<menupopup>
|
||||
<menuitem value="rdf:http://www.technikum-wien.at/zgvmaster/rdf#code"
|
||||
label="rdf:http://www.technikum-wien.at/zgvmaster/rdf#kurzbz"
|
||||
uri="rdf:*"/>
|
||||
uri="rdf:*"
|
||||
/>
|
||||
</menupopup>
|
||||
</template>
|
||||
</menulist>
|
||||
@@ -365,9 +389,16 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
style="min-width: 100px">
|
||||
<template>
|
||||
<menupopup>
|
||||
<?php
|
||||
$styleNationSperre = 'rdf:http://www.technikum-wien.at/nation/rdf#styleNationSperre';
|
||||
$nationSperre= 'rdf:http://www.technikum-wien.at/nation/rdf#sperre';
|
||||
?>
|
||||
<menuitem value="rdf:http://www.technikum-wien.at/nation/rdf#nation_code"
|
||||
label="rdf:http://www.technikum-wien.at/nation/rdf#kurztext"
|
||||
uri="rdf:*"/>
|
||||
uri="rdf:*"
|
||||
style="<?php echo $styleNationSperre?>"
|
||||
disabled="<?php echo $nationSperre?>"
|
||||
/>
|
||||
</menupopup>
|
||||
</template>
|
||||
</menulist>
|
||||
|
||||
@@ -83,6 +83,7 @@ foreach ($nation->nation as $row)
|
||||
<NATION:langtext><![CDATA[<?php echo $row->langtext ?>]]></NATION:langtext>
|
||||
<NATION:engltext><![CDATA[<?php echo $row->engltext ?>]]></NATION:engltext>
|
||||
<NATION:sperre><![CDATA[<?php echo ($row->sperre?'true':'false') ?>]]></NATION:sperre>
|
||||
<NATION:styleNationSperre><![CDATA[<?php echo ($row->sperre?'text-decoration: line-through':'') ?>]]></NATION:styleNationSperre>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user