Xoops Xphpbbi Modules (模块) 重构 ( Web Standard) 之 不完全篇 By Emerald 绿色学院 - Green Institute

Xoops Xphpbbi Modules (模块) 重构 ( Web Standard) By Emerald 绿色学院 - Green Institute

PS: 只重构了几个重要页面, 其他的页面偶找时间一并弄好, 不过找时间对于我来说不是一个确切的日期.

对应的 Xoops Themes 及 CSS: Theme - Emerald-X-Forum | CSS - web.standard.x-forum.css
Xoops Themes Emerald-X-Forum 源码:
效果预览: http://blog.csdn.net/images/blog_csdn_net/btbtd/106704/o_xphpbbi.index_body.tpl.jpg



Xoops CSS web.standard.x-forum.css 源码:


对应的 phpBB Templates 及 CSS 源码: Templates - Emerald-WebStandard | CSS - Emerald-WebStandard.css
phpBB Templates Emerald-WebStandard.css 源码


phpBB Templates overall_header.tpl 源码:
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset={S_CONTENT_ENCODING}">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
{META}
{NAV_LINKS}
<TITLE>{SITENAME} - {PAGE_TITLE}</TITLE>
<LINK REL="stylesheet" HREF="templates/Emerald-WebStandard/{T_HEAD_STYLESHEET}" TYPE="text/css">
<!-- BEGIN switch_enable_pm_popup -->
<SCRIPT LANGUAGE="Javascript" TYPE="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</SCRIPT>
<!-- END switch_enable_pm_popup -->
<DIV ID="xphpbbiHeaderTop">
<DIV ID="xphpbbiHeaderTopImg"><A HREF="{U_INDEX}"><IMG SRC="templates/Emerald-WebStandard/images/top.gif" WIDTH="200" HEIGHT="100" BORDER="0"></A></DIV>
<DIV ID="xphpbbiHeaderLogo"><A HREF="{U_INDEX}"><IMG SRC="templates/Emerald-WebStandard/images/logo.gif" BORDER="0" ALIGN="top"></img></DIV>
<DIV ID="xphpbbiHeaderLink">
<A NAME="top"></A>
<!-- BEGIN switch_user_logged_in -->
<A HREF="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</A><A HREF="{U_PROFILE}">{L_PROFILE}</A>
<!-- END switch_user_logged_in -->
<A HREF="{U_FAQ}">{L_FAQ}</A>
<A HREF="{U_SEARCH}">{L_SEARCH}</A>
<!-- BEGIN switch_user_logged_in -->
<A HREF="{U_SEARCH_NEW}" >{L_SEARCH_NEW}</A> <A HREF="{U_SEARCH_SELF}" >{L_SEARCH_SELF}</A>
<!-- END switch_user_logged_in -->
<A HREF="{U_SEARCH_UNANSWERED}" >{L_SEARCH_UNANSWERED}</A>
</DIV>
</DIV>



phpBB Templates index_body.tpl 源码
效果预览: http://blog.csdn.net/images/blog_csdn_net/btbtd/106704/o_xphpbbi.index_body.tpl.jpg
<DIV ID="xphpbbiHeaderNav"><IMG SRC="templates/Emerald-WebStandard/images/lead.gif" WIDTH="16" HEIGHT="16" ALIGN="middle"> <A HREF="{U_INDEX}">{L_INDEX}</A></DIV>
<DIV CLASS="xphpbbiLForumHeader">
<DIV CLASS="xphpbbiLForum">{L_FORUM}</DIV>
<DIV CLASS="xphpbbiLTopics">{L_TOPICS}</DIV>
<DIV CLASS="xphpbbiLPosts">{L_POSTS}</DIV>
<DIV CLASS="xphpbbiLLastpost">{L_LASTPOST}</DIV>
</DIV>

<!-- BEGIN catrow -->
<DIV CLASS="xphpbbiForumCatName"><A HREF="{catrow.U_VIEWCAT}" >{catrow.CAT_DESC}</A></DIV>
<!-- BEGIN forumrow -->
<DIV>
<DIV CLASS="xphpbbiBodyImg">
<IMG SRC="{catrow.forumrow.FORUM_FOLDER_IMG}" WIDTH="46" HEIGHT="25" ALT="{catrow.forumrow.L_FORUM_FOLDER_ALT}" TITLE="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
</DIV>
<DIV CLASS="xphpbbiBodyForumName" onMouseOver ="this.style.backgroundColor='#F3F4F5'" onMouseOut ="this.style.backgroundColor='#efefef'"><A HREF="{catrow.forumrow.U_VIEWFORUM}" >{catrow.forumrow.FORUM_NAME}</A>
{catrow.forumrow.FORUM_DESC}
{catrow.forumrow.L_MODERATOR}{catrow.forumrow.MODERATORS}</DIV>
<DIV CLASS="xphpbbiBodyTopic">{catrow.forumrow.TOPICS}</DIV>
<DIV CLASS="xphpbbiBodyPosts">{catrow.forumrow.POSTS}</DIV>
<DIV CLASS="xphpbbiBodyLastPost">{catrow.forumrow.LAST_POST}</DIV>
<!-- END forumrow -->
<!-- END catrow -->
</DIV>
<DIV CLASS="xphpbbiBodyMarkParent">
<DIV CLASS="xphpbbiBodyMark"><A HREF="{U_MARK_READ}">{L_MARK_FORUMS_READ}</A></DIV>
<DIV CLASS="xphpbbiBodyTimeZone">{S_TIMEZONE}</DIV>
</DIV>
<DIV CLASS="xphpbbiBodyOnline"><A HREF="{U_VIEWONLINE}" >{L_WHO_IS_ONLINE}</A></DIV>
<DIV CLASS="xphpbbiOnlineParent">
<DIV CLASS="xpbpbbiBodyWhoIsOnlineImg"><IMG SRC="templates/Emerald-WebStandard/images/whosonline.gif" ALT="{L_WHO_IS_ONLINE}" /></DIV>
<DIV CLASS="xpbpbbiBodyWhoIsOnlineInfo">
<DIV CLASS="xphpbbiBodyMemberStat">{TOTAL_POSTS}<BR />{TOTAL_USERS}<BR />{NEWEST_USER}</DIV>
<DIV CLASS="xpbpbbiBodyOnlineStat">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<BR />{RECORD_USERS}<BR />{LOGGED_IN_USER_LIST}<BR>{L_ONLINE_EXPLAIN}</DIV>
</DIV>
</DIV>
<DIV CLASS="xphpbbiBodyImgExplain">
<IMG SRC="templates/Emerald-WebStandard/images/folder_new.gif" ALT="{L_NEW_POSTS}"/>{L_NEW_POSTS} 
<IMG SRC="templates/Emerald-WebStandard/images/folder.gif" ALT="{L_NO_NEW_POSTS}" />{L_NO_NEW_POSTS}
 <IMG SRC="templates/Emerald-WebStandard/images/folder_lock.gif" ALT="{L_FORUM_LOCKED}" />{L_FORUM_LOCKED}
</DIV>


phpBB Templates viewforum_body.tpl 源码:
效果预览: http://blog.csdn.net/images/blog_csdn_net/btbtd/106704/o_xphpbbi.viewforum_body.tpl.jpg
<DIV ID="xphpbbiHeaderNav"><IMG SRC="templates/Emerald-WebStandard/images/lead.gif" WIDTH="16" HEIGHT="16" ALIGN="middle"> <A HREF="{U_INDEX}">{L_INDEX}</A> -&gt; <A HREF="{U_VIEW_FORUM}" CLASS="nav">{FORUM_NAME}</A></DIV>
<DIV CLASS="xphpbbiViewforumBodyMdmberInfo">
<DIV CLASS="xpppbbiUserList">{LOGGED_IN_USER_LIST}</DIV>
<DIV CLASS="xphpbbiModerators">{L_MODERATOR}: {MODERATORS} </DIV>
</DIV>
<DIV CLASS="xphpbbiViewforumPostNewTopicParent">
<DIV CLASS="xphpbbiViewforumPostNewTopic"><A HREF="{U_POST_NEW_TOPIC}"><IMG SRC="{POST_IMG}" BORDER="0" ALT="{L_POST_NEW_TOPIC}" /></A></DIV>
<DIV CLASS="xphpbbiPaginaton">{PAGINATION}</DIV>
</DIV>
<DIV CLASS="xphpbbiViewforumHeaderTitle">
<DIV CLASS="xphpbbiViewforumTopics">{L_TOPICS}</DIV>
<DIV CLASS="xphpbbiViewforumAuthor">{L_AUTHOR}</DIV>
<DIV CLASS="xphpbbiViewforumViews">{L_VIEWS}</DIV>
<DIV CLASS="xphpbbiViewforumReplies">{L_REPLIES}</DIV>
<DIV CLASS="xphpbbiViewforumLastpost">{L_LASTPOST}</DIV>
</DIV>
<FORM METHOD="post" ACTION="{S_POST_DAYS_ACTION}">
<!-- BEGIN topicrow -->
<DIV CLASS="xphpbbiViewforumMainPostBody">
<DIV CLASS="xphpbbiViewforumTopicImg"><IMG SRC="{topicrow.TOPIC_FOLDER_IMG}" WIDTH="19" HEIGHT="18" ALT="{topicrow.L_TOPIC_FOLDER_ALT}" TITLE="{topicrow.L_TOPIC_FOLDER_ALT}" />
</DIV>
<DIV CLASS="xphpbbiViewforumTopicTitle" onMouseOver ="this.style.backgroundColor='#F3F4F5'" onMouseOut ="this.style.backgroundColor='#efefef'" >
{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<A HREF="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</A>{topicrow.GOTO_PAGE}
</DIV>
<DIV CLASS="xphpbbiViewforumTopicAuthor">{topicrow.TOPIC_AUTHOR}</DIV>
<DIV CLASS="xphpbbiViewforumTopicViews">{topicrow.VIEWS}</DIV>
<DIV CLASS="xphpbbiViewforumTopicReplies">{topicrow.REPLIES}</DIV>
<DIV CLASS="xphpbbiViewforumTopicLastpostTime">{topicrow.LAST_POST_TIME}<BR />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</DIV>
</DIV>
<!-- END topicrow -->
<!-- BEGIN switch_no_topics -->
<DIV CLASS="xphpbbiViewforumNoTopics">{L_NO_TOPICS}</DIV>
<!-- END switch_no_topics -->
<DIV CLASS="xphpbbiViewforumDisplayTopics">
{L_DISPLAY_TOPICS}:{S_SELECT_TOPIC_DAYS}<INPUT TYPE="submit" CLASS="liteoption" VALUE="{L_GO}" NAME="submit" />
</DIV>
<DIV CLASS="xphpbbiViewforumMarkTopicsReadParent">
<DIV CLASS="xphpbbiViewforumMarkTopicsRead"><A HREF="{U_MARK_READ}">{L_MARK_TOPICS_READ}</A></DIV>
<DIV CLASS="xphpbbiViewforumTimezone">{S_TIMEZONE}</DIV>
</DIV>
<DIV CLASS="xphpbbiViewforumPostNewTopicParent">
<DIV CLASS="xphpbbiViewforumPostNewTopic"><A HREF="{U_POST_NEW_TOPIC}"><IMG SRC="{POST_IMG}" BORDER="0" ALT="{L_POST_NEW_TOPIC}" /></A></DIV>
<DIV CLASS="xphpbbiPaginaton">{PAGINATION}</DIV>
</DIV>
</FORM>
<DIV CLASS="xphpbbiviewforumJumpboxAndAuthList">
<DIV CLASS="xphpbbiViewforumJumpbox">
{JUMPBOX}
<DIV CLASS="xphpbbiViewforumImgDeScription">
<IMG SRC="{FOLDER_NEW_IMG}" ALT="{L_NEW_POSTS}" WIDTH="19" HEIGHT="18" />{L_NEW_POSTS}
<IMG SRC="{FOLDER_IMG}" ALT="{L_NO_NEW_POSTS}" WIDTH="19" HEIGHT="18" />{L_NO_NEW_POSTS}
<IMG SRC="{FOLDER_ANNOUNCE_IMG}" ALT="{L_ANNOUNCEMENT}" WIDTH="19" HEIGHT="18" />{L_ANNOUNCEMENT}
<IMG SRC="{FOLDER_HOT_NEW_IMG}" ALT="{L_NEW_POSTS_HOT}" WIDTH="19" HEIGHT="18" />{L_NEW_POSTS_HOT}
<BR />
<IMG SRC="{FOLDER_HOT_IMG}" ALT="{L_NO_NEW_POSTS_HOT}" WIDTH="19" HEIGHT="18" />{L_NO_NEW_POSTS_HOT}
<IMG SRC="{FOLDER_STICKY_IMG}" ALT="{L_STICKY}" WIDTH="19" HEIGHT="18" />{L_STICKY}
<IMG SRC="{FOLDER_LOCKED_NEW_IMG}" ALT="{L_NEW_POSTS_LOCKED}" WIDTH="19" HEIGHT="18" />{L_NEW_POSTS_LOCKED}
<IMG SRC="{FOLDER_LOCKED_IMG}" ALT="{L_NO_NEW_POSTS_LOCKED}" WIDTH="19" HEIGHT="18" />{L_NO_NEW_POSTS_LOCKED}
</DIV>
</DIV>
<DIV CLASS="xphpbbiViewforumAuthList">{S_AUTH_LIST}</DIV>
</DIV>

 



phpBB Templates viewtopic_body.tpl 源码:
效果预览: http://blog.csdn.net/images/blog_csdn_net/btbtd/106704/o_xphpbbi.viewtopic_body.tpl.jpg
<DIV ID="xphpbbiHeaderNav"><IMG SRC="templates/Emerald-WebStandard/images/lead.gif" WIDTH="16" HEIGHT="16" ALIGN="middle"> <A HREF="{U_INDEX}">{L_INDEX}</A> -&gt; <A HREF="{U_VIEW_FORUM}" >{FORUM_NAME}</A> -&gt; <A HREF="{U_VIEW_TOPIC}">{TOPIC_TITLE}</A></DIV>
<DIV CLASS="xphpbbiViewtopicPostNewTopicParent">
<DIV CLASS="xphpbbiViewtopicPostNewTopic"><A HREF="{U_POST_NEW_TOPIC}"><IMG SRC="{POST_IMG}" BORDER="0" ALT="{L_POST_NEW_TOPIC}" ALIGN="middle" /></A><A HREF="{U_POST_REPLY_TOPIC}"> &nbsp;<IMG SRC="{REPLY_IMG}" BORDER="0" ALT="{L_POST_REPLY_TOPIC}" ALIGN="middle" /></A></DIV>
<DIV CLASS="xphpbbiViewtopicPaginaton"><A CLASS="maintitle" HREF="{U_VIEW_TOPIC}">
{PAGINATION}</A></DIV>
</DIV>
<DIV CLASS="xphpbbiViewtopicPollDisplay">{POLL_DISPLAY}</DIV>
<DIV CLASS="xphpbbiViewtopicHeaderTitle">
<A NAME="top"></A>
<DIV CLASS="xphpbbiViewtopicAuthor">{L_AUTHOR}</DIV>
<DIV CLASS="xphpbbiViewtopicTopicTitle">{L_POST_SUBJECT}: <A HREF="{U_VIEW_TOPIC}">{TOPIC_TITLE}</A></DIV>
<DIV CLASS="xphpbbiViewtopicPreviousAndNextTopic"><A HREF="{U_VIEW_OLDER_TOPIC}" >{L_VIEW_PREVIOUS_TOPIC}</A> :: <A HREF="{U_VIEW_NEWER_TOPIC}" >{L_VIEW_NEXT_TOPIC}</A></DIV>
</DIV>
<!-- BEGIN postrow -->
<DIV CLASS="xphpbbiViewtopicPostAuthorHeader">
<DIV CLASS="xphpbbiViewtopicPosterName"><A NAME="{postrow.U_POST_ID}">{postrow.POSTER_NAME}</A></DIV>
<DIV CLASS="xphpbbiViewtopicPostDate"><A HREF="{postrow.U_MINI_POST}"><IMG SRC="{postrow.MINI_POST_IMG}" WIDTH="12" HEIGHT="9" ALT="{postrow.L_MINI_POST_ALT}" TITLE="{postrow.L_MINI_POST_ALT}" BORDER="0" />{L_POSTED}: {postrow.POST_DATE}</A></DIV>
<DIV CLASS="xphpbbiViewtopicPostFunctionImg">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</DIV>
</DIV>
<DIV CLASS="xphpbbiViewtopicPostBody">
<DIV CLASS="xphpbbiViewtopicPostIcon">
{postrow.POSTER_RANK}<BR />
{postrow.RANK_IMAGE}<BR />
{postrow.POSTER_AVATAR}<BR />
{postrow.POSTER_JOINED}<BR />
{postrow.POSTER_POSTS}<BR />
{postrow.POSTER_FROM}
</DIV>
<DIV CLASS="xphpbbiViewtopicPostTextBody">
<DIV CLASS="xphpbbiViewtopicPostTextLeft">
{postrow.MESSAGE}
</DIV>
<DIV CLASS="xphpbbiViewtopicPostTextRight"></DIV>
<DIV CLASS="xphpbbiViewtopicPostEditAndSignature">{postrow.EDITED_MESSAGE}{postrow.SIGNATURE}</DIV>
</DIV>
</DIV>
<DIV CLASS="xphpbbiViewtopicPostInfoHeader">
<DIV CLASS="xphpbbiViewtopicBackToTop"><A HREF="#top">{L_BACK_TO_TOP}</A></DIV>
<DIV CLASS="xphpbbiViewtopicPostInfoIcon">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG} {postrow.ICQ_IMG}</DIV>
</DIV>
<!-- END postrow -->
<DIV CLASS="xphpbbiViewtopicDisplayPost">
<FORM METHOD="post" ACTION="{S_POST_DAYS_ACTION}">
{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS} {S_SELECT_POST_ORDER}
<INPUT TYPE="submit" VALUE="{L_GO}" CLASS="liteoption" NAME="submit" />
</FORM>
</DIV>
<DIV CLASS="xphpbbiViewtopicPostNewTopicParent">
<DIV CLASS="xphpbbiViewtopicPostNewTopic"><A HREF="{U_POST_NEW_TOPIC}"><IMG SRC="{POST_IMG}" BORDER="0" ALT="{L_POST_NEW_TOPIC}" ALIGN="middle" /></A><A HREF="{U_POST_REPLY_TOPIC}"> &nbsp;<IMG SRC="{REPLY_IMG}" BORDER="0" ALT="{L_POST_REPLY_TOPIC}" ALIGN="middle" /></A></DIV>
<DIV CLASS="xphpbbiViewtopicPaginaton"><A CLASS="maintitle" HREF="{U_VIEW_TOPIC}">
{PAGINATION}</A></DIV>
</DIV>
<DIV CLASS="xphpbbiViewtopicPageInfoParent">
<DIV CLASS="xphpbbiViewtopicPageNumber">{PAGE_NUMBER}</DIV>
<div CLASS="xphpbbiViewtopicWatchTopic">{S_WATCH_TOPIC}</div>
<DIV CLASS="xphpbbiViewtopicTimeZone">{S_TIMEZONE}</DIV>
</DIV>
<DIV CLASS="xphpbbiViewtopicFooter">
<DIV CLASS="xphpbbiViewtopicFooterJumpboxAndAdminParent">
{JUMPBOX}
<DIV CLASS="xphpbbiViewtopicFooterAdminIcon">{S_TOPIC_ADMIN}</DIV>
</DIV>
<DIV CLASS="xphpbbiViewtopicFooterAuthList">{S_AUTH_LIST}</DIV>
</DIV>



phpBB Templates overall_footer.tpl 源码:
<div class="xpbpbbiFooterAdminLInk">{ADMIN_LINK}</div>



/****************************************************************/
*
* author : Emerald<btbtd@yahoo.com.cn>
*
* homepage : http://gi.2288.org:88/
*
* Seo-Gi : http://seo.2288.org:99
*
* sitename : 绿色学院 - Green Institute
*
* date : 2005-3-18 4:23:43
*
/****************************************************************/
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
##################################################################################### ## ## MOD Title: AUCTION MOD 1.3m ## MOD Author: FR (www.phpbb-auction.com) ## MOD Description: - ## MOD Version: 1.3m ## ## Installation Level: (Middle) ## Installation Time: till your done ## ## Requirements: A running phpBB 2.0.x (lastest version recommended) ## GD 1.8.x - 2.0 or higher (require for auto-thumbnail ## HTTP File Upload Enabled ## ## Tested with: __________ ## ## Files To Edit: viewonline.php ## viewtopic.php ## admin/index.php ## includes/usercp_viewprofile.php ## includes/page_header.php ## language/lang_english/lang_admin.php ## language/lang_english/lang_main.php ## templates/subSilver/subSilver.cfg ## templates/subSilver/overall_header.tpl ## templates/subSilver/viewtopic_body.tpl ## templates/subSilver/profile_view_body.tpl ## ## Included Files: to much to mention ## ##################################################################################### ## ## Before Adding This MOD To Your Forum, You Should Back Up All Files ## Related To This MOD ## ##################################################################################### ## ## For Security Purposes, you should check www.phpbb-auction.com for news and patches ## ##################################################################################### ## ## Author Notes: ## ## ##################################################################################### ## ## This hack is released under the GPL License. ## This hack can be freely used, but not distributed, without permission. ## Intellectual Property is retained by the author listed above. ## ##################################################################################### # # If you have the phpbb-auction 1.2m installed you should use the update.txt # document. # # #-----[ COPY ]------------------------------------------------------- # # Upload all files in directory "phpbb_root" with their structure to your # phpBB root directory # # Remember to upload all the language files and template files to all your # language packs and template directories # # If you use FTP please remember to use ASCII mode for text files (*.php, *.tpl) # and BINARY mode for image files (*.jpg, *.gif) # Fortunately good FTP clients today can auto-detect the mode for your files # #-----[ ACTION ]-------------------------------------- # Require for Unix-like host (you can use your FTP client to do this) # # CHMOD 777 auction/upload/ # CHMOD 777 auction/upload/cache/ # CHMOD 777 auction/upload/main/ # CHMOD 777 auction/upload/main/watermark/ # CHMOD 777 auction/upload/mini/ # CHMOD 777 auction/upload/tmp/ # CHMOD 777 auction/upload/wmk/ # CHMOD 777 auction/upload/watermark/ # CHMOD 777 auction/upload/wmk/main_watermark.png # CHMOD 777 auction/upload/wmk/big_watermark.png # #-----[ ACTION ]-------------------------------------- # # Run the install_db.php and delete (!!!) the file afterwards //////////////////////////////////////////////////////////////////////////////// 3 - Perform the following filechanges //////////////////////////////////////////////////////////////////////////////// # #-----[ OPEN ]------------------------------------------ # viewonline.php # #-----[ FIND ]------------------------------------------ # include($phpbb_root_path . 'includes/page_header.'.$phpEx); # #-----[ AFTER, ADD ]------------------------------------------ # include($phpbb_root_path . 'auction/auction_common.'.$phpEx); # #-----[ FIND ]------------------------------------------ # case PAGE_FAQ: $location = $lang['Viewing_FAQ']; $location_url = "faq.$phpEx"; break; # #-----[ AFTER, ADD ]------------------------------------------ # case AUCTION_ROOM: $location = $lang['Auction']; $location_url = "auction.$phpEx"; break; case AUCTION_OFFER: $location = $lang['Auction']; $location_url = "auction.$phpEx"; break; case AUCTION_RATING: $location = $lang['Auction']; $location_url = "auction.$phpEx"; break; case AUCTION_FAQ: $location = $lang['Auction']; $location_url = "auction.$phpEx"; break; case AUCTION_MYAUCTION: $location = $lang['Auction']; $location_url = "auction.$phpEx"; break; case AUCTION_OFFER_VIEW: $location = $lang['Auction']; $location_url = "auction.$phpEx"; break; case AUCTION_SITEMAP: $location = $lang['Auction']; $location_url = "auction.$phpEx"; break; case AUCTION_PIC_MANAGER: $location = $lang['Auction']; $location_url = "auction.$phpEx"; break; # #-----[ OPEN ]------------------------------------------ # admin/index.php # #-----[ FIND ]------------------------------------------ # require('./pagestart.' . $phpEx); # #-----[ AFTER, ADD ]------------------------------------------ # include($phpbb_root_path . 'auction/auction_common.'.$phpEx); # #-----[ FIND ]------------------------------------------ # # 2 times case PAGE_FAQ: $location = $lang['Viewing_FAQ']; $location_url = "index.$phpEx?pane=right"; break; # #-----[ AFTER, ADD ]------------------------------------------ # # 2 times case AUCTION_ROOM: $location = $lang['Auction']; $location_url = "auction.$phpEx?pane=right"; break; case AUCTION_OFFER: $location = $lang['Auction']; $location_url = "auction.$phpEx?pane=right"; break; case AUCTION_RATING: $location = $lang['Auction']; $location_url = "auction.$phpEx?pane=right"; break; case AUCTION_FAQ: $location = $lang['Auction']; $location_url = "auction.$phpEx?pane=right"; break; case AUCTION_MYAUCTION: $location = $lang['Auction']; $location_url = "auction.$phpEx?pane=right"; break; case AUCTION_OFFER_VIEW: $location = $lang['Auction']; $location_url = "auction.$phpEx?pane=right"; break; case AUCTION_SITEMAP: $location = $lang['Auction']; $location_url = "auction.$phpEx?pane=right"; break; case AUCTION_PIC_MANAGER: $location = $lang['Auction']; $location_url = "auction.$phpEx?pane=right"; break; # #-----[ OPEN ]------------------------------------------ # /language/lang_english/lang_admin.php # #-----[ FIND ]------------------------------------------ # $lang['Styles'] = 'Styles Admin'; # #-----[ AFTER, ADD ]------------------------------------------ # $lang['Auction'] = 'Auction'; $lang['a1_configuration'] = 'Configuration'; $lang['a2_roommangement'] = 'Manage Rooms'; $lang['a4_coupons'] = 'Manage Coupons'; $lang['a3_offer'] = 'Manage Offers'; $lang['a5_ipn_log'] = 'Manage IPN Log'; $lang['a6_picture_Configuration'] = 'Manage Images'; $lang['a7_permission'] = 'Manage Permissions'; $lang['a8_account'] = 'Manage Account'; # #-----[ OPEN ]------------------------------------------ # /templates/subSilver/subSilver.cfg # #-----[ FIND ]------------------------------------------ # $current_template_images = $current_template_path . "/images"; # #-----[ AFTER, ADD ]------------------------------------------ # $images['auction_locked']="$current_template_images/auction_locked.gif"; $images['auction_open']="$current_template_images/auction_open.gif"; $images['icon_auction_delete']="$current_template_images/auction_delete.gif"; $images['icon_auction_move']="$current_template_images/auction_move.gif"; $images['icon_auction_pic']="$current_template_images/auction_pic.gif"; $images['icon_auction_no_pic']="$current_template_images/auction_nopic.gif"; $images['icon_auction_down']="$current_template_images/auction_down.gif"; $images['icon_auction_up']="$current_template_images/auction_up.gif"; $images['icon_auction_feature']="$current_template_images/auction_feature.gif"; $images['icon_rating1']="$current_template_images/rating/1.gif"; $images['icon_rating2']="$current_template_images/rating/2.gif"; $images['icon_rating3']="$current_template_images/rating/3.gif"; $images['icon_rating4']="$current_template_images/rating/4.gif"; $images['icon_auction_watch']="$current_template_images/auction_add.gif"; $images['icon_auction_user_rating'] = "$current_template_images/{LANG}/icon_auction_user_rating.gif"; $images['newoffer'] = "$current_template_images/{LANG}/newoffer.gif"; $images['direct_sell'] = "$current_template_images/{LANG}/auction_buy_now.gif"; $images['vote_left'] = "$current_template_images/vote_lcap.gif"; $images['vote_right'] = "$current_template_images/vote_rcap.gif"; $images['auction_vote_right'] = "$current_template_images/auction_voting_barb.gif"; $images['auction_vote'] = "$current_template_images/auction_voting_bar.gif"; # #-----[ OPEN ]------------------------------------------ # /language/lang_english/lang_main.php # #-----[ FIND ]------------------------------------------ # $lang['datetime']['Dec'] = 'Dec'; # #-----[ AFTER, ADD ]------------------------------------------ # // Auction $lang['Auction'] = 'Auction'; # #-----[ OPEN ]------------------------------------------ # /templates/subSilver/overall_header.tpl # #-----[ FIND ]------------------------------------------ # <a href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a> # #-----[ AFTER, ADD ]------------------------------------------ #   <a href="{U_AUCTION}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_auction.gif" width="12" height="13" border="0" alt="{L_AUCTION}" hspace="3" />{L_AUCTION}</a> # #-----[ OPEN ]------------------------------------------ # includes/page_header.php # #-----[ FIND ]------------------------------------------ # 'L_FAQ' => $lang['FAQ'], # #-----[ AFTER, ADD ]------------------------------------------ # 'L_AUCTION' => $lang['Auction'], # #-----[ FIND ]------------------------------------------ # 'U_FAQ' => append_sid('faq.'.$phpEx), # #-----[ AFTER, ADD ]------------------------------------------ # 'U_AUCTION' => append_sid('auction.'.$phpEx), # #-----[ OPEN ]------------------------------------------ # viewtopic.php # #-----[ FIND ]------------------------------------------ # include($phpbb_root_path . 'includes/bbcode.'.$phpEx); # #-----[ AFTER, ADD ]------------------------------------------ # // Start Include language file $language = $board_config['default_lang']; if( !file_exists($phpbb_root_path . 'language/lang_' . $language . '/lang_auction.'.$phpEx) ) { $language = 'english'; } include($phpbb_root_path . 'language/lang_' . $language . '/lang_auction.' . $phpEx); // end include language file # #-----[ FIND ]------------------------------------------ # 'L_MINI_POST_ALT' => $mini_post_alt, # #-----[ AFTER, ADD ]------------------------------------------ # 'AUCTION_USER_RATING' => "<a href=" . append_sid("auction_rating.php?mode=view&" . POST_USERS_URL . "=" .$poster_id ) . "><img src=" . $images['icon_auction_user_rating'] . " alt='Feedback Rating' border='0' /></a>", 'L_VIEW_AUCTION_USER_RATING' => $lang['auction_user_rating'], # #-----[ OPEN ]------------------------------------------ # includes/usercp_viewprofile.php # #-----[ FIND ]------------------------------------------ # if ( !defined('IN_PHPBB') ) { die("Hacking attempt"); exit; } # #-----[ AFTER, ADD ]------------------------------------------ # // Start Include language file $language = $board_config['default_lang']; if( !file_exists($phpbb_root_path . 'language/lang_' . $language . '/lang_auction.'.$phpEx) ) { $language = 'english'; } include($phpbb_root_path . 'language/lang_' . $language . '/lang_auction.' . $phpEx); // end include language file # #-----[ FIND ]------------------------------------------ # 'AVATAR_IMG' => $avatar_img, # #-----[ AFTER, ADD ]------------------------------------------ # 'AUCTION_USER_RATING' => "<a href=\"" . append_sid("auction_rating.php?mode=view&" . POST_USERS_URL . "=" . $profiledata['user_id'] ) . "\"><img src=\"" . $images['icon_auction_user_rating'] . "\" alt=\"" . $lang['auction_user_rating'] . "\" title=\"" . $lang['auction_user_rating'] . "\" border=\"0\" /></a>", 'L_VIEW_AUCTION_USER_RATING' => $lang['auction_user_rating'], # #-----[ OPEN ]------------------------------------------ # /templates/subSilver/viewtopic_body.tpl # #-----[ FIND ]------------------------------------------ # {postrow.MSN_IMG} # #-----[ AFTER,ADD ]------------------------------------------ # // Goes in same line before {postrow.MSN_IMG} {postrow.AUCTION_USER_RATING} # #-----[ OPEN ]------------------------------------------ # /templates/subSilver/profile_view_body.tpl # #-----[ FIND ]------------------------------------------ # <tr> <td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_AIM}:</span></td> <td class="row1" valign="middle"><span class="gen">{AIM_IMG}</span></td> </tr> # #-----[ AFTER, ADD ]------------------------------------------ # <tr> <td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_VIEW_AUCTION_USER_RATING}:</span></td> <td class="row1" valign="middle"><span class="gen">{AUCTION_USER_RATING}</span></td> </tr> # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # ##################################################################################### ## Further Information ## ## Thats it! You are through. If you have any questions dont hesitate to use the ## Support Forums on www.phpbb-auction.com. If you want to use the payment methods ## you should read the documentation for it on the projects website. ## Greetings and have fun with phpbb-Auction ## FR ## EoM #####################################################################################

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值