Indefero

Indefero Commit Details


Date:2008-11-17 07:09:00 (16 years 1 month ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:8e093bc7eeda1223edeffc8cfd9207201ec96867
Parents: 809967f5d7b3f4df2bc75eeda9bf28333d09bd80
Message:Added link to issues and commit in the source tree.

Changes:

File differences

src/IDF/Template/IssueComment.php
3232
3333
3434
35
35
3636
3737
3838
3939
40
40
4141
4242
4343
private $request = null;
private $scm = null;
function start($text, $request, $echo=true)
function start($text, $request, $echo=true, $wordwrap=true)
{
$this->project = $request->project;
$this->request = $request;
$this->scm = IDF_Scm::get($request);
$text = wordwrap($text, 69, "\n", true);
if ($wordwrap) $text = wordwrap($text, 69, "\n", true);
$text = Pluf_esc($text);
$text = ereg_replace('[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]',
'<a href="\\0" rel="nofollow">\\0</a>',
src/IDF/templates/source/git/tree.html
3535
3636
3737
38
38
3939
4040
4141
{if $file.type == 'blob'}
{if isset($file.date)}
<td><span class="smaller">{$file.date|dateago:"wihtout"}</span></td>
<td><span class="smaller">{$file.author|strip_tags|trim}{trans ':'} {$file.log}</span></td>
<td><span class="smaller">{$file.author|strip_tags|trim}{trans ':'} {issuetext $file.log, $request, true, false}</span></td>
{else}<td colspan="2"></td>{/if}
<td>{$file.size|size}</td>{/if}
</tr>
src/IDF/templates/source/svn/tree.html
4747
4848
4949
50
50
5151
5252
5353
<td><a href="{$url}">{$file.file}</a></td>
<td><span class="smaller">{$file.date|dateago:"wihtout"}</span></td>
<td>{$file.rev}</td>
<td{if $file.type != 'blob'} colspan="2"{/if}><span class="smaller">{$file.author|strip_tags|trim}{trans ':'} {$file.log|nl2br}</span></td>
<td{if $file.type != 'blob'} colspan="2"{/if}><span class="smaller">{$file.author|strip_tags|trim}{trans ':'} {issuetext $file.log, $request, true, false}</span></td>
{if $file.type == 'blob'}
<td>{$file.size|size}</td>
{/if}

Archive Download the corresponding diff file

Page rendered in 0.09784s using 13 queries.