Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#979 [Document] add: use load_fiche_titre when no genallowed #980

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/documents.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ function saturne_show_documents(string $modulepart, $modulesubdir, $filedir, str
// Show title of array if not already shown
if ((!empty($fileList) || !empty($link_list) || preg_match('/^massfilesarea/', $modulepart)) && !$headershown) {
$headershown = 1;
$out .= '<div class="titre">' . $titletoshow . '</div>' . "\n";
$out .= load_fiche_titre($titletoshow, '', '', 0, 'builddoc');
$out .= '<div class="div-table-responsive-no-min">';
$out .= '<table class="noborder centpercent" id="' . $modulepart . '_table">' . "\n";
}
Expand Down