Allow ULS language settings accessed from user preference screen.

Adds a link in 'personal/i18n' section of user preferences

Bug: 47240
Change-Id: I04d1ea7d36db45f9a0af04e11dade9ae0b524e8e
This commit is contained in:
Santhosh Thottingal authored and Amir E. Aharoni committed 2013-05-27 16:33:40 +03:00
1 parent 8655504371
commit 8b46d34004
4 files changed
+26 -1

No files matched your search

+10
View File
@@ -308,6 +308,16 @@ class UniversalLanguageSelectorHooks {
'type' => 'api',
);
// A link shown for accessing ULS language settings from preferences screen
$preferences['languagesettings'] = array(
'type' => 'info',
'raw' => true,
'section' => 'personal/i18n',
'default' => "<a id='uls-preferences-link' href='#'></a>",
// The above link will have text set from javascript. Just to avoid
// showing the link when javascript is disabled.
);
return true;
}