mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 11:19:55 +03:00
issue #2170 update picture tpl to embed pdf reader
Add default config pdf_viewer_filesize_threshold Add function to get number of PDF pages Add translations update picture.php to send pdf filesize threshold and nb page to tpl update picture.tpl to add number of pages for PDF picture_content.tpl update for new config name and add translation functions. use embed for pdf if file ext = pdf
This commit is contained in:
parent
138f23d32f
commit
983d943548
8 changed files with 63 additions and 1 deletions
|
@ -446,4 +446,8 @@ $lang['last 3 months'] = 'Last 3 months';
|
|||
$lang['last 24 hours'] = 'last 24 hours';
|
||||
$lang['Album already selected'] = 'Album already selected';
|
||||
$lang['Only the first %d albums are displayed, out of %d.'] = 'Only the first %d albums are displayed, out of %d.';
|
||||
$lang['Pages'] = "Pages";
|
||||
$lang['The PDF you requested is too large to display on this page.']= 'The PDF you requested is too large to display on this page.';
|
||||
$lang['Click here to display it']= 'Click here to display it';
|
||||
|
||||
?>
|
||||
|
|
|
@ -451,3 +451,6 @@ $lang['last 3 months'] = '3 derniers mois';
|
|||
$lang['last 24 hours'] = '24 dernières heures';
|
||||
$lang['Only the first %d albums are displayed, out of %d.'] = 'Seuls les %d premiers sont affichés, sur %d.';
|
||||
$lang['Album already selected'] = 'Album déjà sélectionné';
|
||||
$lang['Pages'] = "Pages";
|
||||
$lang['The PDF you requested is too large to display on this page.']= 'Le PDF que vous avez demandé est trop volumineux pour être affiché sur cette page.';
|
||||
$lang['Click here to display it']= 'Cliquez ici pour le voir';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue