git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4670 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2008-10-22 02:08:52 +00:00
parent 2e54a9f711
commit 26a37732de
2 changed files with 3 additions and 3 deletions

View file

@ -132,8 +132,8 @@
if($this->package) return $this->package->title;
}
function getContent() {
$content = parent::getContent();
function getContent($add_popup_menu = true, $add_content_info = true, $resource_realpath = false) {
$content = parent::getContent($add_content_info, $add_content_info, $resource_realpath);
preg_match_all('/r([0-9]+)/',$content, $mat);
for($k=0;$k<count($mat[1]);$k++) {
$content = str_replace('r'.$mat[1][$k], sprintf('<a href="%s" onclick="window.open(this.href); return false;">%s</a>',getUrl('','mid',Context::get('mid'),'act','dispIssuetrackerViewSource','type','compare','erev',$mat[1][$k],'brev',''), 'r'.$mat[1][$k]), $content);

View file

@ -65,7 +65,7 @@
</tr>
<!--@end-->
<tr>
<td colspan="4" class="description">{$oIssue->getContent()}</td>
<td colspan="4" class="description">{$oIssue->getContent(false, true)}</td>
</tr>
<!--@else-->
<tr>