phpdoc for the default and classic themes. See #7550 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a6f7c12d48
commit
a2df97240f
|
@ -1,4 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Classic_Theme
|
||||
*/
|
||||
|
||||
/* Don't remove these lines. */
|
||||
add_filter('comment_text', 'popuplinks');
|
||||
while( have_posts()) : the_post();
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
<?php if ( post_password_required() ) : ?>
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Classic_Theme
|
||||
*/
|
||||
|
||||
if ( post_password_required() ) : ?>
|
||||
<p><?php _e('Enter your password to view comments.'); ?></p>
|
||||
<?php return; endif; ?>
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Classic_Theme
|
||||
*/
|
||||
?>
|
||||
<!-- begin footer -->
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Classic_Theme
|
||||
*/
|
||||
if ( function_exists('register_sidebar') )
|
||||
register_sidebar(array(
|
||||
'before_widget' => '<li id="%1$s" class="widget %2$s">',
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Classic_Theme
|
||||
*/
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
|
||||
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Classic_Theme
|
||||
*/
|
||||
get_header();
|
||||
?>
|
||||
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Classic_Theme
|
||||
*/
|
||||
?>
|
||||
<!-- begin sidebar -->
|
||||
<div id="menu">
|
||||
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
<?php get_header(); ?>
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div id="content" class="narrowcolumn">
|
||||
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
<?php get_header(); ?>
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div id="content" class="narrowcolumn">
|
||||
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
/*
|
||||
Template Name: Archives
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
/* Don't remove these lines. */
|
||||
add_filter('comment_text', 'popuplinks');
|
||||
while ( have_posts()) : the_post();
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
<?php // Do not delete these lines
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
// Do not delete these lines
|
||||
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
|
||||
die ('Please do not load this page directly. Thanks!');
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
?>
|
||||
|
||||
<hr />
|
||||
<div id="footer">
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
if ( function_exists('register_sidebar') )
|
||||
register_sidebar(array(
|
||||
'before_widget' => '<li id="%1$s" class="widget %2$s">',
|
||||
|
@ -7,6 +12,7 @@ if ( function_exists('register_sidebar') )
|
|||
'after_title' => '</h2>',
|
||||
));
|
||||
|
||||
/** @ignore */
|
||||
function kubrick_head() {
|
||||
$head = "<style type='text/css'>\n<!--";
|
||||
$output = '';
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
|
||||
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
<?php get_header(); ?>
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div id="content" class="widecolumn">
|
||||
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
/** @ignore */
|
||||
$img = 'kubrickheader.jpg';
|
||||
|
||||
// If we don't have image processing support, redirect.
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
<?php get_header(); ?>
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="content" class="narrowcolumn">
|
||||
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
/*
|
||||
Template Name: Links
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
<?php get_header(); ?>
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="content" class="narrowcolumn">
|
||||
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
<?php get_header(); ?>
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="content" class="narrowcolumn">
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
?>
|
||||
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
|
||||
<label class="hidden" for="s"><?php _e('Search for:'); ?></label>
|
||||
<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
?>
|
||||
<div id="sidebar">
|
||||
<ul>
|
||||
<?php /* Widgetized sidebar, if you have the plugin installed. */
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
<?php get_header(); ?>
|
||||
<?php
|
||||
/**
|
||||
* @package WordPress
|
||||
* @subpackage Default_Theme
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div id="content" class="widecolumn">
|
||||
|
||||
|
|
Loading…
Reference in New Issue