Ejemplo n.º 1
0
use Helpers\Navigation;
use Helpers\Session;
use Helpers\Form;
use Helpers\L18n;
?>

<!-- Main Content -->
<div class="content-wrapper">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
                <?php 
echo Navigation::getTitle('icon-users2', Language::show('title_add', 'groups'));
?>
   
            </div>         
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->

    <!-- Content Area -->
    <div class="content">
    
    	<?php 
echo Error::display($error);
?>
Ejemplo n.º 2
0
use Helpers\Navigation;
use Helpers\Session;
use Helpers\Form;
use Helpers\L18n;
?>

<!-- Main Content -->
<div class="content-wrapper">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
                <?php 
echo Navigation::getTitle('icon-users', Language::show('title_edit', 'roles'));
?>
 
            </div>         
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->

    <!-- Content Area -->
    <div class="content">
    
    	<?php 
echo Error::display($error);
?>
Ejemplo n.º 3
0
use Helpers\Session;
use Helpers\Form;
use Helpers\L18n;
use Helpers\Arr;
?>

<!-- Main Content -->
<div class="content-wrapper">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
                <?php 
echo Navigation::getTitle('icon-menu7', Language::show('title_add', 'navigation'));
?>
              
            </div>         
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->

    <!-- Content Area -->
    <div class="content">
    
    	<?php 
echo Error::display($error);
?>
Ejemplo n.º 4
0
</span>
                    <ul class="icons-list">
                        <li><a href="#" data-action="collapse"></a></li>
                    </ul>
                </div>

                <div class="category-content no-padding">
                    <ul class="navigation navigation-alt navigation-accordion">
                    
                        <?php 
//$segments = array('add','edit', 'assign');
//foreach ($segments as $value) {
//    if(strpos($_SERVER['REQUEST_URI'], '/'.$value))
//    $requested_url = substr($requested_url, 0, strpos($requested_url, '/'.$value));
//}
$menuItems = Navigation::getSidebarMenu(11);
//Navigation ID: 11 - Blog Categories
if (!empty($menuItems)) {
    foreach ($menuItems as $menuItem) {
        if ($menuItem['link'] == 'navigation-divider') {
            echo "<li class=\"" . $menuItem['link'] . "\"></li>";
        } else {
            $id = $menuItem['id'];
            if ($menuItem['link'] == '/blog/category/##') {
                $link = '/blog/category/' . $menuItem['id'];
            } else {
                $link = $menuItem['link'];
            }
            if ($menuItem['items'] == null) {
                //if (Rbac::canUser($menuItem['rbac']) OR $menuItem['rbac'] == '(rol)everyone') {
                if ($requested_url == $link) {
Ejemplo n.º 5
0
use Core\Language;
use Helpers\Navigation;
use Helpers\Date;
use Helpers\Session;
?>

<!-- Main Content -->
<div class="content-wrapper" id="avatar">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
				<?php 
echo Navigation::getTitle('fa fa-building-o', Language::show('title', 'offices'));
?>
      
            </div>
            <div class="heading-elements">
                <a href="/offices/add" class="btn btn-primary btn-sm btn-labeled"><b><i class="icon-plus-circle2"></i></b> <?php 
echo Language::show('add_new', 'offices');
?>
</a>
            </div>            
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->
Ejemplo n.º 6
0
use Core\Language;
use Helpers\Navigation;
use Helpers\Date;
use Helpers\Session;
?>

<!-- Main Content -->
<div class="content-wrapper">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
				<?php 
echo Navigation::getTitle('icon-address-book3', Language::show('title', 'phonebook'));
?>
      
            </div>          
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->

    <!-- Content Area -->
    <div class="content">
    
        <?php 
echo Session::message('success');
?>
Ejemplo n.º 7
0
use Helpers\Navigation;
use Helpers\Session;
use Helpers\Form;
use Helpers\L18n;
?>

<!-- Main Content -->
<div class="content-wrapper">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
                <?php 
echo Navigation::getTitle('icon-user-tie', Language::show('title_edit', 'user_types'));
?>
  
            </div>         
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->

    <!-- Content Area -->
    <div class="content">
    
    	<?php 
echo Error::display($error);
?>
Ejemplo n.º 8
0
use Helpers\Session;
use Helpers\Form;
use Helpers\L18n;
use Helpers\Arr;
?>

<!-- Main Content -->
<div class="content-wrapper">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
                <?php 
echo Navigation::getTitle('icon-users', Language::show('title_add', 'permissions'));
?>
            </div>         
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->

    <!-- Content Area -->
    <div class="content">
    
    	<?php 
echo Error::display($error);
?>
    	
Ejemplo n.º 9
0
use Core\Error;
use Helpers\Navigation;
use Helpers\Session;
use Helpers\Form;
?>

<!-- Main Content -->
<div class="content-wrapper">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
                <?php 
echo Navigation::getTitle('icon-users4', Language::show('title_add', 'users'));
?>
      
            </div>         
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->

    <!-- Content Area -->
    <div class="content">
    
    	<?php 
echo Error::display($error);
?>
Ejemplo n.º 10
0
use Helpers\Navigation;
use Helpers\Session;
use Helpers\Form;
use Helpers\L18n;
?>

<!-- Main Content -->
<div class="content-wrapper">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
                <?php 
echo Navigation::getTitle('icon-earth', Language::show('title_add', 'languages'));
?>
      
            </div>         
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->

    <!-- Content Area -->
    <div class="content">
    
    	<?php 
echo Error::display($error);
?>
Ejemplo n.º 11
0
use Core\Language;
use Helpers\Navigation;
use Helpers\Date;
use Helpers\Session;
?>

<!-- Main Content -->
<div class="content-wrapper" id="avatar">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
				<?php 
echo Navigation::getTitle('icon-tree6', Language::show('title', 'departments'));
?>
            </div>
            <div class="heading-elements">
                <a href="/departments/add" class="btn btn-primary btn-sm btn-labeled"><b><i class="icon-plus-circle2"></i></b> <?php 
echo Language::show('add_new', 'navigation');
?>
</a>
            </div>            
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->

    <!-- Content Area -->
Ejemplo n.º 12
0
use Helpers\Navigation;
use Helpers\Date;
use Helpers\Session;
use Helpers\Log;
?>

<!-- Main Content -->
<div class="content-wrapper">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
				<?php 
echo Navigation::getTitle('icon-file-text3', Language::show('title_activitylog', 'users'));
?>
      
            </div>
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->

    <!-- Content Area -->
    <div class="content">
    
        <?php 
echo Session::message('success');
?>
Ejemplo n.º 13
0
use Helpers\Navigation;
use Helpers\Session;
use Helpers\Form;
use Helpers\L18n;
?>

<!-- Main Content -->
<div class="content-wrapper">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
                <?php 
echo Navigation::getTitle('icon-cogs', Language::show('title', 'settings'));
?>
     
            </div>         
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->

    <!-- Content Area -->
    <div class="content">
    
    	<?php 
echo Error::display($error);
?>
Ejemplo n.º 14
0
use Core\Language;
use Helpers\Navigation;
use Helpers\Date;
use Helpers\Session;
?>

<!-- Main Content -->
<div class="content-wrapper" id="avatar">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
				<?php 
echo Navigation::getTitle('icon-users', Language::show('title', 'teams'));
?>
      
            </div>
            <div class="heading-elements">
                <a href="/teams/add" class="btn btn-primary btn-sm btn-labeled"><b><i class="icon-plus-circle2"></i></b> <?php 
echo Language::show('add_new', 'teams');
?>
</a>
            </div>            
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->
Ejemplo n.º 15
0
use Helpers\Date;
use Helpers\Session;
use Helpers\Arr;
use Helpers\Form;
?>

<!-- Main Content -->
<div class="content-wrapper">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
				<?php 
echo Navigation::getTitle('icon-compose', Language::show('page_title_add', 'blog'));
?>
     
            </div>       
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->

    <!-- Content Area -->
    <div class="content">
    
    	<?php 
echo Error::display($error);
?>
Ejemplo n.º 16
0
    	<?php 
echo Session::message('success');
?>
   
    
    	<div class="row">
       
			<div class="col-md-6">    
            
                <!-- Navigation Elements -->
                <div class="panel panel-flat">
        
                    <div class="panel-body">
                        
                        <?php 
echo Navigation::getNestableNavigation($data['id']);
?>
           
                        <div class="clearfix"></div>
                        <br>
                        <div class="text-center">
	                        <a href="/navigation/add/<?php 
echo $data['id'];
?>
" class="btn btn-primary btn-sm btn-labeled"><b><i class="icon-plus-circle2"></i></b> <?php 
echo Language::show('add_new', 'navigation');
?>
</a>
	                        <a href="/navigation/add-divider/<?php 
echo $data['id'];
?>
Ejemplo n.º 17
0
use Core\Language;
use Helpers\Navigation;
use Helpers\Date;
use Helpers\Session;
?>

<!-- Main Content -->
<div class="content-wrapper">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
				<?php 
echo Navigation::getTitle('fa fa-building', Language::show('title', 'companies'));
?>
      
            </div>       
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->

    <!-- Content Area -->
    <div class="content">
    
        <?php 
echo Session::message('success');
?>
Ejemplo n.º 18
0
use Helpers\Navigation;
use Helpers\Session;
use Helpers\Arr;
use Helpers\Assets;
?>

<!-- Main Content -->
<div class="content-wrapper">

    <!-- Page Header -->
    <div class="page-header page-header-xs">
    	<!-- Header Content -->
        <div class="page-header-content">
            <div class="page-title">
				<?php 
echo Navigation::getTitle('icon-tree7', Language::show('title', 'organization'));
?>
  
            </div>         
        </div>
        <!-- /header content -->
        
    </div>    
    <!-- /page header -->

    <!-- Content Area -->
    <div class="content">
    
        <?php 
echo Session::message('success');
?>