Changeset 985


Ignore:
Timestamp:
12/19/05 19:58:38 (14 years ago)
Author:
chrisaga
Message:
  • feature 232 : icon tool to download big image in pwg_high if exists
  • cosmetic : adjust big image popup to avoid unwanted scrolbars

no toolbar or status-bar in this popup

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r960 r985  
    561561    'U_HIGH' => $picture['current']['high'], 
    562562        'UUID'=>$uuid, 
    563         'WIDTH_IMG'=>($full_width + 16), 
    564         'HEIGHT_IMG'=>($full_height + 16) 
     563        'WIDTH_IMG'=>($full_width + 40), 
     564        'HEIGHT_IMG'=>($full_height + 40) 
    565565        )); 
     566  $template->assign_block_vars( 
     567    'download', 
     568    array('U_DOWNLOAD' => PHPWG_ROOT_PATH.'action.php?dwn=' 
     569          .$picture['current']['high'] 
     570    ) 
     571  ); 
    566572} 
    567573// button to set the current picture as representative 
  • trunk/template/yoga/picture.tpl

    r960 r985  
    2121<!-- END representative --> 
    2222<!-- BEGIN favorite --> 
    23   <a href="{favorite.U_FAVORITE}" title="{favorite.FAVORITE_HINT}"><img src="{favorite.FAVORITE_IMG}" alt="{favorite.FAVORITE_ALT}"></a> 
     23  <a href="{favorite.U_FAVORITE}" title="{favorite.FAVORITE_HINT}"><img src="{favorite.FAVORITE_IMG}" class="button" alt="{favorite.FAVORITE_ALT}"></a> 
    2424<!-- END favorite --> 
    2525<!-- BEGIN download --> 
     
    4848<div id="theImage"> 
    4949<!-- BEGIN high --> 
    50 <a href="javascript:phpWGOpenWindow('{high.U_HIGH}','{high.UUID}','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width={high.WIDTH_IMG},height={high.HEIGHT_IMG}')"> 
     50<a href="javascript:phpWGOpenWindow('{high.U_HIGH}','{high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes,width={high.WIDTH_IMG},height={high.HEIGHT_IMG}')"> 
    5151<!-- END high --> 
    5252  <img src="{SRC_IMG}" style="width:{WIDTH_IMG}px;height:{HEIGHT_IMG}px;" alt="{ALT_IMG}"> 
Note: See TracChangeset for help on using the changeset viewer.