[% sections.title = '.title' | ml %] [% dw.ml("Backlink", { 'link' => "$site.root/customize/advanced/",'text' => dw.ml('.back2'),}) %] [% dw.ml("Actionlink", {'link' => "" _ dw.ml('.nav.yourlayers') _ "", }) %] [% UNLESS noactions %]
[% END %] [%# edit mode %] [% IF id %] [%# set up start of output %] [% sections.title = '.editstyle.title' | ml %]| [% form.submit(name = 'action:edit', value = dw.ml('.btn.edit')) %] [% confirm_msg = dw.ml('.delete.confirm', {'id' => styleid}) %] [% form.submit(name = 'action:delete', value = dw.ml('.btn.delete') , 'onclick' => "return confirm('$confirm_msg')", disabled => noactions ) %] [% form.submit(name = 'action:usestyle', value = dw.ml('.btn.use'), 'disabled' => (styleid == u.s2_style || noactions)) %] | |
| [% dw.ml('.yourstyles.none') %] |
| [% dw.ml('.stylelayers.label.coreversion') %] | [% PROCESS layerselect type = 'core', b2lid = 0 %] [% form.hidden( name = 'core_hidden', value = core) %] [% form.submit(name = 'action:change', value = dw.ml('.btn.change'), disabled = dis) %] |
| [% dw.ml('.stylelayers.label.corelanguage') %] | [% PROCESS layerselect type = 'i18nc', b2lid = core %] [% PROCESS layerother name = 'i18nc' %] |
| [% dw.ml('.stylelayers.label.layout') %] | [% PROCESS layerselect type = 'layout', b2lid = core %] [% PROCESS layerother name ='layout' %] [% form.submit(name = "action:change", value = dw.ml('.btn.change'), disabled = dis) %] |
| [% dw.ml('.stylelayers.label.language') %] | [% PROCESS layerselect type = 'i18n', b2lid = layout %] [% PROCESS layerother name = 'i18n' %] |
| [% dw.ml('.stylelayers.label.theme') %] | [% PROCESS layerselect type = 'theme', b2lid = layout %] [% PROCESS layerother name = 'theme' %] |
| [% dw.ml('.stylelayers.label.user2') %] | [% PROCESS layerselect type = 'user', b2lid = layout %] [% PROCESS layerother name = 'user' %] |
| [% form.submit(name = 'action:savechanges', value = dw.ml('.btn.savechanges'), disabled = noactions) %] |