changed "discard changes" to a more useful "cancel" button
„cancel” will take you back to the last view you were in.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" style="text-align:right;">
|
<td colspan="2" style="text-align:right;">
|
||||||
<input type="reset" value="{$lng['panel']['reset']}" />
|
<input type="reset" value="{$lng['panel']['cancel']}" id="historyback" />
|
||||||
<input type="submit" value="{$lng['panel']['save']}" />
|
<input type="submit" value="{$lng['panel']['save']}" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<img src="templates/{$theme}/assets/img/{$image}" alt="{$title}" /> <strong>{$title}</strong>
|
<img src="templates/{$theme}/assets/img/{$image}" alt="{$title}" /> <strong>{$title}</strong>
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align:right;">
|
<td style="text-align:right;">
|
||||||
<input type="reset" value="{$lng['panel']['reset']}" />
|
<input type="reset" value="{$lng['panel']['cancel']}" id="historyback" />
|
||||||
<input type="submit" value="{$lng['panel']['save']}" />
|
<input type="submit" value="{$lng['panel']['save']}" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
2
templates/Sparkle/misc/form/table_end.tpl
vendored
2
templates/Sparkle/misc/form/table_end.tpl
vendored
@@ -1,7 +1,7 @@
|
|||||||
<tfoot>
|
<tfoot>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" style="text-align:right;">
|
<td colspan="2" style="text-align:right;">
|
||||||
<input type="reset" value="{$lng['panel']['reset']}" />
|
<input type="reset" value="{$lng['panel']['cancel']}" id="historyback" />
|
||||||
<input type="submit" value="{$lng['panel']['save']}" />
|
<input type="submit" value="{$lng['panel']['save']}" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{$title}
|
{$title}
|
||||||
</th>
|
</th>
|
||||||
<th style="text-align:right;">
|
<th style="text-align:right;">
|
||||||
<input type="reset" value="{$lng['panel']['reset']}" />
|
<input type="reset" value="{$lng['panel']['cancel']}" id="historyback" />
|
||||||
<input type="submit" value="{$lng['panel']['save']}" />
|
<input type="submit" value="{$lng['panel']['save']}" />
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user