Browse the code
| Revision log Information on the revision | |
|---|---|
| Revision: | 237 (differences) |
| Author: | xbright |
| Log message: |
* Updated project's timeline: it's now higly configurable! * Extended abilities of Database::select() |
| Change revision: | |
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<h1><?=i18n('Timeline');?></h1> <div class="feed" style="background-image: url('public/images/feed.png');"> <?=$feed;?></div> <form action="<?=getURLbyTags($this->page);?>/" method="get"> <div class="timelineconf"> <h4 onclick="javascript:hideorshow();"><?=i18n('Configure this timeline');?></h4> <div id="formconf"> <p> <?=i18n('View activity from:');?> <input type="text" name="date" value="<?=$tdate;?>" size="8" /><br /> <?=i18n('Days back:');?> <input type="text" name="days" value="<?=$tdays;?>" size="2" /><br /> </p> <p> <label><input type="checkbox" name="download" value="1" <?=(($tfeeds['download']) ? 'checked="checked"' : '');?> /> <?=i18n('Download');?></label> <label><input type="checkbox" name="news" value="1" <?=(($tfeeds['news']) ? 'checked="checked"' : '');?> /> <?=i18n('News');?></label> <label><input type="checkbox" name="bugs" value="1" <?=(($tfeeds['bugs']) ? 'checked="checked"' : '');?> /> <?=i18n('Bugs');?></label> <label><input type="checkbox" name="bugs-updates" value="1" <?=(($tfeeds['bugs-updates']) ? 'checked="checked"' : '');?> /> <?=i18n('Bugs updates');?></label> <label><input type="checkbox" name="doc" value="1" <?=(($tfeeds['doc']) ? 'checked="checked"' : '');?> /> <?=i18n('Documentation');?></label> <label><input type="checkbox" name="code" value="1" <?=(($tfeeds['code']) ? 'checked="checked"' : '');?> /> <?=i18n('Code');?></label> <label><input type="checkbox" name="forum" value="1" <?=(($tfeeds['forum']) ? 'checked="checked"' : '');?> /> <?=i18n('Forum');?></label> <label><input type="checkbox" name="forum-answers" value="1" <?=(($tfeeds['forum-answers']) ? 'checked="checked"' : '');?> /> <?=i18n('Forum answers');?></label> </p> <p> <input type="submit" value="<?=i18n('Update');?>" class="submit" /> </p> <span style="clear: both;display: block;"></span> </div> </div> </form> <? foreach ($timeline as $output): ?> <h2><?=$output[0];?></h2> <ul class="timeline"> <? foreach ($output[1] as $item): ?> <li> <em><?=$item['time'];?></em> <?=i18n('%(title)s by %(nick)s in %(type)s', array('title' => $item['title'], 'nick' => $item['nick'], 'type' => $item['type']));?> <br /><span style="font-style: italic;" class="text_normal"><?=$item['text'];?></span> </li> <? endforeach; ?> </ul> <? endforeach; ?>

CodingTeam