145 lines
3.0 KiB
PHP
145 lines
3.0 KiB
PHP
<?php
|
|
|
|
if (!session_id()) session_start();
|
|
|
|
require_once 'init.php';
|
|
|
|
//CONFIGURATION for SmartAdmin UI
|
|
|
|
//ribbon breadcrumbs config
|
|
//array("Display Name" => "URL");
|
|
$breadcrumbs = array(
|
|
"Home" => APP_URL
|
|
);
|
|
|
|
/*navigation array config
|
|
|
|
ex:
|
|
"dashboard" => array(
|
|
"title" => "Display Title",
|
|
"url" => "http://yoururl.com",
|
|
"url_target" => "_self",
|
|
"icon" => "fa-home",
|
|
"label_htm" => "<span>Add your custom label/badge html here</span>",
|
|
"sub" => array() //contains array of sub items with the same format as the parent
|
|
)
|
|
|
|
*/
|
|
|
|
$page_nav = array(
|
|
"dash1" => array(
|
|
"title" => "Tableaux de bord",
|
|
"icon" => "fa-dashboard",
|
|
"url" => APP_URL."/index.php/Home"
|
|
|
|
),
|
|
"dash5" => array(
|
|
"title" => "Tâches",
|
|
"icon" => "fa-square",
|
|
"url" => APP_URL."/index.php/projets/list_taches"
|
|
|
|
),
|
|
"dash4" => array(
|
|
"title" => "Tâches Projets",
|
|
"icon" => "fa-square",
|
|
"url" => APP_URL."/index.php/TachesProjets"
|
|
|
|
),
|
|
"dash3" => array(
|
|
"title" => "Départs à venir",
|
|
"icon" => "fa-square",
|
|
"url" => APP_URL."/index.php/projets/depart"
|
|
|
|
),
|
|
|
|
"vide" => array(
|
|
"title" => ""
|
|
|
|
),
|
|
"clients" => array(
|
|
"title" => "Clients",
|
|
"icon" => "fa-pencil-square-o",
|
|
"url" => APP_URL."/index.php/clients"
|
|
|
|
),
|
|
"fournisseurs" => array(
|
|
"title" => "Fournisseurs",
|
|
"icon" => "fa-pencil-square-o",
|
|
"url" => APP_URL."/index.php/fournisseurs"
|
|
|
|
),
|
|
"fournisseursprojets" => array(
|
|
"title" => "Fournisseurs / Projets",
|
|
"icon" => "fa-pencil-square-o",
|
|
"url" => APP_URL."/index.php/Fournisseursprojets"
|
|
|
|
),
|
|
"produits" => array(
|
|
"title" => "Produits",
|
|
"icon" => "fa-pencil-square-o",
|
|
"url" => APP_URL."/index.php/produits"
|
|
|
|
),
|
|
"vide2" => array(
|
|
"title" => ""
|
|
|
|
),
|
|
"projets" => array(
|
|
"title" => "Projets",
|
|
"icon" => "fa-suitcase",
|
|
"url" => APP_URL."/index.php/projets"
|
|
|
|
)
|
|
,
|
|
"paiement" => array(
|
|
"title" => "Paiements",
|
|
"icon" => " fa-dollar",
|
|
"url" => APP_URL."/index.php/paiements"
|
|
|
|
)
|
|
,
|
|
|
|
|
|
"lot" => array(
|
|
"title" => "Lot",
|
|
"icon" => "fa-envelope-o",
|
|
"url" => APP_URL."/index.php/lots"
|
|
|
|
)
|
|
,
|
|
|
|
|
|
"user" => array(
|
|
"title" => "Utilisateur",
|
|
"icon" => "fa-user",
|
|
"url" => APP_URL."/index.php/user"
|
|
|
|
)
|
|
|
|
,
|
|
|
|
|
|
"inventaireitem" => array(
|
|
"title" => "items",
|
|
"icon" => "fa-pencil-square-o",
|
|
"url" => APP_URL."/v4/dynamic/list/inventaire"
|
|
|
|
)
|
|
,
|
|
|
|
|
|
"inventaire" => array(
|
|
"title" => "items Par Localication",
|
|
"icon" => "fa-pencil-square-o",
|
|
"url" => APP_URL."/v4/dynamic/list/inventaire_stock"
|
|
|
|
)
|
|
);
|
|
|
|
//configuration variables
|
|
$page_title = "";
|
|
$page_css = array();
|
|
$no_main_header = false; //set true for lock.php and login.php
|
|
$page_body_prop = array(); //optional properties for <body>
|
|
$page_html_prop = array(); //optional properties for <html>
|
|
?>
|