Changeset 10975 for extensions/akBookStyle/trunk
- Timestamp:
- May 21, 2011, 3:19:26 PM (13 years ago)
- Location:
- extensions/akBookStyle/trunk
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/akBookStyle/trunk/CHANGELOG
r9287 r10975 1 akBookStyle 0.4.0 - 2011-05-21 2 ================================ 3 * Make plugin compatibile with piwigo 2.2 4 1 5 akBookStyle 0.3.1 - 2011-02-19 2 6 ================================ -
extensions/akBookStyle/trunk/MANIFEST
r9285 r10975 1 akBookStyle/js/ak_jquery-load.js 2 akBookStyle/include/akConfig.class.php 3 akBookStyle/include/akContent.class.php 4 akBookStyle/maintain.inc.php 1 5 akBookStyle/MANIFEST 2 akBookStyle/maintain.inc.php 3 akBookStyle/rsync_exclude.txt 4 akBookStyle/template/ak_thumbnails.tpl 5 akBookStyle/template/ak_horizontal.tpl 6 akBookStyle/template/ak_vertical.tpl 7 akBookStyle/template/admin.tpl 8 akBookStyle/template/ak_reloaded_image.tpl 9 akBookStyle/js/ak_jquery-load.js 6 akBookStyle/init.php 10 7 akBookStyle/main.inc.php 11 akBookStyle/default_values.inc.php 8 akBookStyle/COPYING 9 akBookStyle/language/es_ES/plugin.lang.php 10 akBookStyle/language/es_ES/index.php 11 akBookStyle/language/es_ES/description.txt 12 akBookStyle/language/en_UK/plugin.lang.php 13 akBookStyle/language/en_UK/index.php 14 akBookStyle/language/de_DE/plugin.lang.php 15 akBookStyle/language/de_DE/index.php 16 akBookStyle/language/de_DE/description.txt 17 akBookStyle/language/lv_LV/plugin.lang.php 18 akBookStyle/language/lv_LV/description.txt 19 akBookStyle/language/cs_CZ/plugin.lang.php 20 akBookStyle/language/no_NO/plugin.lang.php 21 akBookStyle/language/no_NO/index.php 22 akBookStyle/language/no_NO/description.txt 23 akBookStyle/language/it_IT/plugin.lang.php 24 akBookStyle/language/it_IT/index.php 25 akBookStyle/language/it_IT/description.txt 26 akBookStyle/language/hu_HU/plugin.lang.php 27 akBookStyle/language/hu_HU/index.php 28 akBookStyle/language/hu_HU/description.txt 29 akBookStyle/language/fr_FR/plugin.lang.php 12 30 akBookStyle/language/fr_FR/index.php 13 31 akBookStyle/language/fr_FR/description.txt 14 akBookStyle/language/fr_FR/plugin.lang.php 15 akBookStyle/language/de_DE/index.php 16 akBookStyle/language/de_DE/description.txt 17 akBookStyle/language/de_DE/plugin.lang.php 18 akBookStyle/language/no_NO/index.php 19 akBookStyle/language/no_NO/description.txt 20 akBookStyle/language/no_NO/plugin.lang.php 32 akBookStyle/language/templates/plugin.lang.php 21 33 akBookStyle/language/templates/index.php 22 akBookStyle/language/templates/plugin.lang.php 23 akBookStyle/language/en_UK/index.php 24 akBookStyle/language/en_UK/plugin.lang.php 25 akBookStyle/language/lv_LV/description.txt 26 akBookStyle/language/lv_LV/plugin.lang.php 27 akBookStyle/language/it_IT/index.php 28 akBookStyle/language/it_IT/description.txt 29 akBookStyle/language/it_IT/plugin.lang.php 30 akBookStyle/language/es_ES/index.php 31 akBookStyle/language/es_ES/description.txt 32 akBookStyle/language/es_ES/plugin.lang.php 33 akBookStyle/language/cs_CZ/plugin.lang.php 34 akBookStyle/language/hu_HU/index.php 35 akBookStyle/language/hu_HU/description.txt 36 akBookStyle/language/hu_HU/plugin.lang.php 34 akBookStyle/css/admin.css 35 akBookStyle/css/style.css 36 akBookStyle/public.php 37 akBookStyle/admin.php 37 38 akBookStyle/CHANGELOG 38 akBookStyle/include/akContent.class.php 39 akBookStyle/include/akConfig.class.php 40 akBookStyle/admin.php 41 akBookStyle/Makefile 42 akBookStyle/COPYING 43 akBookStyle/css/style.css 44 akBookStyle/css/admin.css 45 akBookStyle/init.php 46 akBookStyle/public.php 39 akBookStyle/default_values.inc.php 40 akBookStyle/template/admin.tpl 41 akBookStyle/template/ak_horizontal.tpl 42 akBookStyle/template/ak_reloaded_image.tpl 43 akBookStyle/template/ak_vertical.tpl 44 akBookStyle/template/ak_thumbnails.tpl -
extensions/akBookStyle/trunk/admin.php
r9271 r10975 3 3 // | akBookStyle - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2009-201 0Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2009-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // | Copyright(C) 2009 vdigital | 7 7 // +-----------------------------------------------------------------------+ … … 27 27 load_language('plugin.lang', AK_PLUGIN_LANG); 28 28 29 $ThumbnailsLocations = array('top' => 'Top', 30 'left' => 'Left', 31 'bottom' => 'Bottom', 32 'right' => 'Right'); 33 $MouseEvents = array('click' => 'Click', 34 'mouseover' => 'Mouseover'); 29 $ThumbnailsLocations = array('top' => l10n('Top'), 30 'left' => l10n('Left'), 31 'bottom' => l10n('Bottom'), 32 'right' => l10n('Right') 33 ); 34 $MouseEvents = array('click' => l10n('Click'), 35 'mouseover' => l10n('Mouseover') 36 ); 35 37 36 38 $me = get_plugin_data($plugin_id); … … 40 42 if (!empty($_POST['ak_categories']) && $_POST['ak_categories']!=$me->ak_categories) { 41 43 $me->ak_categories = $_POST['ak_categories']; 42 array_push($GLOBALS['page']['infos'],43 l10n_dec('Applicable category hasbeen updated',44 'Applicable categories have been updated', 45 count($_POST['ak_categories'])));44 $page['infos'][] = l10n_dec('Applicable category has been updated', 45 'Applicable categories have been updated', 46 count($_POST['ak_categories']) 47 ); 46 48 $save_config = true; 47 49 } … … 49 51 if (!empty($_POST['ak_by_page']) && intval($_POST['ak_by_page'])!=$me->ak_by_page) { 50 52 $me->ak_by_page = intval($_POST['ak_by_page']); 51 array_push($GLOBALS['page']['infos'], l10n('Thumbnails per page has been updated'));53 $page['infos'][] = l10n('Thumbnails per page has been updated'); 52 54 $save_config = true; 53 55 } … … 55 57 if (!empty($_POST['ak_by_line']) && intval($_POST['ak_by_line'])!=$me->ak_by_line) { 56 58 $me->ak_by_line = intval($_POST['ak_by_line']); 57 array_push($GLOBALS['page']['infos'], l10n('Number of column has been updated'));59 $page['infos'][] = l10n('Number of column has been updated'); 58 60 $save_config = true; 59 61 } … … 61 63 if (!empty($_POST['ak_thumbnail_size']) && $_POST['ak_thumbnail_size']!=$me->ak_thumbnail_size) { 62 64 $me->ak_thumbnail_size = (int) $_POST['ak_thumbnail_size']; 63 array_push($GLOBALS['page']['infos'], l10n('Thumbnail size has been updated'));65 $page['infos'][] = l10n('Thumbnail size has been updated'); 64 66 $save_config = true; 65 67 } … … 71 73 $me->ak_mouse_event = 'click'; 72 74 } 73 array_push($GLOBALS['page']['infos'], l10n('Event to show medium picture has been updated.'));75 $page['infos'][] = l10n('Event to show medium picture has been updated.'); 74 76 $save_config = true; 75 77 } … … 80 82 } else { 81 83 $me->ak_thumbnails_loc = 'left'; } 82 array_push($GLOBALS['page']['infos'], l10n('Thumbnails location has been changed'));84 $page['infos'][] = l10n('Thumbnails location has been changed'); 83 85 $save_config = true; 84 86 } … … 95 97 $all_categories = simple_hash_from_query($query, 'id', 'name'); 96 98 97 $GLOBALS['template']->set_filenames(array('plugin_admin_content' => AK_PLUGIN_TEMPLATE . '/admin.tpl')); 98 $GLOBALS['template']->assign('AK_PLUGIN_CSS', AK_PLUGIN_CSS); 99 $GLOBALS['template']->assign('ALL_CATEGORIES', $all_categories); 100 $GLOBALS['template']->assign('AK_CATEGORIES', $me->ak_categories); 101 $GLOBALS['template']->assign('AK_BY_PAGE', $me->ak_by_page); 102 $GLOBALS['template']->assign('AK_BY_LINE', $me->ak_by_line); 103 $GLOBALS['template']->assign('AK_THUMBNAIL_SIZE', $me->ak_thumbnail_size); 104 $GLOBALS['template']->assign('AK_MOUSE_EVENT', $me->ak_mouse_event); 105 $GLOBALS['template']->assign('AK_AVAILABLE_EVENTS', array_keys($MouseEvents)); 106 $GLOBALS['template']->assign('AK_EVENTS_LABELS', array_values($MouseEvents)); 107 $GLOBALS['template']->assign('AK_THUMBNAILS_LOC', $me->ak_thumbnails_loc); 108 $GLOBALS['template']->assign('AK_THUMBNAILS_LOCATIONS_KEYS', array_keys($ThumbnailsLocations)); 109 $GLOBALS['template']->assign('AK_THUMBNAILS_LOCATIONS_VALUES', array_values($ThumbnailsLocations)); 110 $GLOBALS['template']->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); 99 $template->set_filenames(array('plugin_admin_content' => AK_PLUGIN_TEMPLATE . '/admin.tpl')); 100 $template->assign('AK_PLUGIN_CSS', AK_PLUGIN_CSS); 101 $template->assign('ALL_CATEGORIES', $all_categories); 102 $template->assign('AK_CATEGORIES', $me->ak_categories); 103 $template->assign('AK_BY_PAGE', $me->ak_by_page); 104 $template->assign('AK_BY_LINE', $me->ak_by_line); 105 $template->assign('AK_THUMBNAIL_SIZE', $me->ak_thumbnail_size); 106 $template->assign('AK_EVENT', $me->ak_mouse_event); 107 $template->assign('AK_EVENTS', $MouseEvents); 108 $template->assign('AK_THUMBNAILS_LOC', $me->ak_thumbnails_loc); 109 $template->assign('AK_THUMBNAILS_LOCATIONS', $ThumbnailsLocations); 110 $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); 111 111 ?> -
extensions/akBookStyle/trunk/include/akContent.class.php
r10863 r10975 3 3 // | akBookStyle - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2009-201 0Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2009-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // | Copyright(C) 2009 vdigital | 7 7 // +-----------------------------------------------------------------------+ … … 89 89 $template->assign('AK_THUMBNAILS_LOC', $this->plugin_config->ak_thumbnails_loc); 90 90 $template->assign('AK_PIC_SRC', get_image_url($images[$this->current_picture])); 91 92 91 $template->assign('AK_NEXT', $this->getNextPicture($this->current_picture, $images)); 93 92 $template->assign('AK_PREVIOUS', $this->getPreviousPicture($this->current_picture, $images)); … … 103 102 104 103 $selected_one = false; 105 foreach ($tpl_vars as &$tpl_var) {106 list($thumbnail_width, $thumbnail_height) = getimagesize( $tpl_var['TN_SRC']);104 foreach ($tpl_vars as $i => &$tpl_var) { 105 list($thumbnail_width, $thumbnail_height) = getimagesize(get_thumbnail_path($images[$i])); 107 106 $thumbnail_x_center = $thumbnail_width/2; 108 107 $thumbnail_y_center = $thumbnail_height/2; … … 164 163 private function getPictureId($images) { 165 164 if ($GLOBALS['conf']['question_mark_in_urls']==false and 166 isset($_SERVER[ "PATH_INFO"]) and !empty($_SERVER["PATH_INFO"]) ) {167 $rewritten = $_SERVER[ "PATH_INFO"];165 isset($_SERVER['PATH_INFO']) and !empty($_SERVER['PATH_INFO']) ) { 166 $rewritten = $_SERVER['PATH_INFO']; 168 167 $rewritten = str_replace('//', '/', $rewritten); 169 168 } else { -
extensions/akBookStyle/trunk/js/ak_jquery-load.js
r10863 r10975 18 18 19 19 $a = $(this); 20 next_thumbnail = $('table.thumbnails a[href='+$(this).attr('href')+']'); 20 next_thumbnail = $('table.thumbnails a[href="'+$(this).attr('href')+'"]'); 21 21 if (next_thumbnail.length==0) { 22 22 if ($a.attr('id')=='akNextPicture') { … … 31 31 } else { 32 32 next_thumbnail.parent().parent().parent().addClass('selected'); 33 try { 34 $.get($a.attr('href'),{}, 35 function success(data) { 36 $('#akPicture') 37 .attr('src', data.AK_PIC_SRC) 38 .attr('alt', data.AK_PIC_ALT) 39 .attr('title', data.AK_PIC_TITLE); 40 41 if (data.AK_PREVIOUS) { 42 $('#akPreviousPicture') 43 .removeClass('hide') 44 .attr('href', data.AK_PREVIOUS); 45 } else { 46 $('#akPreviousPicture').addClass('hide'); 47 } 48 if (data.AK_NEXT) { 49 $('#akNextPicture') 50 .removeClass('hide') 51 .attr('href', data.AK_NEXT); 52 } else { 53 $('#akNextPicture').addClass('hide'); 54 } 55 $a.click(function(e) { e.preventDefault();}); 56 }, 57 'json'); 58 } catch (e) {} 33 $.get($a.attr('href'),{}, 34 function success(data) { 35 $('#akPicture') 36 .attr('src', data.AK_PIC_SRC) 37 .attr('alt', data.AK_PIC_ALT) 38 .attr('title', data.AK_PIC_TITLE); 39 40 if (data.AK_PREVIOUS) { 41 $('#akPreviousPicture') 42 .removeClass('hide') 43 .attr('href', data.AK_PREVIOUS); 44 } else { 45 $('#akPreviousPicture').addClass('hide'); 46 } 47 if (data.AK_NEXT) { 48 $('#akNextPicture') 49 .removeClass('hide') 50 .attr('href', data.AK_NEXT); 51 } else { 52 $('#akNextPicture').addClass('hide'); 53 } 54 $a.click(function(e) { e.preventDefault();}); 55 }, 56 'json'); 59 57 } 60 58 return false; -
extensions/akBookStyle/trunk/language/cs_CZ/plugin.lang.php
r9271 r10975 3 3 // | akBookStyle - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2009-201 0Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2009-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // | Copyright(C) 2009 vdigital | 7 7 // +-----------------------------------------------------------------------+ … … 31 31 $lang['Thumbnail size has been updated'] = "Velikost náhledù byla aktualizována"; 32 32 $lang['Thumbnail size'] = "Velikost náhledù"; 33 $lang[' click'] = "klik";34 $lang[' mouseover'] = "pøejetí myší";33 $lang['Click'] = "klik"; 34 $lang['Mouseover'] = "pøejetí myší"; 35 35 $lang['Event to show medium picture.'] = "Událost pro zobrazení fotografie."; 36 36 $lang['Event to show medium picture has been updated.'] = "Událost pro zobrazení fotografie byla aktualizována."; -
extensions/akBookStyle/trunk/language/de_DE/plugin.lang.php
r6852 r10975 3 3 // | akBookStyle - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2009-201 0Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2009-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // | Copyright(C) 2009 vdigital | 7 7 // +-----------------------------------------------------------------------+ … … 25 25 $lang['Applicable categorie(s)'] = "Kategorieauswahl"; 26 26 $lang['Applicable category has been updated'] = "Die Ansicht wurde für die gewählte Kategorie angepasst"; 27 $lang['Applicable categories ha sbeen updated'] = "Die Ansicht wurde für die gewählten Kategorien angepasstn";27 $lang['Applicable categories have been updated'] = "Die Ansicht wurde für die gewählten Kategorien angepasstn"; 28 28 $lang['Number of thumbnails per page'] = "Anzahl der Vorschaubilder pro Seite"; 29 29 $lang['Thumbnails per page has been updated'] = "Die Anzahl der Vorschaubilder wurde angepasst"; … … 31 31 $lang['Thumbnail size has been updated'] = "Die Anzahl der Spalten wurde angepasst"; 32 32 $lang['Thumbnail size'] = "Größe der Vorschaubilder"; 33 $lang[' click'] = "Klick";34 $lang[' mouseover'] = "Mit dem Mauszeiger berühren";33 $lang['Click'] = "Klick"; 34 $lang['Mouseover'] = "Mit dem Mauszeiger berühren"; 35 35 $lang['Event to show medium picture.'] = "Bei welchem Ereignis soll das Bild mittlerer Größe angezeigt werden."; 36 36 $lang['Event to show medium picture has been updated.'] = "Die Ereignisauswahl wurde angepasst."; -
extensions/akBookStyle/trunk/language/en_UK/plugin.lang.php
r6852 r10975 3 3 // | akBookStyle - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2009-201 0Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2009-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // | Copyright(C) 2009 vdigital | 7 7 // +-----------------------------------------------------------------------+ … … 21 21 // +-----------------------------------------------------------------------+ 22 22 23 $lang['That plugin give an alternate presentation for galleries. It gives you in a whole page access to medium image and thumbnails.'] = "That plugin give an alternate presentation for galleries. It gives you in a whole page access to medium image and thumbnails."; 24 $lang['Main configuration'] = "Main configuration"; 25 $lang['Applicable categorie(s)'] = "Applicable categorie(s)"; 26 $lang['Applicable category has been updated'] = "Applicable category has been updated"; 27 $lang['Applicable categories have been updated'] = "Applicable categories have been updated"; 28 $lang['Number of thumbnails per page'] = "Number of thumbnails per page"; 29 $lang['Thumbnails per page has been updated'] = "Thumbnails per page has been updated"; 30 $lang['Number of column'] = "Number of column"; 31 $lang['Thumbnail size has been updated'] = "Thumbnail size has been updated"; 32 $lang['Thumbnail size'] = "Thumbnail size"; 33 $lang['click'] = "click"; 34 $lang['mouseover'] = "mouseover"; 35 $lang['Event to show medium picture.'] = "Event to show medium picture."; 36 $lang['Event to show medium picture has been updated.'] = "Event to show medium picture has been updated."; 37 $lang['Thumbnails location'] = "Thumbnails location"; 38 $lang['Thumbnails location has been changed'] = "Thumbnails location has been changed"; 39 $lang['Top'] = "Top"; 40 $lang['Left'] = "Left"; 41 $lang['Bottom'] = "Bottom"; 42 $lang['Right'] = "Right"; 43 $lang['or number of lines for Top/Bottom'] = "or number of lines for Top/Bottom"; 44 $lang['Next image'] = "Next image"; 45 $lang['Next page'] = "Next page"; 46 $lang['Previous image'] = "Previous image"; 47 $lang['Previous page'] = "Previous page"; 23 /* 24 * The purpose of that file is to provide a way to overwrite 25 * default translation. 26 * See language/templates/plugin.lang.php for available keys 27 */ 48 28 ?> -
extensions/akBookStyle/trunk/language/es_ES/plugin.lang.php
r6852 r10975 3 3 // | akBookStyle - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2009-201 0Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2009-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // | Copyright(C) 2009 vdigital | 7 7 // +-----------------------------------------------------------------------+ … … 24 24 $lang['Main configuration'] = "Configuración general"; 25 25 $lang['Number of thumbnails per page'] = "Número de miniaturas por página"; 26 $lang['Thumbnails per page ha sbeen updated'] = "El número de las miniaturas por página ha sido modificado.";26 $lang['Thumbnails per page have been updated'] = "El número de las miniaturas por página ha sido modificado."; 27 27 $lang['Number of column'] = "Número de columnas"; 28 28 $lang['Thumbnail size has been updated'] = "El número de columna ha sido modificado"; 29 29 $lang['Thumbnail size'] = "Tamaño de las miniaturas"; 30 $lang[' click'] = "clic";31 $lang[' mouseover'] = "sobrevuelo";30 $lang['Click'] = "clic"; 31 $lang['Mouseover'] = "sobrevuelo"; 32 32 $lang['Event to show medium picture.'] = "Acontecimiento que pone en marcha la visualización de la imagen."; 33 33 $lang['Event to show medium picture has been updated.'] = "El modo de visualización de la imagen ha sido modificado."; -
extensions/akBookStyle/trunk/language/fr_FR/plugin.lang.php
r6852 r10975 3 3 // | akBookStyle - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2009-201 0Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2009-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // | Copyright(C) 2009 vdigital | 7 7 // +-----------------------------------------------------------------------+ … … 25 25 $lang['Applicable categorie(s)'] = "Choix de catégorie(s)"; 26 26 $lang['Applicable category has been updated'] = "La catégorie sélectionnée a été mise à jour"; 27 $lang['Applicable categories ha sbeen updated'] = "Les catégories sélectionnées ont été mises à jour";27 $lang['Applicable categories have been updated'] = "Les catégories sélectionnées ont été mises à jour"; 28 28 $lang['Number of thumbnails per page'] = "Nombre des miniatures par page"; 29 29 $lang['Thumbnails per page has been updated'] = "Le nombre des miniatures par page a été modifié."; … … 31 31 $lang['Thumbnail size has been updated'] = "Le nombre de colonne a été modifié"; 32 32 $lang['Thumbnail size'] = "Taille des miniatures"; 33 $lang[' click'] = "clic";34 $lang[' mouseover'] = "survol";33 $lang['Click'] = "clic"; 34 $lang['Mouseover'] = "survol"; 35 35 $lang['Event to show medium picture.'] = "Evénement déclenchant l'affichage de l'image."; 36 36 $lang['Event to show medium picture has been updated.'] = "Le mode d'affichage de l'image a été modifié."; -
extensions/akBookStyle/trunk/language/hu_HU/plugin.lang.php
r6852 r10975 3 3 // | akBookStyle - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2009-201 0Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2009-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // | Copyright(C) 2009 vdigital | 7 7 // +-----------------------------------------------------------------------+ … … 24 24 $lang['Main configuration'] = "Fő konfiguráció"; 25 25 $lang['Number of thumbnails per page'] = "Bélyegképek száma az oldalon"; 26 $lang['Thumbnails per page ha sbeen updated'] = "Bélyegképek száma az oldalon frissítve.";26 $lang['Thumbnails per page have been updated'] = "Bélyegképek száma az oldalon frissítve."; 27 27 $lang['Number of column'] = "Oszlopok száma"; 28 28 $lang['Thumbnail size has been updated'] = "Bélyegkép mérete frissítve."; 29 29 $lang['Thumbnail size'] = "Bélyegkép mérete"; 30 $lang[' click'] = "kattintásra";31 $lang[' mouseover'] = "kurzor a képen";30 $lang['Click'] = "kattintásra"; 31 $lang['Mouseover'] = "kurzor a képen"; 32 32 $lang['Event to show medium picture.'] = "Közepes kép mutatása."; 33 33 $lang['Event to show medium picture has been updated.'] = "Közepes kép megjelenítés módja frissítve."; -
extensions/akBookStyle/trunk/language/it_IT/plugin.lang.php
r6852 r10975 3 3 // | akBookStyle - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2009-201 0Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2009-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // | Copyright(C) 2009 vdigital | 7 7 // +-----------------------------------------------------------------------+ … … 24 24 $lang['Main configuration'] = "Configurazione generale"; 25 25 $lang['Number of thumbnails per page'] = "Numero di miniature per pagina"; 26 $lang['Thumbnails per page ha sbeen updated'] = "Il numero di miniature per pagina è stato aggiornato.";26 $lang['Thumbnails per page have been updated'] = "Il numero di miniature per pagina è stato aggiornato."; 27 27 $lang['Number of column'] = "Numero di colonne"; 28 28 $lang['Thumbnail size has been updated'] = "Le dimenzioni delle miniature sono state aggiornate"; 29 29 $lang['Thumbnail size'] = "Dimenzioni delle miniature"; 30 $lang[' click'] = "clic";31 $lang[' mouseover'] = "sorvolo";30 $lang['Click'] = "clic"; 31 $lang['Mouseover'] = "sorvolo"; 32 32 $lang['Event to show medium picture.'] = "Eventi che attivano la visualizzazione di un'immagine."; 33 33 $lang['Event to show medium picture has been updated.'] = "Il modo di visualizzazione dell'immagine è stata modificata."; -
extensions/akBookStyle/trunk/language/lv_LV/plugin.lang.php
r7970 r10975 3 3 // | akBookStyle - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2009-201 0Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2009-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // | Copyright(C) 2009 vdigital | 7 7 // +-----------------------------------------------------------------------+ … … 27 27 $lang['Applicable categories have been updated'] = "Pielietojamās kategorijas ir atjauninātas"; 28 28 $lang['Number of thumbnails per page'] = "Sīkbilžu skaits lapā"; 29 $lang['Thumbnails per page ha sbeen updated'] = "Sīkbilžu skaits lapā ir atjaunināts";29 $lang['Thumbnails per page have been updated'] = "Sīkbilžu skaits lapā ir atjaunināts"; 30 30 $lang['Number of column'] = "Kolonu skaits"; 31 31 $lang['Thumbnail size has been updated'] = "Sīkbildes izmēri ir atjaunināti"; 32 32 $lang['Thumbnail size'] = "Sīkbildes izmērs"; 33 $lang[' click'] = "klikšķināt";34 $lang[' mouseover'] = "pārvilkt ar peli";33 $lang['Click'] = "klikšķināt"; 34 $lang['Mouseover'] = "pārvilkt ar peli"; 35 35 $lang['Event to show medium picture.'] = "Pasākums, lai parādītu vidēja izmēra attēlu."; 36 36 $lang['Event to show medium picture has been updated.'] = " Pasākums, lai parādītu vidēja izmēra attēlu ir atjaunināts."; -
extensions/akBookStyle/trunk/language/no_NO/plugin.lang.php
r9271 r10975 3 3 // | akBookStyle - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2009-201 0Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2009-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // | Copyright(C) 2009 vdigital | 7 7 // +-----------------------------------------------------------------------+ … … 31 31 $lang['Thumbnail size has been updated'] = "Miniatyr bilde størrelse har blitt oppdatert"; 32 32 $lang['Thumbnail size'] = "Miniatyr størrelse"; 33 $lang[' click'] = "Klikk";34 $lang[' mouseover'] = "mus-over";33 $lang['Click'] = "Klikk"; 34 $lang['Mouseover'] = "mus-over"; 35 35 $lang['Event to show medium picture.'] = "Hendelse å vise medium bilde."; 36 36 $lang['Event to show medium picture has been updated.'] = "Hendelse å vise mediuum bilde er oppdatert."; -
extensions/akBookStyle/trunk/language/templates/plugin.lang.php
r5432 r10975 3 3 // | akBookStyle - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2009-201 0Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2009-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // | Copyright(C) 2009 vdigital | 7 7 // +-----------------------------------------------------------------------+ … … 21 21 // +-----------------------------------------------------------------------+ 22 22 23 $lang['ak_intro'] = "That plugin give an alternate presentation for galleries. It gives you in a whole page access to medium image and thumbnails."; 24 $lang['ak_general_config'] = "Main configuration"; 25 $lang['Applicable categorie(s)'] = "Applicable categorie(s)"; 26 $lang['Applicable category has been updated'] = "Applicable category has been updated"; 27 $lang['Applicable categories have been updated'] = "Applicable categories have been updated"; 28 $lang['ak_by_page'] = "Number of thumbnails per page"; 29 $lang['ak_by_page_changed'] = "Thumbnails per page has been updated"; 30 $lang['ak_by_line'] = "Number of column"; 31 $lang['ak_by_line_changed'] = "Number of column has been updated"; 32 $lang['ak_thumbnail_size'] = "Thumbnail size"; 33 $lang['ak_by_line_changed'] = "Thumbnail size has been updated"; 34 $lang['ak_event_click'] = "click"; 35 $lang['ak_event_mouseover'] = "mouseover"; 36 $lang['ak_mouse_event'] = "Event to show medium picture."; 37 $lang['ak_mouse_event_changed'] = "Event to show medium picture has been updated."; 38 $lang['ak_thumbnails_loc'] = "Thumbnails location"; 39 $lang['ak_thumbnails_loc_changed'] = "Thumbnails location has been changed"; 40 $lang['top'] = "Top"; 41 $lang['left'] = "Left"; 42 $lang['bottom'] = "Bottom"; 43 $lang['right'] = "Right"; 44 $lang['ak_by_column'] = 'or number of lines for Top/Bottom'; 23 // admin 24 $lang['ak Book Style'] = ''; 25 $lang['Applicable categorie(s)'] = ''; 26 $lang['Applicable categories have been updated'] = ''; 27 $lang['Applicable category has been updated'] = ''; 28 $lang['Bottom'] = ''; 29 $lang['Click'] = ''; 30 $lang['Event to show medium picture.'] = ''; 31 $lang['Event to show medium picture has been updated.'] = ''; 32 $lang['Left'] = ''; 33 $lang['Main configuration'] = ''; 34 $lang['Mouseover'] = ''; 35 $lang['Number of column'] = ''; 36 $lang['Number of column has been updated'] = ''; 37 $lang['Number of thumbnails per page'] = ''; 38 $lang['or number of lines for Top/Bottom'] = ''; 39 $lang['Right'] = ''; 40 $lang['Submit'] = ''; 41 $lang['Thumbnail size'] = ''; 42 $lang['Thumbnail size has been updated'] = ''; 43 $lang['Thumbnails location'] = ''; 44 $lang['Thumbnails location has been changed'] = ''; 45 $lang['Thumbnails per page has been updated'] = ''; 46 $lang['Top'] = ''; 45 47 46 $lang['Next image'] = 'Next image'; 47 $lang['Next page'] = 'Next page'; 48 $lang['Previous image'] = 'Previous image'; 49 $lang['Previous page'] = 'Previous page'; 48 // public 49 $lang['Home'] = ''; 50 $lang['Next image'] = ''; 51 $lang['Next page'] = ''; 52 $lang['Previous image'] = ''; 53 $lang['Previous page'] = ''; 54 $lang['Thumbnails'] = ''; 50 55 ?> -
extensions/akBookStyle/trunk/main.inc.php
r10863 r10975 23 23 /* 24 24 Plugin Name: akBookStyle 25 Version: 0. 3.125 Version: 0.4.0 26 26 Description: Book style for designers 27 27 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=307 -
extensions/akBookStyle/trunk/maintain.inc.php
r6852 r10975 3 3 // | akBookStyle - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2009-201 0Nicolas Roudaire http://www.nikrou.net |5 // | Copyright(C) 2009-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // | Copyright(C) 2009 vdigital | 7 7 // +-----------------------------------------------------------------------+ … … 37 37 $config_file = $GLOBALS['conf']['local_data_dir'].'/plugins/'; 38 38 $config_file .= basename(dirname(__FILE__)).'.dat'; 39 unlink($config_file); 39 if (file_exists($config_file)) { 40 unlink($config_file); 41 } 40 42 } 41 43 ?> -
extensions/akBookStyle/trunk/template/admin.tpl
r10863 r10975 4 4 5 5 <div class="titrePage"> 6 <h2>{'ak Book Style'| translate}</h2>6 <h2>{'ak Book Style'|@translate}</h2> 7 7 </div> 8 8 9 9 <form method="post" action="" class="general"> 10 10 <fieldset> 11 <legend>{'Main configuration'| translate}</legend>11 <legend>{'Main configuration'|@translate}</legend> 12 12 <p class="field"> 13 <label>{'Applicable categorie(s)'| translate}13 <label>{'Applicable categorie(s)'|@translate} 14 14 <select name="ak_categories[]" multiple="multiple" size="{$ak_categories|@count|@max:3}"> 15 15 <option value=""></option> … … 19 19 </p> 20 20 <p class="field"> 21 <label>{'Number of thumbnails per page'| translate}21 <label>{'Number of thumbnails per page'|@translate} 22 22 <input type="text" name="ak_by_page" value="{$AK_BY_PAGE}"> 23 23 </label> 24 24 </p> 25 25 <p class="field"> 26 <label>{'Number of column'| translate}26 <label>{'Number of column'|@translate} 27 27 <input type="text" name="ak_by_line" value="{$AK_BY_LINE}">({'or number of lines for Top/Bottom'|@translate}) 28 28 </label> 29 29 </p> 30 30 <p class="field"> 31 <label>{'Thumbnail size'| translate}31 <label>{'Thumbnail size'|@translate} 32 32 <input type="text" name="ak_thumbnail_size" value="{$AK_THUMBNAIL_SIZE}"> 33 33 </label> 34 34 </p> 35 35 <p class="field"> 36 <label>{'Event to show medium picture.'| translate}37 {html_radios name= 'ak_mouse_event' values=$AK_AVAILABLE_EVENTS output=$AK_EVENTS_LABELS|translate selected=$AK_MOUSE_EVENT}36 <label>{'Event to show medium picture.'|@translate} 37 {html_radios name="ak_mouse_event" options=$AK_EVENTS selected=$AK_EVENT} 38 38 </label> 39 39 </p> 40 40 <p class="field"> 41 <label>{'Thumbnails location'| translate}42 {html_radios name="ak_thumbnails_loc" values=$AK_THUMBNAILS_LOCATIONS_KEYS output=$AK_THUMBNAILS_LOCATIONS_VALUES|translateselected="$AK_THUMBNAILS_LOC"}41 <label>{'Thumbnails location'|@translate} 42 {html_radios name="ak_thumbnails_loc" options=$AK_THUMBNAILS_LOCATIONS selected="$AK_THUMBNAILS_LOC"} 43 43 </label> 44 44 </p> 45 45 </fieldset> 46 46 47 <p><input class="submit" type="submit" name="submit" value="{'Submit'| translate}"></p>47 <p><input class="submit" type="submit" name="submit" value="{'Submit'|@translate}"></p> 48 48 </form> -
extensions/akBookStyle/trunk/template/ak_thumbnails.tpl
r10863 r10975 1 { known_script id="jquery" src=$ROOT_URL|cat:"themes/default/js/jquery.packed.js"}2 { html_head}3 <link rel="stylesheet" type="text/css" href="{$AK_PLUGIN_CSS}/style.css"> 4 <script type="text/javascript"> 1 {combine_css path="$AK_PLUGIN_CSS/style.css"} 2 {combine_script id="ak_jquery_load" require="jquery" path="$AK_PLUGIN_JS/ak_jquery-load.js"} 3 4 {footer_script require="ak_jquery_load"} 5 5 var dir_thumbnail = '{$AK_DIR_THUMBNAIL}'; 6 6 var prefix_thumbnail = '{$AK_PREFIX_THUMBNAIL}'; 7 7 var ak_mouse_event = '{$AK_MOUSE_EVENT}'; 8 </script> 9 <script type="text/javascript" src="{$AK_PLUGIN_JS}/ak_jquery-load.js"></script> 10 {/html_head} 8 {/footer_script} 11 9 12 10 {assign var=temp value=$TITLE|@strripos:'<a href='}
Note: See TracChangeset
for help on using the changeset viewer.