diff --git a/include/admin/templates.inc.php b/include/admin/templates.inc.php index df158dcf..9de7aadd 100644 --- a/include/admin/templates.inc.php +++ b/include/admin/templates.inc.php @@ -58,6 +58,10 @@ class template_option { $data = array(); +if ($serendipity['GET']['adminAction'] == 'editConfiguration') { + $data["adminAction"] = "editConfiguration"; +} + if ($serendipity['GET']['adminAction'] == 'install' ) { serendipity_plugin_api::hook_event('backend_templates_fetchtemplate', $serendipity); diff --git a/templates/2k11/admin/serendipity_plugin_config.fnc.tpl b/templates/2k11/admin/serendipity_plugin_config.fnc.tpl index 6eaf4006..3d7a1e5d 100644 --- a/templates/2k11/admin/serendipity_plugin_config.fnc.tpl +++ b/templates/2k11/admin/serendipity_plugin_config.fnc.tpl @@ -10,6 +10,9 @@ {if $showSubmit_head}
+ {if $postKey == "template"} + {$CONST.BACK} + {/if}
{/if} @@ -41,6 +44,9 @@ {* $serendipity_printConfigJS *}{* outsourced to templates/default/admin/admin_scripts.js - see passed vars on top *} {if $showSubmit_foot}
+ {if $postKey == "template"} + {$CONST.BACK} + {/if}
{/if} diff --git a/templates/2k11/admin/templates.inc.tpl b/templates/2k11/admin/templates.inc.tpl index f22515f4..57a7d1d2 100644 --- a/templates/2k11/admin/templates.inc.tpl +++ b/templates/2k11/admin/templates.inc.tpl @@ -7,69 +7,74 @@ {if $deprecated} {$CONST.WARNING_TEMPLATE_DEPRECATED} {/if} -
-

{$CONST.STYLE_OPTIONS} ({$cur_template})

-{if $has_config} - {if $adminAction == 'configure'} - {$CONST.DONE}: {$save_time} - {/if} -
- - - {$form_token} - {$configuration} -
-{else} -

{$CONST.STYLE_OPTIONS_NONE}

-{/if} -
-
-

{$CONST.SELECT_TEMPLATE}

- - - -
+
+ + + {$form_token} + {$configuration} +
+ {else} +

{$CONST.STYLE_OPTIONS_NONE}

+ {/if} + +{else} +
+

{$CONST.SELECT_TEMPLATE}

+ + + + +
+{/if}