Branch: refs/heads/master Author: Dominic Hopf dmaphy@googlemail.com Committer: GitHub noreply@github.com Date: Sat, 02 Jun 2018 07:08:01 UTC Commit: 2e197c54d94ee1f47ce20a83125fea12c49f3833 https://github.com/geany/plugins.geany.org/commit/2e197c54d94ee1f47ce20a8312...
Log Message: ----------- Merge pull request #13 from geany/dmaphy/Issue_12_Add_Pagetitle
Issue#12: Add Pagetitle
Modified Paths: -------------- content/downloads.html index.php
Modified: content/downloads.html 6 lines changed, 3 insertions(+), 3 deletions(-) =================================================================== @@ -136,8 +136,8 @@ <h2>Verifying Signatures</h2> <ul> <li>Import the key via <code>gpg --recv-keys B5688B006F78F01E</code></li> <li>Verify the downloaded archive either with - <code>gpg --verify geany-plugins-1.29.tar.bz2.sig geany-plugins-1.29.tar.bz2</code> or - <code>gpg --verify geany-plugins-1.29.tar.gz.sig geany-plugins-1.29.tar.gz</code> + <code>gpg --verify geany-plugins-<?php print $version ?>.tar.bz2.sig geany-plugins-<?php print $version ?>.tar.bz2</code> or + <code>gpg --verify geany-plugins-<?php print $version ?>.tar.gz.sig geany-plugins-<?php print $version ?>.tar.gz</code> </li> </ul>
@@ -149,7 +149,7 @@ <h2>Verifying Signatures</h2> <code> wget http://download.geany.org/frlan-pubkey.txt<br /> gpg --import < frlan-pubkey.txt<br /> -gpg --verify geany-plugins-1.29.tar.bz2.sig geany-plugins-1.29.tar.bz2 +gpg --verify geany-plugins-<?php print $version ?>.tar.bz2.sig geany-plugins-<?php print $version ?>.tar.bz2 </code>
<h2>Download directly from version control</h2>
Modified: index.php 5 lines changed, 4 insertions(+), 1 deletions(-) =================================================================== @@ -16,17 +16,20 @@ if (file_exists(CONTENTPATH . $_GET['site'] . '.html')) { define('CONTENTFILE', CONTENTPATH . $_GET['site'] . '.html'); + define('PAGETITLE', $_GET['site']); }
else { define('CONTENTFILE', CONTENTPATH . '404.html'); + define('PAGETITLE', 'Plugin could not be found.'); } }
else { define('CONTENTFILE', CONTENTPATH . 'start.html'); + define('PAGETITLE', ''); }
print '<?xml version="1.0"?>'; @@ -37,7 +40,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head> - <title>Plugins for Geany</title> + <title>Plugins for Geany [<?php print PAGETITLE ?>]</title> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <link rel="stylesheet" type="text/css" href="./stylesheets/mainstyle.css" /> </head>
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).