histogram: Make histograms crash less
[ninja.git] / application / views / command / commit.php
blob6914f964f4868f86998b96d4f5f697b634bc88e1
1 <?php
2 echo "<br />";
3 if ($result === true) {
4 echo '<div>'.sprintf(_('Your command was successfully submitted to %s.'), Kohana::config('config.product_name')).'<br /><br />'.
5 '<input type="button" value="Done" onclick="history.go(-2)" /></div>'."\n";
6 } else {
7 echo '<div>'.sprintf(_('There was an error submitting your command to %s.'), Kohana::config('config.product_name'));
8 if (!empty($error)) {
9 echo '<br /><br />'._('ERROR').': '.$error;
11 echo "</div>\n";