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
|
@@ 579-582 (lines=4) @@
|
576 |
|
// Changing the language of pop-up menu |
577 |
|
$menus = Context::get('document_popup_menu_list'); |
578 |
|
$menus_count = count($menus); |
579 |
|
for($i=0;$i<$menus_count;$i++) |
580 |
|
{ |
581 |
|
$menus[$i]->str = Context::getLang($menus[$i]->str); |
582 |
|
} |
583 |
|
// Wanted to finally clean pop-up menu list |
584 |
|
$this->add('menus', $menus); |
585 |
|
} |