* finish task #2885.
This commit is contained in:
@@ -17,11 +17,21 @@
|
||||
<strong><?php echo $lang->extension->upload;?></strong>
|
||||
</div>
|
||||
</div>
|
||||
<?php if(!empty($error)):?>
|
||||
<div class='panel panel-body text-left'>
|
||||
<div class='container mw-500px'>
|
||||
<p class='text-danger'><?php echo $error;?></p>
|
||||
</div>
|
||||
<hr>
|
||||
<?php echo html::commonButton($lang->extension->refreshPage, 'onclick=location.href=location.href');?>
|
||||
</div>
|
||||
<?php else:?>
|
||||
<form method='post' enctype='multipart/form-data' style='padding: 5% 20%'>
|
||||
<div class='input-group'>
|
||||
<input type='file' name='file' class='form-control' />
|
||||
<span class='input-group-btn'><?php echo html::submitButton($lang->extension->install);?></span>
|
||||
</div>
|
||||
</form>
|
||||
<?php endif;?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user