Skip to:
Content

BuddyPress.org

Changeset 4534


Ignore:
Timestamp:
06/19/2011 03:41:38 PM (13 years ago)
Author:
djpaul
Message:

Add search box to 404 template, tweak text, and remove sidebar. Fixes #3236, props bowromir for initial patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/404.php

    r4222 r4534  
    1 <?php get_header(); ?>
     1<?php get_header() ?>
    22
    33    <div id="content">
    4         <div class="padder">
     4        <div class="padder one-column">
     5            <?php do_action( 'bp_before_404' ); ?>
     6            <div id="post-0" class="post page-404 error404 not-found" role="main">
     7                <h2 class="posttitle"><?php _e( "Page not found", 'buddypress' ); ?></h2>
    58
    6         <?php do_action( 'bp_before_404' ) ?>
     9                <p><?php _e( "We're sorry, but we can't find the page that you're looking for. Perhaps searching will help.", 'buddypress' ); ?></p>
     10                <?php get_search_form(); ?>
    711
    8         <div class="page-404">
    9 
    10             <h2 class="pagetitle"><?php _e( 'Page Not Found', 'buddypress' ) ?></h2>
    11 
    12             <div id="message" class="info">
    13 
    14                 <p><?php _e( 'The page you were looking for was not found.', 'buddypress' ) ?>
    15 
     12                <?php do_action( 'bp_404' ); ?>
    1613            </div>
    1714
    18             <?php do_action( 'bp_404' ) ?>
    19 
    20         </div>
    21 
    22         <?php do_action( 'bp_after_404' ) ?>
    23 
     15            <?php do_action( 'bp_after_404' ) ?>
    2416        </div><!-- .padder -->
    2517    </div><!-- #content -->
    2618
    27     <?php get_sidebar() ?>
    28 
    29 <?php get_footer(); ?>
     19<?php get_footer() ?>
Note: See TracChangeset for help on using the changeset viewer.