dolibarr  7.0.0-beta
Functions
usergroups.lib.php File Reference

Ensemble de fonctions de base pour la gestion des utilisaterus et groupes. More...

Go to the source code of this file.

Functions

 user_prepare_head ($object)
 Prepare array with list of tabs. More...
 
 group_prepare_head ($object)
 Prepare array with list of tabs. More...
 
 user_admin_prepare_head ()
 Prepare array with list of tabs. More...
 
 show_theme ($fuser, $edit=0, $foruserprofile=false)
 Show list of themes. More...
 

Detailed Description

Ensemble de fonctions de base pour la gestion des utilisaterus et groupes.

Definition in file usergroups.lib.php.

Function Documentation

group_prepare_head (   $object)

Prepare array with list of tabs.

Parameters
Group$objectObject group
Returns
array Array of tabs

Definition at line 196 of file usergroups.lib.php.

References complete_head_from_modules().

show_theme (   $fuser,
  $edit = 0,
  $foruserprofile = false 
)

Show list of themes.

Show all thumbs of themes

Parameters
User | null$fuserUser concerned or null for global theme
int$edit1 to add edit form
boolean$foruserprofileShow for user profile view
Returns
void

Definition at line 294 of file usergroups.lib.php.

References $form, $title, colorArrayToHex(), colorStringToArray(), dol_buildpath(), print, and yn().

user_admin_prepare_head ( )

Prepare array with list of tabs.

Returns
array Array of tabs to show

Definition at line 248 of file usergroups.lib.php.

References complete_head_from_modules().

user_prepare_head (   $object)

Prepare array with list of tabs.

Parameters
Object$objectObject related to tabs
Returns
array Array of tabs to show

Definition at line 33 of file usergroups.lib.php.

References $resql, complete_head_from_modules(), Link\count(), dol_dir_list(), and dol_print_error().