Commit: 7faa2ee3737c98bdf92f2750354ced26a3f20c74
Author: Webysther Nunes <[email protected]> Thu, 2
Jun 2016 16:23:46 -0300
Parents: e2e15c04719a80d2b247e466e2e210574b88e4bc
Branches: master
Link:
http://git.php.net/?p=web/php.git;a=commitdiff;h=7faa2ee3737c98bdf92f2750354ced26a3f20c74
Log:
Licensing Creative Commons
Changed paths:
M download-logos.php
diff --git a/download-logos.php b/download-logos.php
index 25ae4ae..e1a9fdb 100644
--- a/download-logos.php
+++ b/download-logos.php
@@ -22,42 +22,16 @@ function print_star()
// Provide a random bgcolor setting for a cell
function random_bgcolor($min, $max)
{
- echo "style=\"background-color: #" .
+ echo "style=\"background-color: #" .
sprintf('%02x%02x%02x', rand($min, $max)*51, rand($min, $max)*51,
rand($min, $max)*51) .
";\"";
}
?>
-<h1>Download Logos and Icons</h1>
+<h1>Download</h1>
<p>
- Right click on one of the images and select "Save Image As" to save the
- logo (except where otherwise indicated). Then, link it to the main PHP
- site at <code>php.net</code>.
-</p>
-
-<p>
- In case you have found some PHP logos, icons or other material around
- the web, feel free to point those out to us, so we can include them here,
- if appropriate. And oh, if you're wondering about the font we used, it's
- called <a href="http://www.myfonts.com/fonts/bitstream/handel-gothic/">Handel
- Gothic</a>.
-</p>
-
-<h2>Logo licensing</h2>
-
-<p>
- If you are planning on making money off of our logo
- (e.g. you want to make merchandise with the logo ... t-shirts,
- coffee mugs, pocket protectors, etc.), then you need to contact
- <a href="mailto:[email protected]">[email protected]</a> for licensing information.
- For pretty much all other uses, there is no licensing requirement. For
- example: a logo on your website showing that you use/promote PHP, even
- commercial websites; course materials; a bunch of t-shirts for your own use
- and some friends, or your user group; a PHP-related book; a banner for your
- computer group; etc.. If in doubt, <a href="mailto:[email protected]">ask</a>.
- However you should not use the logo in such a way, that it suggests that a
- particular person, company, course, etc. is endorsed by PHP.net.
+ Right click on one of the images and select "Save Image As" to save the image.
</p>
<p class="warn">
@@ -66,290 +40,42 @@ function random_bgcolor($min, $max)
</p>
<p>
- The images marked with a <span class="star" title="recommended">*</span> are
- the images we recommend to display on your website, in case you are unable
- to choose from the formats. Note however, that some combinations of
- browser/operating system don't handle transparent PNG images very well.
+ If you're wondering about the font we used, it's called
+ <a href="http://www.myfonts.com/fonts/bitstream/handel-gothic/">Handel
+ Gothic</a>.
</p>
-<div class="center logo-list">
-<table border="0" width="90%" cellspacing="2" cellpadding="10" id="logos">
-
- <tr>
- <td class="logo">
- <?php print_image("logos/php-med-trans-light.gif", "PHP logo"); ?><br>
- (not exactly as shown)
- </td>
- <?php print_star(); ?>
- <td>
- <ul>
- <li>scaleable vector image</li>
- <li>
- <a href="/images/logos/php-logo.eps">EPS format</a> |
- <a href="/images/logos/php-logo.ai">AI (Adobe Illustrator) format</a>
- </li>
- </ul>
- </td>
- </tr>
-
- <tr>
- <td class="logo">
- <?php print_image("logos/php-med-trans-light.gif", "PHP logo"); ?><br>
- (not exactly as shown)
- </td>
- <td></td>
- <td>
- <ul>
- <li>250 x 134 pixels</li>
- <li>white background</li>
- <li>large scale for presentations, etc.</li>
- <li><a href="/images/logos/php-big.tif">TIF format</a></li>
- </ul>
- </td>
- </tr>
-
- <tr>
- <td class="logo" <?php random_bgcolor(0, 5); ?>>
- <?php print_image("logos/php-med-trans.png", "PHP logo"); ?>
- </td>
- <?php print_star(); ?>
- <td>
- <ul>
- <li>95 x 51 pixels</li>
- <li>transparent background</li>
- <li>suitable for any background</li>
- <li><a href="/images/logos/php-med-trans.png">PNG format</a></li>
- </ul>
- </td>
- </tr>
-
- <tr>
- <td class="logo">
- <?php print_image("logos/php-med-trans-light.gif", "PHP logo"); ?>
- </td>
- <td></td>
- <td>
- <ul>
- <li>95 x 51 pixels</li>
- <li>transparent background</li>
- <li>suitable for white/light backgrounds</li>
- <li><a href="/images/logos/php-med-trans-light.gif">GIF format</a></li>
- </ul>
- </td>
- </tr>
-
- <tr>
- <td class="logob">
- <?php print_image("logos/php-med-trans-dark.gif", "PHP logo"); ?>
- </td>
- <td></td>
- <td>
- <ul>
- <li>95 x 51 pixels</li>
- <li>transparent background</li>
- <li>suitable for black/dark backgrounds</li>
- <li><a href="/images/logos/php-med-trans-dark.gif">GIF format</a></li>
- </ul>
- </td>
- </tr>
-
- <tr>
- <td class="logo" <?php random_bgcolor(3, 5); ?>>
- <?php print_image("logos/php-power-white.png", "Powered by PHP"); ?>
- </td>
- <?php print_star(); ?>
- <td>
- <ul>
- <li>88 x 31 pixels</li>
- <li>"Powered by PHP" logo</li>
- <li>black text on transparent background</li>
- <li><a href="/images/logos/php-power-white.png">PNG format</a></li>
- </ul>
- </td>
- </tr>
-
- <tr>
- <td class="logo">
- <?php print_image("logos/php-power-white.gif", "Powered by PHP"); ?>
- </td>
- <td></td>
- <td>
- <ul>
- <li>88 x 31 pixels</li>
- <li>"Powered by PHP" logo</li>
- <li>black text on solid white background</li>
- <li><a href="/images/logos/php-power-white.gif">GIF format</a></li>
- </ul>
- </td>
- </tr>
-
- <tr>
- <td class="logo" <?php random_bgcolor(0, 2); ?>>
- <?php print_image("logos/php-power-black.png", "Powered by PHP"); ?>
- </td>
- <?php print_star(); ?>
- <td>
- <ul>
- <li>88 x 31 pixels</li>
- <li>"Powered by PHP" logo</li>
- <li>white text on transparent background</li>
- <li><a href="/images/logos/php-power-black.png">PNG format</a></li>
- </ul>
- </td>
- </tr>
+<h2>Licensing</h2>
- <tr>
- <td class="logob">
- <?php print_image("logos/php-power-black.gif", "Powered by PHP"); ?>
- </td>
- <td></td>
- <td>
- <ul>
- <li>88 x 31 pixels</li>
- <li>"Powered by PHP" logo</li>
- <li>white text on solid black background</li>
- <li><a href="/images/logos/php-power-black.gif">GIF format</a></li>
- </ul>
- </td>
- </tr>
+<p>
+ The author Colin Viebrock released the image as
+ <a href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons
+ Attribution-Share Alike 4.0 International</a>, feel free to reuse, do not
+ forget the terms of use:
- <tr>
- <td class="logo">
- <?php print_image("logos/php-power-micro.png", "PHP Powered"); ?><br><br>
- <?php print_image("logos/php-power-micro2.png", "PHP Powered"); ?><br><br>
- <?php print_image("logos/php5-power-micro.png", "PHP 5 Powered"); ?>
- </td>
- <td></td>
- <td>
- <ul>
- <li>80 x 15 pixels</li>
- <li>"PHP Powered" logo</li>
- <li>suitable for any background, usually used on blogs</li>
+ <ul>
<li>
- <a href="/images/logos/php-power-micro.png">PNG format (1)</a>,
- <a href="/images/logos/php-power-micro2.png">PNG format (2)</a>
- <a href="/images/logos/php5-power-micro.png">PNG format (3)</a>
+ <b>Attribution</b> — You must give appropriate credit, provide a link
+ to the license, and indicate if changes were made. You may do so in any
+ reasonable manner, but not in any way that suggests the licensor endorses
+ you or your use.
</li>
- </ul>
- </td>
- </tr>
-
- <tr>
- <td class="logo" <?php random_bgcolor(0, 5); ?>>
- <?php print_image("logos/php-icon.png", "PHP icon"); ?>
- </td>
- <?php print_star(); ?>
- <td>
- <ul>
- <li>32 x 32 pixels</li>
- <li>transparent background</li>
- <li>suitable for any background</li>
- <li><a href="/images/logos/php-icon.png">PNG format</a></li>
- </ul>
- </td>
- </tr>
-
- <tr>
- <td class="logo">
- <?php print_image("logos/php-icon-white.gif", "PHP icon"); ?>
- </td>
- <td></td>
- <td>
- <ul>
- <li>32 x 32 pixels</li>
- <li>transparent background</li>
- <li>suitable for white/light backgrounds</li>
- <li><a href="/images/logos/php-icon-white.gif">GIF format</a></li>
- </ul>
- </td>
- </tr>
-
- <tr>
- <td class="logob">
- <?php print_image("logos/php-icon-black.gif", "PHP icon"); ?>
- </td>
- <td></td>
- <td>
- <ul>
- <li>32 x 32 pixels</li>
- <li>transparent background</li>
- <li>suitable for black/dark backgrounds</li>
- <li><a href="/images/logos/php-icon-black.gif">GIF format</a></li>
- </ul>
- </td>
- </tr>
-
- <tr>
- <td class="logo">
- <?php print_image("logos/php-icon-white.gif", "PHP icons"); ?><br>
- (not exactly as shown)
- </td>
- <td></td>
- <td>
- <ul>
- <li>PHP icon resource for Windows</li>
- <li>suitable as icons for your desktop</li>
<li>
- 48x48, 32x32 and 16x16 sizes, in each of 16 colour,
- 256 colour, and true colour formats ...
- all in one .ICO file
+ <b>ShareAlike</b> — If you remix, transform, or build upon the material,
+ you must distribute your contributions under the same license as the
original.
</li>
- <li><a href="/images/logos/php.ico">ICO format</a></li>
- </ul>
- </td>
- </tr>
-
- <tr>
- <td class="logo">
- <?php print_image("logos/php_file_ico.gif", "PHP file icons"); ?><br>
- (not exactly as shown)
- </td>
- <td></td>
- <td>
- <ul>
- <li>PHP icon resource for Windows</li>
- <li>suitable as icons for file extensions like .php and .phtml</li>
- <li>32x32 and 16x16 sizes, in true colour format... all in one .ICO
file</li>
- <li>these icons are made by Gonzalo de la Pea</li>
- <li><a href="/images/logos/php_file.ico">ICO format</a></li>
- </ul>
- </td>
- </tr>
+ </ul>
+</p>
- <tr>
- <td class="logo">
- <?php print_image("logos/php_script_ico.png", "PHP script icons"); ?><br>
- (not exactly as shown)
- </td>
- <td></td>
- <td>
- <ul>
- <li>PHP icon resource for Windows</li>
- <li>suitable as icons for file extensions like .php and .phtml</li>
- <li>48x48, 32x32, 24x24, 16x16 sizes, in each of Windows XP Alpha, 256
colour, and 16 colour formats... all in one .ICO file</li>
- <li>these icons are made by Travis Carden (AM)</li>
- <li><a href="/images/logos/php_script.ico">ICO format</a></li>
- </ul>
- </td>
- </tr>
+<div class="center logo-list">
+<table border="0" width="90%" cellspacing="2" cellpadding="10" id="logos">
<tr>
<td class="logo">
- <?php print_image("logos/php_xpstyle_ico.gif", "Windows XP PHP file
icons"); ?><br>
- (not exactly as shown)
- </td>
- <td></td>
- <td>
- <ul>
- <li>PHP icon resource for Windows XP [<b>use only on WinXP!</b>]</li>
- <li>suitable as icons for file extensions like .php and .phtml</li>
- <li>
- 48x48, 32x32, 24x24, 16x16 sizes, in each of 16 colour, 256 colour,
- and true colour formats... all in one .ICO file
- </li>
- <li>these icons are made by Jonathan Metillon</li>
- <li><a href="/images/logos/php_xpstyle.ico">XP ICO format</a></li>
- </ul>
+ <img src="/images/logos/new-php-logo.png" width="200" alt="php logo">
+ <br>
+ <a
href="https://upload.wikimedia.org/wikipedia/commons/2/27/PHP-logo.svg">SVG
format</a> |
+ <a
href="https://upload.wikimedia.org/wikipedia/commons/thumb/2/27/PHP-logo.svg/2000px-PHP-logo.svg.png">PNG
format</a>
</td>
</tr>--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php