mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +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) { /* {{{ */
|
||||
$t = '';
|
||||
switch($attrdef->getType()) {
|
||||
case SeedDMS_Core_AttributeDefinition::type_int:
|
||||
$t = getMLText("attrdef_type_int");
|
||||
|
@ -305,6 +306,7 @@ function getAttributeTypeText($attrdef) { /* {{{ */
|
|||
} /* }}} */
|
||||
|
||||
function getAttributeObjectTypeText($attrdef) { /* {{{ */
|
||||
$ot = '';
|
||||
switch($attrdef->getObjType()) {
|
||||
case SeedDMS_Core_AttributeDefinition::objtype_all:
|
||||
$ot = getMLText("all");
|
||||
|
|
Loading…
Reference in New Issue
Block a user