Move misleading copyright notices to a more appropriate location

hg/feature/cdb-packed
kaetemi 10 years ago
parent 75dc4fc779
commit b64ab2c828

@ -137,9 +137,9 @@
<div id="content" class="span10"> <div id="content" class="span10">
<!-- content starts --> <!-- content starts -->
{/if} {/if}
{if isset($no_visible_elements) and $no_visible_elements eq "TRUE"} {if isset($no_visible_elements) and $no_visible_elements eq "TRUE"}
<div class="flags_no_visible_elements"> <div class="flags_no_visible_elements">
<img src="img/en.png" onclick="reloadPageWithLanguage('en');"/> <img src="img/en.png" onclick="reloadPageWithLanguage('en');"/>
<img src="img/fr.png" onclick="reloadPageWithLanguage('fr');"/> <img src="img/fr.png" onclick="reloadPageWithLanguage('fr');"/>
@ -148,8 +148,8 @@
{/if} {/if}
{block name=content}{/block} {block name=content}{/block}
{if ! isset($no_visible_elements) or $no_visible_elements eq "FALSE"} {if ! isset($no_visible_elements) or $no_visible_elements eq "FALSE"}
</div><!--/#content.span10--> </div><!--/#content.span10-->
{/if} {/if}
@ -172,7 +172,6 @@
</div> </div>
<footer> <footer>
<p class="pull-left">&copy; <a href="http://usman.it" target="_blank">Muhammad Usman</a> <?php echo date('Y') ?></p>
<p class="pull-right">Powered by: <a href="http://usman.it/free-responsive-admin-template">Charisma</a></p> <p class="pull-right">Powered by: <a href="http://usman.it/free-responsive-admin-template">Charisma</a></p>
</footer> </footer>
{/if} {/if}
@ -198,38 +197,38 @@
{ {
return document.getElementById(e1); return document.getElementById(e1);
} }
function uploadPlugin() function uploadPlugin()
{ {
var fileObject = _("file").files[0]; var fileObject = _("file").files[0];
var formdata = new FormData(); var formdata = new FormData();
formdata.append("file",fileObject); formdata.append("file",fileObject);
var ajax = new XMLHttpRequest(); var ajax = new XMLHttpRequest();
ajax.upload.addEventListener("progress", progressHandler, false); ajax.upload.addEventListener("progress", progressHandler, false);
ajax.addEventListener("load", completeHandler, false); ajax.addEventListener("load", completeHandler, false);
ajax.addEventListener("error", errorHandler, false); ajax.addEventListener("error", errorHandler, false);
ajax.addEventListener("abort", abortHandler, false); ajax.addEventListener("abort", abortHandler, false);
ajax.open("POST", "index.php?page=plugin&action=install_plugin"); ajax.open("POST", "index.php?page=plugin&action=install_plugin");
ajax.send(formdata); ajax.send(formdata);
} }
function progressHandler(event) function progressHandler(event)
{ {
var percent = (event.loaded/event.total)*100; var percent = (event.loaded/event.total)*100;
_("progressBar").value = Math.round(percent); _("progressBar").value = Math.round(percent);
} }
function completeHandler(event) function completeHandler(event)
{ {
_("status").innerHTML = event.target.responseText; _("status").innerHTML = event.target.responseText;
_("progressBar").value = 0; _("progressBar").value = 0;
} }
function errorHandler(event) function errorHandler(event)
{ {
_("status").innerHTML = "upload Failed"; _("status").innerHTML = "upload Failed";
} }
function abortHandler(event) function abortHandler(event)
{ {
_("status").innerHTML = "upload Aborted"; _("status").innerHTML = "upload Aborted";
@ -238,13 +237,13 @@
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script> <script>
$(document).ready(function() { $(document).ready(function() {
$("#expDate").datepicker({ dateFormat: 'yy-mm-dd' }); $("#expDate").datepicker({ dateFormat: 'yy-mm-dd' });
}); });
</script> </script>
<!-- jQuery --> <!-- jQuery -->
<script src="js/jquery-1.7.2.min.js"></script> <script src="js/jquery-1.7.2.min.js"></script>
<!-- jQuery UI --> <!-- jQuery UI -->

Loading…
Cancel
Save