Permalink
Browse files

Move the app version in the web interface footer

  • Loading branch information...
Art4 committed Jul 19, 2017
1 parent f3eb989 commit 99192377864a26206ff00f15cb4826d631f40c6c
Showing with 9 additions and 6 deletions.
  1. +1 −1 .github/ISSUE_TEMPLATE.md
  2. +2 −2 CONTRIBUTING.md
  3. +3 −2 templates/getvideo.php
  4. +3 −1 templates/index.php
@@ -22,7 +22,7 @@ Please include the direct url to the YouTube video.
### Version
Please include the version of YouTube-Downloader you are running. You can get this information from from the file `src/Application/App.php` and search for `$version`.
Please include the version of YouTube-Downloader you are running. You can get this information from the footer in the web interface.
### Additional Information
View
@@ -79,7 +79,7 @@ Every server is different and every config change has effects on the behavior of
Include details about your configuration and environment:
* **Which version of YouTube-Downloader are you running?** You can get this information from from the file `src/Application/App.php` and search for `$version`.
* **Which version of YouTube-Downloader are you running?** You can get this information from the footer in the web interface.
* **What's the version of PHP you're using**?
* **Have you modified the configuration** in `config/custom.php`? If so, provide the contents of this file, preferably in a [code block](https://help.github.com/articles/markdown-basics/#multiple-lines) or with a link to a [gist](https://gist.github.com/).
@@ -104,7 +104,7 @@ Enhancement suggestions are tracked as [GitHub issues](https://guides.github.com
* **Include screenshots and animated GIFs** which help you demonstrate the steps or point out the part of YouTube-Downloader which the suggestion is related to. You can use [this tool](http://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux.
* **Explain why this enhancement would be useful** to most YouTube-Downloader users.
* **List some other projects, libraries or applications where this enhancement exists.**
* **Which version of YouTube-Downloader are you running?** You can get this information from from the file `src/Application/App.php` and search for `$version`.
* **Which version of YouTube-Downloader are you running?** You can get this information from the footer in the web interface.
* **What's the version of PHP you're using**?
### Your First Code Contribution
View
@@ -1,7 +1,6 @@
<?php echo $this->inc('header.php', ['title' => 'Youtube Downloader Results']); ?>
<div class="download">
<h1 class="download-heading">Results</h1>
<h2 class="download-heading">Youtube Downloader <?php echo $this->get('app_version', ''); ?></h2>
<h1 class="download-heading">Youtube Downloader Results</h1>
<div id="info">
<?php if ($this->get('show_thumbnail') === true) { ?>
<a href="<?php echo $this->get('thumbnail_anchor'); ?>" target="_blank"><img src="<?php echo $this->get('thumbnail_src'); ?>" border="0" hspace="2" vspace="2"></a>
@@ -77,5 +76,7 @@
<p><a href="ytdl.user.js" class="userscript btn btn-mini" title="Install chrome extension to view a 'Download' link to this application on Youtube video pages."> Install Chrome Extension </a></p>
<?php } ?>
<?php } ?>
<hr />
<p class="muted"><a href="https://github.com/jeckman/YouTube-Downloader" target="_blank">Youtube Downloader <?php echo $this->get('app_version', ''); ?></a> is licensed under GPL 2.</p>
</div>
<?php echo $this->inc('footer.php'); ?>
View
@@ -1,6 +1,6 @@
<?php echo $this->inc('header.php', ['title' => 'Youtube Downloader']); ?>
<form class="form-download" method="get" id="download" action="getvideo.php">
<h1 class="form-download-heading">Youtube Downloader <?php echo $this->get('app_version', ''); ?></h1>
<h1 class="form-download-heading">Youtube Downloader</h1>
<input type="text" name="videoid" id="videoid" size="40" placeholder="YouTube Link or VideoID" autofocus/>
<input class="btn btn-primary" type="submit" name="type" id="type" value="Download" />
<p>Valid inputs are YouTube links or VideoIDs:</p>
@@ -19,5 +19,7 @@
echo '<a href="ytdl.user.js" class="userscript btn btn-mini" title="Install chrome extension to view a \'Download\' link to this application on Youtube video pages."> Install Chrome Extension </a>';
}
?>
<hr />
<p class="muted"><a href="https://github.com/jeckman/YouTube-Downloader" target="_blank">Youtube Downloader <?php echo $this->get('app_version', ''); ?></a> is licensed under GPL 2.</p>
</form>
<?php echo $this->inc('footer.php'); ?>

0 comments on commit 9919237

Please sign in to comment.