| 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"> |
| | 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 | /* ]]> */ |
| 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"$> |