Example #1
0
								<?php 
        if (!empty($nav['child'])) {
            ?>
									<ul class="subnv" id="sub_nav_<?php 
            echo $index;
            ?>
">
										<?php 
            foreach ($nav['child'] as $subNav) {
                ?>
											<?php 
                if ($subNav['disabled']) {
                    continue;
                }
                $hasPurv = UserUtil::checkNavPurv($subNav);
                $subNav['url'] = UrlUtil::getUrl($subNav['url']);
                ?>
											<?php 
                if ($hasPurv) {
                    ?>
												<li><a target="<?php 
                    echo $subNav['targetnew'] ? '_blank' : '_self';
                    ?>
" href="<?php 
                    echo $subNav['url'];
                    ?>
"><?php 
                    echo $subNav['name'];
                    ?>
</a></li>
											<?php 
Example #2
0
            ?>
">
                            </div>
                            <p class="in-mu-title xac fss"><?php 
            echo $menu['name'];
            ?>
</p>
                        </div>
                    <?php 
        } else {
            ?>
                        <div class="in-menu-item" data-mod="<?php 
            echo $menu['id'];
            ?>
" data-href="<?php 
            echo UrlUtil::getUrl($menu['url']);
            ?>
" data-title="<?php 
            echo $menu['name'];
            ?>
"
                             data-desc="<?php 
            echo $menu['description'];
            ?>
" data-src="<?php 
            echo 'data/icon/' . $menu['icon'];
            ?>
">
                            <a href="javascript:;" class="o-mu-plus" data-action="addToCommonMenu"></a>
                            <a href="javascript:;" class="o-mu-minus" data-action="removeFromCommonMenu"></a>
                            <div title="<?php 
Example #3
0
							<?php 
        if (!empty($nav["child"])) {
            ?>
								<ul class="subnv" id="sub_nav_<?php 
            echo $index;
            ?>
">
									<?php 
            foreach ($nav["child"] as $subNav) {
                ?>
									<?php 
                if ($subNav["disabled"]) {
                    continue;
                }
                $hasPurv = UserUtil::checkNavPurv($subNav);
                $subNav["url"] = UrlUtil::getUrl($subNav["url"]);
                ?>
									<?php 
                if ($hasPurv) {
                    ?>
										<li><a target="<?php 
                    echo $subNav["targetnew"] ? "_blank" : "_self";
                    ?>
" href="<?php 
                    echo $subNav["url"];
                    ?>
"><?php 
                    echo $subNav["name"];
                    ?>
</a></li>
									<?php