Indefero

Indefero Commit Details


Date:2011-10-03 03:17:10 (13 years 2 months ago)
Author:William MARTIN
Branch:develop, feature.diff-whitespace, feature.issue-of-others, feature.wiki-default-page, release-1.2, release-1.3
Commit:d860f299fdec7dfbcf7c602f8d7841c944ecb097
Parents: 33882d4fa788e44462709718050238202a89a6ea
Message:The last part of the previous patch.

Changes:

File differences

src/IDF/Views/Issue.php
332332
333333
334334
335
335
336336
337337
338338
339
339
340340
341341
342342
343
343
344344
345345
346346
347
347
348348
349349
350350
351
351
352352
353353
354354
if (count($ctags) == 0) $ctags[] = 0;
switch ($match[3]) {
case 'submit':
$titleFormat =
$titleFormat = __('%s %s Submitted %s Issues');
$f_sql = new Pluf_SQL('project=%s AND submitter=%s AND status IN ('.implode(', ', $otags).')', array($prj->id, $user->id));
break;
case 'submitclosed':
$title = __('%s %s Closed Submitted %s Issues');
$titleFormat = __('%s %s Closed Submitted %s Issues');
$f_sql = new Pluf_SQL('project=%s AND submitter=%s AND status IN ('.implode(', ', $ctags).')', array($prj->id, $user->id));
break;
case 'ownerclosed':
$title = __('%s %s Closed Working %s Issues');
$titleFormat = __('%s %s Closed Working %s Issues');
$f_sql = new Pluf_SQL('project=%s AND owner=%s AND status IN ('.implode(', ', $ctags).')', array($prj->id, $user->id));
break;
default:
$title = __('%s %s Working %s Issues');
$titleFormat = __('%s %s Working %s Issues');
$f_sql = new Pluf_SQL('project=%s AND owner=%s AND status IN ('.implode(', ', $otags).')', array($prj->id, $user->id));
break;
}
$title = sprintf(__('%s %s Submitted %s Issues'),
$title = sprintf($titleFormat,
$user->first_name,
$user->last_name,
(string) $prj);

Archive Download the corresponding diff file

Page rendered in 0.07498s using 13 queries.