Fixes vim mode line.
[platal.git] / templates / plwizard.tpl
index 7720256..97d266f 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2011 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
@@ -20,7 +20,7 @@
 {*                                                                        *}
 {**************************************************************************}
 
-{if !$wiz_run_ajax}
+{if !t($wiz_run_ajax)}
 <script type="text/javascript">//<![CDATA[
   {if ($stateless || $id gt $current) && $wiz_ajax}
   {literal}
@@ -34,7 +34,7 @@
                       document.location = myUrl;
                     },
              success: function(data) {
-                        if ({/literal}{if !$wiz_animated}true || {/if}{literal}is_IE) {
+                        if ({/literal}{if !$wiz_animated}true || {/if}{literal}$.browser.msie) {
                           $(".wiz_tab").removeClass("active");
                           $("#wiz_tab_" + id).addClass("active");
                           $(".wiz_content").html(data);
@@ -96,7 +96,7 @@
     {include core=triggers.tpl}
     {include file=$wiz_page}
     </div>
-  {if !$wiz_run_ajax}
+  {if !t($wiz_run_ajax)}
   </div>
 </div>
 
@@ -108,4 +108,4 @@ if (typeof wizPage_onLoad == 'function') {
 {/literal}
 </script>
 {/if}
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
+{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}