Skip to content
Permalink
Browse files

Replace usage of rcube_label with rcmail::get_instance()->gettext as …

…per bc.php
  • Loading branch information...
alexmace committed Aug 18, 2016
1 parent d9fb136 commit ceebad9c6a105e52dc72e9db5be52328ef056445
Showing with 10 additions and 10 deletions.
  1. +10 −10 chbox.php
@@ -52,20 +52,20 @@ function select_menu() {
if ($skin == 'classic' or $skin == 'default') {
$out .= "<div id=\"selectmenu\" class=\"popupmenu\">
<ul>
<li><a title=\"".rcube_label('all')."\" href=\"#\" onclick=\"return rcmail.command('select-all','',this)\" class=\"active\">".rcube_label('all')."</a></li>
<li><a title=\"".rcube_label('currpage')."\" href=\"#\" onclick=\"return rcmail.command('select-all','page',this)\" class=\"active\">".rcube_label('currpage')."</a></li>
<li><a title=\"".rcube_label('unread')."\" href=\"#\" onclick=\"return rcmail.command('select-all','unread',this)\" class=\"active\">".rcube_label('unread')."</a></li>
<li><a title=\"".rcube_label('invert')."\" href=\"#\" onclick=\"return rcmail.command('select-all','invert',this)\" class=\"active\">".rcube_label('invert')."</a></li>
<li><a title=\"".rcube_label('none')."\" href=\"#\" onclick=\"return rcmail.command('select-none','',this)\" class=\"active\">".rcube_label('none')."</a></li>
<li><a title=\"".rcmail::get_instance()->gettext('all')."\" href=\"#\" onclick=\"return rcmail.command('select-all','',this)\" class=\"active\">".rcmail::get_instance()->gettext('all')."</a></li>
<li><a title=\"".rcmail::get_instance()->gettext('currpage')."\" href=\"#\" onclick=\"return rcmail.command('select-all','page',this)\" class=\"active\">".rcmail::get_instance()->gettext('currpage')."</a></li>
<li><a title=\"".rcmail::get_instance()->gettext('unread')."\" href=\"#\" onclick=\"return rcmail.command('select-all','unread',this)\" class=\"active\">".rcmail::get_instance()->gettext('unread')."</a></li>
<li><a title=\"".rcmail::get_instance()->gettext('invert')."\" href=\"#\" onclick=\"return rcmail.command('select-all','invert',this)\" class=\"active\">".rcmail::get_instance()->gettext('invert')."</a></li>
<li><a title=\"".rcmail::get_instance()->gettext('none')."\" href=\"#\" onclick=\"return rcmail.command('select-none','',this)\" class=\"active\">".rcmail::get_instance()->gettext('none')."</a></li>
</ul>";
} else {
$out .="<div id=\"selectmenu\" class=\"popupmenu dropdown\">
<ul>
<li title=\"".rcube_label('all')."\" onclick=\"return rcmail.command('select-all','',this)\" class=\"active\">".rcube_label('all')."</li>
<li title=\"".rcube_label('currpage')."\" onclick=\"return rcmail.command('select-all','page',this)\" class=\"active\">".rcube_label('currpage')."</li>
<li title=\"".rcube_label('unread')."\" onclick=\"return rcmail.command('select-all','unread',this)\" class=\"active\">".rcube_label('unread')."</li>
<li title=\"".rcube_label('invert')."\" onclick=\"return rcmail.command('select-all','invert',this)\" class=\"active\">".rcube_label('invert')."</li>
<li title=\"".rcube_label('none')."\" onclick=\"return rcmail.command('select-none','',this)\" class=\"active\">".rcube_label('none')."</li>
<li title=\"".rcmail::get_instance()->gettext('all')."\" onclick=\"return rcmail.command('select-all','',this)\" class=\"active\">".rcmail::get_instance()->gettext('all')."</li>
<li title=\"".rcmail::get_instance()->gettext('currpage')."\" onclick=\"return rcmail.command('select-all','page',this)\" class=\"active\">".rcmail::get_instance()->gettext('currpage')."</li>
<li title=\"".rcmail::get_instance()->gettext('unread')."\" onclick=\"return rcmail.command('select-all','unread',this)\" class=\"active\">".rcmail::get_instance()->gettext('unread')."</li>
<li title=\"".rcmail::get_instance()->gettext('invert')."\" onclick=\"return rcmail.command('select-all','invert',this)\" class=\"active\">".rcmail::get_instance()->gettext('invert')."</li>
<li title=\"".rcmail::get_instance()->gettext('none')."\" onclick=\"return rcmail.command('select-none','',this)\" class=\"active\">".rcmail::get_instance()->gettext('none')."</li>
</ul>";
}
$out .= "</div>";

0 comments on commit ceebad9

Please sign in to comment.
You can’t perform that action at this time.