Rev 19882 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<ul class="list-unstyled"><?php if(in_array('admin/mobileappsettings/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Mobile App Setting'), array('controller' => 'mobileappsettings', 'action' => 'add')); ?></li><?php endif;?><?php if(in_array('admin/stores/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Store'), array('controller' => 'stores', 'action' => 'add')); ?> </li><?php endif;?><?php if(in_array('admin/categories/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Category'), array('controller' => 'categories', 'action' => 'add')); ?> </li><?php endif;?><?php if(in_array('admin/store_cashbacks/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Store Cashback'), array('controller' => 'store_cashbacks','action' => 'add')); ?></li><?php endif;?><?php if(in_array('admin/product_cashbacks/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Product Cashback'), array('controller' => 'product_cashbacks','action' => 'add')); ?></li><?php endif;?><?php if(in_array('admin/category_discounts/new',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Category Discount'), array('controller'=>'category_discounts', 'action' => 'new')); ?></li><?php endif;?><?php if(in_array('admin/skuschemes/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Sku Scheme'), array('controller' => 'skuschemes','action' => 'add')); ?></li><?php endif;?><?php if(in_array('admin/exceptionalnlcs/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Exceptional Nlc'), array('controller' => 'exceptionalnlcs','action' => 'add')); ?></li><?php endif;?><?php if(in_array('admin/exceptionalskudiscounts/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Exceptional Sku Discount'), array('controller' => 'exceptionalskudiscounts','action' => 'add')); ?></li><?php endif;?><?php if(in_array('admin/brands/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Brand'), array('controller' => 'brands','action' => 'add')); ?></li><?php endif;?><?php if(in_array('admin/skuschemes/adddp',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Dealer Price'), array('controller' => 'skuschemes','action' => 'adddp')); ?></li><?php endif;?><?php if(in_array('admin/campaigns/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Campaign'), array('controller' => 'campaigns','action' => 'add')); ?></li><?php endif;?><?php if(in_array('admin/negative_deals/new',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Negative Deal'), array('controller' => 'negative_deals','action' => 'new')); ?></li><?php endif;?><?php if(in_array('admin/manual_deals/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Manual Deal'), array('controller' => 'manual_deals','action' => 'add')); ?></li><?php endif;?><?php if(in_array('admin/featured_deals/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Featured Deal'), array('controller' => 'featured_deals','action' => 'add')); ?></li><?php endif;?><?php if(in_array('admin/manual_deals/add_dealpoints',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Deal Point'), array('controller' => 'manual_deals','action' => 'add_dealpoints')); ?></li><?php endif;?><?php if(in_array('admin/notification_rules/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Notification Rule'), array('controller' => 'notification_rules','action' => 'add')); ?></li><?php endif;?><?php if(in_array('admin/master_datas/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Master Data'), array('controller' => 'master_datas','action' => 'add')); ?></li><?php endif;?><?php if(in_array('admin/master_datas/addtoexisting',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('Add to existing Master Data'), array('controller' => 'master_datas','action' => 'addtoexisting')); ?></li><?php endif;?><?php if(in_array('admin/skuschemes/scheduleupdate',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('Schedule an auto-update'), array('controller' => 'master_datas','action' => 'scheduleupdate')); ?></li><?php endif;?><?php if(in_array('admin/activation_codes/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New Activation Code'), array('controller' => 'activation_codes','action' => 'add')); ?></li><?php endif;?><?php if(in_array('admin/acls/add',$acls[$logged_user['group_id']]['allowed'])):?><li><?php echo $this->Html->link(__('New ACL'), array('controller' => 'acls','action' => 'add')); ?></li><?php endif;?><?php if(in_array('admin/brands/genurl',$acls[$logged_user['group_id']]['allowed'])):?><li <?php if($this->params->controller == 'brands' && $this->params->action == 'genurl'):?>class="active"<?php endif;?>><a href="<?php echo $base_url;?>admin/brands/genurl" title="Generate Brand Filter Url">Brand Filter Url</a></li><?php endif;?><?php if(in_array('admin/store_products/genurl',$acls[$logged_user['group_id']]['allowed'])):?><li <?php if($this->params->controller == 'store_products' && $this->params->action == 'genurl'):?>class="active"<?php endif;?>><a href="<?php echo $base_url;?>admin/store_products/genurl" title="Generate Bundle Id Filter Url">Bundle-Id Filter Url</a></li><?php endif;?><?php if(in_array('admin/app_affiliates/add',$acls[$logged_user['group_id']]['allowed'])):?><li <?php if($this->params->controller == 'app_affiliates' && $this->params->action == 'add'):?>class="active"<?php endif;?>><a href="<?php echo $base_url;?>admin/app_affiliates/add" title="New App Affiliate">New App Affiliate</a></li><?php endif;?><?php if(in_array('admin/app_offers/add',$acls[$logged_user['group_id']]['allowed'])):?><li <?php if($this->params->controller == 'app_offers' && $this->params->action == 'add'):?>class="active"<?php endif;?>><a href="<?php echo $base_url;?>admin/app_offers/add" title="New App Offer">New App Offer</a></li><?php endif;?><li <?php if($this->params->controller == 'objects' && $this->params->action == 'add'):?>class="active"<?php endif;?>><a href="<?php echo $base_url;?>admin/objects/add" title="New Object">New Deal Object</a></li><li <?php if($this->params->controller == 'dealobjects' && $this->params->action == 'add'):?>class="active"<?php endif;?>><a href="<?php echo $base_url;?>admin/dealobjects/add" title="New Feature Deal Object">New Feature Deal Object</a></li><?php if(in_array('admin/itemcashbacks/add',$acls[$logged_user['group_id']]['allowed'])):?><li <?php if($this->params->controller == 'itemcashbacks' && $this->params->action == 'admin_add'):?>class="active"<?php endif;?>><a href="<?php echo $base_url;?>admin/itemcashbacks/add" title="New Item Cashback">New Item Cashback</a></li><?php endif;?><?php if(in_array('admin/banners',$acls[$logged_user['group_id']]['allowed'])):?><li <?php if($this->params->controller == 'banners' && $this->params->action == 'admin_index'):?>class="active"<?php endif;?>><a href="<?php echo $base_url;?>admin/banners" title="Profit Mandi Banners">Profit Mandi Banners</a></li><?php endif;?></ul>