* finish task #4950.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>
|
||||
<?php if(!empty($blockHistory)):?>
|
||||
<div class="panel block-histories histories" data-textDiff="<?php echo $lang->action->textDiff;?>" data-original="<?php echo $lang->action->original;?>">
|
||||
<div class="panel block-histories histories no-margin" data-textDiff="<?php echo $lang->action->textDiff;?>" data-original="<?php echo $lang->action->original;?>">
|
||||
<?php else:?>
|
||||
<div class="detail histories" id='actionbox' data-textDiff="<?php echo $lang->action->textDiff;?>" data-original="<?php echo $lang->action->original;?>">
|
||||
<?php endif;?>
|
||||
@@ -14,7 +14,7 @@
|
||||
$('blockquote.textdiff').each(function()
|
||||
{
|
||||
newBoxID = $(this).parent().attr('id');
|
||||
if(newBoxID != oldBoxID)
|
||||
if(newBoxID != oldBoxID)
|
||||
{
|
||||
oldBoxID = newBoxID;
|
||||
if($(this).html() != $(this).next().html()) $(this).closest('.history-changes').before(diffButton);
|
||||
@@ -61,12 +61,12 @@
|
||||
<?php echo $this->action->printChanges($action->objectType, $action->history);?>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<?php if(!empty($action->comment)):?>
|
||||
<?php if(!empty($action->comment)):?>
|
||||
<?php if($canEditComment):?>
|
||||
<?php echo html::commonButton('<i class="icon icon-pencil"></i>', "title='{$lang->action->editComment}'", 'btn btn-link btn-icon btn-sm btn-edit-comment');?>
|
||||
<?php endif;?>
|
||||
<div class='article-content comment'>
|
||||
<?php echo strip_tags($action->comment) == $action->comment ? nl2br($action->comment) : $action->comment;?>
|
||||
<?php echo strip_tags($action->comment) == $action->comment ? nl2br($action->comment) : $action->comment;?>
|
||||
</div>
|
||||
<?php if($canEditComment):?>
|
||||
<form method='post' class='comment-edit-form' action='<?php echo $this->createLink('action', 'editComment', "actionID=$action->id")?>'>
|
||||
|
||||
Reference in New Issue
Block a user