mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +00:00
init $t and $ot
This commit is contained in:
parent
23bd194007
commit
2ab8cd5215
|
@ -263,6 +263,7 @@ function getOverallStatusText($status) { /* {{{ */
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
function getAttributeTypeText($attrdef) { /* {{{ */
|
function getAttributeTypeText($attrdef) { /* {{{ */
|
||||||
|
$t = '';
|
||||||
switch($attrdef->getType()) {
|
switch($attrdef->getType()) {
|
||||||
case SeedDMS_Core_AttributeDefinition::type_int:
|
case SeedDMS_Core_AttributeDefinition::type_int:
|
||||||
$t = getMLText("attrdef_type_int");
|
$t = getMLText("attrdef_type_int");
|
||||||
|
@ -305,6 +306,7 @@ function getAttributeTypeText($attrdef) { /* {{{ */
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
function getAttributeObjectTypeText($attrdef) { /* {{{ */
|
function getAttributeObjectTypeText($attrdef) { /* {{{ */
|
||||||
|
$ot = '';
|
||||||
switch($attrdef->getObjType()) {
|
switch($attrdef->getObjType()) {
|
||||||
case SeedDMS_Core_AttributeDefinition::objtype_all:
|
case SeedDMS_Core_AttributeDefinition::objtype_all:
|
||||||
$ot = getMLText("all");
|
$ot = getMLText("all");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user