From 7689d4129ff790fcd6be59c3d3216f2144573cd8 Mon Sep 17 00:00:00 2001 From: Ian <aristophian@googlemail.com> Date: Fri, 2 Mar 2012 15:27:22 +0100 Subject: [PATCH] upgrader inc designer note --- include/admin/tpl/upgrader.inc.tpl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/admin/tpl/upgrader.inc.tpl b/include/admin/tpl/upgrader.inc.tpl index 462e64f8..470f54b5 100644 --- a/include/admin/tpl/upgrader.inc.tpl +++ b/include/admin/tpl/upgrader.inc.tpl @@ -1,3 +1,14 @@ +{** please return correct markup for these serendipity_upgraderResultDiagnose notices in the upper PHP file + {if $u_success} + return '<span class="serendipityAdminMsgSuccessInstall" style="color: green; font-weight: bold">'. $s .'</span>'; + {/if} + {if $u_warning} + return '<span class="serendipityAdminMsgWarningInstall" style="color: orange; font-weight: bold">'. $s .'</span>'; + {/if} + {if $u_error} + return '<span class="serendipityAdminMsgErrorInstall" style="color: red; font-weight: bold">'. $s .'</span>'; + {/if} +**} {if $task_function} {'Calling %s ...<br />'|sprintf:(is_array($task['function']) ? $task['function'][0] . '::'. $task['function'][1] : $task['function'])}