From 5e91fc47376b0256ca7a172a4b2a7176ff416975 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 27 Jan 2010 07:57:25 +0000 Subject: [PATCH] Updated constant handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15342 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/ihtml/themes/default/msg_dialog.tpl | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/gosa-core/ihtml/themes/default/msg_dialog.tpl b/gosa-core/ihtml/themes/default/msg_dialog.tpl index 53f769a1b..5274880fe 100644 --- a/gosa-core/ihtml/themes/default/msg_dialog.tpl +++ b/gosa-core/ihtml/themes/default/msg_dialog.tpl @@ -45,7 +45,7 @@ {if !$JS} - {if $i_Type == INFO_DIALOG || $i_Type == CONFIRM_DIALOG || $i_Type == OK_CANCEL_DIALOG} + {if $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
{else}
@@ -53,11 +53,11 @@
@@ -72,9 +72,9 @@
- {if $i_Type == ERROR_DIALOG} + {if $i_Type == $smarty.const.ERROR_DIALOG} {t}Error{/t} - {elseif $i_Type == WARNING_DIALOG} + {elseif $i_Type == $smarty.const.WARNING_DIALOG} {t}Warning{/t} - {elseif $i_Type == INFO_DIALOG || $i_Type == CONFIRM_DIALOG || $i_Type == OK_CANCEL_DIALOG} + {elseif $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG} {t}Information{/t} {/if} {$s_Title}
- {if $i_Type == ERROR_DIALOG || $i_Type == WARNING_DIALOG || $i_Type == INFO_DIALOG} + {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG} - {elseif $i_Type == CONFIRM_DIALOG || $i_Type == OK_CANCEL_DIALOG} + {elseif $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG} {/if} @@ -92,7 +92,7 @@ {/if} - {if $i_Type == INFO_DIALOG || $i_Type == CONFIRM_DIALOG || $i_Type == OK_CANCEL_DIALOG} + {if $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG}
{else}
@@ -100,11 +100,11 @@
@@ -129,15 +129,15 @@ {else}
- {if $i_Type == ERROR_DIALOG} + {if $i_Type == $smarty.const.ERROR_DIALOG} {t}Error{/t} - {elseif $i_Type == WARNING_DIALOG} + {elseif $i_Type == $smarty.const.WARNING_DIALOG} {t}Warning{/t} - {elseif $i_Type == INFO_DIALOG || $i_Type == CONFIRM_DIALOG || $i_Type == OK_CANCEL_DIALOG} + {elseif $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG} {t}Information{/t} {/if} {$s_Title}
{/if} - {if $i_Type == ERROR_DIALOG || $i_Type == WARNING_DIALOG || $i_Type == INFO_DIALOG} + {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG} - {elseif $i_Type == CONFIRM_DIALOG} + {elseif $i_Type == $smarty.const.CONFIRM_DIALOG} - {elseif $i_Type == OK_CANCEL_DIALOG} + {elseif $i_Type == $smarty.const.OK_CANCEL_DIALOG}