Merge branch 'tsj_fixbug' into 'master'
Tsj fixbug See merge request easycorp/zentaopms!7453
This commit is contained in:
@@ -79,7 +79,8 @@
|
||||
</div>
|
||||
<?php if(!empty($editors)):?>
|
||||
<div id='editorBox'>
|
||||
<div class="btn-group">
|
||||
<?php $groupClass = count($editors) == 1 ? 'noDropdown' : '';?>
|
||||
<div class="btn-group <?php echo $groupClass;?>">
|
||||
<?php
|
||||
$space = common::checkNotCN() ? ' ' : '';
|
||||
$firstEditor = current($editors);
|
||||
@@ -87,22 +88,22 @@
|
||||
|
||||
array_shift($editors);
|
||||
?>
|
||||
<button class="btn btn-link dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="text"><?php echo $editorInfo;?></span>
|
||||
<?php if(!empty($editors)):?>
|
||||
<span class="caret"></span>
|
||||
<?php endif;?>
|
||||
</button>
|
||||
<?php if(!empty($editors)):?>
|
||||
<button class="btn btn-link dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="text" title='<?php echo $editorInfo;?>'><?php echo $editorInfo;?></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu" id='editorMenu'>
|
||||
<?php
|
||||
foreach($editors as $editor)
|
||||
{
|
||||
$editorInfo = zget($users, $editor->account) . ' ' . substr($editor->date, 0, 10) . $space . $lang->doc->update;
|
||||
echo "<li>$editorInfo</li>";
|
||||
echo "<li title='$editorInfo'>$editorInfo</li>";
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
<?php else:?>
|
||||
<span class="text" title='<?php echo $editorInfo;?>'><?php echo $editorInfo;?></span>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user