Misc improvements
This commit is contained in:
@@ -104,6 +104,10 @@ abstract class lnApp_Table {
|
||||
if (isset($this->postproc[$key]) and $x) {
|
||||
foreach ($this->postproc[$key] as $act => $data) {
|
||||
switch ($act) {
|
||||
case 'yesno':
|
||||
$x = StaticList_YesNo::get($x,TRUE);
|
||||
break;
|
||||
|
||||
case 'trim':
|
||||
if (strlen($x) > $data) {
|
||||
$x = sprintf('<abbr title="%s">%s</abbr>',$x,substr($x,0,$data-3).str_repeat('.',3));
|
||||
|
Reference in New Issue
Block a user