From cb14973beafa9866f6cbe699950f8894f387ce42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=B3na=20Lore?= Date: Thu, 31 Mar 2016 09:22:28 +0200 Subject: [PATCH] Replace "markup" keys with "item". --- e107_plugins/gallery/includes/gallery_load.php | 18 +++++++++--------- .../gallery/templates/gallery_template.php | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/e107_plugins/gallery/includes/gallery_load.php b/e107_plugins/gallery/includes/gallery_load.php index d617db27b..615c1d388 100644 --- a/e107_plugins/gallery/includes/gallery_load.php +++ b/e107_plugins/gallery/includes/gallery_load.php @@ -50,15 +50,15 @@ function gallery_load_prettyphoto() 'overlay_gallery' => (bool) varset($plugPref['pp_overlay_gallery'], true), 'keyboard_shortcuts' => (bool) varset($plugPref['pp_keyboard_shortcuts'], true), 'ie6_fallback' => (bool) varset($plugPref['pp_ie6_fallback'], true), - 'markup' => $template['prettyphoto']['markup'], - 'gallery_markup' => $template['prettyphoto']['gallery_markup'], - 'image_markup' => $template['prettyphoto']['image_markup'], - 'flash_markup' => $template['prettyphoto']['flash_markup'], - 'quicktime_markup' => $template['prettyphoto']['quicktime_markup'], - 'iframe_markup' => $template['prettyphoto']['iframe_markup'], - 'inline_markup' => $template['prettyphoto']['inline_markup'], - 'custom_markup' => $template['prettyphoto']['custom_markup'], - 'social_tools' => $template['prettyphoto']['social_tools'], + 'markup' => $template['prettyphoto']['content'], + 'gallery_markup' => $template['prettyphoto']['gallery_item'], + 'image_markup' => $template['prettyphoto']['image_item'], + 'flash_markup' => $template['prettyphoto']['flash_item'], + 'quicktime_markup' => $template['prettyphoto']['quicktime_item'], + 'iframe_markup' => $template['prettyphoto']['iframe_item'], + 'inline_markup' => $template['prettyphoto']['inline_item'], + 'custom_markup' => $template['prettyphoto']['custom_item'], + 'social_tools' => $template['prettyphoto']['social_item'], ), ); diff --git a/e107_plugins/gallery/templates/gallery_template.php b/e107_plugins/gallery/templates/gallery_template.php index 12c758969..6f4c988a3 100644 --- a/e107_plugins/gallery/templates/gallery_template.php +++ b/e107_plugins/gallery/templates/gallery_template.php @@ -79,7 +79,7 @@ $GALLERY_TEMPLATE['slideshow_wrapper'] = ' $GALLERY_TEMPLATE['slideshow_slide_item'] = '{GALLERY_THUMB: w=150&h=120}'; -$GALLERY_TEMPLATE['prettyphoto']['markup'] = ' +$GALLERY_TEMPLATE['prettyphoto']['content'] = '
 
@@ -123,7 +123,7 @@ $GALLERY_TEMPLATE['prettyphoto']['markup'] = '
'; -$GALLERY_TEMPLATE['prettyphoto']['gallery_markup'] = ' +$GALLERY_TEMPLATE['prettyphoto']['gallery_item'] = '