Expose UI for renaming admin settings

This commit is contained in:
2011-08-29 19:20:28 +01:00
parent 5d851dd977
commit 196f80bbf5
5 changed files with 134 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
<td>
<p>
{$name}<br />
<input type="button" id="setting_{$id}_rename" value="Rename" onclick="rc.settings.rename_setting('{$id}', '{$name}');" />
<input type="button" id="setting_{$id}_remove" value="Remove" onclick="rc.settings.remove_setting('{$id}', '{$name}');" />
</p>
</td>

View File

@@ -0,0 +1,6 @@
<div>
<p>
Enter a new name for setting '{$name|escape}' below.
</p>
<input type="text" id="settings_rename_name" value="" />
</div>