* Finish task #7611.
This commit is contained in:
@@ -548,7 +548,7 @@ class repo extends control
|
||||
if(isset($pathInfo["extension"])) $suffix = strtolower($pathInfo["extension"]);
|
||||
|
||||
$arrange = $this->cookie->arrange ? $this->cookie->arrange : 'inline';
|
||||
if(!empty($_POST))
|
||||
if($this->server->request_method)
|
||||
{
|
||||
$oldRevision = isset($this->post->revision[1]) ?$this->post->revision[1] : '';
|
||||
$newRevision = isset($this->post->revision[0]) ?$this->post->revision[0] : '';
|
||||
|
||||
@@ -50,7 +50,6 @@ if(isset($entry)) $pathInfo .= '&type=file';
|
||||
</tbody>
|
||||
</table>
|
||||
<div class='table-footer'>
|
||||
<?php echo html::hidden('isPost', true);?>
|
||||
<?php if(common::hasPriv('repo', 'diff')) echo html::submitButton($lang->repo->diff, '', count($revisions) < 2 ? 'disabled btn btn-primary' : 'btn btn-primary')?>
|
||||
<?php echo html::a($this->repo->createLink('log', "repoID=$repoID&entry=&revision=HEAD&type=$logType", "entry=" . $this->repo->encodePath($path)), $lang->repo->allLog, '', "class='allLogs'");?>
|
||||
<div class='pull-right'>
|
||||
|
||||
@@ -82,10 +82,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<div class='table-footer'>
|
||||
<?php
|
||||
echo html::hidden('isPost', true);
|
||||
echo html::submitButton($lang->repo->diff, '', 'btn btn-primary');
|
||||
?>
|
||||
<?php echo html::submitButton($lang->repo->diff, '', 'btn btn-primary')?>
|
||||
<?php $pager->show('right', 'pagerjs');?>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user