From: hickert Date: Wed, 24 Mar 2010 14:11:03 +0000 (+0000) Subject: Added msg_dialog template X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7a2805752c399b6f5ac80a0b06f48116ef704040;p=gosa.git Added msg_dialog template git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17116 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/ihtml/themes/modern/msg_dialog.tpl b/gosa-core/ihtml/themes/modern/msg_dialog.tpl new file mode 100644 index 000000000..ebde4bbb8 --- /dev/null +++ b/gosa-core/ihtml/themes/modern/msg_dialog.tpl @@ -0,0 +1,157 @@ +{if $frame} + {if $IE} + +
+ {else} +
+ + {/if} +{else} + + + {if !$JS} + + {if $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG} +
+ {else} +
+ {/if} + +
+ +
+ {if $i_Type == $smarty.const.ERROR_DIALOG} + {t}Error{/t} + {elseif $i_Type == $smarty.const.WARNING_DIALOG} + {t}Warning{/t} + {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}
+
+ + + + + + + +
+ {$s_Message} +
+
+ {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG} + + {elseif $buttononst.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG} + + + {/if} +
+
+ + {else} + + {if $s_Trace != "" && $i_TraceCnt != 0} + + + {/if} + + {if $i_Type == $smarty.const.INFO_DIALOG || $i_Type == $smarty.const.CONFIRM_DIALOG || $i_Type == $smarty.const.OK_CANCEL_DIALOG} +
+ {else} +
+ {/if} + +
+ +
+ {if $i_Type == $smarty.const.ERROR_DIALOG} + {t}Error{/t} + {elseif $i_Type == $smarty.const.WARNING_DIALOG} + {t}Warning{/t} + {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 $s_Trace != "" && $i_TraceCnt != 0} + + {/if} + + + {if $s_Trace != "" && $i_TraceCnt != 0} + + +
+ {$s_Message} +
+
+
Trace
+
+ {else} + + {/if} + {if $i_Type == $smarty.const.ERROR_DIALOG || $i_Type == $smarty.const.WARNING_DIALOG || $i_Type == $smarty.const.INFO_DIALOG} + + + {elseif $i_Type == $smarty.const.OK_CANCEL_DIALOG} + + + {/if} +
+
+ + + {/if} +{/if}