[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] WYSIWYCA: Prevent PDF export button without tiki_p_export_pdf permission
"Landry Bitege \(@land-bit\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <696df6779ea11_2d5a98446286@gitlab-sidekiq-low-urgency-cpu-bound-v2-747b69684d-dnrr9.mail> |
Landry Bitege pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
cb21d1fc by Landry Bitege at 2026-01-19T10:08:11+01:00
[FIX] WYSIWYCA: Prevent PDF export button without tiki_p_export_pdf permission
---
* [FIX] WYSIWYCA: hide PDF export button without permission
See merge request tikiwiki/tiki!9358
- - - - -
1 changed file:
- templates/tiki-wiki_topline.tpl
Changes:
=====================================
templates/tiki-wiki_topline.tpl
=====================================
@@ -148,7 +148,7 @@
{icon name="heading"} <span>{tr}Expand all collapsible headings{/tr}</span>
</a>
{/if}
- {if $pdf_export eq 'y' and $pdf_warning eq 'n' and $prefs["feature_wiki_print"] eq 'y'}
+ {if $pdf_export eq 'y' && $pdf_warning eq 'n' && $prefs["feature_wiki_print"] eq 'y' && $tiki_p_export_pdf eq 'y'}
<a class="dropdown-item generate-pdf" href="tiki-print.php?{query _keepall='y' display="pdf" page=$page}">
{icon name="pdf"} {tr} PDF{/tr}
{$hasPageAction="1"}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/cb21d1fcf444771187385d179aa3f49938718e2d
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/cb21d1fcf444771187385d179aa3f49938718e2d
You're receiving this email because of your account on gitlab.com.
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs