Changeset 6649 for extensions/LLGBO2


Ignore:
Timestamp:
Jul 1, 2010, 8:27:57 PM (14 years ago)
Author:
EXFTB
Message:

2.1.f fix bug checking metadata and video

Location:
extensions/LLGBO2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/main.inc.php

    r6549 r6649  
    22/*
    33Plugin Name: Look_like_gbo2
    4 Version:  2.1.e
     4Version:  2.1.f
    55Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=251
    66Author: Ex-Ftb 
     
    1212  2.1.c compatibility with simple
    1313  2.1.d bug Css with IE6 & IE8
    14   2.1.e fix bug   $conf['question_mark_in_urls']  */
     14  2.1.e fix bug   $conf['question_mark_in_urls']
     15  2.1.f fix bug   with metatda and video */
    1516
    1617if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
     
    1920global $conf;
    2021
    21 define ('LLGBO_INFO_VERSION','2.1.e');
     22define ('LLGBO_INFO_VERSION','2.1.f');
    2223if (!defined('LLGBO_PATH'))
    2324{define('LLGBO_PATH' ,get_root_url().'plugins/'.basename(dirname(__FILE__)) . '/');}
     
    121122function  DisplayGboLook()
    122123{ global $template,$conf,$lang;
     124$ThePicture = $template->get_template_vars('current');
     125// 2.1.f fix notice with video
     126if ($ThePicture['is_picture'] <> 1 ) 
     127        {  $lang['Show file metadata'] =  'No Metadata';
     128                return;}
     129// ---------------------------         
    123130    $meta = "";
    124131        $u_metadata = $template->get_template_vars('U_METADATA');
  • extensions/LLGBO2/template/picture_content.tpl

    r6450 r6649  
    5050</div> <!-- end GBO -->
    5151{/if}
    52         {if isset($high) }
     52        {if isset($high) and !isset($USEMAP) }
    5353                <!-- HihgDef and navigation on picture off   -->
    5454                        <a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
Note: See TracChangeset for help on using the changeset viewer.