- Timestamp:
- Jun 9, 2022 7:24:04 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/module_maker/list_template.cli.php
r664 r768 117 117 'longblob' == $type 118 118 ) { 119 $listrows[] = "<\x3fphp echo mb_strlen(\$list[\$i]['$field'])<50 \x3f oTxt(\$list[\$i]['$field'] , true) : oTxt(trim(mb_substr(\$list[\$i]['$field'], 0, 50)) . '...'); \x3f>";119 $listrows[] = "<\x3fphp echo mb_strlen(\$list[\$i]['$field'])<50 \x3f oTxt(\$list[\$i]['$field']) : oTxt(trim(mb_substr(\$list[\$i]['$field'], 0, 50)) . '...'); \x3f>"; 120 120 } else if (preg_match('/.*(begin|start).*date.*/i', $field)) { 121 121 $listrows[] = "<\x3fphp echo \$db->getParam('zero_date') == \$list[\$i]['$field'] ? '' : date(\$app->getParam('date_format'), strtotime(\$list[\$i]['$field'])); \x3f>"; … … 135 135 $listrows[] = "<input type=\"text\" name=\"rank[<\x3fphp echo \$list[\$i]['$primary_key']; \x3f>]\" value=\"<\x3fphp echo \$list[\$i]['rank']; \x3f>\" size=\"5\" />"; 136 136 } else { 137 $listrows[] = "<\x3fphp echo oTxt(\$list[\$i]['$field'] , true); \x3f>";137 $listrows[] = "<\x3fphp echo oTxt(\$list[\$i]['$field']); \x3f>"; 138 138 } 139 139 }
Note: See TracChangeset
for help on using the changeset viewer.