Changeset 8999

Show
Ignore:
Timestamp:
09/27/08 09:49:27 (3 months ago)
Author:
westi
Message:

phpdoc for the default and classic themes. See #7550 props jacobsantos.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-content/themes/classic/comments-popup.php

    r8800 r8999  
    11<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Classic_Theme 
     5 */ 
     6 
    27/* Don't remove these lines. */ 
    38add_filter('comment_text', 'popuplinks'); 
  • trunk/wp-content/themes/classic/comments.php

    r8800 r8999  
    1 <?php if ( post_password_required() ) : ?> 
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Classic_Theme 
     5 */ 
     6 
     7if ( post_password_required() ) : ?> 
    28<p><?php _e('Enter your password to view comments.'); ?></p> 
    39<?php return; endif; ?> 
  • trunk/wp-content/themes/classic/footer.php

    r3115 r8999  
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Classic_Theme 
     5 */ 
     6?> 
    17<!-- begin footer --> 
    28</div> 
  • trunk/wp-content/themes/classic/functions.php

    r5390 r8999  
    11<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Classic_Theme 
     5 */ 
    26if ( function_exists('register_sidebar') ) 
    37    register_sidebar(array( 
    4         'before_widget' => '<li id="%1$s" class="widget %2$s">', 
    5         'after_widget' => '</li>', 
    6         'before_title' => '', 
    7         'after_title' => '', 
    8     )); 
     8       'before_widget' => '<li id="%1$s" class="widget %2$s">', 
     9       'after_widget' => '</li>', 
     10       'before_title' => '', 
     11       'after_title' => '', 
     12   )); 
    913 
    1014?> 
  • trunk/wp-content/themes/classic/header.php

    r6261 r8999  
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Classic_Theme 
     5 */ 
     6?> 
    17<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    28<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 
  • trunk/wp-content/themes/classic/index.php

    r8638 r8999  
    11<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Classic_Theme 
     5 */ 
    26get_header(); 
    37?> 
  • trunk/wp-content/themes/classic/sidebar.php

    r5151 r8999  
    1  
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Classic_Theme 
     5 */ 
     6?> 
    27<!-- begin sidebar --> 
    38<div id="menu"> 
  • trunk/wp-content/themes/default/404.php

    r2040 r8999  
    1 <?php get_header(); ?> 
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6 
     7get_header(); 
     8?> 
    29 
    310    <div id="content" class="narrowcolumn"> 
  • trunk/wp-content/themes/default/archive.php

    r8641 r8999  
    1 <?php get_header(); ?> 
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6 
     7get_header(); 
     8?> 
    29 
    310    <div id="content" class="narrowcolumn"> 
  • trunk/wp-content/themes/default/archives.php

    r4495 r8999  
    11<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
    26/* 
    37Template Name: Archives 
  • trunk/wp-content/themes/default/comments-popup.php

    r8800 r8999  
    11<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6 
    27/* Don't remove these lines. */ 
    38add_filter('comment_text', 'popuplinks'); 
  • trunk/wp-content/themes/default/comments.php

    r8961 r8999  
    1 <?php // Do not delete these lines 
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6 
     7// Do not delete these lines 
    28    if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) 
    39        die ('Please do not load this page directly. Thanks!'); 
  • trunk/wp-content/themes/default/footer.php

    r5771 r8999  
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6?> 
    17 
    28<hr /> 
  • trunk/wp-content/themes/default/functions.php

    r6950 r8999  
    11<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6 
    27if ( function_exists('register_sidebar') ) 
    38    register_sidebar(array( 
     
    813    )); 
    914 
     15/** @ignore */ 
    1016function kubrick_head() { 
    1117    $head = "<style type='text/css'>\n<!--"; 
  • trunk/wp-content/themes/default/header.php

    r8869 r8999  
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6?> 
    17<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    28<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 
  • trunk/wp-content/themes/default/image.php

    r7541 r8999  
    1 <?php get_header(); ?> 
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6 
     7get_header(); 
     8?> 
    29 
    310    <div id="content" class="widecolumn"> 
     
    916            <div class="entry"> 
    1017                <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a></p> 
    11                 <div class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div> 
     18               <div class="caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div> 
    1219 
    1320                <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?> 
  • trunk/wp-content/themes/default/images/header-img.php

    r8340 r8999  
    11<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
    26 
     7/** @ignore */ 
    38$img = 'kubrickheader.jpg'; 
    49 
  • trunk/wp-content/themes/default/index.php

    r8638 r8999  
    1 <?php get_header(); ?> 
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6 
     7get_header(); ?> 
    28 
    39    <div id="content" class="narrowcolumn"> 
  • trunk/wp-content/themes/default/links.php

    r6673 r8999  
    11<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6 
    27/* 
    38Template Name: Links 
  • trunk/wp-content/themes/default/page.php

    r4495 r8999  
    1 <?php get_header(); ?> 
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6 
     7get_header(); ?> 
    28 
    39    <div id="content" class="narrowcolumn"> 
  • trunk/wp-content/themes/default/search.php

    r8641 r8999  
    1 <?php get_header(); ?> 
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6 
     7get_header(); ?> 
    28 
    39    <div id="content" class="narrowcolumn"> 
  • trunk/wp-content/themes/default/searchform.php

    r7883 r8999  
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6?> 
    17<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/"> 
    28<label class="hidden" for="s"><?php _e('Search for:'); ?></label> 
  • trunk/wp-content/themes/default/sidebar.php

    r5825 r8999  
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6?> 
    17    <div id="sidebar"> 
    28        <ul> 
  • trunk/wp-content/themes/default/single.php

    r8641 r8999  
    1 <?php get_header(); ?> 
     1<?php 
     2/** 
     3 * @package WordPress 
     4 * @subpackage Default_Theme 
     5 */ 
     6 
     7get_header(); 
     8?> 
    29 
    310    <div id="content" class="widecolumn">