Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
01e538fa
Commit
01e538fa
authored
8 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge pull request #4942 from aspangaro/4.0-p16
NEW: Move HRM area page in HRM directory
parents
cfcbc349
a85575a9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
htdocs/core/menus/init_menu_auguria.sql
+1
-1
1 addition, 1 deletion
htdocs/core/menus/init_menu_auguria.sql
htdocs/core/menus/standard/eldy.lib.php
+2
-2
2 additions, 2 deletions
htdocs/core/menus/standard/eldy.lib.php
htdocs/hrm/hrm.php
+2
-2
2 additions, 2 deletions
htdocs/hrm/hrm.php
with
5 additions
and
5 deletions
htdocs/core/menus/init_menu_auguria.sql
+
1
−
1
View file @
01e538fa
...
@@ -17,7 +17,7 @@ insert into llx_menu (module, enabled, rowid, menu_handler, type, mainmenu, left
...
@@ -17,7 +17,7 @@ insert into llx_menu (module, enabled, rowid, menu_handler, type, mainmenu, left
insert
into
llx_menu
(
module
,
enabled
,
rowid
,
menu_handler
,
type
,
mainmenu
,
leftmenu
,
fk_menu
,
url
,
titre
,
level
,
langs
,
perms
,
target
,
usertype
,
position
,
entity
)
values
(
'projet'
,
'$conf->projet->enabled'
,
7
__
+
MAX_llx_menu__
,
__HANDLER__
,
'top'
,
'project'
,
''
,
0
,
'/projet/index.php?mainmenu=project&leftmenu='
,
'Projects'
,
-
1
,
'projects'
,
'$user->rights->projet->lire'
,
''
,
2
,
70
,
__ENTITY__
);
insert
into
llx_menu
(
module
,
enabled
,
rowid
,
menu_handler
,
type
,
mainmenu
,
leftmenu
,
fk_menu
,
url
,
titre
,
level
,
langs
,
perms
,
target
,
usertype
,
position
,
entity
)
values
(
'projet'
,
'$conf->projet->enabled'
,
7
__
+
MAX_llx_menu__
,
__HANDLER__
,
'top'
,
'project'
,
''
,
0
,
'/projet/index.php?mainmenu=project&leftmenu='
,
'Projects'
,
-
1
,
'projects'
,
'$user->rights->projet->lire'
,
''
,
2
,
70
,
__ENTITY__
);
insert
into
llx_menu
(
module
,
enabled
,
rowid
,
menu_handler
,
type
,
mainmenu
,
leftmenu
,
fk_menu
,
url
,
titre
,
level
,
langs
,
perms
,
target
,
usertype
,
position
,
entity
)
values
(
'mailing|export|import|opensurvey'
,
'$conf->mailing->enabled || $conf->export->enabled || $conf->import->enabled || $conf->opensurvey->enabled'
,
8
__
+
MAX_llx_menu__
,
__HANDLER__
,
'top'
,
'tools'
,
''
,
0
,
'/core/tools.php?mainmenu=tools&leftmenu='
,
'Tools'
,
-
1
,
'other'
,
'$user->rights->mailing->lire || $user->rights->export->lire || $user->rights->import->run || $user->rights->opensurvey->read'
,
''
,
2
,
90
,
__ENTITY__
);
insert
into
llx_menu
(
module
,
enabled
,
rowid
,
menu_handler
,
type
,
mainmenu
,
leftmenu
,
fk_menu
,
url
,
titre
,
level
,
langs
,
perms
,
target
,
usertype
,
position
,
entity
)
values
(
'mailing|export|import|opensurvey'
,
'$conf->mailing->enabled || $conf->export->enabled || $conf->import->enabled || $conf->opensurvey->enabled'
,
8
__
+
MAX_llx_menu__
,
__HANDLER__
,
'top'
,
'tools'
,
''
,
0
,
'/core/tools.php?mainmenu=tools&leftmenu='
,
'Tools'
,
-
1
,
'other'
,
'$user->rights->mailing->lire || $user->rights->export->lire || $user->rights->import->run || $user->rights->opensurvey->read'
,
''
,
2
,
90
,
__ENTITY__
);
insert
into
llx_menu
(
module
,
enabled
,
rowid
,
menu_handler
,
type
,
mainmenu
,
leftmenu
,
fk_menu
,
url
,
titre
,
level
,
langs
,
perms
,
target
,
usertype
,
position
,
entity
)
values
(
'adherent'
,
'$conf->adherent->enabled'
,
13
__
+
MAX_llx_menu__
,
__HANDLER__
,
'top'
,
'members'
,
''
,
0
,
'/adherents/index.php?mainmenu=members&leftmenu='
,
'Members'
,
-
1
,
'members'
,
'$user->rights->adherent->lire'
,
''
,
2
,
110
,
__ENTITY__
);
insert
into
llx_menu
(
module
,
enabled
,
rowid
,
menu_handler
,
type
,
mainmenu
,
leftmenu
,
fk_menu
,
url
,
titre
,
level
,
langs
,
perms
,
target
,
usertype
,
position
,
entity
)
values
(
'adherent'
,
'$conf->adherent->enabled'
,
13
__
+
MAX_llx_menu__
,
__HANDLER__
,
'top'
,
'members'
,
''
,
0
,
'/adherents/index.php?mainmenu=members&leftmenu='
,
'Members'
,
-
1
,
'members'
,
'$user->rights->adherent->lire'
,
''
,
2
,
110
,
__ENTITY__
);
insert
into
llx_menu
(
module
,
enabled
,
rowid
,
menu_handler
,
type
,
mainmenu
,
leftmenu
,
fk_menu
,
url
,
titre
,
level
,
langs
,
perms
,
target
,
usertype
,
position
,
entity
)
values
(
'hrm|holiday|deplacement|expensereport'
,
'$conf->hrm->enabled || $conf->holiday->enabled || $conf->deplacement->enabled || $conf->expensereport->enabled'
,
15
__
+
MAX_llx_menu__
,
__HANDLER__
,
'top'
,
'hrm'
,
''
,
0
,
'/
compta
/hrm.php?mainmenu=hrm&leftmenu='
,
'HRM'
,
-
1
,
'holiday'
,
'$user->rights->hrm->employee->read || $user->rights->holiday->write || $user->rights->deplacement->lire || $user->rights->expensereport->lire'
,
''
,
0
,
80
,
__ENTITY__
);
insert
into
llx_menu
(
module
,
enabled
,
rowid
,
menu_handler
,
type
,
mainmenu
,
leftmenu
,
fk_menu
,
url
,
titre
,
level
,
langs
,
perms
,
target
,
usertype
,
position
,
entity
)
values
(
'hrm|holiday|deplacement|expensereport'
,
'$conf->hrm->enabled || $conf->holiday->enabled || $conf->deplacement->enabled || $conf->expensereport->enabled'
,
15
__
+
MAX_llx_menu__
,
__HANDLER__
,
'top'
,
'hrm'
,
''
,
0
,
'/
hrm
/hrm.php?mainmenu=hrm&leftmenu='
,
'HRM'
,
-
1
,
'holiday'
,
'$user->rights->hrm->employee->read || $user->rights->holiday->write || $user->rights->deplacement->lire || $user->rights->expensereport->lire'
,
''
,
0
,
80
,
__ENTITY__
);
-- Home - Dashboard
-- Home - Dashboard
insert
into
llx_menu
(
module
,
enabled
,
menu_handler
,
type
,
rowid
,
mainmenu
,
leftmenu
,
fk_menu
,
url
,
titre
,
level
,
langs
,
perms
,
target
,
usertype
,
position
,
entity
)
values
(
''
,
'1'
,
__HANDLER__
,
'left'
,
90
__
+
MAX_llx_menu__
,
'home'
,
''
,
1
__
+
MAX_llx_menu__
,
'/index.php'
,
'Dashboard'
,
0
,
''
,
''
,
''
,
2
,
0
,
__ENTITY__
);
insert
into
llx_menu
(
module
,
enabled
,
menu_handler
,
type
,
rowid
,
mainmenu
,
leftmenu
,
fk_menu
,
url
,
titre
,
level
,
langs
,
perms
,
target
,
usertype
,
position
,
entity
)
values
(
''
,
'1'
,
__HANDLER__
,
'left'
,
90
__
+
MAX_llx_menu__
,
'home'
,
''
,
1
__
+
MAX_llx_menu__
,
'/index.php'
,
'Dashboard'
,
0
,
''
,
''
,
''
,
2
,
0
,
__ENTITY__
);
...
...
This diff is collapsed.
Click to expand it.
htdocs/core/menus/standard/eldy.lib.php
+
2
−
2
View file @
01e538fa
...
@@ -223,9 +223,9 @@ function print_eldy_menu($db,$atarget,$type_user,&$tabMenu,&$menu,$noout=0)
...
@@ -223,9 +223,9 @@ function print_eldy_menu($db,$atarget,$type_user,&$tabMenu,&$menu,$noout=0)
$idsel
=
'hrm'
;
$idsel
=
'hrm'
;
if
(
empty
(
$noout
))
print_start_menu_entry
(
$idsel
,
$classname
,
$showmode
);
if
(
empty
(
$noout
))
print_start_menu_entry
(
$idsel
,
$classname
,
$showmode
);
if
(
empty
(
$noout
))
print_text_menu_entry
(
$langs
->
trans
(
"HRM"
),
$showmode
,
DOL_URL_ROOT
.
'/
compta
/hrm.php?mainmenu=hrm&leftmenu='
,
$id
,
$idsel
,
$classname
,
$atarget
);
if
(
empty
(
$noout
))
print_text_menu_entry
(
$langs
->
trans
(
"HRM"
),
$showmode
,
DOL_URL_ROOT
.
'/
hrm
/hrm.php?mainmenu=hrm&leftmenu='
,
$id
,
$idsel
,
$classname
,
$atarget
);
if
(
empty
(
$noout
))
print_end_menu_entry
(
$showmode
);
if
(
empty
(
$noout
))
print_end_menu_entry
(
$showmode
);
$menu
->
add
(
'/
compta
/hrm.php?mainmenu=hrm&leftmenu='
,
$langs
->
trans
(
"HRM"
),
0
,
$showmode
,
$atarget
,
"hrm"
,
''
);
$menu
->
add
(
'/
hrm
/hrm.php?mainmenu=hrm&leftmenu='
,
$langs
->
trans
(
"HRM"
),
0
,
$showmode
,
$atarget
,
"hrm"
,
''
);
}
}
...
...
This diff is collapsed.
Click to expand it.
htdocs/
compta
/hrm.php
→
htdocs/
hrm
/hrm.php
+
2
−
2
View file @
01e538fa
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
/* Copyright (C) 2011 Dimitri Mouillard <dmouillard@teclib.com>
/* Copyright (C) 2011 Dimitri Mouillard <dmouillard@teclib.com>
* Copyright (C) 2013-2015 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2013-2015 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2012-2014 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2012-2014 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2015
Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
* Copyright (C) 2015
-2016
Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* it under the terms of the GNU General Public License as published by
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
*/
*/
/**
/**
* \file htdocs/
compta
/hrm.php
* \file htdocs/
hrm
/hrm.php
* \ingroup hrm
* \ingroup hrm
* \brief Home page for HRM area.
* \brief Home page for HRM area.
*/
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment