Ignore:
Timestamp:
02/28/08 15:19:38 (4 years ago)
Author:
hverton
Message:

Added security to the SVN module\ncompleted the Trac-to-CMS user mapping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/ExiteCMS/tracsvn/php-files/modules/tracsvn/templates/modules.tracsvn.trac.tpl

    r1320 r1324  
    169169            </td> 
    170170            <td class='tbl1' align='left'> 
    171                 {$ticket.reporter} 
     171                {if $ticket.reporter.user_id} 
     172                    <a href='{$smarty.const.BASEDIR}profile.php?lookup={$ticket.reporter.user_id}' title=''>{$ticket.reporter.user_name}</a> 
     173                {else} 
     174                    {$ticket.reporter.user_name} 
     175                {/if} 
    172176            </td> 
    173177            <td class='tbl2' align='left'> 
     
    175179            </td> 
    176180            <td class='tbl1' align='left'> 
    177                 {$ticket.owner} 
     181                {if $ticket.owner.user_id} 
     182                    <a href='{$smarty.const.BASEDIR}profile.php?lookup={$ticket.owner.user_id}' title=''>{$ticket.owner.user_name}</a> 
     183                {else} 
     184                    {$ticket.owner.user_name} 
     185                {/if} 
    178186            </td> 
    179187        </tr> 
     
    240248            <tr> 
    241249                <td class='tbl2'> 
    242                     <span style='small'>{$changes[id].time|date_format:"forumdate"}  - {$locale.441} {$locale.404} {$changes[id].author}</span> 
     250                    <span style='small'> 
     251                        {$changes[id].time|date_format:"forumdate"}  - {$locale.441} {$locale.404} 
     252                        {if $changes[id].author.user_id} 
     253                            <a href='{$smarty.const.BASEDIR}profile.php?lookup={$changes[id].author.user_id}' title=''>{$changes[id].author.user_name}</a> 
     254                        {else} 
     255                            {$changes[id].author.user_name} 
     256                        {/if} 
     257                    </span> 
    243258                </td> 
    244259            </tr> 
     
    248263                        {$changes[id].newvalue} 
    249264                    {elseif $changes[id].oldvalue == ""} 
    250                         <img src='{$smart.const.THEME}/images/bullet.gif' alt='' /> <b>{$changes[id].field}</b> {$locale.441} {$locale.443} </span class='small2'>{$changes[id].newvalue}</span> 
     265                        <img src='{$smart.const.THEME}/images/bullet.gif' alt='' /> <b>{$changes[id].field}</b> {$locale.441} {$locale.443} <span class='small2'>{$changes[id].newvalue}</span> 
    251266                    {else} 
    252                         <img src='{$smart.const.THEME}/images/bullet.gif' alt='' />  <b>{$changes[id].field}</b> {$locale.441} {$locale.442} <span class='small2'>{$changes[id].oldvalue}</span> {$locale.443} </span class='small2'>{$changes[id].newvalue}</span> 
     267                        <img src='{$smart.const.THEME}/images/bullet.gif' alt='' />  <b>{$changes[id].field}</b> {$locale.441} {$locale.442} <span class='small2'>{$changes[id].oldvalue}</span> {$locale.443} <span class='small2'>{$changes[id].newvalue}</span> 
    253268                    {/if} 
    254269                </td> 
Note: See TracChangeset for help on using the changeset viewer.