Show
Ignore:
Timestamp:
03/04/08 06:46:23 (21 months ago)
Author:
bsmith
Message:

Various optimizations to the default templates. bugzid:69535

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-30/default_templates/comment_response.mtml

    r1423 r1453  
    1 <MTSetVar name="system_template" value="1"> 
    21<MTIf name="body_class" eq="mt-comment-confirmation"> 
    32    <MTSetVar name="page_title" value="<__trans phrase="Confirmation...">"> 
    4     <MTSetVar name="page_title" value="<__trans phrase="Confirmation...">"> 
    5     <MTSetVarBlock name="message"><__trans phrase="Your comment has been submitted!"></MTSetVarBlock> 
     3    <MTSetVar name="message" value="<__trans phrase="Your comment has been submitted!">"> 
    64<MTElse name="body_class" eq="mt-comment-pending"> 
    7     <MTSetVarBlock name="page_title"><__trans phrase="Thank you for commenting."></MTSetVarBlock> 
    8     <MTSetVarBlock name="message"><__trans phrase="Your comment has been received and held for approval by the blog owner."></MTSetVarBlock> 
     5    <MTSetVar name="page_title" value="<__trans phrase="Thank you for commenting.">"> 
     6    <MTSetVar name="message" value="<__trans phrase="Your comment has been received and held for approval by the blog owner.">"> 
    97<MTElse name="body_class" eq="mt-comment-error"> 
    10     <MTSetVarBlock name="page_title"><__trans phrase="Comment Submission Error"></MTSetVarBlock> 
     8    <MTSetVar name="page_title" value="<__trans phrase="Comment Submission Error">"> 
    119    <MTSetVarBlock name="message"><__trans phrase="Your comment submission failed for the following reasons: [_1]" params="<$MTErrorMessage$>"></MTSetVarBlock> 
    1210</MTIf> 
    13 <MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MTGetVar name="page_title"$></MTSetVarBlock> 
     11<MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MTVar name="page_title"$></MTSetVarBlock> 
    1412 
    1513<$MTInclude module="<__trans phrase="Header">"$> 
    1614 
    17 <h1 id="page-title"><$MTGetVar name="page_title"$></h1> 
    18  
    19 <$MTGetVar name="message"$> 
    20  
     15<h1 id="page-title"><$MTVar name="page_title"$></h1> 
     16<$MTVar name="message"$> 
    2117<p><__trans phrase="Return to the <a href="[_1]">original entry</a>." params="<$MTEntryLink$>"></p> 
    2218