Index: trunk/www/sites/www/applications/applicationpage.php =================================================================== --- trunk/www/sites/www/applications/applicationpage.php (revision 1512206) +++ trunk/www/sites/www/applications/applicationpage.php (revision 1512207) @@ -1,241 +1,241 @@ name(); if (!empty($app->genericName())) { $page_title = $page_title." - ".$app->genericName(); } if ($development) { $page_title=$app->name()." - Development Information"; } $page_title_extra_html = '
'; function printSidebar($app, $category, $backToOverview=false) { $content = ''; $content .= 'Show results of automated code checking on the English Breakfast Network (EBN).
'; print '') { $description = '
'.$description.'
'; } return $description; } function hasVersions() { return false; ///TODO: version information is not yet implemented } function hasAuthors() { return isset($this->data['authors']) && ($this->data['authors'] != false); } function authorHtml() { $html = ''.i18n_var( "Authors:" ).'
'; $html .= ''.i18n_var( "Thanks To:" ).'
'; $html .= ''; // $stripped_license = str_replace("+", "", $license); // $text = i18n_var('%1 is distributed under the terms of the .', // $this->name(), $stripped_license, $license); switch($license) { case 'GPL-2.0+': case 'GPL-2.0': $text .= i18n_var('%1 is distributed under the terms of the GNU General Public License (GPL), Version 2.', $this->name()); break; case 'GPL-3.0+': case 'GPL-3.0': $text .= i18n_var('%1 is distributed under the terms of the GNU General Public License (GPL), Version 3.', $this->name()); break; case 'LGPL': $text .= i18n_var('%1 is distributed under the terms of the GNU Library General Public License, version 2.', $this->name()); break; default: $text .= $license.'.'; } $text .= '
'; return $text; } function hasHomepage() { return isset($this->data['Url']['homepage']) && ($this->data['Url']['homepage'] != false); } function homepage() { return $this->data['Url']['homepage']; } function hasAppStream() { return true; } function AppStreamId() { return $this->data['ID']; } - function id() { - return $this->AppStreamId(); - } - function icon() { return $this->data['Icon']['local'][0]['name']; } // TODO: not in appdata function hasKDEApps() { return $this->data['kde-apps.org'] != false; } // FIXME: not in appdata function KDEAppsId() { return $this->data['kde-apps.org']; } // FIXME: not in appdata function hasUserbase() { return $this->data['userbase'] != false; } // FIXME: not in appdata function userbase() { return "http://userbase.kde.org/".$this->data['userbase']; } function hasHandbook() { return isset($this->data['Url']['help']) && ($this->data['Url']['help'] != false); } function handbook() { return $this->data['Url']['help']; } // AppData extension X-KDE-Forum:'.i18n_var("Browse %1 source code online", $this->name()).'
'; return $path; } function checkoutSourcesHtml() { return ''.i18n_var("Clone %1 source code:", $this->name()).'
git clone https://anongit.kde.org/'.$this->repository().'