Merge pull request #176 from BNoiZe/master

Various improvements
This commit is contained in:
Florian Aders
2013-12-06 09:44:36 -08:00
10 changed files with 20 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
$(document).ready(function() {
$('#historyback').click(function() {
$('#historyback, .historyback').click(function() {
parent.history.back();
return false;
});

View File

@@ -1,6 +1,6 @@
<tr>
<td colspan="2" style="text-align:right;">
<input type="reset" value="{$lng['panel']['reset']}" />
<input type="reset" value="{$lng['panel']['cancel']}" class="historyback" />
<input type="submit" value="{$lng['panel']['save']}" />
</td>
</tr>

View File

@@ -3,7 +3,7 @@
<img src="templates/{$theme}/assets/img/{$image}" alt="{$title}" />&nbsp;<strong>{$title}</strong>
</td>
<td style="text-align:right;">
<input type="reset" value="{$lng['panel']['reset']}" />
<input type="reset" value="{$lng['panel']['cancel']}" class="historyback" />
<input type="submit" value="{$lng['panel']['save']}" />
</td>
</tr>

View File

@@ -15,8 +15,11 @@ $header
{$configpage}
<if $restart != ''>
<tr>
<td>{$lng['admin']['configfiles']['restart']}<br /><br />
<textarea class="textarea_border" rows="3" cols="70" readonly="readonly">$restart</textarea></td>
<th>{$lng['admin']['configfiles']['restart']}</th>
<tr>
<tr>
<td>
<textarea class="textarea_border" rows="" cols="70" readonly="readonly">$restart</textarea></td>
</tr>
</if>
</table>

View File

@@ -1,4 +1,6 @@
<tr>
<td>{$lng['admin']['configfiles']['commands']}<br /><br />
<textarea rows="6" cols="70" readonly="readonly">{$commands}</textarea></td>
<th>{$lng['admin']['configfiles']['commands']}</th>
</tr>
<tr>
<td><textarea rows="10" cols="70" readonly="readonly">{$commands}</textarea></td>
</tr>

View File

@@ -1,5 +1,5 @@
<p>
<label><b>{$realname}</b></label><br />
<textarea rows="<if $numbrows <= 8 >{$numbrows}</if><if 8 < $numbrows >8</if>" cols="70" readonly="readonly">{$file_content}</textarea>
<textarea rows="<if $numbrows <= 10 >{$numbrows}</if><if 10 < $numbrows >10</if>" cols="70" readonly="readonly" id="selectall">{$file_content}</textarea>
</p>

View File

@@ -1,3 +1,6 @@
<tr>
<td>{$lng['admin']['configfiles']['files']}<br /><br />{$files}</td>
<th>{$lng['admin']['configfiles']['files']}</th>
</tr>
<tr>
<td>{$files}</td>
</tr>

View File

@@ -20,7 +20,7 @@ $(document).ready(function() {
return false;
});
$('#historyback').click(function() {
$('#historyback, .historyback').click(function() {
parent.history.back();
return false;
});

View File

@@ -1,7 +1,7 @@
<tfoot>
<tr>
<td colspan="2" style="text-align:right;">
<input type="reset" value="{$lng['panel']['reset']}" />
<input type="reset" value="{$lng['panel']['cancel']}" class="historyback" />
<input type="submit" value="{$lng['panel']['save']}" />
</td>
</tr>

View File

@@ -3,7 +3,7 @@
{$title}
</th>
<th style="text-align:right;">
<input type="reset" value="{$lng['panel']['reset']}" />
<input type="reset" value="{$lng['panel']['cancel']}" class="historyback" />
<input type="submit" value="{$lng['panel']['save']}" />
</th>
</tr>