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.svn.tpl

    r1320 r1324  
    105105            </td> 
    106106            <td class='tbl' align='left'> 
    107                 {$revs.author} 
     107                {if $revs.author.user_id} 
     108                    <a href='{$smarty.const.BASEDIR}profile.php?lookup={$revs.author.user_id}' title=''>{$revs.author.user_name}</a> 
     109                {else} 
     110                    {$revs.author.user_name} 
     111                {/if} 
    108112            </td> 
    109113        </tr> 
     
    135139                        <div style='float:left;background-color:#ffffff;height:7px;width:7px;margin-top:3px;margin-right:4px;border:1px solid #000;'></div> 
    136140                    {/if} 
    137                     {if $nodes[id].change_type != "D"}          {* No links to deleted files *} 
     141                    {if $nodes[id].change_type != "D" && $view_file} 
    138142                        <a href='{$smarty.const.FUSION_SELF}?rev={$rev}&amp;file={$nodes[id].path}' title='{$locale.517}'>{$nodes[id].s_path}</a> 
    139143                    {else} 
     
    259263                <span class='small'>{$revs[id].time|date_format:"%H:%M"}</span> 
    260264            </td> 
    261             <td class='tbl'> 
     265            <td class='tbl2'> 
    262266                {$locale.500} 
    263                 <a href='{$smarty.const.FUSION_SELF}?rev={$revs[id].rev}' title='{$locale.516}'>[{$revs[id].rev}]</a> 
    264                 {$locale.404} {$revs[id].author} 
    265                 <br /> 
    266                 {$revs[id].message} 
    267             </td> 
    268         </tr> 
    269  
     267                [<a href='{$smarty.const.FUSION_SELF}?rev={$revs[id].rev}' title='{$locale.516}'>{$revs[id].rev}</a>] 
     268                {$locale.404} 
     269                {if $revs[id].author.user_id} 
     270                    <a href='{$smarty.const.BASEDIR}profile.php?lookup={$revs[id].author.user_id}' title=''>{$revs[id].author.user_name}</a> 
     271                {else} 
     272                    {$revs[id].author.user_name} 
     273                {/if} 
     274            </td> 
     275        </tr> 
     276        <tr> 
     277            <td class='tbl2' align='right' valign='top' width='1%' style='white-space:nowrap;'> 
     278            </td> 
     279            <td class='tbl' > 
     280                <div style='float;white-space:nowrap;overflow:auto'><img src='{$smarty.const.THEME}images/bullet.gif' alt='' /> {$revs[id].message}</div> 
     281            </td> 
     282        </tr> 
    270283    {sectionelse} 
    271284    {/section} 
Note: See TracChangeset for help on using the changeset viewer.