Recent Topics

[1.10.1] Skin Changes from 1.10.0 to 1.10.1

Started by on Jun 02, 2007 – Contents updated: Jun 02, 2007

Jun 02, 2007 06:01    

My b2evolution Version: 1.10.1

Here are the skin changes from b2evolution 1.10.0 to b2evolution 1.10.1 based on the diff between the skins/custom/_main.php files.

# 1.1: Find:

PHP

$Blog->disp('name''htmlhead');

# 1.2: Change to:

PHP

$Blog->disp'name''htmlhead' );

# 2.1: Find:

PHP

if( empty( $preview ) ) $Messages->disp( );
    // fp>> TODO: I think we should rather forget the messages here so they don't get displayed again.

# 2.2: Change to:

PHP

$Messages->disp'<div class="action_messages">''</div>' );

# 3.1: Find:

PHP

request_title'<h2>''</h2>' );

# 3.2: Change to:

PHP

request_title'<h2>''</h2>'' - ''htmlbody' );

# 4.1: Find:

PHP

if( isset($MainList) ) $MainList->display_if_empty(); // Display message if no post

# 4.2: Change to:

PHP

if( isset($MainList) ) $MainList->display_if_empty'' ); // Display message if no post

# 5.1: Find:

PHP

$MainList->date_if_changed();

# 5.2: Change to:

PHP

$MainList->date_if_changed'<h2>''</h2>''' );

# 6.1: Find:

PHP

$Item->permanent_link'#icon#' );

# 6.2: Change to:

PHP

$Item->permanent_link'#icon#''#''' );

# 7.1: Find:

PHP

$Item->issue_time();

# 7.2: Change to:

PHP

$Item->issue_time'' );

# 8.1: Find:

PHP

$Item->msgform_link$Blog->get('msgformurl') );

# 8.2: Change to:

PHP

$Item->msgform_link$Blog->get('msgformurl'), ' '' ''#''#''' );

# 9.1: Find:

PHP

$Item->views();

# 9.2: Change to:

PHP

$Item->views'#''#''#' );

# 10.1: Find:

PHP

locale_flag$Item->locale'h10px' );

# 10.2: Change to:

PHP

locale_flag$Item->locale'h10px''flag''' );

# 10.1: Find:

PHP

$Item->categories();

# 10.2: Change to:

PHP

$Item->categories'#''<strong>''</strong>''''''<em>''</em>'', ' );

# 11.1: Find:

PHP

<h3 class="bTitle"><?php $Item->title(); ?></h3>

# 11.2: Change to:

PHP

<h3 class="bTitle"><?php $Item->title''''true ); ?></h3>

# 12.1: Find:

PHP

<?php link_pages() ?>

# 12.2: Change to:

PHP

<?php link_pages'#''#''number''#''#''%d' ); ?>

# 13.1: Find:

PHP

<?php $Item->feedback_link'comments''' // Link to comments ?>
            <?php $Item->feedback_link'trackbacks'' &bull; ' // Link to trackbacks ?>
            <?php $Item->edit_link' &bull; ' // Link to backoffice for editing ?>

# 13.2: Change to:

PHP

<?php $Item->feedback_link'comments''''''#''#''#''#' // Link to comments ?>
            <?php $Item->feedback_link'trackbacks'' &bull; ''''#''#''#''#' // Link to trackbacks ?>
            <?php $Item->edit_link' &bull; ''''#''#''' // Link to backoffice for editing ?>

# 14.1: Find:

PHP

<?php posts_nav_link(); ?>

# 14.2: Change to:

PHP

<?php posts_nav_link' :: ''#''#' ); ?>

^_^

Jun 02, 2007 22:26

Thanks! Most of these look like the function is including the default conditions for various parameters, meaning I don't think they are required, but it's cool to have a handy reference available.


Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.