make Admin interface into a settings template

This commit is contained in:
Doug Bell 2011-04-13 17:51:18 -05:00
parent c3a2714c93
commit d466e757e4
5 changed files with 16 additions and 193 deletions

View file

@ -257,6 +257,15 @@ sub definition {
namespace => 'Asset/Edit',
defaultValue => $setting->get('templateIdAssetEdit') || "yKl2HX76TSuv42vmprFbXQ",
};
push @fields, {
tab => 'ui',
fieldType => 'template',
name => 'templateIdAdmin',
label => $i18n->get('templateIdAdmin label'),
hoverHelp => $i18n->get('templateIdAdmin description'),
namespace => 'Admin',
defaultValue => $setting->get('templateIdAdmin') || "p8g7xlQaTeKSRRDo-_ejSQ",
};
push(@fields, {
tab => "ui",
fieldType => "yesNo",