Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

first checkin

  • Loading branch information...
commit 236452fc896c7d831965c1de51c712f9440d6622 0 parents
@bueltge authored
94 archive.php
@@ -0,0 +1,94 @@
+<?php
+/**
+ * @package WordPress
+ * @subpackage Documentation
+ */
+
+get_header();
+
+if ( have_posts() ) :
+
+ /* If this is a category archive */ if ( is_category() ) { ?>
+ <h2><?php _e('Archive for categorie', 'documentation'); ?> &bdquo;<?php echo single_cat_title(); ?>&ldquo;</h2>
+ <?php /* If this is a daily archive */ } elseif ( is_day() ) { ?>
+ <h2><?php _e('Daily archive', 'documentation'); ?> <?php the_time('F jS, Y'); ?></h2>
+ <?php /* If this is a monthly archive */ } elseif ( is_month() ) { ?>
+ <h2><?php _e('Monthly archive', 'documentation'); ?> <?php the_time('F, Y'); ?></h2>
+ <?php /* If this is a yearly archive */ } elseif ( is_year() ) { ?>
+ <h2><?php _e('Years of archive', 'documentation'); ?> <?php the_time('Y'); ?></h2>
+ <?php /* If this is a search */ } elseif ( is_search() ) { ?>
+ <h2><?php _e('Search results', 'documentation'); ?></h2>
+ <?php /* If this is an author archive */ } elseif ( is_author() ) { ?>
+ <h2><?php _e('Author archive', 'documentation'); ?></h2>
+ <?php /* If this is a paged archive */ } elseif ( isset($_GET['paged']) && !empty($_GET['paged']) ) { ?>
+ <h2><?php _e('Archive', 'documentation'); ?></h2>
+ <?php }
+
+ while ( have_posts() ) :
+ the_post();
+ ?>
+
+ <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+ <p><small><?php foreach( ( get_the_category() ) as $category ) { echo $category->cat_name; } ?></small></p>
+
+ <div class="story">
+ <?php
+ if ( is_search() ) {
+ the_content( __( '... more &raquo;', 'documentation' ) , TRUE, the_title( ' ', '', FALSE ) ); ?>
+ <p class="textright">
+ <a href="<?php the_permalink() ?>" rel="bookmark"><?php _e('... more &raquo;', 'documentation'); ?></a>
+ </p>
+ <p class="info">
+ <?php
+ printf(
+ __( 'Category: %s, write at %s by %s', 'documentation' ),
+ get_the_category_list( ',' ),
+ get_the_date(),
+ get_the_author()
+ );
+ edit_post_link( __( 'Edit', 'documentation' ), ' | ', '' ); ?>
+ </p>
+ <?php
+ } elseif ( is_archive() ) {
+ the_content( __( '... more &raquo;', 'documentation' ) , TRUE, the_title( ' ', '', FALSE ) ); ?>
+ <p class="textright"><a href="<?php the_permalink() ?>" rel="bookmark"><?php _e( '... more &raquo;', 'documentation'); ?></a></p>
+ <p class="info">
+ <?php
+ printf(
+ __( 'Category: %s, write at %s by %s', 'documentation' ),
+ get_the_category_list( ',' ),
+ get_the_date(),
+ get_the_author()
+ );
+ edit_post_link( __( 'Edit', 'documentation' ), ' | ', '' ); ?>
+ </p>
+ <?php
+ } else {
+ the_content( __( '... more &raquo;', 'documentation' ) . the_title( ' ', '', FALSE ) );
+ wp_link_pages();
+ } ?>
+ </div>
+
+ </div>
+
+ <?php
+ endwhile;
+else:
+
+ /**
+ * Include the template for the loop dosn't find and result
+ * If you will overwrite this in in a child theme the include a file
+ * called no-results-single.php and that will be used instead.
+ */
+ get_template_part( 'parts/no-results', 'home' );
+
+endif;
+
+if ( function_exists( 'documentation_get_paginate_bar' ) ) {
+ documentation_get_paginate_bar();
+} else {
+ posts_nav_link('<span class="none"> | </span>', '<span class="right">' . __('next page', 'documentation' ) . ' &raquo;</span>', '<span class="left">&laquo; ' . __('previous page', 'documentation' ) . '</span>');
+}
+
+get_footer();
66 comments.php
@@ -0,0 +1,66 @@
+<?php
+/**
+ * The template for displaying Comments.
+ *
+ * The area of the page that contains both current comments
+ * and the comment form. The actual display of comments is
+ * handled by a callback to twentytwelve_comment() which is
+ * located in the functions.php file.
+ *
+ * @package WordPress
+ * @subpackage Twenty_Twelve
+ * @since Twenty Twelve 1.0
+ */
+?>
+ <div id="comments">
+ <?php if ( post_password_required() ) : ?>
+ <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'documentation' ); ?></p>
+ </div><!-- #comments -->
+ <?php
+ /* Stop the rest of comments.php from being processed,
+ * but don't kill the script entirely -- we still have
+ * to fully load the template.
+ */
+ return;
+ endif;
+ ?>
+
+ <?php // You can start editing here -- including this comment! ?>
+
+ <?php if ( have_comments() ) : ?>
+ <h2 id="comments-title">
+ <?php
+ printf( _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'documentation' ),
+ number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
+ ?>
+ </h2>
+
+ <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
+ <nav id="comment-nav-above" role="navigation">
+ <h1 class="assistive-text section-heading"><?php _e( 'Comment navigation', 'documentation' ); ?></h1>
+ <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'documentation' ) ); ?></div>
+ <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'documentation' ) ); ?></div>
+ </nav>
+ <?php endif; // check for comment navigation ?>
+
+ <ol class="commentlist">
+ <?php wp_list_comments( array( 'callback' => 'documentation_comment' ) ); ?>
+ </ol>
+
+ <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
+ <nav id="comment-nav-below" role="navigation">
+ <h1 class="assistive-text section-heading"><?php _e( 'Comment navigation', 'documentation' ); ?></h1>
+ <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'documentation' ) ); ?></div>
+ <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'documentation' ) ); ?></div>
+ </nav>
+ <?php endif; // check for comment navigation ?>
+
+ <?php // If there are no comments and comments are closed, let's leave a note.
+ elseif ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
+ ?>
+ <p class="nocomments"><?php _e( 'Comments are closed.', 'documentation' ); ?></p>
+ <?php endif; ?>
+
+ <?php comment_form(); ?>
+
+</div><!-- #comments -->
7 editor-style.dev.css
@@ -0,0 +1,7 @@
+@charset "utf-8";
+/**
+ * Documentation Editor Style
+ *
+ * @version 08/09/2012
+ * @author Frank Bültge
+ */
31 footer.php
@@ -0,0 +1,31 @@
+<?php
+/**
+ * @package WordPress
+ * @subpackage Documentation
+ */
+?>
+ </div>
+
+ <?php get_sidebar(); ?>
+
+ <div id="footer">
+ <p>&copy; 2007 - <?php echo date( 'Y' ); ?> | <a href="<?php home_url( '/' ); ?>"><?php bloginfo( 'name' ); ?></a>
+ <?php
+ if ( defined( 'WP_DEBUG' ) && WP_DEBUG )
+ echo ' | <small>' . $wpdb->num_queries . 'q, ' . timer_stop() . 's</small>';
+
+ $redirect = documentation_get_options( 'rewrite_url' );
+ if ( ! is_user_logged_in() ) {
+ $link = ' | <a href="' . get_option('siteurl') . '/wp-login.php?redirect_to=' . $redirect . '">' . __('Login', 'documentation') . '</a>';
+ } else {
+ $link = ' | <a href="' . get_option('siteurl') . '/wp-login.php?action=logout&amp;redirect_to=' . $redirect . '">' . __( 'Logout', 'documentation' ) . '</a>';
+ }
+ echo apply_filters( 'loginout', $link );
+ ?>
+ </p>
+ </div>
+
+ <?php wp_footer(); ?>
+</div>
+</body>
+</html>
280 functions.php
@@ -0,0 +1,280 @@
+<?php
+/**
+ * @package WordPress
+ * @subpackage Documentation
+ * @version 08/09/2012
+ */
+
+if ( ! isset( $content_width ) )
+ $content_width = 900;
+
+
+if ( ! function_exists( 'documentation_setup' ) ) {
+
+ add_action( 'after_setup_theme', 'documentation_setup' );
+ /**
+ *
+ */
+ function documentation_setup() {
+ /**
+ * Make Documentation available for translation.
+ * Translations can be added to the /languages/ directory.
+ * If you're building a theme based on Documentation, use a find and replace
+ * to change 'documentation' to the name of your theme in all the template files.
+ */
+ load_theme_textdomain( 'documentation', get_template_directory() . '/languages' );
+
+ // Login + Admin Bar Branding
+ require_once( 'inc/class-branding.php' );
+ new Documentation_Admin_Branding;
+
+ // Load up our theme options page and related code.
+ require( get_template_directory() . '/inc/theme-options.php' );
+ $documentation_options = new Documentation_Options();
+
+ // Add default posts and comments RSS feed links to <head>.
+ add_theme_support( 'automatic-feed-links' );
+
+ // This theme uses wp_nav_menu() in one location.
+ register_nav_menu( 'primary', __( 'Primary Menu', 'documentation' ) );
+
+ // Add support for custom background.
+ $args = array(
+ 'default-image' => '',
+ 'default-color' => '',
+ 'wp-head-callback' => '_custom_background_cb',
+ 'admin-head-callback' => '',
+ 'admin-preview-callback' => ''
+ );
+ add_theme_support( 'custom-background', $args );
+
+ /*
+ * CURRENT, dont supported this
+ * The default header text color
+ *
+ $args = array(
+ 'default-text-color' => '111',
+ 'default-image' => ''
+ );
+ if ( function_exists( 'wp_get_theme' ) )
+ add_theme_support( 'custom-header', $args );
+ else
+ define( 'HEADER_TEXTCOLOR', $args['default-text-color'] );
+ */
+
+ $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '.dev' : '';
+ // This theme styles the visual editor with editor-style.css to match the theme style.
+ add_editor_style( 'editor-style' . $suffix . '.css' );
+ }
+
+}
+
+function documentation_get_options( $value = '' ) {
+
+ $documentation_options = new Documentation_Options();
+
+ $options = $documentation_options->get_theme_options();
+ if ( ! empty( $value ) )
+ $options = $options[$value];
+ return $options;
+}
+
+
+if ( ! function_exists( 'documentation_scripts_styles' ) ) {
+
+ add_action( 'wp_enqueue_scripts', 'documentation_scripts_styles' );
+ /**
+ * Enqueue scripts and styles for front-end.
+ *
+ * @since 2.0
+ */
+ function documentation_scripts_styles() {
+
+ // set suffix for debug mode
+ $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '.dev' : '';
+
+ /**
+ * Add JavaScript to pages with the comment form to support
+ * sites with threaded comments (when in use).
+ */
+ if ( is_singular() && comments_open() && get_option( 'thread_comments' ) )
+ wp_enqueue_script( 'comment-reply' );
+
+ /**
+ * Load our main CSS file.
+ */
+ wp_register_style( 'documentation-style', get_stylesheet_directory_uri() . '/style' . $suffix . '.css' );
+ wp_register_style(
+ 'documentation-print-style',
+ get_stylesheet_directory_uri() . '/print' . $suffix . '.css',
+ array(),
+ FALSE,
+ 'print'
+ );
+
+ wp_enqueue_style( 'documentation-style' );
+ wp_enqueue_style( 'documentation-print-style' );
+ }
+
+} // end if func exists
+
+
+if ( ! function_exists( 'documentation_widgets_init' ) ) {
+
+ add_action( 'widgets_init', 'documentation_widgets_init' );
+ /**
+ * Register widgetized areas
+ *
+ * @return void
+ */
+ function documentation_widgets_init() {
+ // Area 1
+ register_sidebar( array (
+ 'name' => __( 'Primary Widget Area', 'documentation' ),
+ 'id' => 'primary-widget-area',
+ 'description' => __( 'The primary widget area is visible on all pages and posts.', 'documentation' ),
+ 'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
+ 'after_widget' => "</li>",
+ 'before_title' => '<h3 class="widget-title">',
+ 'after_title' => '</h3>',
+ ) );
+
+ // Area 2
+ register_sidebar( array (
+ 'name' => __( 'Secondary Widget Area', 'documentation' ),
+ 'id' => 'secondary-widget-area',
+ 'description' => __( 'The secondary widget area down below Primary Widget Area only on pages and posts.' , 'documentation' ),
+ 'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
+ 'after_widget' => "</li>",
+ 'before_title' => '<h3 class="widget-title">',
+ 'after_title' => '</h3>',
+ ) );
+ } // end theme_widgets_init
+
+}
+
+
+if ( ! function_exists( 'documentation_comment' ) ) {
+
+ /**
+ * Template for comments and pingbacks.
+ *
+ * To override this walker in a child theme without modifying the comments template
+ * simply create your own documentation_comment(), and that function will be used instead.
+ *
+ * Used as a callback by wp_list_comments() for displaying the comments.
+ *
+ * @since Documentation 2.0
+ */
+ function documentation_comment( $comment, $args, $depth ) {
+ $GLOBALS['comment'] = $comment;
+ switch ( $comment->comment_type ) :
+ case 'pingback' :
+ case 'trackback' :
+ ?>
+ <li class="post pingback">
+ <p><?php _e( 'Pingback:', 'documentation' ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __( 'Edit', 'documentation' ), '<span class="edit-link">', '</span>' ); ?></p>
+ <?php
+ break;
+ default :
+ ?>
+ <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>">
+ <article id="comment-<?php comment_ID(); ?>" class="comment">
+ <footer class="comment-meta">
+ <div class="comment-author vcard">
+ <?php
+ $avatar_size = 68;
+ if ( '0' != $comment->comment_parent )
+ $avatar_size = 39;
+
+ echo get_avatar( $comment, $avatar_size );
+
+ /* translators: 1: comment author, 2: date and time */
+ printf( __( '%1$s on %2$s <span class="says">said:</span>', 'documentation' ),
+ sprintf( '<span class="fn">%s</span>', get_comment_author_link() ),
+ sprintf( '<a href="%1$s"><time pubdate datetime="%2$s">%3$s</time></a>',
+ esc_url( get_comment_link( $comment->comment_ID ) ),
+ get_comment_time( 'c' ),
+ /* translators: 1: date, 2: time */
+ sprintf( __( '%1$s at %2$s', 'documentation' ), get_comment_date(), get_comment_time() )
+ )
+ );
+ ?>
+
+ <?php edit_comment_link( __( 'Edit', 'documentation' ), '<span class="edit-link">', '</span>' ); ?>
+ </div><!-- .comment-author .vcard -->
+
+ <?php if ( $comment->comment_approved == '0' ) : ?>
+ <em class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'documentation' ); ?></em>
+ <br />
+ <?php endif; ?>
+ </footer>
+
+ <div class="comment-content"><?php comment_text(); ?></div>
+
+ <div class="reply">
+ <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply <span>&darr;</span>', 'documentation' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
+ </div><!-- .reply -->
+ </article><!-- #comment-## -->
+
+ <?php
+ break;
+ endswitch;
+ }
+
+} // end if function exists
+
+
+if ( ! function_exists( 'documentation_get_paginate_bar' ) ) {
+ /**
+ *
+ */
+ function documentation_get_paginate_bar( $args = FALSE ) {
+ global $wp_rewrite, $wp_query;
+
+ $wp_query->query_vars['paged'] > 1 ? $current = $wp_query->query_vars['paged'] : $current = 1;
+
+ if ( empty($rules) )
+ $rulestouse = @add_query_arg( 'paged','%#%' );
+ else
+ $rulestouse = @add_query_arg( 'page','%#%' );
+
+ if ( ! $args ) {
+ $args = array(
+ 'base' => $rulestouse,
+ 'format' => '',
+ 'total' => $wp_query->max_num_pages,
+ 'current' => $current,
+ 'show_all' => FALSE,
+ 'prev_next' => TRUE,
+ 'prev_text' => __( '&laquo; Previous', 'documentation' ),
+ 'next_text' => __( 'Next &raquo;', 'documentation' ),
+ 'end_size' => 3,
+ 'mid_size' => 5,
+ 'type' => 'plain',
+ 'add_args' => FALSE, // array of query args to add
+ 'add_fragment' => '',
+ 'show_total' => FALSE,
+ 'display' => TRUE
+ );
+ }
+
+ if ( $wp_rewrite->using_permalinks() ) {
+ $args['base'] = user_trailingslashit(
+ trailingslashit( remove_query_arg( 's', get_pagenum_link(1) ) ) . 'page/%#%/', 'paged' );
+ }
+ if ( ! empty( $wp_query -> query_vars['s'] ) )
+ $args['add_args'] = array( 's' => get_query_var('s') );
+
+ $pagination = paginate_links( $args );
+
+ if ( $args['show_total'] )
+ $pagination .= sprintf( __( '&emsp;(%d)', 'documentation' ), $wp_query->max_num_pages );
+
+ if ( $args['display'] && 1 < $wp_query->max_num_pages )
+ echo $pagination;
+ else
+ return $pagination;
+ }
+
+} // end if function exists
53 header.php
@@ -0,0 +1,53 @@
+<?php
+/**
+ * @package WordPress
+ * @subpackage Documentation
+ */
+?>
+<!DOCTYPE html>
+<html <?php language_attributes(); ?>>
+
+<head>
+ <meta charset="<?php bloginfo( 'charset' ); ?>" />
+ <meta name="viewport" content="width=device-width" />
+
+ <title><?php wp_title( '|', TRUE, 'right' ); ?> <?php bloginfo( 'name' ); ?></title>
+
+ <link rel="profile" href="http://gmpg.org/xfn/11" />
+ <link rel="Shortcut Icon" type="image/x-icon" href="favicon.ico" />
+ <?php
+ wp_head();
+
+ if ( is_singular() )
+ echo '<meta name="author" content="' . get_the_author_meta( 'display_name', esc_attr( $GLOBALS['post']->post_author ) ) . '" />' . "\n";
+ ?>
+</head>
+
+<body <?php body_class(); ?>>
+<div id="wrap" class="hfeed">
+ <div id="header">
+ <p id="login"><?php
+ $redirect = documentation_get_options( 'rewrite_url' );
+ if ( ! is_user_logged_in() ) {
+ $link = '<a href="' . get_option( 'siteurl' ) . '/wp-login.php?redirect_to='.$redirect.'">' . __('Login', 'documentation') . '</a>';
+ } else {
+ $link = '<a href="' . get_option( 'siteurl' ) . '/wp-admin/edit.php">' . __('Administration', 'documentation') . '</a>';
+ }
+ echo apply_filters('loginout', $link);
+ ?></p>
+ <h1><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo('name'); ?></a></h1>
+ <p><?php bloginfo('description'); ?></p>
+ <?php
+ $args = array(
+ 'theme_location' => 'primary',
+ 'fallback_cb' => FALSE
+ );
+ wp_nav_menu( $args );
+
+ $header_image = get_header_image();
+ if ( ! empty( $header_image ) ) : ?>
+ <img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" />
+ <?php endif; ?>
+ </div>
+
+ <div id="content">
40 home.php
@@ -0,0 +1,40 @@
+<?php
+/**
+ * @package WordPress
+ * @subpackage Documentation
+ */
+
+get_header();
+
+if ( have_posts() ) :
+
+ $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
+ query_posts( $query_string . "&paged=$paged" );
+ while ( have_posts() ) :
+ the_post();
+ ?>
+ <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+ <p><small><?php the_category( ',' ) ?></small></p>
+ </div>
+
+ <?php
+ endwhile;
+else:
+
+ /**
+ * Include the template for the loop dosn't find and result
+ * If you will overwrite this in in a child theme the include a file
+ * called no-results-single.php and that will be used instead.
+ */
+ get_template_part( 'parts/no-results', 'home' );
+
+endif;
+
+if ( function_exists( 'documentation_get_paginate_bar' ) ) {
+ documentation_get_paginate_bar();
+} else {
+ posts_nav_link('<span class="none"> | </span>', '<span class="right">' . __('next page', 'documentation' ) . ' &raquo;</span>', '<span class="left">&laquo; ' . __('previous page', 'documentation' ) . '</span>');
+}
+
+get_footer();
212 inc/class-branding.php
@@ -0,0 +1,212 @@
+<?php
+/**
+ * Custom admin and login branding for WordPress
+ *
+ * @package Documentation
+ * @since 05/31/2012 0.0.1
+ * @version 05/31/2012
+ * @author fb
+ */
+
+class Documentation_Admin_Branding {
+
+ /**
+ * Container for this class' arguments
+ *
+ * @access protected
+ */
+ protected $args;
+
+ /**
+ * Constructor. Takes an array of args that customize various aspects of
+ * the login and admin areas.
+ *
+ * The args
+ * `login_url` - Where would you like the logo above the login form to link? Defaults to wordpress.org
+ * `login_image` - What will replace the WordPress logo on the login page.
+ * `login_title` - The title attribute on the logo link on the login page.
+ * `login_height` - Height of the login logo image.
+ * `login_width` - Width of the login login logo image. ~320px is recommended. Defaults to 326px.
+ * `designer_url` - Used in the credit link on the login and admin pages. Your website!
+ * `designer_anchor` - Anchor text for the credit link.
+ * `favicon_url` - The favicon to be added on the login and admin pages and on the front end.
+ * `remove_wp` - Remove the WordPress drop down from the admin menu bar if set to true. The Default is false.
+ *
+ * @param array $args See above
+ */
+ public function __construct( $args = array() ) {
+
+ $this->args = wp_parse_args(
+ $args,
+ array(
+ 'login_url' => home_url( '/' ),
+ 'login_image' => FALSE,
+ 'login_title' => get_bloginfo( 'name', 'display' ),
+ 'login_height' => '67px',
+ 'login_width' => '326px',
+ 'designer_url' => 'http://bueltge.de',
+ 'designer_anchor' => 'Frank Bültge',
+ 'favicon_url' => TRUE,
+ 'remove_wp' => TRUE,
+ 'remove_gravatar' => TRUE
+ )
+ );
+
+ add_filter( 'login_headerurl', array( $this, 'login_headerurl' ) );
+ add_filter( 'admin_footer_text', array( $this, 'admin_footer_text' ) );
+ add_filter( 'login_headertitle', array( $this, 'login_headertitle' ) );
+ add_action( 'login_head', array( $this, 'login_head' ) );
+ add_action( 'login_head', array( $this, 'add_favicon' ) );
+ add_action( 'login_footer', array( $this, 'login_footer' ) );
+ add_action( 'admin_head', array( $this, 'add_favicon' ) );
+ //add_action( 'wp_head', array( $this, 'add_favicon' ) );
+ add_action( 'admin_bar_menu', array( $this, 'admin_bar_menu' ), 25 );
+
+ // remove gravatar in admin bar
+ add_action( 'admin_bar_menu', array( $this, 'add_gravatar_filter' ), 0 );
+ add_action( 'admin_bar_menu', array( $this, 'remove_gravatar' ), 10 );
+ }
+
+ /**
+ * Change the `login_headerurl` to whatever was specified in $args
+ *
+ * @access public
+ */
+ public function login_headerurl( $url ) {
+
+ return esc_url( $this->args['login_url'] );
+ }
+
+ /**
+ * Change `login_headerurl` to what was specified in the $args
+ *
+ * @access public
+ */
+ public function login_headertitle( $title ) {
+
+ return esc_attr( $this->args['login_title'] );
+ }
+
+ /**
+ * Login header. Adds the favicon and `login_image` specified in the $args
+ *
+ * @access public
+ */
+ public function login_head() {
+
+ $this->add_favicon();
+
+ echo "\t<style type='text/css'>\n";
+
+ if ( $this->args['login_image'] ) {
+ printf(
+ "\t.login h1 a { background: url(%s) no-repeat top center; height: %s; width: %s }\n",
+ esc_url( $this->args['login_image'] ),
+ $this->args['login_height'],
+ $this->args['login_width']
+ );
+ }
+
+ echo "\t" . '.login h1 a { background-image: none; line-height: 1; text-indent: 0; text-align: right; height: auto; width: auto; }';
+ echo "\t" . '.custom-login-branding { position: absolute; right: 5px; bottom: 5px; text-align: right; }';
+ echo "\t</style>\n";
+ }
+
+ /**
+ * Adds the favicon specified in the $args
+ *
+ * @access public
+ */
+ public function add_favicon() {
+
+ if ( ! $this->args['favicon_url'] )
+ return;
+ // default in root
+ if ( TRUE === $this->args['favicon_url'] )
+ $this->args['favicon_url'] = home_url( '/favicon.ico' );
+
+ printf(
+ "\t<link rel='shortcut icon' href='%s' />\n",
+ esc_url( $this->args['favicon_url'] )
+ );
+ }
+
+ /**
+ * Spit out the designer credits (if present in $args) on the login footer
+ *
+ * @access public
+ */
+ public function login_footer() {
+
+ if ( $link = $this->designer_link() )
+ echo '<div class="custom-login-branding">' . $link . '</div>' . "\n";
+ }
+
+ /**
+ * Adds the designer link (`$args['designer_url']` & `args['designer_anchor`])
+ * to the admin footer.
+ *
+ * @access public
+ */
+ public function admin_footer_text( $text ) {
+
+ $text_arr = explode( ' &bull; ', $text );
+
+ if ( $designer = $this->designer_link() )
+ array_unshift( $text_arr, $designer );
+
+ return implode( ' &bull; ', $text_arr );
+ }
+
+ /**
+ * Maybe removes the "W" logo from the admin menu
+ *
+ * @access public
+ */
+ public function admin_bar_menu( $admin_bar ) {
+
+ if ( ! $this->args['remove_wp'] )
+ return;
+
+ $admin_bar->remove_node( 'wp-logo' );
+ }
+
+ /**
+ * Remove Gravatar Icon in Admin Bar
+ *
+ * @return void
+ */
+ public function remove_gravatar() {
+
+ if ( ! $this->args['remove_gravatar'] )
+ return;
+
+ add_filter( 'pre_option_show_avatars', '__return_zero' );
+ }
+
+ public function add_gravatar_filter() {
+
+ if ( ! $this->args['remove_gravatar'] )
+ return;
+
+ add_filter( 'pre_option_show_avatars', '__return_zero', 0 );
+ }
+
+ /**
+ * Make a nice designer credit link
+ *
+ * @access protected
+ */
+ protected function designer_link() {
+
+ if ( $this->args['designer_url'] && $this->args['designer_anchor'] ) {
+ return sprintf(
+ '<a href="%1$s" title="%2$s" rel="external">%2$s</a>',
+ esc_url( $this->args['designer_url'] ),
+ esc_attr( $this->args['designer_anchor'] )
+ );
+ }
+
+ }
+
+} // end class
191 inc/theme-options.php
@@ -0,0 +1,191 @@
+<?php
+/**
+ * Documentation Theme Options
+ *
+ * @package WordPress
+ * @subpackage Documentation
+ * @since 08/09/2012
+ */
+
+class Documentation_Options {
+ /**
+ * The option value in the database will be based on get_stylesheet()
+ * so child themes don't share the parent theme's option value.
+ */
+ var $option_key = 'documentation_theme_options';
+
+ /**
+ * Initialize our options.
+ */
+ var $options = array();
+
+ function documentation_Options() {
+ // Set option key based on get_stylesheet()
+ if ( 'documentation' != get_stylesheet() )
+ $this->option_key = get_stylesheet() . '_theme_options';
+
+ add_action( 'admin_init', array( $this, 'options_init' ) );
+ add_action( 'admin_menu', array( $this, 'add_page' ) );
+ add_action( 'customize_register', array( $this, 'customize_register' ) );
+ }
+
+ /**
+ * Register the form setting for our options array.
+ *
+ * This function is attached to the admin_init action hook.
+ *
+ * This call to register_setting() registers a validation callback, validate(),
+ * which is used when the option is saved, to ensure that our option values are properly
+ * formatted, and safe.
+ */
+ function options_init() {
+ // Load our options for use in any method.
+ $this->options = $this->get_theme_options();
+
+ // Register our option group.
+ register_setting(
+ 'documentation_options', // Options group, see settings_fields() call in render_page()
+ $this->option_key, // Database option, see get_theme_options()
+ array( $this, 'validate' ) // The sanitization callback, see validate()
+ );
+
+ // Register our settings field group.
+ add_settings_section(
+ 'general', // Unique identifier for the settings section
+ '', // Section title (we don't want one)
+ '__return_FALSE', // Section callback (we don't want anything)
+ 'theme_options' // Menu slug, used to uniquely identify the page; see add_page()
+ );
+
+ // Register our individual settings fields.
+ add_settings_field(
+ 'rewrite_url', // Unique identifier for the field for this section
+ __( 'Rewrite URL', 'documentation' ), // Setting field label
+ array( $this, 'settings_field_enable_fonts' ), // Function that renders the settings field
+ 'theme_options', // Menu slug, used to uniquely identify the page; see add_page()
+ 'general' // Settings section. Same as the first argument in the add_settings_section() above
+ );
+ }
+
+ /**
+ * Add our theme options page to the admin menu.
+ *
+ * This function is attached to the admin_menu action hook.
+ */
+ function add_page() {
+
+ $theme_page = add_theme_page(
+ __( 'Theme Options', 'documentation' ), // Name of page
+ __( 'Theme Options', 'documentation' ), // Label in menu
+ 'edit_theme_options', // Capability required
+ 'theme_options', // Menu slug, used to uniquely identify the page
+ array( $this, 'render_page' ) // Function that renders the options page
+ );
+ }
+
+ /**
+ * Returns the default options.
+ */
+ function get_default_theme_options() {
+
+ $default_theme_options = array(
+ 'rewrite_url' => 'wp-admin/edit.php',
+ );
+
+ return apply_filters( 'documentation_default_theme_options', $default_theme_options );
+ }
+
+ /**
+ * Returns the options array.
+ */
+ function get_theme_options() {
+
+ return get_option( $this->option_key, $this->get_default_theme_options() );
+ }
+
+ /**
+ * Renders the enable fonts checkbox setting field.
+ */
+ function settings_field_enable_fonts() {
+
+ $options = $this->options; ?>
+ <label for="enable-fonts">
+ <input type="text" name="<?php echo $this->option_key; ?>[rewrite_url]" id="rewrite-url" value="<?php echo $options['rewrite_url']; ?>" class="regular-text code" />
+ <br /><span class="description"><?php printf( __( 'Edit an URL in Backend for the Administration Link in Frontend. Example: %s', 'documentation' ), '<code>wp-admin/edit.php</code>' ); ?> </span>
+ </label>
+ <?php }
+
+ /**
+ * Returns the options array.
+ *
+ * @uses get_current_theme() for back compat, fallback for < 3.4
+ */
+ function render_page() {
+ ?>
+ <div class="wrap">
+ <?php screen_icon(); ?>
+ <?php $theme_name = function_exists( 'wp_get_theme' ) ? wp_get_theme() : get_current_theme(); ?>
+ <h2><?php printf( __( '%s Theme Options', 'documentation' ), $theme_name ); ?></h2>
+ <?php settings_errors(); ?>
+
+ <form method="post" action="options.php">
+ <?php
+ settings_fields( 'documentation_options' );
+ do_settings_sections( 'theme_options' );
+ submit_button();
+ ?>
+ </form>
+ </div>
+ <?php
+ }
+
+ /**
+ * Sanitize and validate form input. Accepts an array, return a sanitized array.
+ *
+ * @see options_init()
+ */
+ function validate( $input ) {
+
+ $output = $defaults = $this->get_default_theme_options();
+
+ // The enable fonts checkbox should boolean TRUE or FALSE
+ if ( ! isset( $input['rewrite_url'] ) )
+ $input['rewrite_url'] = FALSE;
+
+ $output['rewrite_url'] = trim( esc_attr( $input['rewrite_url'] ) );
+
+ return apply_filters( 'documentation_options_validate', $output, $input, $defaults );
+ }
+
+ /**
+ * Implement theme options into Theme Customizer
+ *
+ * @param $wp_customize Theme Customizer object
+ * @return void
+ *
+ * @since 08/09/2012
+ */
+ function customize_register( $wp_customize ) {
+
+ $defaults = $this->get_default_theme_options();
+
+ $wp_customize->add_section( $this->option_key . '_rewrite_url', array(
+ 'title' => __( 'Rewrite', 'documentation' ),
+ 'priority' => 35,
+ ) );
+
+ $wp_customize->add_setting( $this->option_key . '[rewrite_url]', array(
+ 'default' => $defaults['rewrite_url'],
+ 'type' => 'option',
+ 'capability' => 'edit_theme_options',
+ ) );
+
+ $wp_customize->add_control( $this->option_key . '_rewrite_url', array(
+ 'label' => __( 'Rewrite URL', 'documentation' ),
+ 'section' => $this->option_key . '_rewrite_url',
+ 'settings' => $this->option_key . '[rewrite_url]',
+ 'type' => 'text',
+ ) );
+ }
+
+} // end class
94 index.php
@@ -0,0 +1,94 @@
+<?php
+/**
+ * @package WordPress
+ * @subpackage Documentation
+ */
+
+get_header();
+
+if ( have_posts() ) :
+
+ /* If this is a category archive */ if ( is_category() ) { ?>
+ <h2><?php _e('Archive for categorie', 'documentation'); ?> &bdquo;<?php echo single_cat_title(); ?>&ldquo;</h2>
+ <?php /* If this is a daily archive */ } elseif ( is_day() ) { ?>
+ <h2><?php _e('Daily archive', 'documentation'); ?> <?php the_time('F jS, Y'); ?></h2>
+ <?php /* If this is a monthly archive */ } elseif ( is_month() ) { ?>
+ <h2><?php _e('Monthly archive', 'documentation'); ?> <?php the_time('F, Y'); ?></h2>
+ <?php /* If this is a yearly archive */ } elseif ( is_year() ) { ?>
+ <h2><?php _e('Years of archive', 'documentation'); ?> <?php the_time('Y'); ?></h2>
+ <?php /* If this is a search */ } elseif ( is_search() ) { ?>
+ <h2><?php _e('Search results', 'documentation'); ?></h2>
+ <?php /* If this is an author archive */ } elseif ( is_author() ) { ?>
+ <h2><?php _e('Author archive', 'documentation'); ?></h2>
+ <?php /* If this is a paged archive */ } elseif ( isset($_GET['paged']) && !empty($_GET['paged']) ) { ?>
+ <h2><?php _e('Archive', 'documentation'); ?></h2>
+ <?php }
+
+ while ( have_posts() ) :
+ the_post();
+ ?>
+
+ <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+ <p><small><?php foreach( ( get_the_category() ) as $category ) { echo $category->cat_name; } ?></small></p>
+
+ <div class="story">
+ <?php
+ if ( is_search() ) {
+ the_content( __( '... more &raquo;', 'documentation' ) , TRUE, the_title( ' ', '', FALSE ) ); ?>
+ <p class="textright">
+ <a href="<?php the_permalink() ?>" rel="bookmark"><?php _e('... more &raquo;', 'documentation'); ?></a>
+ </p>
+ <p class="info">
+ <?php
+ printf(
+ __( 'Category: %s, write at %s by %s', 'documentation' ),
+ get_the_category_list( ',' ),
+ get_the_date(),
+ get_the_author()
+ );
+ edit_post_link( __( 'Edit', 'documentation' ), ' | ', '' ); ?>
+ </p>
+ <?php
+ } elseif ( is_archive() ) {
+ the_content( __( '... more &raquo;', 'documentation' ) , TRUE, the_title( ' ', '', FALSE ) ); ?>
+ <p class="textright"><a href="<?php the_permalink() ?>" rel="bookmark"><?php _e( '... more &raquo;', 'documentation'); ?></a></p>
+ <p class="info">
+ <?php
+ printf(
+ __( 'Category: %s, write at %s by %s', 'documentation' ),
+ get_the_category_list( ',' ),
+ get_the_date(),
+ get_the_author()
+ );
+ edit_post_link( __( 'Edit', 'documentation' ), ' | ', '' ); ?>
+ </p>
+ <?php
+ } else {
+ the_content( __( '... more &raquo;', 'documentation' ) . the_title( ' ', '', FALSE ) );
+ wp_link_pages();
+ } ?>
+ </div>
+
+ </div>
+
+ <?php
+ endwhile;
+else:
+
+ /**
+ * Include the template for the loop dosn't find and result
+ * If you will overwrite this in in a child theme the include a file
+ * called no-results-single.php and that will be used instead.
+ */
+ get_template_part( 'parts/no-results', 'home' );
+
+endif;
+
+if ( function_exists( 'documentation_get_paginate_bar' ) ) {
+ documentation_get_paginate_bar();
+} else {
+ posts_nav_link('<span class="none"> | </span>', '<span class="right">' . __('next page', 'documentation' ) . ' &raquo;</span>', '<span class="left">&laquo; ' . __('previous page', 'documentation' ) . '</span>');
+}
+
+get_footer();
BIN  languages/de_DE.mo
Binary file not shown
305 languages/de_DE.po
@@ -0,0 +1,305 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Documentation v2.2.1\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-12-14 13:32+0100\n"
+"PO-Revision-Date: 2012-08-09 15:07:51+0000\n"
+"Last-Translator: Frank Bueltge <frank@bueltge.de>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Poedit-Language: \n"
+"X-Poedit-Country: \n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
+"X-Poedit-Basepath: d:/xampp/htdocs/wpbeta/wp-content/themes/dokumentation/\n"
+"X-Poedit-Bookmarks: \n"
+"X-Poedit-SearchPath-0: .\n"
+"X-Textdomain-Support: yes"
+
+#: archive.php:12
+#: index.php:12
+#@ documentation
+msgid "Archive for categorie"
+msgstr "Archiv für Kategorie"
+
+#: archive.php:24
+#: index.php:24
+#@ documentation
+msgid "Archive"
+msgstr "Archiv"
+
+#: archive.php:38
+#: archive.php:40
+#: archive.php:54
+#: archive.php:55
+#: archive.php:68
+#: index.php:38
+#: index.php:40
+#: index.php:54
+#: index.php:55
+#: index.php:68
+#@ documentation
+msgid "... more &raquo;"
+msgstr "... weiterlesen &raquo;"
+
+#: archive.php:50
+#: archive.php:64
+#: functions.php:176
+#: functions.php:204
+#: index.php:50
+#: index.php:64
+#: page.php:29
+#: single.php:34
+#@ documentation
+msgid "Edit"
+msgstr "Editieren"
+
+#: parts/no-results.php:8
+#@ documentation
+msgid "Nothing found, corresponding to the search criteria."
+msgstr "Nichts gefunden, was den Suchkriterien entspricht."
+
+#: archive.php:91
+#: home.php:37
+#: index.php:91
+#@ documentation
+msgid "next page"
+msgstr "Nächste Seite"
+
+#: archive.php:91
+#: home.php:37
+#: index.php:91
+#@ documentation
+msgid "previous page"
+msgstr "Vorherige Seite"
+
+#: functions.php:208
+#@ documentation
+msgid "Your comment is awaiting moderation."
+msgstr "Ihr Kommentar wartet auf die Moderation."
+
+#: footer.php:19
+#: header.php:32
+#@ documentation
+msgid "Login"
+msgstr "Anmelden"
+
+#: footer.php:21
+#@ documentation
+msgid "Logout"
+msgstr "Abmelden"
+
+#: header.php:34
+#@ documentation
+msgid "Administration"
+msgstr "Verwaltung"
+
+#: sidebar.php:25
+#@ documentation
+msgid "Search"
+msgstr "Suche"
+
+#: sidebar.php:31
+#@ documentation
+msgid "Pages"
+msgstr "Seiten"
+
+#: sidebar.php:38
+#@ documentation
+msgid "Categories"
+msgstr "Kategorien"
+
+#: sidebar.php:41
+#@ documentation
+msgid "Last entries"
+msgstr "Letzte Einträge"
+
+#: comments.php:17
+#@ documentation
+msgid "This post is password protected. Enter the password to view any comments."
+msgstr "Dieser Beitrag ist passwortgeschützt. Gebe das Passwort ein und lese die Kommentare."
+
+#: comments.php:61
+#@ documentation
+msgid "Comments are closed."
+msgstr "Kommentare sind geschlossen."
+
+#. translators: 1: date, 2: time
+#: functions.php:199
+#, php-format
+#@ documentation
+msgid "%1$s at %2$s"
+msgstr "%1$s bei %2$s"
+
+#: functions.php:176
+#@ documentation
+msgid "Pingback:"
+msgstr "Pingback:"
+
+#: functions.php:133
+#@ documentation
+msgid "Primary Widget Area"
+msgstr "Primärer Widget Bereich"
+
+#: functions.php:144
+#@ documentation
+msgid "Secondary Widget Area"
+msgstr "Sekundärer Widget Bereich"
+
+#: archive.php:14
+#: index.php:14
+#@ documentation
+msgid "Daily archive"
+msgstr "Tagesarchiv"
+
+#: archive.php:16
+#: index.php:16
+#@ documentation
+msgid "Monthly archive"
+msgstr "Monatsarchiv"
+
+#: archive.php:18
+#: index.php:18
+#@ documentation
+msgid "Years of archive"
+msgstr "Jahresarchiv"
+
+#: archive.php:20
+#: index.php:20
+#@ documentation
+msgid "Search results"
+msgstr "Suchresultate"
+
+#: archive.php:22
+#: index.php:22
+#@ documentation
+msgid "Author archive"
+msgstr "Autorenarchiv"
+
+#: comments.php:33
+#, php-format
+#@ documentation
+msgid "One thought on &ldquo;%2$s&rdquo;"
+msgid_plural "%1$s thoughts on &ldquo;%2$s&rdquo;"
+msgstr[0] "Kommentare zu &ldquo;%2$s&rdquo;"
+msgstr[1] "%1$s kommentieren zu &ldquo;%2$s&rdquo;"
+
+#: comments.php:40
+#: comments.php:52
+#@ documentation
+msgid "Comment navigation"
+msgstr "Kommentarnavigation"
+
+#: comments.php:41
+#: comments.php:53
+#@ documentation
+msgid "&larr; Older Comments"
+msgstr "&larr; Ältere Kommentare"
+
+#: comments.php:42
+#: comments.php:54
+#@ documentation
+msgid "Newer Comments &rarr;"
+msgstr "neuere Kommentare &rarr;"
+
+#: functions.php:39
+#@ documentation
+msgid "Primary Menu"
+msgstr "Primäres Menu"
+
+#: functions.php:135
+#@ documentation
+msgid "The primary widget area is visible on all pages and posts."
+msgstr "Der primäre Widget Bereich ist in allen Seiten und Artikeln sichtbar."
+
+#: functions.php:146
+#@ documentation
+msgid "The secondary widget area down below Primary Widget Area only on pages and posts."
+msgstr "Der sekundäre Widget Bereich unterhalb des primären Widget Bereiches ist nur bei Seiten und Artikeln sichbar."
+
+#. translators: 1: comment author, 2: date and time
+#: functions.php:193
+#, php-format
+#@ documentation
+msgid "%1$s on %2$s <span class=\"says\">said:</span>"
+msgstr "%1$s zu %2$s <span class=\\\"says\\\">sagt:</span>"
+
+#: functions.php:216
+#@ documentation
+msgid "Reply <span>&darr;</span>"
+msgstr "Antwort <span>&darr;</span>"
+
+#: functions.php:250
+#@ documentation
+msgid "&laquo; Previous"
+msgstr "&laquo; vorherige"
+
+#: functions.php:251
+#@ documentation
+msgid "Next &raquo;"
+msgstr "nächste &raquo;"
+
+#: archive.php:45
+#: archive.php:59
+#: index.php:45
+#: index.php:59
+#, php-format
+#@ documentation
+msgid "Category: %s, write at %s by %s"
+msgstr "Kategorie: %s, geschrieben am %s von %s"
+
+#: page.php:23
+#, php-format
+#@ documentation
+msgid "Updated at %s by %s, write at %s by %s"
+msgstr "Aktualisiert am %s von %s, erstellt am %s von %s"
+
+#: single.php:26
+#, php-format
+#@ documentation
+msgid "Category: %s<br />%s updated at %s by %s, write at %s by %s"
+msgstr "Kategorie: %s<br />%s aktualisiert an %s von %s, erstellt am %s von %s"
+
+#: single.php:28
+#@ documentation
+msgid "Tags:"
+msgstr "Schlagworte:"
+
+#: functions.php:272
+#, php-format
+#@ documentation
+msgid "&emsp;(%d)"
+msgstr "&emsp;(%d)"
+
+#: inc/theme-options.php:63
+#: inc/theme-options.php:184
+#@ documentation
+msgid "Rewrite URL"
+msgstr "Weiterleitung URL"
+
+#: inc/theme-options.php:78
+#: inc/theme-options.php:79
+#@ documentation
+msgid "Theme Options"
+msgstr "Theme Einstellungen"
+
+#: inc/theme-options.php:114
+#, php-format
+#@ documentation
+msgid "Edit an URL in Backend for the Administration Link in Frontend. Example: %s"
+msgstr "Hinterlege eine URL im Backend von WordPress für den Administrationslink im Frontend. Beispiel: %s"
+
+#: inc/theme-options.php:128
+#, php-format
+#@ documentation
+msgid "%s Theme Options"
+msgstr "%s Theme Einstellungen"
+
+#: inc/theme-options.php:173
+#@ documentation
+msgid "Rewrite"
+msgstr "Weiterleitung"
+
281 license.txt
@@ -0,0 +1,281 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
49 page.php
@@ -0,0 +1,49 @@
+<?php
+/**
+ * @package WordPress
+ * @subpackage Documentation
+ */
+
+get_header();
+
+if ( have_posts() ) :
+ while ( have_posts() ) :
+ the_post(); ?>
+
+ <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+
+ <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+ <?php
+ the_content();
+ wp_link_pages();
+ ?>
+ <p class="info">
+ <?php
+ printf(
+ __( 'Updated at %s by %s, write at %s by %s', 'documentation' ),
+ get_the_modified_date(),
+ get_the_modified_author(),
+ get_the_date(),
+ get_the_author()
+ );
+ edit_post_link( __( 'Edit', 'documentation' ), ' | ', ' | ' );
+ wp_loginout(); ?>
+ </p>
+
+ </div>
+ <?php
+ comments_template();
+
+ endwhile;
+else:
+
+ /**
+ * Include the template for the loop dosn't find and result
+ * If you will overwrite this in in a child theme the include a file
+ * called no-results-single.php and that will be used instead.
+ */
+ get_template_part( 'parts/no-results', 'home' );
+
+endif;
+
+get_footer();
9 parts/no-results.php
@@ -0,0 +1,9 @@
+<?php
+/**
+ * @package WordPress
+ * @subpackage Documentation
+ */
+?>
+
+ <p><?php _e( 'Nothing found, corresponding to the search criteria.', 'documentation' ); ?></p>
+
2  print.css
@@ -0,0 +1,2 @@
+@charset "utf-8";
+#header,#respond,#footer,#commentform,#headerimg,a#toocool,#searchform,#s,#submit,#sidebar,#wp-calendar{display:none;}#respond p,#comment p,#commentform p,.info{display:none;}select,input,textarea,ckeckbox,dd{display:none;}.navigation,.postmetadata,.subscribe{display:none;}body{text-align:left;margin:0;padding:0;font:12pt Garamond,Palatino,"Times New Roman",Times,serif;color:black;background:transparent;}h1,h2,h3,h4,h5,h6{font-weight:bold;margin:.75em 0 .5em 0;text-align:left;page-break-after:avoid;}p{margin:.5em;}img{border:0;}a,a:visited,a:hover,a:visited:hover{color:#0100be;background:transparent;text-decoration:none;}a[href]:after{content:"(Link zu:<"attr(href)">) ";color:lightgrey;background-color:inherit;font-style:italic;font-size:9pt;}*[name]:after{content:" [#"attr(name)"]";color:lightgrey;background-color:inherit;font-style:italic;font-size:.7em;}*[title]:after{content:"("attr(title)")";color:lightgrey;background-color:inherit;font-style:italic;font-size:.7em;}*[acronym]:after{content:"("attr(acronym)")";color:lightgrey;background-color:inherit;font-style:italic;font-size:.7em;}*[cite]:after{content:close-quote"(Quelle:"attr(cite)")";font-size:.7em;}*{quotes:"\201E" "\201C" "\201A" "\2018";}q:before,blockquote:before{content:open-quote;}q:after,blockquote:after{content:close-quote;}blockquote,q,cite{padding-left:2em;}code{font:.8em 'Courier New',Courier,Fixed;color:gray;padding-left:2em;}code a[href]:after{content:"";}
121 print.dev.css
@@ -0,0 +1,121 @@
+@charset "utf-8";
+/**
+ * Documentation print layout
+ *
+ * @version 08/09/2012
+ * @author Frank Bültge
+ */
+
+/* Start Allgemeines Druck-Layout */
+#header, #respond, #footer, #commentform, #headerimg, a#tooCool, #searchform, #s, #submit, #sidebar, #wp-calendar {
+display: none;
+}
+
+#respond p, #comment p, #commentform p, .info {
+display: none;
+}
+
+select, input, textarea, ckeckbox, dd {
+display: none;
+}
+
+.navigation, .postmetadata, .subscribe {
+display: none;
+}
+
+body {
+text-align: left;
+margin: 0;
+padding: 0;
+font: 12pt Garamond, Palatino, "Times New Roman", Times, serif;
+color: black;
+background: transparent;
+}
+
+h1, h2, h3, h4, h5, h6 {
+font-weight: bold;
+margin: .75em 0 .5em 0;
+text-align: left;
+page-break-after: avoid;
+}
+
+p {
+margin: .5em;
+}
+
+img {
+border: 0;
+}
+
+a, a:visited, a:hover, a:visited:hover {
+color: #0100be;
+background: transparent;
+text-decoration: none;
+}
+
+a[href]:after {
+content:" (Link zu: <"attr(href)">) ";
+color: lightgrey;
+background-color:inherit;
+font-style:italic;
+font-size: 9pt;
+}
+
+*[name]:after {
+content:" [#"attr(name)"]";
+color: lightgrey;
+background-color:inherit;
+font-style:italic;
+font-size: .7em;
+}
+
+*[title]:after {
+content:" ("attr(title)")";
+color: lightgrey;
+background-color:inherit;
+font-style:italic;
+font-size: .7em;
+}
+
+*[acronym]:after {
+content:" ("attr(acronym)")";
+color: lightgrey;
+background-color:inherit;
+font-style:italic;
+font-size: .7em;
+}
+
+*[cite]:after {
+content:close-quote" (Quelle: "attr(cite)")";
+font-size: .7em;
+}
+
+* {
+quotes: "\201E" "\201C" "\201A" "\2018";
+}
+
+q:before, blockquote:before {
+content:open-quote;
+}
+
+q:after, blockquote:after {
+content:close-quote;
+}
+
+blockquote, q, cite {
+padding-left: 2em;
+}
+/* Ende Allgemeines Druck-Layout */
+
+
+/* Start spezielle WP-Tags */
+code {
+font: .8em 'Courier New', Courier, Fixed;
+color: gray;
+padding-left: 2em;
+}
+
+code a[href]:after {
+content:"";
+}
+/* Ende spezielle WP-Tags */
22 readme.md
@@ -0,0 +1,22 @@
+# Documentation
+A small theme for WordPress as a documentation-tool.
+
+## Descripton
+
+
+## Installation
+### Requirements
+* WordPress (also Multisite) version 3.3 and later (tested at 3.4, 3.5-alpha)
+* PHP 5.2*
+
+## Other Notes
+### Licence
+Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog.
+
+### Contact & Feedback
+The theme is developed current by me ([Frank Bültge](http://bueltge.de))
+
+Please let me know if you like the plugin or you hate it or whatever ... Please fork it, add an issue for ideas and bugs.
+
+### Disclaimer
+I'm German and my English might be gruesome here and there. So please be patient with me and let me know of typos or grammatical farts. Thanks
5 readme.txt
@@ -0,0 +1,5 @@
+= DOCUMENTATION =
+
+* by Frank B�ltge, http://bueltge.de/
+
+== ABOUT DOCUMENTATION ==
BIN  screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 sidebar.php
@@ -0,0 +1,57 @@
+<?php
+/**
+ * @package WordPress
+ * @subpackage Documentation
+ */
+?>
+ <div id="sidebar">
+
+ <ul class="primary-widget-area">
+
+ <?php if ( class_exists('SitePress') ) { ?>
+ <li>
+ <?php do_action('icl_language_selector'); ?>
+ </li>
+ <?php } ?>
+
+ <?php
+ if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : // begin primary widget area
+ ?>
+ <li id="search">
+ <?php if ( defined('ASL_ACTIVE') && 'true' == ASL_ACTIVE) { echo as_form('asl'); } else { ?>
+ <form id="searchform" method="get" action="<?php home_url(); ?>">
+ <p>
+ <input type="text" value="" name="s" id="s" />
+ <input type="submit" class="submit" accesskey="s" value="<?php _e( 'Search', 'documentation' ); ?>" />
+ </p>
+ </form>
+ <?php } ?>
+ </li>
+
+ <li><h2><?php _e('Pages', 'documentation' ); ?></h2>
+ <ul>
+ <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
+ </ul>
+ </li>
+ <?php //wp_list_pages('title_li=<h2>' . __('Pages', 'documentation') . '</h2>'); ?>
+
+ <?php wp_list_categories('sort_column=name&optioncount=1&hierarchical=1&hide_empty=0&title_li=<h2>' . __('Categories', 'documentation') . '</h2>&show_count=1'); ?>
+
+ <?php if ( !is_home() ) { ?>
+ <li><h2><?php _e('Last entries', 'documentation' ); ?></h2>
+ <ul>
+ <?php wp_get_archives('type=postbypost&limit=15'); ?>
+ </ul>
+ </li>
+ <?php }
+ endif; // end primary widget area ?>
+ </ul>
+
+ <?php if ( is_active_sidebar('secondary-widget-area') && is_singular() ) : // Nothing here by default and design ?>
+ <ul class="secondary-widget-area">
+ <?php dynamic_sidebar( 'secondary-widget-area' ); ?>
+ </ul>
+ <?php endif; ?>
+
+ </div>
+
54 single.php
@@ -0,0 +1,54 @@
+<?php
+/**
+ * @package WordPress
+ * @subpackage Documentation
+ */
+
+get_header();
+
+if ( have_posts() ) :
+ while ( have_posts() ) :
+ the_post(); ?>
+
+ <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+
+ <h2><?php the_title(); ?></h2>
+ <?php
+ if ( current_theme_supports( 'post-thumbnails' ) )
+ the_post_thumbnail();
+ the_content();
+ wp_link_pages();
+ if ( function_exists( 'archive_page_link' ) ) { archive_page_link(); } ?>
+
+ <p class="info">
+ <?php
+ printf(
+ __( 'Category: %s<br />%s updated at %s by %s, write at %s by %s', 'documentation' ),
+ get_the_category_list( ',' ),
+ get_the_tag_list( __( 'Tags:', 'documentation' ) . ' ', ', ', '<br />' ),
+ get_the_modified_date(),
+ get_the_modified_author(),
+ get_the_date(),
+ get_the_author()
+ );
+ edit_post_link( __( 'Edit', 'documentation' ), ' | ', ' | ' );
+ wp_loginout(); ?>
+ </p>
+
+ </div>
+ <?php
+ comments_template();
+
+ endwhile;
+else:
+
+ /**
+ * Include the template for the loop dosn't find and result
+ * If you will overwrite this in in a child theme the include a file
+ * called no-results-single.php and that will be used instead.
+ */
+ get_template_part( 'parts/no-results', 'home' );
+
+endif;
+
+get_footer();
14 style.css
@@ -0,0 +1,14 @@
+@charset "utf-8";
+/**
+ * Theme Name: Documentation
+ * Theme URI: http://bueltge.de/documentations-theme-fuer-wordpress/469/
+ * Description: A small Theme for WordPress as a documentation-tool.
+ * Version: 2.2.1
+ * Author: Frank Bültge
+ * Author URI: http://bueltge.de
+ * Tags: white, blue, two-columns, fixed-width, threaded-comments, translation-ready
+ * License: GPLv3
+ * License URI: readme.txt
+ */
+
+body{background:#fff;color:#111;font-family:'Lucida Sans Unicode','Lucida Sans','Trebuchet MS','Lucida Grande','Bitstream Sans Vera',Verdana,Arial,Tahoma,Helvetica,Sans-Serif;font-style:normal;line-height:1.5em;font-size:80%;margin:0;padding:2px 2em}code,pre{font-family:Courier,'Lucida Console','Courier New',Sans-Serif}pre{font-size:90%;line-height:150%;width:100%;max-height:400px;overflow:auto;padding:5px;background:#eee}p{font-size:100%;padding:0}em {padding-right: .5%;}h2{font-size:140%}h3{font-size:120%}h4{font-size:100%}h1,h2,h3,h4{font-family:Georgia,'Trebuchet MS','Lucida Sans','Lucida Grande','Bitstream Sans Vera',Verdana,Arial,Tahoma,Helvetica,Sans-Serif;color:#333;clear:both;margin:20px 0 0;padding:2px 0}blockquote{margin-left:0;padding-left:1em;border-left:5px solid #ddd}blockquote p:before{content:open-quote;font-size:1.5em}blockquote p:after{content:close-quote;font-size:1.5em}#wrap{border:0;width:100%;text-align:left}#login{float:right}#header{border-bottom:1px solid #ccc;margin:4px 4px 0 0;padding:15px 10px}#header h1{font-size:250%;width:80%;margin:0}#header p{font-size:90%;margin:5px 0}#content{width:67%;float:left;font-size:1.1em;margin:2px .1em 5px;padding:5px 1em;line-height:1.7em}#content h2 a:link,#content h2 a:visited,#header h1 a:link,#header h1 a:visited{color:#0100be;font-weight:400;text-decoration:none;border:0}#content h2 a:hover,#content h2 a:active,#header h1 a:hover,#header h1 a:active{color:#999}.post p{margin:0 0 15px}.post img{border:1px solid #eee;padding:5px}.page .info,.post .info,.post ul.link,.post ul.inline{font-size:.8em}.post .info{clear:both;margin:10px 0;padding:0;border-top:1px solid #eee;text-align:right}#commentbox{clear:both;border-top:1px solid #eee;margin:10px 0}ol#commentlist{list-style-position:inside;margin:2px 0;padding:0}#commentlist li{border-bottom:1px solid #eee;margin:10px 0}#commentform textarea{width:90%}#commentform label,#commentform textarea{display:block}#commentform input.submit{width:40%;margin:2px 0}.approve{border:1px solid #ccc;background:#eee;font-size:90%;padding:5px}#sidebar{background:#fff;color:#111;width:25%;float:right;margin:5px 0;padding:5px 0}#sidebar ul{list-style-type:none;margin:2px;padding:0}#sidebar ul li ul li{list-style:disc inside;padding:2px 0}#sidebar h2{font-size:100%;margin:20px 0 0;padding:4px 0}.h2sidebar{font-size:100%;font-weight:900;font-family:Georgia,'Trebuchet MS','Lucida Sans','Lucida Grande','Bitstream Sans Vera',Verdana,Arial,Tahoma,Helvetica,Sans-Serif;color:#333}#sidebar li a{border:0}#sidebar li ul li ul li{list-style:circle inside;border:0;margin-left:10px}#searchform label{font-weight:700}#searchform input.submit{width:30%}#footer{border-top:1px solid #ccc;color:#111;clear:both;text-align:center;margin:5px;padding:5px 10px}#footer li{display:inline;margin:0 3px}.center{text-align:center}.textright{text-align:right}.right{float:right}.left{float:left}.none{display:none}.righttxt{text-align:right}.credits,.clear{clear:both}img{margin:0 2px;max-width:600px}.aligncenter,div.aligncenter{display:block;margin-left:auto;margin-right:auto}.alignleft{float:left}img.alignleft{margin:5px 20px 5px 0}.alignright,img.wp-post-image{float:right}img.alignright,img.wp-post-image{margin:5px 0 5px 20px}img.bueltge{border:0;margin:0 0 -3px}.wp-caption{border:1px solid #eee;text-align:center;padding-top:5px;margin:10px}.wp-caption img{margin:0;padding:0;border:0 none}.wp-caption p.wp-caption-text{font-size:.8em;line-height:1em;padding:0 5px 6px;margin:0}a:link,a:visited{font-weight:400;color:#0100be;text-decoration:none}a:hover,a:active{color:#666;text-decoration:none;border:0}input,textarea,select,option{font-family:'Lucida Sans','Trebuchet MS','Lucida Grande','Bitstream Sans Vera',Verdana,Arial,Tahoma,Helvetica,Sans-Serif;font-size:100%;background:#eee;color:#111;border:1px solid #ccc;margin:2px;padding:2px}fieldset,legend{background:transparent;color:#111;border:0;padding:5px}label,legend{font-weight:400}ul{list-style-type:disc;list-style-position:outside;margin:5px 2em;padding:2px}ol{list-style-position:outside;margin:5px 2em;padding:2px}ol li{clear:both}.link li,.inline li{display:inline;margin:5px 0;padding:0}ul.inline,ul.link{list-style:none;margin:5px 0;padding:0}.inline li{padding:2px 15px 2px 0}table{color:#111;width:100%;margin:2px auto;padding:0;border:1px solid #eee}table .second,table th{background:#eee}.alt,.even{padding:10px}.alt{background:#eee}.even{background:#fff}caption{color:#333;font-weight:700;padding:5px}td,th,tr{text-align:left;vertical-align:top;padding:5px}hr,.border{border:1px solid #ccc}.post h2{border-bottom:1px solid #eee}#commentform input,#searchform input#s{width:50%}#sidebar p,#foot ul{margin:2px;padding:0}
451 style.dev.css
@@ -0,0 +1,451 @@
+@charset "utf-8";
+
+body {
+background: #fff;
+color: #111;
+font-family: 'Lucida Sans Unicode','Lucida Sans', 'Trebuchet MS', 'Lucida Grande', 'Bitstream Sans Vera', Verdana, Arial, Tahoma, Helvetica, Sans-Serif;
+font-style: normal;
+line-height: 1.5em;
+font-size: 80%;
+margin: 0;
+padding: 2px 2em;
+}
+
+code, pre {
+font-family: Courier, 'Lucida Console','Courier New', Sans-Serif;
+}
+
+pre {
+font-size: 90%;
+line-height: 140%;
+width: 100%;
+max-height: 400px;
+overflow: auto;
+padding: 5px;
+background: #eee;
+}
+
+p {
+font-size: 100%;
+padding: 0;
+}
+
+em {
+padding-right: .5%;
+}
+
+h2 {
+font-size: 140%;
+}
+
+h3 {
+font-size: 120%;
+}
+
+h4 {
+font-size: 100%;
+}
+
+h1, h2, h3, h4 {
+font-family: Georgia,'Trebuchet MS', 'Lucida Sans', 'Lucida Grande', 'Bitstream Sans Vera', Verdana, Arial, Tahoma, Helvetica, Sans-Serif;
+color: #333;
+clear: both;
+margin: 20px 0 0;
+padding: 2px 0;
+}
+
+blockquote {
+margin-left: 0;
+padding-left: 1em;
+border-left: 5px solid #ddd;
+}
+
+blockquote p:before {
+content:open-quote;
+font-size: 1.5em;
+}
+
+blockquote p:after {
+content:close-quote;
+font-size: 1.5em;
+}
+
+#wrap {
+border: none;
+width: 100%;
+text-align: left;
+}
+
+#login {
+float: right;
+}
+
+#header {
+border-bottom: 1px solid #ccc;
+margin: 4px 4px 0 0;
+padding: 15px 10px;
+}
+
+#header h1 {
+font-size: 250%;
+width: 80%;
+margin: 0;
+}
+
+#header p {
+font-size: 90%;
+margin: 5px 0;
+}
+
+#content {
+width: 67%;
+float: left;
+font-size: 1.1em;
+margin: 2px .1em 5px;
+padding: 5px 1em;
+line-height: 1.7em;
+}
+
+#content h2 a:link, #content h2 a:visited, #header h1 a:link, #header h1 a:visited {
+color: #0100be;
+font-weight: 400;
+text-decoration: none;
+border: none;
+}
+
+#content h2 a:hover, #content h2 a:active, #header h1 a:hover, #header h1 a:active {
+color: #999;
+}
+
+.post p{
+margin: 0 0 15px;
+}
+
+.post img {
+border: 1px solid #eee;
+padding: 5px;
+}
+
+.page .info,
+.post .info,.post ul.link,.post ul.inline {
+font-size: .8em;
+}
+
+.post .info {
+clear:both;
+margin: 10px 0;
+padding: 0;
+border-top: 1px solid #eee;
+text-align: right;
+}
+
+.sticky { }
+
+.gallery-caption{ }
+
+..bypostauthor{ }
+
+#commentbox {
+clear: both;
+border-top: 1px solid #eee;
+margin: 10px 0;
+}
+
+ol#commentlist {
+list-style-position: inside;
+margin: 2px 0;
+padding: 0;
+}
+
+#commentlist li {
+border-bottom: 1px solid #eee;
+margin: 10px 0;
+}
+
+#commentform textarea {
+width: 90%;
+}
+
+#commentform label,#commentform textarea {
+display: block;
+}
+