com web/news: Update links to php.net to use HTTPS and adjust references to SVG images: common.php style.css
| From: | Ben Ramsey | Date: | Mon, 24 Jul 2017 14:28:12 +0000 |
| Subject: | com web/news: Update links to php.net to use HTTPS and adjust references to SVG images: common.php style.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26226@lists.php.net to get a copy of this message | ||
Commit: ca9f2f6eed1fbe02d63cf30752de64f762c1aaaf
Author: Ben Ramsey <ben@benramsey.com> Mon, 24 Jul 2017 09:28:12 -0500
Parents: c453c42cdefdb37bdac32df2a453f70e5a198788
Branches: master
Link: http://git.php.net/?p=web/news.git;a=commitdiff;h=ca9f2f6eed1fbe02d63cf30752de64f762c1aaaf
Log:
Update links to php.net to use HTTPS and adjust references to SVG images
Changed paths:
M common.php
M style.css
Diff:
diff --git a/common.php b/common.php
index 8d776d4..28fe391 100644
--- a/common.php
+++ b/common.php
@@ -34,21 +34,21 @@ function head($title="PHP Mailing Lists (PHP News)") {
<body>
<header class="header">
<nav class="header-inner">
- <a href="/" class="header-brand"><img src="http://php.net/images/logos/php-logo.svg"
class="header-brand-img" alt="PHP" height="24"
width="48"><span
class="header-brand-text">lists</span></a><ul
class="header-menu">
- <li class="header-menu-item"><a class="header-menu-item-link"
href="http://php.net/downloads.php">Downloads</a></li>
- <li class="header-menu-item"><a class="header-menu-item-link"
href="http://php.net/docs.php">Documentation</a></li>
- <li class="header-menu-item"><a class="header-menu-item-link"
href="http://php.net/get-involved.php">Get
Involved</a></li>
- <li class="header-menu-item mod-active"><a
class="header-menu-item-link" href="http://php.net/support.php">Help</a></li>
+ <a href="/" class="header-brand"><img
src="//php.net/images/logos/php-logo.svg" class="header-brand-img"
alt="PHP" height="24" width="48"><span
class="header-brand-text">lists</span></a><ul
class="header-menu">
+ <li class="header-menu-item"><a class="header-menu-item-link"
href="https://php.net/downloads.php">Downloads</a></li>
+ <li class="header-menu-item"><a class="header-menu-item-link"
href="https://php.net/docs.php">Documentation</a></li>
+ <li class="header-menu-item"><a class="header-menu-item-link"
href="https://php.net/get-involved.php">Get
Involved</a></li>
+ <li class="header-menu-item mod-active"><a
class="header-menu-item-link" href="https://php.net/support.php">Help</a></li>
</ul>
- <form class="search-form" action="http://php.net/search.php">
+ <form class="search-form" action="https://php.net/search.php">
<input class="search-input" value="" name="pattern"
placeholder="Search">
</form>
<div class="menu-icon"
onclick="document.querySelector('.menu-mobile').classList.toggle('hide')">☰
MENU</div>
<ul class="menu-mobile hide">
- <li class="menu-mobile-item"><a class="menu-mobile-item-link"
href="http://php.net/downloads.php">Downloads</a></li>
- <li class="menu-mobile-item"><a class="menu-mobile-item-link"
href="http://php.net/docs.php">Documentation</a></li>
- <li class="menu-mobile-item"><a class="menu-mobile-item-link"
href="http://php.net/get-involved.php">Get
Involved</a></li>
- <li class="menu-mobile-item mod-active"><a
class="menu-mobile-item-link" href="http://php.net/support.php">Help</a></li>
+ <li class="menu-mobile-item"><a class="menu-mobile-item-link"
href="https://php.net/downloads.php">Downloads</a></li>
+ <li class="menu-mobile-item"><a class="menu-mobile-item-link"
href="https://php.net/docs.php">Documentation</a></li>
+ <li class="menu-mobile-item"><a class="menu-mobile-item-link"
href="https://php.net/get-involved.php">Get
Involved</a></li>
+ <li class="menu-mobile-item mod-active"><a
class="menu-mobile-item-link" href="https://php.net/support.php">Help</a></li>
</ul>
</nav>
</header>
@@ -59,12 +59,12 @@ function foot() {?>
<footer class="footer">
<ul class="footer-nav">
- <li class="footer-nav-item"><a class="footer-nav-item-link"
href="http://php.net/copyright.php">Copyright ©
2001-<?php echo date('Y'); ?> The PHP Group</a></li>
- <li class="footer-nav-item"><a class="footer-nav-item-link"
href="http://php.net/my.php">My
PHP.net</a></li>
- <li class="footer-nav-item"><a class="footer-nav-item-link"
href="http://php.net/contact.php">Contact</a></li>
- <li class="footer-nav-item"><a class="footer-nav-item-link"
href="http://php.net/sites.php">Other
PHP.net sites</a></li>
- <li class="footer-nav-item"><a class="footer-nav-item-link"
href="http://php.net/mirrors.php">Mirror
sites</a></li>
- <li class="footer-nav-item"><a class="footer-nav-item-link"
href="http://php.net/privacy.php">Privacy
policy</a></li>
+ <li class="footer-nav-item"><a class="footer-nav-item-link"
href="https://php.net/copyright.php">Copyright ©
2001-<?php echo date('Y'); ?> The PHP Group</a></li>
+ <li class="footer-nav-item"><a class="footer-nav-item-link"
href="https://php.net/my.php">My
PHP.net</a></li>
+ <li class="footer-nav-item"><a class="footer-nav-item-link"
href="https://php.net/contact.php">Contact</a></li>
+ <li class="footer-nav-item"><a class="footer-nav-item-link"
href="https://php.net/sites.php">Other
PHP.net sites</a></li>
+ <li class="footer-nav-item"><a class="footer-nav-item-link"
href="https://php.net/mirrors.php">Mirror
sites</a></li>
+ <li class="footer-nav-item"><a class="footer-nav-item-link"
href="https://php.net/privacy.php">Privacy
policy</a></li>
</ul>
</footer>
</body>
diff --git a/style.css b/style..css
index 3a098da..7ea31a5 100644
--- a/style.css
+++ b/style.css
@@ -54,7 +54,7 @@ table.header {
}
html {
- background: #333 url('/i/bg-texture-00.svg');
+ background: #333 url('//php.net/images/bg-texture-00.svg');
color: #CCC;
}
@@ -401,4 +401,4 @@ table.standard th.subr {
.content {
padding: 0.5rem;
}
-}
\ No newline at end of file
+}