From 577eb6f725449fea5738ca122eedb5e4b2c8ff56 Mon Sep 17 00:00:00 2001 From: brettp Date: Sat, 5 Feb 2011 21:10:35 +0000 Subject: The screenshot desc is now used. Small css changes. git-svn-id: http://code.elgg.org/elgg/trunk@8037 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/components/plugin.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'views/default/admin/components/plugin.php') diff --git a/views/default/admin/components/plugin.php b/views/default/admin/components/plugin.php index 5a3bdad8a..acbe42e84 100644 --- a/views/default/admin/components/plugin.php +++ b/views/default/admin/components/plugin.php @@ -127,10 +127,13 @@ $screenshots = $plugin->manifest->getScreenshots(); if ($screenshots) { $base_url = elgg_get_plugins_path() . $plugin->getID() . '/'; foreach ($screenshots as $screenshot) { + $desc = elgg_echo($screenshot['description']); + $alt = htmlentities($desc, ENT_QUOTES, 'UTF-8'); $screenshot_full = "{$vars['url']}pg/admin_plugin_screenshot/{$plugin->getID()}/full/{$screenshot['path']}"; $screenshot_src = "{$vars['url']}pg/admin_plugin_screenshot/{$plugin->getID()}/thumbnail/{$screenshot['path']}"; - $screenshots_html .= "
  • "; + $screenshots_html .= "
  • " + . "\"$alt\"
  • "; } } -- cgit v1.2.3