Fix compatibility with PHP 5.4
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<?php if($removeCommands):?>
|
||||
<div class='container mw-500px'>
|
||||
<p><strong><?php echo $lang->extension->unremovedFiles;?></strong></p>
|
||||
<code><?php echo join($removeCommands, '<br />');?></code>
|
||||
<code><?php echo join('<br />', $removeCommands);?></code>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<hr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<h3><?php echo $title;?></h3>
|
||||
<?php if($removeCommands):?>
|
||||
<p><strong><?php echo $lang->extension->unremovedFiles;?></strong></p>
|
||||
<p><?php echo join($removeCommands, '<br />');?></p>
|
||||
<p><?php echo join('<br />', $removeCommands);?></p>
|
||||
<?php endif;?>
|
||||
<p class='text-center'><?php echo html::commonButton($lang->extension->viewAvailable, 'onclick=parent.location.href="' . inlink('browse', 'type=available') . '"');?></p>
|
||||
</div>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
if($removeCommands)
|
||||
{
|
||||
echo "<p class='strong'>{$lang->extension->unremovedFiles}</p>";
|
||||
echo join($removeCommands, '<br />');
|
||||
echo join('<br />', $removeCommands);
|
||||
}
|
||||
echo "<p class='text-center'>" . html::commonButton($lang->extension->viewAvailable, 'onclick=parent.location.href="' . inlink('browse', 'type=available') . '"') . '</p>';
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user