X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fcore%2Fplwizard.tpl;h=da75308c8cb742286c94cbe3e23832c2019caee3;hb=16594a1ac8d7cbff8a51e422a6a6d9e575129d9c;hp=1ea6727ea9d802caff3dcbceebce6630d724a1c8;hpb=fd38b30e72448ad4ae848e4c7f87343d938bd781;p=platal.git diff --git a/templates/core/plwizard.tpl b/templates/core/plwizard.tpl index 1ea6727..da75308 100644 --- a/templates/core/plwizard.tpl +++ b/templates/core/plwizard.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -19,22 +19,92 @@ {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} +{javascript name="jquery"} +{javascript name="jquery.autocomplete"} + +
{foreach from=$pages item=title key=id} -
- {if $stateless || $id gt $current}{/if} - {$title} - {if $stateless || $id gt $current}{/if} -
+ {if $stateless || $id gt $current} + {assign var=tag value="a"} + {else} + {assign var=tag value="div"} + {/if} + <{$tag} class="wiz_tab {if $id eq $current}active{/if} {if !$stateless && $current gt $id}grayed{/if}" + style="display: block; float: left; width: {$tab_width}%; vertical-align: middle" + id="wiz_tab_{$lookup[$id]}" + {if $tag eq "a"} + href="{$wiz_baseurl}/{$lookup[$id]}" + onclick="return changePage(this, '{$lookup[$id]}')" + {/if} + > + {$title} + {/foreach}
-
+
+ {foreach from=$xorg_errors item=err} +
{$err|smarty:nodefaults}
+ {/foreach} {include file=$wiz_page}
+ + {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}