From cca09e0d7e47b50638809b79c1cb4f17652f986a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 1 Dec 2024 21:17:14 +0100 Subject: Adding upstream version 20241201. Signed-off-by: Daniel Baumann --- plugins/55/dw2pdf/MenuItem.php | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 plugins/55/dw2pdf/MenuItem.php (limited to 'plugins/55/dw2pdf/MenuItem.php') diff --git a/plugins/55/dw2pdf/MenuItem.php b/plugins/55/dw2pdf/MenuItem.php new file mode 100644 index 0000000..735e8ed --- /dev/null +++ b/plugins/55/dw2pdf/MenuItem.php @@ -0,0 +1,47 @@ +params['at'] = $DATE_AT; + } elseif ($REV) { + $this->params['rev'] = $REV; + } + } + + /** + * Get label from plugin language file + * + * @return string + */ + public function getLabel() + { + $hlp = plugin_load('action', 'dw2pdf'); + return $hlp->getLang('export_pdf_button'); + } +} -- cgit v1.2.3