summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-12 01:13:36 +0000
committerZach Copley <zach@status.net>2010-01-24 16:36:03 -0800
commitba0c82b391ad3ec71bb7efe60b03f4f95f9ecaf5 (patch)
tree59588be71d9d88f05556d182ffa538c9057aee17
parentc2ffd6612887675e55a9d9398517e23ee95c9117 (diff)
Added anchors to application source and homepage
-rw-r--r--actions/showapplication.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/actions/showapplication.php b/actions/showapplication.php
index db28395c2..f2ff8b900 100644
--- a/actions/showapplication.php
+++ b/actions/showapplication.php
@@ -167,12 +167,20 @@ class ShowApplicationAction extends OwnerDesignAction
$this->elementStart('dl', 'entity_fn');
$this->element('dt', null, _('Name'));
- $this->element('dd', 'fn', $this->application->name);
+ $this->elementStart('dd');
+ $this->element('a', array('href' => $this->application->source_url,
+ 'class' => 'url fn'),
+ $this->application->name);
+ $this->elementEnd('dd');
$this->elementEnd('dl');
$this->elementStart('dl', 'entity_org');
$this->element('dt', null, _('Organization'));
- $this->element('dd', 'org', $this->application->organization);
+ $this->elementStart('dd');
+ $this->element('a', array('href' => $this->application->homepage,
+ 'class' => 'url'),
+ $this->application->organization);
+ $this->elementEnd('dd');
$this->elementEnd('dl');
$this->elementStart('dl', 'entity_note');