khanat-opennel-code/code/web/public_php/ams/templates/install_plugin.tpl

33 lines
1 KiB
Smarty
Raw Normal View History

2014-06-11 10:27:07 +00:00
{block name=content}
2014-06-11 10:27:07 +00:00
<div class="row-fluid">
2014-09-03 10:22:14 +00:00
<div class="box col-md-12">
<div class="box-inner">
2014-06-11 10:27:07 +00:00
<div class="box-header well">
<h2><i class="icon-info-sign"></i>{$ip_title}</h2>
</div>
<div class="box-content">
<center>
<p>{$ip_support}</p>
<div class="alert alert-error">
<form enctype="multipart/form-data" method="post" action="index.php?page=plugin&action=install_plugin" id="upload_plugin" >
2014-06-11 10:27:07 +00:00
<label for="file">Filename:</label>&nbsp;&nbsp;
<input type="file" name="file" id="file"></br>
<progress id="progressBar" value="0" max="100" style="width:300px;"></progress></br>
<input type="button" value="Upload" onclick="uploadPlugin()"></br>
<h3 id="status"></h3>
{if isset($smarty.get.result) and $smarty.get.result eq "0"}<p>{$ip_file_nfnd}</p>{/if}
{if isset($smarty.get.result) and $smarty.get.result eq "2"}<p>{$ip_info_nfound}</p>{/if}
2014-06-11 10:27:07 +00:00
</div>
{$ip_message}
</center>
<div class="clearfix"></div>
</div>
</div>
2014-09-03 10:22:14 +00:00
</div>
2014-06-11 10:27:07 +00:00
</div>
</div><!--/span-->
2014-06-11 10:27:07 +00:00
</div><!--/row-->
{/block}