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
|
@@ 186-189 (lines=4) @@
|
183 |
|
// Change a language of pop-up menu |
184 |
|
$menus = Context::get('member_popup_menu_list'); |
185 |
|
$menus_count = count($menus); |
186 |
|
for($i=0;$i<$menus_count;$i++) |
187 |
|
{ |
188 |
|
$menus[$i]->str = Context::getLang($menus[$i]->str); |
189 |
|
} |
190 |
|
// Get a list of finalized pop-up menu |
191 |
|
$this->add('menus', $menus); |
192 |
|
} |
modules/document/document.model.php 1 location
|
@@ 586-589 (lines=4) @@
|
583 |
|
// Changing the language of pop-up menu |
584 |
|
$menus = Context::get('document_popup_menu_list'); |
585 |
|
$menus_count = count($menus); |
586 |
|
for($i=0;$i<$menus_count;$i++) |
587 |
|
{ |
588 |
|
$menus[$i]->str = Context::getLang($menus[$i]->str); |
589 |
|
} |
590 |
|
// Wanted to finally clean pop-up menu list |
591 |
|
$this->add('menus', $menus); |
592 |
|
} |