Show
Ignore:
Timestamp:
04/05/08 01:31:43 (20 months ago)
Author:
bchoate
Message:

Changes to update type-based touches prior to any rebuilding. Added 'pre_build', 'post_build' callbacks that wrap entire build process (pre_build is called at start of multi-request build process; post_build is called at the end). Added a total publish time message at end of build process. BugId:74814

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-33/tmpl/cms/rebuilding.tmpl

    r1309 r1778  
     1<mt:setvarblock name="html_head" append="1"> 
     2<script type="text/javascript"> 
     3/* <![CDATA[ */ 
     4function doRedirect () { 
     5<mt:if name="redirect_target"> 
     6    window.location='<mt:var name="redirect_target">'; 
     7<mt:else> 
     8    window.location='<mt:var name="script_url">?__mode=rebuild&blog_id=<mt:var name="blog_id">&type=<mt:var name="build_type">&next=<mt:var name="build_next">&offset=<mt:var name="offset">&limit=<mt:var name="limit">&total=<mt:var name="total">&start_time=<mt:var name="start_time">&entry_id=<mt:var name="entry_id">&is_new=<mt:var name="is_new">&old_status=<mt:var name="old_status">&old_previous=<mt:var name="old_previous">&old_next=<mt:var name="old_next"><mt:if name="is_full_screen">&fs=1</mt:if>'; 
     9</mt:if> 
     10} 
     11setTimeout('doRedirect()', 200); 
     12/* ]]> */ 
     13</script> 
     14</mt:setvarblock> 
     15 
    116<mt:if name="is_full_screen"> 
    217    <$mt:setvar name="screen_class" value="rebuilding-screen"$> 
     
    924</mt:if> 
    1025 
    11 <script type="text/javascript"> 
    12 /* <![CDATA[ */ 
    13 function doRedirect () { 
    14 <mt:if name="redirect_target"> 
    15     window.location='<mt:var name="redirect_target">'; 
    16 <mt:else> 
    17     window.location='<mt:var name="script_url">?__mode=rebuild&blog_id=<mt:var name="blog_id">&type=<mt:var name="build_type">&next=<mt:var name="build_next">&offset=<mt:var name="offset">&limit=<mt:var name="limit">&total=<mt:var name="total">&entry_id=<mt:var name="entry_id">&is_new=<mt:var name="is_new">&old_status=<mt:var name="old_status">&old_previous=<mt:var name="old_previous">&old_next=<mt:var name="old_next"><mt:if name="is_full_screen">&fs=1</mt:if>'; 
    18 </mt:if> 
    19 } 
    20 setTimeout('doRedirect()', 200); 
    21 /* ]]> */ 
    22 </script> 
    23  
    24  
    25 <!-- <img valign="bottom" src="<mt:var name="static_uri">images/ani-rebuild.gif" height="18" width="18" alt="" />&nbsp; --> 
    2626<mt:if name="is_one_index"> 
    2727    <mtapp:statusmsg