Add initial support for adding settings.

Adds "Add Setting" button to table, and shows a popup with form
elements for adding a new setting. Does not yet add setting to the db.
This commit is contained in:
2011-08-27 20:25:48 +01:00
parent 5807af8b8f
commit cab3a51323
5 changed files with 79 additions and 5 deletions

View File

@@ -0,0 +1,26 @@
"page_replacements": {
"dialogheadertitle": {
"content": "Add Setting"
},
"dialogcontent": {
{include file="admin/add-setting.tpl" assign=add_setting_content}
"content": {$add_setting_content|json_encode}
}
},
"dialog": {
"show": true,
"buttons": {
"type": "okcancel",
"actions": {
"ok": [
"add-setting",
"close-dialog"
],
"cancel": "close-dialog"
}
}
}