Index: trunk/extensions/DataCenter/Views/Settings.php |
— | — | @@ -13,6 +13,22 @@ |
14 | 14 | public function main( |
15 | 15 | $path |
16 | 16 | ) { |
17 | | - return __CLASS__; |
| 17 | + return DataCenterUI::renderLayout( |
| 18 | + 'columns', |
| 19 | + array( |
| 20 | + DataCenterUI::renderLayout( |
| 21 | + 'columns', |
| 22 | + array( |
| 23 | + DataCenterUI::renderWidget( |
| 24 | + 'body', |
| 25 | + array( |
| 26 | + 'message' => 'important-settings', |
| 27 | + 'style' => 'important' |
| 28 | + ) |
| 29 | + ) |
| 30 | + ) |
| 31 | + ) |
| 32 | + ) |
| 33 | + ); |
18 | 34 | } |
19 | 35 | } |
\ No newline at end of file |
Index: trunk/extensions/DataCenter/DataCenter.i18n.php |
— | — | @@ -201,6 +201,7 @@ |
202 | 202 | 'datacenter-ui-body-notice-removing-field' => 'Removing this field will result in the removal of the following links and all data associated with them and cannot be recovered from. Do you want to continue with the removal?', |
203 | 203 | 'datacenter-ui-body-important-configuring-field' => 'Changing the format of this field may cause related data to be interpreted incorectly, espcially when switching between textual, numeric and boolean formats.', |
204 | 204 | 'datacenter-ui-body-important-welcome' => 'Welcome to the beta-testing of DataCenter. Please poke around and give feedback Trevor Parscal. If you are going to help out, take a look at the media wiki extension page for DataCenter which has a list of feature priorities.', |
| 205 | + 'datacenter-ui-body-important-settings' => 'These settings may affect the system in irreversable ways. Please be careful when making adjustments.', |
205 | 206 | 'datacenter-ui-body-error-invalid-request' => 'You have requested a page with an invalid path.', |
206 | 207 | // Tabs |
207 | 208 | 'datacenter-ui-tab-racks' => 'Racks', |