]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added anchors to application source and homepage
authorSarven Capadisli <csarven@status.net>
Tue, 12 Jan 2010 01:13:36 +0000 (01:13 +0000)
committerZach Copley <zach@status.net>
Mon, 25 Jan 2010 00:36:03 +0000 (16:36 -0800)
actions/showapplication.php

index db28395c2957fee413baed9c484bef614cdf33c6..f2ff8b90029b5f108171566451cb9b7dff770994 100644 (file)
@@ -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');