FIX Localized HtmlEditorField Tabs

Tabs can have only lattin characters in it's name
This commit is contained in:
a2nt 2013-03-24 15:19:45 +06:00
parent 8a70019e78
commit 27b0cda054

View File

@ -429,14 +429,17 @@ class HtmlEditorField_Toolbar extends RequestHandler {
$tabSet = new TabSet( $tabSet = new TabSet(
"MediaFormInsertMediaTabs", "MediaFormInsertMediaTabs",
new Tab( new Tab(
'FromComputer',
_t('HtmlEditorField.FROMCOMPUTER','From your computer'), _t('HtmlEditorField.FROMCOMPUTER','From your computer'),
$computerUploadField $computerUploadField
), ),
new Tab( new Tab(
'FromWeb',
_t('HtmlEditorField.FROMWEB', 'From the web'), _t('HtmlEditorField.FROMWEB', 'From the web'),
$fromWeb $fromWeb
), ),
new Tab( new Tab(
'FromCms',
_t('HtmlEditorField.FROMCMS','From the CMS'), _t('HtmlEditorField.FROMCMS','From the CMS'),
$fromCMS $fromCMS
) )