Skip to content

Commit

Permalink
Add new UI files
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Jul 9, 2012
1 parent 698d11b commit 4123062
Show file tree
Hide file tree
Showing 20 changed files with 2,087 additions and 36 deletions.
56 changes: 29 additions & 27 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>PHP: The Right Way</title>
<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"/>
<title>{% if page.title %}{{ page.title }} - {% endif %}PHP: The Right Way</title>
<meta name="description" content="{{ page.description }}"/>
<meta name="robots" content="index,follow,archive"/>
<meta property="og:image" content="http://www.phptherightway.com/images/og-logo.png"/>
<meta property="og:title" content="PHP: The Right Way"/>
Expand All @@ -12,7 +12,7 @@
<meta property="og:site_name" content="PHP: The Right Way"/>
<meta property="og:type" content="website"/>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alfa+Slab+One|Droid+Serif"/>
<link rel="stylesheet" href="/styles.css"/>
<link rel="stylesheet" href="/styles/all.css"/>
<link rel="icon" href="/images/favicon.png" type="image/png"/>
<script>
var _gaq = _gaq || [];
Expand All @@ -26,35 +26,37 @@
</script>
</head>
<body>
<header class="site-header">
<div class="site-title"><a href="/">PHP</a></div>
<div class="site-slogan">The Right Way.</div>
<nav>
<ul class="toc">
<li><a href="#introduction">Introduction</a></li>
<li><a href="#code_style_guide">Code Style Guide</a></li>
<li><a href="#namespaces">Namespaces</a></li>
<li><a href="#input_filtering">Input Filtering</a></li>
<li><a href="#databases_and_pdo">Databases and PDO</a></li>
<li><a href="#password_hashing_with_bcrypt">Password Hashing with Bcrypt</a></li>
<li><a href="#dependency_management">Dependency Management</a></li>
<li><a href="#web_application_security">Web Application Security</a></li>
<li><a href="#command_line_interface">Command Line Interface</a></li>
<li><a href="#popular_frameworks">Popular Frameworks</a></li>
<li><a href="#links_and_resources">Links &amp; Resources</a></li>
</ul>
</nav>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.phptherightway.com/" data-size="large" data-hashtags="php">Tweet</a>
</header>
<nav class="site-navigation">
<ul>
<li><a href="/index.html#introduction">Introduction</a></li>
<li><a href="/index.html#code_style_guide">Code Style Guide</a></li>
<li><a href="/index.html#namespaces">Namespaces</a></li>
<li><a href="/index.html#input_filtering">Input Filtering</a></li>
<li><a href="/index.html#databases_and_pdo">Databases and PDO</a></li>
<li><a href="/index.html#password_hashing_with_bcrypt">Password Hashing with Bcrypt</a></li>
<li><a href="/index.html#dependency_management">Dependency Management</a></li>
<li><a href="/index.html#web_application_security">Web Application Security</a></li>
<li><a href="/index.html#command_line_interface">Command Line Interface</a></li>
<li><a href="/index.html#popular_frameworks">Popular Frameworks</a></li>
<li><a href="/index.html#links_and_resources">Links &amp; Resources</a></li>
</ul>
</nav>

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

<footer class="site-footer">
<small>Created and maintained by <a href="http://twitter.com/codeguy">Josh Lockhart</a>. Favicon from <a href="http://pictos.cc/">Pictos</a>.</small>
</footer>

<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>
</body>
</html>
18 changes: 9 additions & 9 deletions banners.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: blank
layout: default
title: Website Banners
description: "Spread the word! Use these banner to let new PHP programmers know about PHP: The Right Way"
---
Expand All @@ -10,63 +10,63 @@ Spread the word with _PHP: The Right Way_ banner images! Show new PHP developers

## Button 1 (120x90)

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

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

## Button 2 (120x60)

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

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

## Leaderboard (728x90)

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

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

## Large Rectangle (386x280)

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

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

## Medium Rectangle (300x250)

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

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

## Rectangle (180x150)

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

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

## Square Button (125x125)

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

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

## Vertical Rectangle (240x400)

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

<a href="http://www.phptherightway.com">
<img src="http://www.phptherightway.com/images/banners/vert-rect-240x400.png" alt="PHP: The Right Way"/>
Expand Down
Binary file added images/nmc-logo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4123062

Please sign in to comment.