Changeset 1883 for trunk


Ignore:
Timestamp:
02/27/2011 03:04:34 AM (15 months ago)
Author:
Xiping.Wang
Message:

[trunk] 1) Add a wordpress plugin list ,so we could update plugins without checking in repository. 2) Use sidebar index instead of sidebar name

Location:
trunk/blogs/wp-content
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/blogs/wp-content/themes/mike2/footer.php

    r1882 r1883  
    136136                            </div> 
    137137                            <div class="portletBottom"></div> 
    138 <?php if ( is_active_sidebar( 'Right Sidebar' ) ) : ?> 
    139          <?php dynamic_sidebar( 'Right Sidebar' ); ?> 
     138<?php if ( is_active_sidebar( 'RightSideBar' ) ) : ?> 
     139         <?php dynamic_sidebar( 'RightSideBar' ); ?> 
    140140<?php endif ?> 
    141141                        </div> 
  • trunk/blogs/wp-content/themes/mike2/functions.php

    r1882 r1883  
    22if ( function_exists('register_sidebar') ) { 
    33    register_sidebar(array( 
    4         'name' => 'Right Sidebar', 
     4        'name' => 'RightSideBar', 
    55        'before_widget' => '<div id="%1$s" class="portlet2 %2$s">', 
    6         'after_widget' => '</div><div class="portletBottom"></div></div>"', 
     6        'after_widget' => '</div><div class="portletBottom"></div></div>', 
    77        'before_title' => '<div class="portletHeader"><div class="portletTitle" widgettitle>', 
    88        'after_title' => '</div><div class="portletActions"> <img class="action_min" alt="Collapse" src="'.RR_COMMON_SKIN_DIRECTORY.'/images/blank.gif"/> <img class="action_max" alt="Expand" src="'.RR_COMMON_SKIN_DIRECTORY.'/images/blank.gif"/> <img class="action_close" alt="Close" src="'.RR_COMMON_SKIN_DIRECTORY.'/images/blank.gif"/> 
Note: See TracChangeset for help on using the changeset viewer.