Browse the code
| Revision log Information on the revision | |
|---|---|
| Revision: | 224 (differences) |
| Author: | xbright |
| Log message: |
* Updated SVN browser for projects (svn is now working through file://) * Added the ability to show an image inside the SVN repository * A few improvements related to diff * Added templates for SVN browsing * Updated GeSHi usage * Fixed a little bug in index/default template |
| 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<h1><?=i18n('Browse the code');?></h1> <div class="fstree"> <ul> <li class="dir"> <a href="project/<?=$dbname;?>/browse<?=$linkr;?>">/</a> </li> <? foreach ($tags as $key => $value): ?> <? ((end($tags) == $value) ? $cl = 'file current' : $cl = 'dir'); ?> <li class="<?=$cl;?>"> <a href="project/<?=$dbname;?>/browse<?=$value;?><?=$linkr;?>"><?=$key;?></a> </li> <? endforeach; ?> </ul> </div> <table style="width: 60%;margin-left: 20px;margin-bottom: 15px;" class="border_left border_right border_top border_bottom"> <thead> <tr> <th colspan="2"> <span style="float: right;"><a href="project/<?=$dbname;?>/browse/log<?=$value;?>"><?=i18n('Revision log');?></a></span> <?=i18n('Information on the revision');?></th> </tr> </thead> <tbody> <tr class="background_table_first"> <td style="width: 23%;"><?=i18n('Revision:');?></td> <td> <?=$rev;?> <? if ($rev > 0): ?> <a href="project/<?=$dbname;?>/browse/diff/<?=($rev - 1);?>/<?=$rev;?><?=$value;?>"><?=i18n('(differences)');?></a></td> <? endif; ?> </tr> <tr class="background_table_second"> <td style="width: 23%;"><?=i18n('Author:');?></td> <td> <? if ($rev > 0): ?> <a href="users/show/<?=$l_author;?>"><?=$l_author;?></a> <? else: ?> - <? endif; ?> </td> </tr> <tr class="background_table_first"> <td style="width: 23%;"><?=i18n('Log message:');?></td> <td> <? if ($rev > 0): ?> <?=$l_msg;?> <? else: ?> - <? endif; ?> </td> </tr> <tr class="background_table_second"> <td style="width: 23%;"><?=i18n('Change revision:');?></td> <td> <form action="<?=getURLByTags($this->page);?>/" method="get"> <div> <input type="text" style="width: 5.0em;" name="rev" value="<?=$rev;?>" /> <input type="submit" class="submit" value="<?=i18n('Submit');?>" /> </div> </form> </td> </tr> </tbody> </table> <? if (!$is_binary): ?> <?=$code;?> <? elseif ($is_binary && !isset($message)): ?> <img src="<?=$img;?>" alt="<?=$value;?>" /> <? else: ?> <?=$message;?> <? endif; ?>

CodingTeam