Changeset 1097

Show
Ignore:
Timestamp:
10/04/2006 03:39:17 PM (2 years ago)
Author:
dmorton
svk:copy_cache_prev:
1095
Message:

Trunk: same patch for ocean_surf as for desert_sand in [1096], ref #331

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/php/themes/ocean_surf/templates/viewmail_menu.tpl

    r421 r1097  
    3232</td>        
    3333 <td align="center"> 
     34{* the following is a bit of a hack to try to maintain backwards compatibility with the old style viewmail system *} 
     35 {if $type} 
     36 {capture name="raw_link" assign="raw_link"}{$return_route}{$msid}id={$id}&type={$type}&raw={/capture} 
     37 {else} 
     38 {capture name="raw_link" assign="raw_link"}{$return_route}{$msid}id={$id}&cache_type={$cache_type}&raw={/capture}  
     39 {/if} 
    3440{if ! $raw} 
    35 <a href="viewmail.php{$msid}id={$id}&type={$type}&raw=y" 
     41<a href="{$raw_link}y" 
    3642              onmouseover="show_tooltip(this, event, '{$lang.link_view_raw}')" 
    3743              onmouseout="hide_tooltip()"> 
     
    4349</a> 
    4450{else} 
    45 <a href="viewmail.php{$msid}id={$id}&type={$type}" 
     51<a href="{$raw_link}n" 
    4652   onmouseover="show_tooltip(this, event, '{$lang.link_view_decoded}')" 
    4753   onmouseout="hide_tooltip()">