Commit 39297292 authored by gillesm's avatar gillesm

user_information image bug corrected

parent 9bf065a8
<?php
// $Header: /cvsroot/tikiwiki/tiki/lib/trackers/trackerlib.php,v 1.185 2007-03-21 18:10:00 gillesm Exp $
// $Header: /cvsroot/tikiwiki/tiki/lib/trackers/trackerlib.php,v 1.186 2007-03-21 18:24:36 gillesm Exp $
//this script may only be included - so its better to die if called directly.
if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) {
header("location: index.php");
......
......@@ -55,9 +55,9 @@
{if $user_tracker_infos}
{foreach item=value key=fieldId from=$ValueTrk }
{if $FieldTrk[$fieldId].type == 'i' }
<tr><td class="form">{tr}{$FieldTrk[$fieldId].name}{/tr}:</td><td>
<img src="{$value}" alt="" {if $FieldTrk[$fieldId].option[2]} width="{$FieldTrk[$fieldId].option[2]}"{/if}{if $FieldTrk[$fieldId].option[3]} height="{$FieldTrk[$fieldId].option[3]}"{/if}>
{if $FieldTrk[$fieldId].type == 'i' and $value ne "" }
<tr><td class="form">{tr}{$FieldTrk[$fieldId].name}{/tr}:</td><td>
<img src="{$value}" alt="" {if $FieldTrk[$fieldId].options[2]} width="{$FieldTrk[$fieldId].options[2]}"{/if}>
{elseif $value}
<tr><td class="form">{tr}{$FieldTrk[$fieldId].name}{/tr}:</td><td>
{$value}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment