Changeset 6167

Show
Ignore:
Timestamp:
06/03/07 15:34:22 (1 year ago)
Author:
w_i
Message:

Fixed hardcoded links

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.helper.imagepopup/style/midcom_helper_imagepopup_search_result_item.php

    r6166 r6167  
    11<?php 
     2$prefix = $_MIDCOM->get_context_data(MIDCOM_CONTEXT_ANCHORPREFIX); 
    23$item =& $data['result']; 
    34$mime_icon = null; 
     
    2930{ 
    3031?> 
    31         <a href='http://mfadev/midcom-serveattachmentguid-&(item.guid);/&(item.name);'> 
    32                 <img src='http://mfadev/midcom-serveattachmentguid-&(item.guid);/&(item.name);' width='75' height='54' align='texttop' /> 
     32        <a href='&(prefix);midcom-serveattachmentguid-&(item.guid);/&(item.name);'> 
     33                <img src='&(prefix);midcom-serveattachmentguid-&(item.guid);/&(item.name);' width='75' height='54' align='texttop' /> 
    3334        </a> 
    34         <a href='http://mfadev/midcom-serveattachmentguid-&(item.guid);/&(item.name);'> 
     35        <a href='&(prefix);midcom-serveattachmentguid-&(item.guid);/&(item.name);'> 
    3536                <span title="filename">&(item.name);</span> 
    3637        </a> 
     
    4142?> 
    4243        <img src="&(mime_icon);" alt="&(item.mimetype);" align='texttop'/> 
    43         <a href='http://mfadev/midcom-serveattachmentguid-&(item.guid);/&(item.name);'> 
     44        <a href='&(prefix);midcom-serveattachmentguid-&(item.guid);/&(item.name);'> 
    4445                &(item.name); 
    4546        </a>