$LinkingMode isn't always available, like for a step that hasn't been reached yet

This commit is contained in:
Sean Harvey 2008-04-19 03:00:51 +00:00
parent 75ce791dca
commit c4cb832e57

View File

@ -1,6 +1,6 @@
<ul class="stepIndicator current-$CurrentStep.class">
<% control AllStepsLinear %>
<li class="$ClassName $LinkingMode<% if FirstLast %> $FirstLast<% end_if %>">
<li class="$ClassName<% if LinkingMode %> $LinkingMode<% end_if %><% if FirstLast %> $FirstLast<% end_if %>">
<% if LinkingMode = current %><% else %><% if ID %><a href="{$Top.URLSegment}/?MultiFormSessionID={$SessionID}&StepID={$ID}"><% end_if %><% end_if %>
<% if Title %>$Title<% else %>$ClassName<% end_if %>
<% if LinkingMode = current %><% else %><% if ID %></a><% end_if %><% end_if %>