Use a more specific picto for documentation help
This commit is contained in:
parent
0fa616826c
commit
5615a164fd
@ -439,7 +439,7 @@ if (! isset($_SESSION["dol_login"]))
|
|||||||
if ($conf->multicompany->enabled && isset($_POST["entity"]))
|
if ($conf->multicompany->enabled && isset($_POST["entity"]))
|
||||||
{
|
{
|
||||||
include_once(DOL_DOCUMENT_ROOT . "/core/cookie.class.php");
|
include_once(DOL_DOCUMENT_ROOT . "/core/cookie.class.php");
|
||||||
|
|
||||||
$entity = $_POST["entity"];
|
$entity = $_POST["entity"];
|
||||||
$entityCookieName = "DOLENTITYID_dolibarr";
|
$entityCookieName = "DOLENTITYID_dolibarr";
|
||||||
|
|
||||||
@ -448,7 +448,7 @@ if (! isset($_SESSION["dol_login"]))
|
|||||||
// Todo: utiliser $user->datelastlogin pour un cryptage aléatoire
|
// Todo: utiliser $user->datelastlogin pour un cryptage aléatoire
|
||||||
$entityCookie = new DolCookie($conf->file->main_cookie_cryptkey);
|
$entityCookie = new DolCookie($conf->file->main_cookie_cryptkey);
|
||||||
$entityCookie->_setCookie($entityCookieName, $entity);
|
$entityCookie->_setCookie($entityCookieName, $entity);
|
||||||
|
|
||||||
//setcookie($entityCookieName, $entity, 0, "/", "", 0);
|
//setcookie($entityCookieName, $entity, 0, "/", "", 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -782,7 +782,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Affiche en-tete HTML + BODY + Barre de menu superieure
|
* \brief Show an HTML header + a BODY + The top menu bar
|
||||||
* \param head lignes d'en-tete head
|
* \param head lignes d'en-tete head
|
||||||
* \param title titre page web
|
* \param title titre page web
|
||||||
* \param target target du menu Accueil
|
* \param target target du menu Accueil
|
||||||
@ -888,7 +888,7 @@ function top_menu($head, $title='', $target='')
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Affiche barre de menu gauche
|
* \brief Show left menu bar
|
||||||
* \param menu_array Tableau des entrees de menu
|
* \param menu_array Tableau des entrees de menu
|
||||||
* \param helppagename Name of wiki page for help ('' by default).
|
* \param helppagename Name of wiki page for help ('' by default).
|
||||||
* Syntax is: For a wiki page: EN:EnglishPage|FR:FrenchPage|ES:SpanishPage
|
* Syntax is: For a wiki page: EN:EnglishPage|FR:FrenchPage|ES:SpanishPage
|
||||||
@ -1021,13 +1021,14 @@ function left_menu($menu_array, $helppagename='', $moresearchform='')
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Link to help pages
|
||||||
if ($helpbaseurl && $helppage)
|
if ($helpbaseurl && $helppage)
|
||||||
{
|
{
|
||||||
print '<div class="help">';
|
print '<div class="help">';
|
||||||
print '<a class="help" target="_blank" title="'.$langs->trans("GoToHelpPage").'" href="';
|
print '<a class="help" target="_blank" title="'.$langs->trans("GoToHelpPage").'" href="';
|
||||||
print sprintf($helpbaseurl,$helppage);
|
print sprintf($helpbaseurl,$helppage);
|
||||||
print '">';
|
print '">';
|
||||||
print img_help(0,'').' ';
|
print img_picto('',DOL_URL_ROOT.'/theme/common/helpdoc.png','',1).' ';
|
||||||
print $langs->trans("Help").'</a>';
|
print $langs->trans("Help").'</a>';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
}
|
}
|
||||||
@ -1035,7 +1036,7 @@ function left_menu($menu_array, $helppagename='', $moresearchform='')
|
|||||||
|
|
||||||
if (! empty($conf->global->MAIN_SHOW_BUGTRACK_LINK))
|
if (! empty($conf->global->MAIN_SHOW_BUGTRACK_LINK))
|
||||||
{
|
{
|
||||||
// Lien vers le bugtrack
|
// Link to bugtrack
|
||||||
$bugbaseurl='http://savannah.nongnu.org/bugs/?';
|
$bugbaseurl='http://savannah.nongnu.org/bugs/?';
|
||||||
$bugbaseurl.='func=additem&group=dolibarr&privacy=1&';
|
$bugbaseurl.='func=additem&group=dolibarr&privacy=1&';
|
||||||
$bugbaseurl.="&details=";
|
$bugbaseurl.="&details=";
|
||||||
|
|||||||
@ -38,8 +38,14 @@ $langs->load("help");
|
|||||||
|
|
||||||
pHeader($langs->trans("DolibarrHelpCenter"),$_SERVER["PHP_SELF"]);
|
pHeader($langs->trans("DolibarrHelpCenter"),$_SERVER["PHP_SELF"]);
|
||||||
|
|
||||||
|
print '<table class="noborder"><tr valign="middle">';
|
||||||
|
//print '<td width="20">';
|
||||||
|
//print '<img src="/theme/common/helpcenter_large.png">';
|
||||||
|
//print '</td>';
|
||||||
|
print '<td>';
|
||||||
print $langs->trans("HelpCenterDesc1")."<br>\n";
|
print $langs->trans("HelpCenterDesc1")."<br>\n";
|
||||||
print $langs->trans("HelpCenterDesc2")."<br>\n";
|
print $langs->trans("HelpCenterDesc2")."<br>\n";
|
||||||
|
print '</td></tr></table>';
|
||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
@ -47,7 +53,7 @@ print $langs->trans("ToGoBackToDolibarr",DOL_URL_ROOT.'/');
|
|||||||
|
|
||||||
print '<br><br>';
|
print '<br><br>';
|
||||||
|
|
||||||
$style1='color: #333344; font-size: 18px; font-weight: bold';
|
$style1='color: #333344; font-size: 16px; font-weight: bold';
|
||||||
$style2='color: #5D4455; font-weight: bold;';
|
$style2='color: #5D4455; font-weight: bold;';
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
BIN
htdocs/theme/common/helpdoc.png
Normal file
BIN
htdocs/theme/common/helpdoc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 831 B |
Loading…
Reference in New Issue
Block a user