Changeset 1784 for trunk


Ignore:
Timestamp:
08/15/2010 11:13:22 AM (22 months ago)
Author:
Xiping.Wang
Message:

[trunk]merge Zz's code

Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/_InstallationResources

  • trunk/blogs

  • trunk/blogs/wp-content/themes/mike2

  • trunk/bookmarks/manage.php

    r4 r1784  
    2727 
    2828// Sidebar 
    29 $aTemplateVariables['sidebar_blocks'] = array( 'profile', 'common', 'partners' ); 
    30  
     29$aTemplateVariables['sidebar_blocks'] = array( 'profile', 'subscribe', 'common', 'partners' ); // Changed by zhongzhen on 2010-08-15. Added "subscribe" into sidebar 
     30$aTemplateVariables['aBottomBlocks']  = array('recent-bookmarks','recent-comments','zero-rated'); // Added by zhongzhen on 2010-08-15 
    3131$oTemplateService->loadTemplate('managebookmark.tpl', $aTemplateVariables); 
    32  
    3332?> 
  • trunk/common/skins/mike2/common.css

    r1778 r1784  
    3737.top-link-wrapper ul li span {display: block; padding: 0px 10px; color: white; text-decoration: none;} 
    3838.top-link-wrapper a {color: white; text-decoration: none;} 
     39.top-link-wrapper a:hover {text-decoration: underline;} 
    3940.login { width: 60px; text-align: center; background-color: #c28d4c; font-weight: bold; } 
    4041.linkover {background-color: #2d5779;} 
     
    8283.home-wrapper-left {float: left; width: 775px;} 
    8384.home-wrapper-right {float: right; width: 191px; margin-top: 5px;} 
    84 .banner-wrapper {float: left; padding-top: 7px; padding-left: 4px; width: 594px; position: relative;} 
     85.banner-wrapper {float: left; padding-top: 7px; padding-left: 4px; width: 590px; position: relative;} 
    8586.banner-wrapper .button-wrapper {position: relative; height: 40px; z-index: 101;} 
    8687.banner-wrapper .arrow {position: absolute; width: 26px; height: 10px; background: url(images/arrow.png); top: 49px; left: 50px; z-index: 101; overflow: hidden;} 
     
    258259.contributor-about {color: #999999; line-height: 14px;} 
    259260.top-contributors-td {line-height: 14px; font-size: 10px; text-align: center;} 
    260 .top-contributors-td a {color: #666666 !important;} 
     261.top-contributors-td a {color: #666666 !important; display: block; width: 50px; word-wrap: break-word;} 
    261262 
    262263.portlet1 {clear: both; margin-bottom:10px; z-index: 100; position: relative; width: 178px;} 
     
    312313.skill-portlet .middle {background: url(images/skill-portlet-middle.png) repeat-y; width: 191px;} 
    313314.skill-portlet .middle .content {background: url(images/skill-portlet-content.jpg) no-repeat; background-position: left bottom; margin: 0px 4px; overflow: hidden;} 
    314 .skill-portlet .middle .content .title {color: #66acdc; font-size: 16px; font-weight: bold; text-align: center;} 
     315.skill-portlet .middle .content .title {color: #66acdc; font-size: 16px; font-weight: bold; text-align: center; padding: 0px 5px;} 
    315316.skill-portlet .middle .content .skills {margin: 0px 6px;} 
    316317.skill-portlet .middle .content .skills .button {text-align: center; margin-top: 20px;} 
  • trunk/home

  • trunk/home/mylinks.php

  • trunk/home/portlets/PortletsClass.php

    r1778 r1784  
    6363        $sql = "SELECT DISTINCT page_title AS title, page_namespace AS namespace, rc_user_text AS user, rc_timestamp AS timestamp FROM " . $sPageTable . " INNER JOIN " . $sRecentChangesTable . " ON page_id=rc_cur_id WHERE rc_new=1 AND rc_namespace=0 AND page_is_redirect=0 AND page_id!=1 ORDER by rc_id DESC LIMIT " . $count; 
    6464        $result = $this->oDb->GetRows( $sql );  
    65          
    6665        $html = ""; 
    6766        if( ! empty( $result ) ){ 
     
    7776        $d = substr($strTime, 6, 2); 
    7877        $y = substr($strTime, 0, 4); 
    79         return date("F j, Y", mktime(0, 0, 0, $m, $d, $year));  
     78        return date("F j, Y", mktime(0, 0, 0, $m, $d, $y));  
    8079    } 
    8180} 
     
    13551354                $sResultHtml .= '</tr><tr>'; 
    13561355            if ($contributors[$i]['rev_user_text'] != '' && $contributors[$i]['rev_user'] != '0') 
    1357                 $sResultHtml .= '<td width="33%" valign="top" class="top-contributors-td"><a href="' . OMWIKI_SCRIPT_PATH . '/index.php/User:' . $contributors[$i]['rev_user_text'] . '"><img src="' . GetAvatar( $contributors[$i]['rev_user'], 'ml' ) . '"/></a><br><a href="' . OMWIKI_SCRIPT_PATH . '/index.php/User:' . $contributors[$i]['rev_user_text'] . '">' . $contributors[$i]['rev_user_text'] . '</a></td>'; 
     1356                $sResultHtml .= '<td width="33%" valign="top" class="top-contributors-td"><a href="' . OMWIKI_SCRIPT_PATH . '/index.php/User:' . $contributors[$i]['rev_user_text'] . '"><img src="' . GetAvatar( $contributors[$i]['rev_user'], 'ml' ) . '"/></a><a href="' . OMWIKI_SCRIPT_PATH . '/index.php/User:' . $contributors[$i]['rev_user_text'] . '">' . $contributors[$i]['rev_user_text'] . '</a></td>'; 
    13581357            else 
    13591358                $sResultHtml .= '<td width="33%"></td>'; 
  • trunk/w

Note: See TracChangeset for help on using the changeset viewer.