getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>
comment) != '' and strpos(',view,objectlibs,viewcard,', ",$this->methodName,") !== false and $action->actor == $this->app->user->account and common::hasPriv('action', 'editComment'));?>
actor = zget($users, $action->actor);
if($action->action == 'assigned' or $action->action == 'toaudit') $action->extra = zget($users, $action->extra);
if(strpos($action->actor, ':') !== false) { $action->actor = substr($action->actor, strpos($action->actor, ':') + 1); }
$this->loadModel('action')->printAction($action);
?>
history)):?>
action->printChanges($action->objectType, $action->objectID, $action->history);?>
comment))) != 0):?>
', "title='{$lang->action->editComment}'", 'btn btn-link btn-icon btn-sm btn-edit-comment');?>
') !== false) { $before = explode('', $action->comment); $after = explode('', $before[1]); $htmlCode = $after[0]; $text = $before[0] . htmlspecialchars($htmlCode) . $after[1]; echo $text; } else { echo strip_tags($action->comment) == $action->comment ? nl2br($action->comment) : $action->comment; } ?>