Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $ms = \Concrete\Core\Multilingual\Page\Section\Section::getCurrentSection();
- if (is_object($ms)) {
- if ($ms->getLocale() == 'en_US') {
- $a = new GlobalArea('Global Nav English');
- }
- }
- if (!is_object($a)) {
- $a = new GlobalArea('Global Nav');
- }
- $a->display();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement