added reload button

This commit is contained in:
daeks
2013-08-07 20:03:51 +02:00
parent efa3b0dd7f
commit 755ebefcdd

View File

@@ -110,8 +110,9 @@
</div>
<table width="100%">
<tr>
<th valign="middle" width="150px"><button onclick="window.location.reload();return false;"><?php i18n("Reload Codiad"); ?></button></th>
<th valign="middle"><input style="margin:0;display:inline" id="repourl" placeholder="Enter GitHub Repository Url..."></th>
<th valign="middle" align="right" width="222px"><button class="btn-left" onclick="codiad.market.install('','Manually',getElementById('repourl').value);return false;"><?php i18n("Install Manually"); ?></button><button class="btn-right" onclick="codiad.modal.unload();return false;"><?php i18n("Close"); ?></button></th>
<th valign="middle" align="right" width="222px"><button class="btn-left" onclick="codiad.market.install('<?php echo $_GET['type']; ?>','','Manually',getElementById('repourl').value);return false;"><?php i18n("Install Manually"); ?></button><button class="btn-right" onclick="codiad.modal.unload();return false;"><?php i18n("Close"); ?></button></th>
</tr>
</table>
<?php