Changeset 2531

Show
Ignore:
Timestamp:
06/09/08 21:31:34 (20 months ago)
Author:
bsmith
Message:

bugzid:80054 - Define additional js legacy variables in default templates javascript file

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-39/default_templates/javascript.mtml

    r2490 r2531  
    11<mt:Ignore> 
    2 /* The following functions are here to support legacy MT templates. 
    3    If you have refreshed your JavaScript template but still use older 
    4    MT comment templates, you may need to uncomment this block in order 
    5    for those templates to work properly. Simply remove the wrapping 
    6    'mt:Ignore' tag to do so. */ 
    7 function hideDocumentElement(id) { return mtHide(id) } 
    8 function showDocumentElement(id) { return mtShow(id) } 
    9 function individualArchivesOnLoad() { return mtEntryOnLoad() } 
    10 function writeCommenterGreeting() { return mtShowGreeting() } 
    11 function rememberMe(f) { return mtRememberMe(f) } 
    12 function forgetMe(f) { return mtForgetMe(f) } 
     2/*  The following functions and variables are here to support legacy MT templates. 
     3    If you have refreshed your JavaScript template but still use older MT comment 
     4    templates, you may need to uncomment this block in order for those templates  
     5    to work properly. To use, simply remove the 'mt:Ignore' tags wrapping this 
     6    block of code. 
     7*/ 
     8    function hideDocumentElement(id) { return mtHide(id) } 
     9    function showDocumentElement(id) { return mtShow(id) } 
     10    function individualArchivesOnLoad() { return mtEntryOnLoad() } 
     11    function writeCommenterGreeting() { return mtShowGreeting() } 
     12    function rememberMe(f) { return mtRememberMe(f) } 
     13    function forgetMe(f) { return mtForgetMe(f) } 
     14    var commenter_name; 
     15    var commenter_id; 
     16    var commenter_url; 
     17    var commenter_blog_ids; 
     18    var is_preview; 
     19    var mtcmtmail; 
     20    var mtcmtauth; 
     21    var mtcmthome; 
     22    var captcha_timer; 
    1323</mt:Ignore> 
    1424