modules/comment/comment.model.php 1 location
|
@@ 107-110 (lines=4) @@
|
| 104 |
|
$menus = Context::get('comment_popup_menu_list'); |
| 105 |
|
$menus_count = count($menus); |
| 106 |
|
|
| 107 |
|
for($i = 0; $i < $menus_count; $i++) |
| 108 |
|
{ |
| 109 |
|
$menus[$i]->str = Context::getLang($menus[$i]->str); |
| 110 |
|
} |
| 111 |
|
|
| 112 |
|
// get a list of final organized pop-up menus |
| 113 |
|
$this->add('menus', $menus); |
modules/member/member.model.php 1 location
|
@@ 181-184 (lines=4) @@
|
| 178 |
|
// Change a language of pop-up menu |
| 179 |
|
$menus = Context::get('member_popup_menu_list'); |
| 180 |
|
$menus_count = count($menus); |
| 181 |
|
for($i=0;$i<$menus_count;$i++) |
| 182 |
|
{ |
| 183 |
|
$menus[$i]->str = Context::getLang($menus[$i]->str); |
| 184 |
|
} |
| 185 |
|
// Get a list of finalized pop-up menu |
| 186 |
|
$this->add('menus', $menus); |
| 187 |
|
} |
modules/document/document.model.php 1 location
|
@@ 577-580 (lines=4) @@
|
| 574 |
|
// Changing the language of pop-up menu |
| 575 |
|
$menus = Context::get('document_popup_menu_list'); |
| 576 |
|
$menus_count = count($menus); |
| 577 |
|
for($i=0;$i<$menus_count;$i++) |
| 578 |
|
{ |
| 579 |
|
$menus[$i]->str = Context::getLang($menus[$i]->str); |
| 580 |
|
} |
| 581 |
|
// Wanted to finally clean pop-up menu list |
| 582 |
|
$this->add('menus', $menus); |
| 583 |
|
} |