Changeset 768 for trunk/bin


Ignore:
Timestamp:
Jun 9, 2022 7:24:04 PM (23 months ago)
Author:
anonymous
Message:

Minor improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/module_maker/list_template.cli.php

    r664 r768  
    117117            'longblob' == $type
    118118        ) {
    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>";
    120120        } else if (preg_match('/.*(begin|start).*date.*/i', $field)) {
    121121            $listrows[] = "<\x3fphp echo \$db->getParam('zero_date') == \$list[\$i]['$field'] ? '' : date(\$app->getParam('date_format'), strtotime(\$list[\$i]['$field'])); \x3f>";
     
    135135            $listrows[] = "<input type=\"text\" name=\"rank[<\x3fphp echo \$list[\$i]['$primary_key']; \x3f>]\" value=\"<\x3fphp echo \$list[\$i]['rank']; \x3f>\" size=\"5\" />";
    136136        } else {
    137             $listrows[] = "<\x3fphp echo oTxt(\$list[\$i]['$field'], true); \x3f>";
     137            $listrows[] = "<\x3fphp echo oTxt(\$list[\$i]['$field']); \x3f>";
    138138        }
    139139    }
Note: See TracChangeset for help on using the changeset viewer.