Merge branch 'maint/7.0'
[ninja.git] / application / views / command / commit.php
blob617824506a7c4c37cfb4da0d51d1380e67f6beac
1 <?php
2 if ($result === true) {
3 echo '<div class="alert notice">'.sprintf(_('Your command was successfully submitted to %s.'), Kohana::config('config.product_name')).'</div>'.
4 '<input style="margin-left: 12px" type="button" value="Done" onclick="history.go(-2)" />'."\n";
5 } else {
6 echo '<div class="alert error">'.sprintf(_('There was an error submitting your command to %s.'), Kohana::config('config.product_name'));
7 if (!empty($error)) {
8 echo '<br /><br />'._('ERROR').': '.$error;
10 echo "</div>\n";