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

33 lines
1 KiB
Smarty
Raw Normal View History

2014-09-05 08:20:00 +00:00
{block name=content}
<div class="row-fluid">
<div class="box col-md-12">
<div class="box-inner">
<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" >
<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}
</div>
{$ip_message}
</center>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
</div><!--/span-->
</div><!--/row-->
{/block}