Changeset 2137

Show
Ignore:
Timestamp:
04/29/08 00:01:49 (7 months ago)
Author:
bsmith
Message:

bugzid:79446 - Template Options should be open if there is an error with the data within

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-37/tmpl/cms/edit_template.tmpl

    r2117 r2137  
    542542</mtapp:setting> 
    543543 
    544 <div id="template-options"<mt:unless name="id"> class="active"</mt:unless>> 
     544<mt:if name="error"> 
     545    <$mt:setvar name="template_options_active" value="1"$> 
     546<mt:else name="id"> 
     547    <$mt:setvar name="template_options_active" value="0"$> 
     548<mt:else> 
     549    <$mt:setvar name="template_options_active" value="1"$> 
     550</mt:if> 
     551 
     552<div id="template-options"<mt:if name="template_options_active"> class="active"</mt:if>> 
    545553    <div id="template-options-header" class="pkg"> 
    546554        <h3><a href="javascript:void(0);" onclick="return toggleActive('template-options');"><__trans phrase="Template Options"></a></h3>