mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-09 11:08:34 +01:00
Debug v22
This commit is contained in:
@@ -434,7 +434,6 @@ class Documentation
|
|||||||
*/
|
*/
|
||||||
public function displaySummary($menu, $level = 0, $showsubmenu = 1, $showsubmenu_summary = 1)
|
public function displaySummary($menu, $level = 0, $showsubmenu = 1, $showsubmenu_summary = 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
global $langs;
|
global $langs;
|
||||||
|
|
||||||
$level++;
|
$level++;
|
||||||
@@ -442,16 +441,18 @@ class Documentation
|
|||||||
|
|
||||||
if (!empty($menu['summary'])) {
|
if (!empty($menu['summary'])) {
|
||||||
foreach ($menu['summary'] as $summary_label => $summary_link) {
|
foreach ($menu['summary'] as $summary_label => $summary_link) {
|
||||||
|
/*
|
||||||
if ($summary_link[0] == '#') {
|
if ($summary_link[0] == '#') {
|
||||||
$tmp_summary_link = $menu['url'];
|
$tmp_summary_link = $menu['url'];
|
||||||
if (GETPOSTINT('hidenavmenu')) {
|
if (GETPOSTINT('hidenavmenu')) {
|
||||||
$tmp_summary_link .= '&hidenavmenu=1';
|
$tmp_summary_link .= (strpos($tmp_summary_link, '?') === false ? '?' : '&').'hidenavmenu=1';
|
||||||
}
|
}
|
||||||
if (GETPOSTINT('displayMode')) {
|
if (GETPOSTINT('displayMode')) {
|
||||||
$tmp_summary_link .= '&displayMode=1';
|
$tmp_summary_link .= (strpos($tmp_summary_link, '?') === false ? '?' : '&').'displayMode=1';
|
||||||
}
|
}
|
||||||
$tmp_summary_link;
|
$summary_link = $tmp_summary_link;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
print '<li><a href="'.$summary_link.'">'.$langs->trans($summary_label).'</a></li>';
|
print '<li><a href="'.$summary_link.'">'.$langs->trans($summary_label).'</a></li>';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -177,10 +177,10 @@ $form = new Form($db);
|
|||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
<th class="wrapcolumntitle left liste_titre" title="First Name">First Name</th>
|
<th class="wrapcolumntitle left" title="First Name">First Name</th>
|
||||||
<th class="wrapcolumntitle left liste_titre" title="Last Name">Last Name</th>
|
<th class="wrapcolumntitle left" title="Last Name">Last Name</th>
|
||||||
<th class="wrapcolumntitle center liste_titre" title="Age">Age</th>
|
<th class="wrapcolumntitle center" title="Age">Age</th>
|
||||||
<th class="wrapcolumntitle right liste_titre" title="Country">Country</th>
|
<th class="wrapcolumntitle right" title="Country">Country</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user