Changeset 2484
- Timestamp:
- 06/02/08 18:26:01 (21 months ago)
- Location:
- branches/release-39/tmpl/wizard
- Files:
-
- 3 modified
-
optional.tmpl (modified) (1 diff)
-
packages.tmpl (modified) (3 diffs)
-
start.tmpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-39/tmpl/wizard/optional.tmpl
r1309 r2484 53 53 </div> 54 54 55 <br /><p id="more"><a href="javascript:void(0)" onclick="hide ('buttons'); hide('more'); show('settings');"><__trans phrase="Show current mail settings"></a></p>55 <br /><p id="more"><a href="javascript:void(0)" onclick="hideByID('buttons'); hideByID('more'); showByID('settings');"><__trans phrase="Show current mail settings"></a></p> 56 56 </mt:if> 57 57 -
branches/release-39/tmpl/wizard/packages.tmpl
r1309 r2484 78 78 <mtapp:statusmsg 79 79 id="missing_db" 80 class="error"> 80 class="error" 81 can_close="0"> 81 82 <__trans phrase="Missing Database Modules"> 82 83 </mtapp:statusmsg> … … 85 86 <mtapp:statusmsg 86 87 id="optional" 87 class="info"> 88 class="info" 89 can_close="0"> 88 90 <__trans phrase="Missing Optional Modules"> 89 91 </mtapp:statusmsg> … … 92 94 <mtapp:statusmsg 93 95 id="required" 94 class="error"> 96 class="error" 97 can_close="0"> 95 98 <__trans phrase="Missing Required Modules"> 96 99 </mtapp:statusmsg> -
branches/release-39/tmpl/wizard/start.tmpl
r1309 r2484 72 72 .no-static-path, 73 73 fieldset { 74 /* border: 1px solid #C60;*/75 /* color: #C60;*/76 /* background: #feffb4;*/77 74 border: 1px solid #cfdde5; 78 /* color: #666;*/79 75 background: #fff; 80 76 padding: 10px; … … 108 104 </style> 109 105 110 <script type="text/javascript"> 111 /* <![CDATA[ */ 112 function getByID(n, d) { 113 if (!d) d = document; 114 if (d.getElementById) 115 return d.getElementById(n); 116 else if (d.all) 117 return d.all[n]; 118 } 119 120 function hide(id, d) { 121 var el = getByID(id, d); 122 if (!el) return; 123 el.style.display = 'none'; 124 } 125 /* ]]> */ 126 </script> 106 <script type="text/javascript"> 107 /* <![CDATA[ */ 108 function getByID(n, d) { 109 if (!d) d = document; 110 if (d.getElementById) 111 return d.getElementById(n); 112 else if (d.all) 113 return d.all[n]; 114 } 115 /* ]]> */ 116 </script> 127 117 </mt:setvarblock> 128 118 <mt:else> 129 <mt:setvarblock name="js_include" append="1">130 <style type="text/css">131 .msg {132 margin: 0 0 10px 0;133 padding: 16px 10px 16px 10px;134 }135 .msg-error {136 background-color: #FF9;137 }138 #container div.no-static-path,139 #container #static_webpath_config {140 display: none;141 }142 #container.bad-static-path div.no-static-path,143 #container.bad-static-path #static_webpath_config {144 display: block;145 }146 </style>147 <script type="text/javascript">148 /* <![CDATA[ */149 function js_check() {150 if (! openManual ) {151 // mt.js not loading properly; static path incorrect152 var c = getByID("container");153 c.className = "bad-static-path";154 }155 }156 window.onload = js_check;157 /* ]]> */158 </script>159 </mt:setvarblock>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> 160 150 </mt:unless> 161 151
