Skip to content

Commit 4123062

Browse files
author
=
committed
Add new UI files
1 parent 698d11b commit 4123062

20 files changed

+2087
-36
lines changed

_layouts/default.html

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8"/>
5-
<title>PHP: The Right Way</title>
6-
<meta name="description" content="An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative PHP tutorials around the Web"/>
5+
<title>{% if page.title %}{{ page.title }} - {% endif %}PHP: The Right Way</title>
6+
<meta name="description" content="{{ page.description }}"/>
77
<meta name="robots" content="index,follow,archive"/>
88
<meta property="og:image" content="http://www.phptherightway.com/images/og-logo.png"/>
99
<meta property="og:title" content="PHP: The Right Way"/>
@@ -12,7 +12,7 @@
1212
<meta property="og:site_name" content="PHP: The Right Way"/>
1313
<meta property="og:type" content="website"/>
1414
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alfa+Slab+One|Droid+Serif"/>
15-
<link rel="stylesheet" href="/styles.css"/>
15+
<link rel="stylesheet" href="/styles/all.css"/>
1616
<link rel="icon" href="/images/favicon.png" type="image/png"/>
1717
<script>
1818
var _gaq = _gaq || [];
@@ -26,35 +26,37 @@
2626
</script>
2727
</head>
2828
<body>
29-
<header class="site-header">
30-
<div class="site-title"><a href="/">PHP</a></div>
31-
<div class="site-slogan">The Right Way.</div>
32-
<nav>
33-
<ul class="toc">
34-
<li><a href="#introduction">Introduction</a></li>
35-
<li><a href="#code_style_guide">Code Style Guide</a></li>
36-
<li><a href="#namespaces">Namespaces</a></li>
37-
<li><a href="#input_filtering">Input Filtering</a></li>
38-
<li><a href="#databases_and_pdo">Databases and PDO</a></li>
39-
<li><a href="#password_hashing_with_bcrypt">Password Hashing with Bcrypt</a></li>
40-
<li><a href="#dependency_management">Dependency Management</a></li>
41-
<li><a href="#web_application_security">Web Application Security</a></li>
42-
<li><a href="#command_line_interface">Command Line Interface</a></li>
43-
<li><a href="#popular_frameworks">Popular Frameworks</a></li>
44-
<li><a href="#links_and_resources">Links &amp; Resources</a></li>
45-
</ul>
46-
</nav>
47-
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.phptherightway.com/" data-size="large" data-hashtags="php">Tweet</a>
48-
</header>
29+
<nav class="site-navigation">
30+
<ul>
31+
<li><a href="/index.html#introduction">Introduction</a></li>
32+
<li><a href="/index.html#code_style_guide">Code Style Guide</a></li>
33+
<li><a href="/index.html#namespaces">Namespaces</a></li>
34+
<li><a href="/index.html#input_filtering">Input Filtering</a></li>
35+
<li><a href="/index.html#databases_and_pdo">Databases and PDO</a></li>
36+
<li><a href="/index.html#password_hashing_with_bcrypt">Password Hashing with Bcrypt</a></li>
37+
<li><a href="/index.html#dependency_management">Dependency Management</a></li>
38+
<li><a href="/index.html#web_application_security">Web Application Security</a></li>
39+
<li><a href="/index.html#command_line_interface">Command Line Interface</a></li>
40+
<li><a href="/index.html#popular_frameworks">Popular Frameworks</a></li>
41+
<li><a href="/index.html#links_and_resources">Links &amp; Resources</a></li>
42+
</ul>
43+
</nav>
4944

5045
<div class="site-content">
46+
<header class="site-header">
47+
<hgroup>
48+
<h1 class="site-title"><a href="/">PHP</a></h1>
49+
<h2 class="site-slogan">The Right Way.</h2>
50+
</hgroup>
51+
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.phptherightway.com/" data-size="large" data-hashtags="php">Tweet</a>
52+
</header>
5153
{{ content }}
54+
<footer class="site-footer">
55+
<p>Created and maintained by <a href="http://twitter.com/codeguy">Josh Lockhart</a>. Favicon from <a href="http://pictos.cc/">Pictos</a>.</p>
56+
<small>Sponsored by <a href="http://www.newmediacampaigns.com"><img src="images/nmc-logo.gif" alt="New Media Campaigns"/></a></small>
57+
</footer>
5258
</div>
5359

54-
<footer class="site-footer">
55-
<small>Created and maintained by <a href="http://twitter.com/codeguy">Josh Lockhart</a>. Favicon from <a href="http://pictos.cc/">Pictos</a>.</small>
56-
</footer>
57-
5860
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
5961
</body>
6062
</html>

banners.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: blank
2+
layout: default
33
title: Website Banners
44
description: "Spread the word! Use these banner to let new PHP programmers know about PHP: The Right Way"
55
---
@@ -10,63 +10,63 @@ Spread the word with _PHP: The Right Way_ banner images! Show new PHP developers
1010

1111
## Button 1 (120x90)
1212

13-
<img src="/images/banners/btn1-120x90.png" alt="PHP: The Right Way"/>
13+
<p><img src="/images/banners/btn1-120x90.png" alt="PHP: The Right Way"/></p>
1414

1515
<a href="http://www.phptherightway.com">
1616
<img src="http://www.phptherightway.com/images/banners/btn1-120x90.png" alt="PHP: The Right Way"/>
1717
</a>
1818

1919
## Button 2 (120x60)
2020

21-
<img src="/images/banners/btn2-120x60.png" alt="PHP: The Right Way"/>
21+
<p><img src="/images/banners/btn2-120x60.png" alt="PHP: The Right Way"/></p>
2222

2323
<a href="http://www.phptherightway.com">
2424
<img src="http://www.phptherightway.com/images/banners/btn2-120x60.png" alt="PHP: The Right Way"/>
2525
</a>
2626

2727
## Leaderboard (728x90)
2828

29-
<img src="/images/banners/leaderboard-728x90.png" alt="PHP: The Right Way"/>
29+
<p><img src="/images/banners/leaderboard-728x90.png" alt="PHP: The Right Way"/></p>
3030

3131
<a href="http://www.phptherightway.com">
3232
<img src="http://www.phptherightway.com/images/banners/leaderboard-728x90.png" alt="PHP: The Right Way"/>
3333
</a>
3434

3535
## Large Rectangle (386x280)
3636

37-
<img src="/images/banners/lg-rect-386x280.png" alt="PHP: The Right Way"/>
37+
<p><img src="/images/banners/lg-rect-386x280.png" alt="PHP: The Right Way"/></p>
3838

3939
<a href="http://www.phptherightway.com">
4040
<img src="http://www.phptherightway.com/images/banners/lg-rect-386x280.png" alt="PHP: The Right Way"/>
4141
</a>
4242

4343
## Medium Rectangle (300x250)
4444

45-
<img src="/images/banners/med-rect-300x250.png" alt="PHP: The Right Way"/>
45+
<p><img src="/images/banners/med-rect-300x250.png" alt="PHP: The Right Way"/></p>
4646

4747
<a href="http://www.phptherightway.com">
4848
<img src="http://www.phptherightway.com/images/banners/med-rect-300x250.png" alt="PHP: The Right Way"/>
4949
</a>
5050

5151
## Rectangle (180x150)
5252

53-
<img src="/images/banners/rect-180x150.png" alt="PHP: The Right Way"/>
53+
<p><img src="/images/banners/rect-180x150.png" alt="PHP: The Right Way"/></p>
5454

5555
<a href="http://www.phptherightway.com">
5656
<img src="http://www.phptherightway.com/images/banners/rect-180x150.png" alt="PHP: The Right Way"/>
5757
</a>
5858

5959
## Square Button (125x125)
6060

61-
<img src="/images/banners/sq-btn-125x125.png" alt="PHP: The Right Way"/>
61+
<p><img src="/images/banners/sq-btn-125x125.png" alt="PHP: The Right Way"/></p>
6262

6363
<a href="http://www.phptherightway.com">
6464
<img src="http://www.phptherightway.com/images/banners/sq-btn-125x125.png" alt="PHP: The Right Way"/>
6565
</a>
6666

6767
## Vertical Rectangle (240x400)
6868

69-
<img src="/images/banners/vert-rect-240x400.png" alt="PHP: The Right Way"/>
69+
<p><img src="/images/banners/vert-rect-240x400.png" alt="PHP: The Right Way"/></p>
7070

7171
<a href="http://www.phptherightway.com">
7272
<img src="http://www.phptherightway.com/images/banners/vert-rect-240x400.png" alt="PHP: The Right Way"/>

images/nmc-logo.gif

93 Bytes
Loading

0 commit comments

Comments
 (0)