Show
Ignore:
Timestamp:
07/03/08 23:32:25 (17 months ago)
Author:
bsmith
Message:

bugzid:80449 - fixing IE javascript issues in Wizard

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/tmpl/wizard/start.tmpl

    r2484 r2704  
    1 <mt:unless name="cfg_exists"> 
    2     <mt:setvarblock name="page_title"><__trans phrase="Welcome to Movable Type"></mt:setvarblock> 
    3 <mt:else> 
    4     <mt:setvarblock name="page_title"><__trans phrase="Configuration File Exists"></mt:setvarblock> 
    5 </mt:unless> 
    6 <mt:unless name="valid_static_path"> 
    7     <mt:setvarblock name="html_head" append="1"> 
    8         <style type="text/css" media="screen"> 
     1<mt:setvarblock name="inline_styles"> 
     2    <style type="text/css" media="screen"> 
    93        body { 
    104            font-family: Candara, "Helvetica Neue", Arial, sans-serif; 
     
    7670            padding: 10px; 
    7771            margin-bottom: 1em; 
     72            height: 1%;  /*IE6 Hack*/ 
    7873        } 
    7974        .no-static-path h3 { 
     
    9792        .msg { 
    9893            margin: 0 0 10px 0; 
    99             padding: 16px 10px 16px 46px; 
     94            padding: 16px 10px; 
    10095        } 
    10196        .msg-error { 
    10297            background-color: #FF9; 
    10398        } 
     99        .msg, .no-static-path, fieldset { 
     100            height: 1%;  /* IE6 Hack */ 
     101        } 
    104102        </style> 
    105103 
    106         <script type="text/javascript"> 
     104    <script type="text/javascript"> 
    107105        /* <![CDATA[ */ 
    108106        function getByID(n, d) { 
     
    114112        } 
    115113        /* ]]> */ 
     114    </script> 
     115</mt:setvarblock> 
     116<mt:unless name="cfg_exists"> 
     117    <mt:setvarblock name="page_title"><__trans phrase="Welcome to Movable Type"></mt:setvarblock> 
     118    <mt:unless name="valid_static_path"> 
     119        <mt:unless name="file_invalid"> 
     120            <mt:setvarblock name="html_head" append="1"> 
     121                <$mt:var name="inline_styles"$> 
     122            </mt:setvarblock> 
     123        </mt:unless> 
     124    <mt:else> 
     125        <mt:setvarblock name="js_include" append="1"> 
     126        <style type="text/css"> 
     127            .msg { 
     128                margin: 0 0 10px 0; 
     129                padding: 16px 10px 16px 10px; 
     130            } 
     131            .msg-error { 
     132                background-color: #FF9; 
     133            } 
     134            #container  div.no-static-path, 
     135            #container #static_webpath_config { 
     136                display: none; 
     137            } 
     138            #container.bad-static-path div.no-static-path, 
     139            #container.bad-static-path #static_webpath_config { 
     140                display: block; 
     141            } 
     142            </style> 
     143            <script type="text/javascript"> 
     144            /* <![CDATA[ */ 
     145            function js_check() { 
     146                if (! openManual ) { 
     147                    // mt.js not loading properly; static path incorrect 
     148                    var c = getByID("container"); 
     149                    c.className = "bad-static-path"; 
     150                } 
     151            } 
     152            window.onload = js_check; 
     153            /* ]]> */ 
    116154        </script> 
    117     </mt:setvarblock> 
     155        </mt:setvarblock> 
     156    </mt:unless> 
    118157<mt:else> 
    119     <mt:setvarblock name="js_include" append="1"> 
    120         <style type="text/css"> 
    121         .msg { 
    122             margin: 0 0 10px 0; 
    123             padding: 16px 10px 16px 10px; 
    124         } 
    125         .msg-error { 
    126             background-color: #FF9; 
    127         } 
    128         #container  div.no-static-path, 
    129         #container #static_webpath_config { 
    130             display: none; 
    131         } 
    132         #container.bad-static-path div.no-static-path, 
    133         #container.bad-static-path #static_webpath_config { 
    134             display: block; 
    135         } 
    136         </style> 
    137         <script type="text/javascript"> 
    138         /* <![CDATA[ */ 
    139         function js_check() { 
    140             if (! openManual ) { 
    141                 // mt.js not loading properly; static path incorrect 
    142                 var c = getByID("container"); 
    143                 c.className = "bad-static-path"; 
    144             } 
    145         } 
    146         window.onload = js_check; 
    147         /* ]]> */ 
    148         </script> 
    149     </mt:setvarblock> 
     158    <mt:setvarblock name="page_title"><__trans phrase="Configuration File Exists"></mt:setvarblock> 
     159    <$mt:var name="inline_styles"$> 
    150160</mt:unless> 
    151161 
     
    227237        </fieldset> 
    228238    </div> 
    229  
    230     <div class="right"><input type="submit" class="sb" value="<__trans phrase="Begin">" /></div> 
    231  
     239    <div class="action-buttons"> 
     240        <div class="right"><input type="submit" class="sb" value="<__trans phrase="Begin">" /></div> 
     241    </div> 
    232242</form> 
    233243