marineが作成するテーマの倉庫
| Revision | 16bf4d54e9e975608731fd97c52ed489e5691b60 (tree) |
|---|---|
| Time | 2012-05-15 19:30:11 |
| Author | |
| Commiter | marine |
各種モジュール、d3forumテンプレート修正等
テーマ fb 追加
| @@ -1114,3 +1114,44 @@ body.wordpress #ModuleContents .xpress-body #xpress_page{ | ||
| 1114 | 1114 | display:none; |
| 1115 | 1115 | } |
| 1116 | 1116 | |
| 1117 | +/* d3forum Page Navigation */ | |
| 1118 | +/* 20110515 marine add */ | |
| 1119 | + | |
| 1120 | +div.boxNavi .itemBody { | |
| 1121 | + margin: 1px 2px 5px 2px; | |
| 1122 | + text-align:center; | |
| 1123 | + list-style-type: none; | |
| 1124 | + background-color: transparent; | |
| 1125 | +} | |
| 1126 | +div.boxNavi .itemBody li{ | |
| 1127 | + display: inline; | |
| 1128 | + margin: 1px 2px 1px 2px; | |
| 1129 | + padding: 5px 0px 5px 0px; | |
| 1130 | + font-weight: bold; | |
| 1131 | + text-align:center; | |
| 1132 | + border-top: 1px solid lightgrey; | |
| 1133 | + border-bottom: 1px solid lightgrey; | |
| 1134 | + border-left: 1px solid lightgrey; | |
| 1135 | + border-right: 1px solid lightgrey; | |
| 1136 | + background-image: none; | |
| 1137 | +} | |
| 1138 | + | |
| 1139 | +div.boxNavi .itemBody li.txt span, | |
| 1140 | +div.boxNavi .itemBody li.this span, | |
| 1141 | +div.boxNavi .itemBody li a { | |
| 1142 | + margin: 0; | |
| 1143 | + padding: 5px 7px 5px 10px; | |
| 1144 | + text-decoration: none; | |
| 1145 | +} | |
| 1146 | +div.boxNavi .itemBody li.this span { | |
| 1147 | + background-color: #CCCCCC; | |
| 1148 | +} | |
| 1149 | + | |
| 1150 | +.d3f_top_message .d3f_rss { | |
| 1151 | + position:absolute; | |
| 1152 | + width:30px; | |
| 1153 | + height:30px; | |
| 1154 | + top:24px; | |
| 1155 | + left:210px; | |
| 1156 | +} | |
| 1157 | + |
| @@ -73,7 +73,7 @@ | ||
| 73 | 73 | </div> |
| 74 | 74 | |
| 75 | 75 | <div><!-- marine modifi xugj_block topics--> |
| 76 | -<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="d3forum,15,1,time,1,0,," item="block"}> | |
| 76 | +<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="$mydirname,15,1,time,1,0,," item="block"}> | |
| 77 | 77 | <{if $block.full_view == true}> |
| 78 | 78 | <table class="d3f_outer" cellspacing="1"> |
| 79 | 79 | <thead> |
| @@ -1,61 +1,154 @@ | ||
| 1 | +<!-- marine add --> | |
| 2 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listposts.php"}> | |
| 3 | +<!-- marine add --> | |
| 4 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}> | |
| 5 | + | |
| 1 | 6 | <!-- start module contents --> |
| 2 | -<div id="main_listposts" class="clearfix"> | |
| 3 | 7 | <div class="d3f_breadcrumbs"> |
| 4 | - <{if $mod_config.show_breadcrumbs}> | |
| 5 | - <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 6 | - > | |
| 7 | - <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 8 | - <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 9 | - > | |
| 10 | - <{/foreach}> | |
| 11 | - <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 12 | - <{/if}> | |
| 13 | - <{if $prev_topic.id || $next_topic.id}> | |
| 14 | - (<{if $prev_topic.id}> | |
| 15 | - <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 16 | - <{/if}> | |
| 17 | - <{if $prev_topic.id && $next_topic.id}> | |
| 18 | - | | |
| 19 | - <{/if}> | |
| 20 | - <{if $next_topic.id}> | |
| 21 | - <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 22 | - <{/if}>) | |
| 23 | - <{/if}> | |
| 8 | + <{if $mod_config.show_breadcrumbs}> | |
| 9 | + <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 10 | + > | |
| 11 | + <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 12 | + <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 13 | + > | |
| 14 | + <{/foreach}> | |
| 15 | + <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 16 | + <{/if}> | |
| 17 | + <{if $prev_topic.id || $next_topic.id}> | |
| 18 | + (<{if $prev_topic.id}> | |
| 19 | + <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 20 | + <{/if}> | |
| 21 | + <{if $prev_topic.id && $next_topic.id}> | |
| 22 | + | | |
| 23 | + <{/if}> | |
| 24 | + <{if $next_topic.id}> | |
| 25 | + <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 26 | + <{/if}>) | |
| 27 | + <{/if}> | |
| 24 | 28 | </div> |
| 25 | 29 | |
| 26 | -<h1 class="d3f_title" style="clear:both"><img src="<{$xoops_imageurl}>images/s001.png"><{$topic.title}></h1> | |
| 30 | +<h1 class="d3f_title" style="clear:both"><{$topic.title}></h1> | |
| 27 | 31 | |
| 28 | 32 | <{include file="db:`$mydirname`_inc_topicbar.html"}> |
| 29 | 33 | |
| 30 | 34 | <{include file="db:`$mydirname`_inc_d3comment_summary.html"}> |
| 35 | +<br /> | |
| 36 | + | |
| 37 | +<{if $topic.external_link_id}> | |
| 38 | +<div class="d3f_link"> | |
| 39 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 40 | +(<{$post_hits|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 41 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 42 | +</div><!-- /d3f_link --> | |
| 43 | +<{/if}> | |
| 44 | + | |
| 45 | +<div class="boxNavi" style="text-align:center;"> | |
| 46 | +<{if $pagenav}> | |
| 47 | +<ul class="itemBody"> | |
| 48 | +<{foreach from=$pagenav item=nav_}> | |
| 49 | +<li class=<{$nav_.class}>><span> | |
| 50 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 51 | +<{else}> | |
| 52 | +<{$nav_.txt}> | |
| 53 | +<{/if}> | |
| 54 | +</span></li> | |
| 55 | +<{/foreach}> | |
| 56 | +</ul><!-- /itemIBody --> | |
| 57 | +<{/if}> | |
| 58 | +</div><!-- /boxNavi --> | |
| 59 | + | |
| 60 | +<!-- start post tree --> | |
| 61 | +<div class="d3f_post_tree"> | |
| 62 | + <h2 class="head"> | |
| 63 | + <{$smarty.const._MD_D3FORUM_POSTSTREE}> | |
| 64 | + </h2> | |
| 65 | +<{foreach from=$posts item=eachpost}> | |
| 66 | + <{if ($eachpost.topic_id==$topic.id)}> | |
| 67 | + <ul class='d3f_eachbranch'><{"<span style='padding-left:`$eachpost.depth_in_tree`0px; padding-top: 0;'>"}> | |
| 68 | + <a href="#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}></a> | |
| 69 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 70 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=cutpasteposts&post_id=<{$eachpost.id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}></span> | |
| 71 | + </ul> | |
| 72 | + <{/if}> | |
| 73 | +<{/foreach}> | |
| 74 | +<{* $postorder *}> | |
| 75 | +</div> | |
| 76 | +<!-- end post tree --> | |
| 77 | + | |
| 78 | +<!-- start topic list --> | |
| 79 | +<{if $topic.external_link_id && ($tree_tp_count>1)}> | |
| 80 | +<h2 class="head"><{$smarty.const._MD_D3FORUM_TOPIC}></h2> | |
| 81 | +<ul class='d3f_eachbranch'> | |
| 82 | +<{foreach from=$tree item=eachpost}> | |
| 83 | + <{if ($eachpost.depth_in_tree==0)}> | |
| 84 | + <li><span style='padding-left:0px; padding-top: 0;'<{if ($eachpost.topic_id==$topic.id)}> class='d3f_eachbranchitem'<{/if}>> | |
| 85 | + <{if ($eachpost.topic_id!=$topic.id)}><a href="<{$mod_url}>/index.php?topic_id=<{$eachpost.topic_id}>#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><{/if}><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}><{if ($eachpost.topic_id==$topic.id)}></a><{/if}> | |
| 86 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 87 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=topicmanager&topic_id=<{$eachpost.topic_id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}> | |
| 88 | + <{if ($eachpost.topic_id==$topic.id) && ($eachpost.depth_in_tree==0)}><font color="red"><{$smarty.const._MD_D3FORUM_THIS_TOPIC}></font><{/if}> | |
| 89 | + </li> | |
| 90 | + <{/if}> | |
| 91 | +<{/foreach}> | |
| 92 | +</ul> | |
| 93 | +<{/if}> | |
| 94 | +<!-- end topic list --> | |
| 31 | 95 | |
| 32 | 96 | <{include file="db:`$mydirname`_inc_postorder_links.html"}> |
| 97 | +<br /> | |
| 98 | + | |
| 99 | +<!-- quick reply form --> | |
| 100 | +<{if $first_post.can_reply && ($postorder==3)}> | |
| 101 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 102 | +<{/if}> | |
| 33 | 103 | |
| 34 | 104 | <!-- top of posts --> |
| 35 | 105 | <div class="d3f_wrap"> |
| 36 | 106 | <{foreach item=post from=$posts}> |
| 37 | - <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 107 | + <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 38 | 108 | <{/foreach}> |
| 39 | 109 | </div> |
| 40 | 110 | <!-- bottom of posts --> |
| 41 | 111 | |
| 112 | +<{if $topic.external_link_id}> | |
| 113 | +<div class="d3f_link" padding: 20px;> | |
| 114 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 115 | +(<{$post_hits|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 116 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 117 | +</div><!-- /d3f_link --> | |
| 118 | +<{/if}> | |
| 119 | + | |
| 120 | +<div class="boxNavi" style="text-align:center;"> | |
| 121 | +<{if $pagenav}> | |
| 122 | +<ul class="itemBody"> | |
| 123 | +<{foreach from=$pagenav item=nav_}> | |
| 124 | +<li class=<{$nav_.class}>><span> | |
| 125 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 126 | +<{else}> | |
| 127 | +<{$nav_.txt}> | |
| 128 | +<{/if}> | |
| 129 | +</span></li> | |
| 130 | +<{/foreach}> | |
| 131 | +</ul><!-- /itemIBody --> | |
| 132 | +<{/if}> | |
| 133 | +</div><!-- /boxNavi --> | |
| 42 | 134 | |
| 135 | +<{include file="db:`$mydirname`_inc_postorder_links.html"}> | |
| 136 | +<{* $postorder *}> | |
| 43 | 137 | <!-- quick reply form --> |
| 44 | -<{if $first_post.can_reply}> | |
| 45 | - <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 138 | +<{if $first_post.can_reply && ($postorder!=3)}> | |
| 139 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 46 | 140 | <{/if}> |
| 47 | 141 | |
| 48 | 142 | <!-- forum jump --> |
| 49 | -<div class="forum_jump"> | |
| 50 | 143 | <form name="forum_jump_box" action="<{$mod_url}>/index.php" method="get" style="clear:both;" class="d3f_form"> |
| 51 | - <p> | |
| 52 | - <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 53 | - <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 54 | - | |
| 55 | - <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 56 | - </p> | |
| 144 | + <div id="d3f_form_jump_box"> | |
| 145 | + <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 146 | + <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 147 | + | |
| 148 | + <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 149 | + </div> | |
| 57 | 150 | </form> |
| 58 | -</div> | |
| 59 | -</div> | |
| 151 | + | |
| 152 | +<hr class="notification" /> | |
| 60 | 153 | <{include file='db:system_notification_select.html'}> |
| 61 | -<!-- end module contents --> | |
| 154 | +<!-- end module conte --> | |
| \ No newline at end of file |
| @@ -382,3 +382,44 @@ div.comment div.comment-meta { | ||
| 382 | 382 | margin-top:30px; |
| 383 | 383 | } |
| 384 | 384 | |
| 385 | +/* d3forum Page Navigation */ | |
| 386 | +/* 20110515 marine add */ | |
| 387 | + | |
| 388 | +div.boxNavi .itemBody { | |
| 389 | + margin: 1px 2px 5px 2px; | |
| 390 | + text-align:center; | |
| 391 | + list-style-type: none; | |
| 392 | + background-color: transparent; | |
| 393 | +} | |
| 394 | +div.boxNavi .itemBody li{ | |
| 395 | + display: inline; | |
| 396 | + margin: 1px 2px 1px 2px; | |
| 397 | + padding: 5px 0px 5px 0px; | |
| 398 | + font-weight: bold; | |
| 399 | + text-align:center; | |
| 400 | + border-top: 1px solid lightgrey; | |
| 401 | + border-bottom: 1px solid lightgrey; | |
| 402 | + border-left: 1px solid lightgrey; | |
| 403 | + border-right: 1px solid lightgrey; | |
| 404 | + background-image: none; | |
| 405 | +} | |
| 406 | + | |
| 407 | +div.boxNavi .itemBody li.txt span, | |
| 408 | +div.boxNavi .itemBody li.this span, | |
| 409 | +div.boxNavi .itemBody li a { | |
| 410 | + margin: 0; | |
| 411 | + padding: 5px 7px 5px 10px; | |
| 412 | + text-decoration: none; | |
| 413 | +} | |
| 414 | +div.boxNavi .itemBody li.this span { | |
| 415 | + background-color: #CCCCCC; | |
| 416 | +} | |
| 417 | + | |
| 418 | +.d3f_top_message .d3f_rss { | |
| 419 | + position:absolute; | |
| 420 | + width:30px; | |
| 421 | + height:30px; | |
| 422 | + top:24px; | |
| 423 | + left:210px; | |
| 424 | +} | |
| 425 | + |
| @@ -73,7 +73,7 @@ | ||
| 73 | 73 | </div> |
| 74 | 74 | |
| 75 | 75 | <div><!-- marine modifi xugj_block topics--> |
| 76 | -<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="d3forum,15,1,time,1,0,," item="block"}> | |
| 76 | +<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="$mydirname,15,1,time,1,0,," item="block"}> | |
| 77 | 77 | <{if $block.full_view == true}> |
| 78 | 78 | <table class="d3f_outer" cellspacing="1"> |
| 79 | 79 | <thead> |
| @@ -1,61 +1,154 @@ | ||
| 1 | +<!-- marine add --> | |
| 2 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listposts.php"}> | |
| 3 | +<!-- marine add --> | |
| 4 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}> | |
| 5 | + | |
| 1 | 6 | <!-- start module contents --> |
| 2 | -<div id="main_listposts" class="clearfix"> | |
| 3 | 7 | <div class="d3f_breadcrumbs"> |
| 4 | - <{if $mod_config.show_breadcrumbs}> | |
| 5 | - <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 6 | - > | |
| 7 | - <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 8 | - <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 9 | - > | |
| 10 | - <{/foreach}> | |
| 11 | - <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 12 | - <{/if}> | |
| 13 | - <{if $prev_topic.id || $next_topic.id}> | |
| 14 | - (<{if $prev_topic.id}> | |
| 15 | - <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 16 | - <{/if}> | |
| 17 | - <{if $prev_topic.id && $next_topic.id}> | |
| 18 | - | | |
| 19 | - <{/if}> | |
| 20 | - <{if $next_topic.id}> | |
| 21 | - <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 22 | - <{/if}>) | |
| 23 | - <{/if}> | |
| 8 | + <{if $mod_config.show_breadcrumbs}> | |
| 9 | + <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 10 | + > | |
| 11 | + <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 12 | + <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 13 | + > | |
| 14 | + <{/foreach}> | |
| 15 | + <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 16 | + <{/if}> | |
| 17 | + <{if $prev_topic.id || $next_topic.id}> | |
| 18 | + (<{if $prev_topic.id}> | |
| 19 | + <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 20 | + <{/if}> | |
| 21 | + <{if $prev_topic.id && $next_topic.id}> | |
| 22 | + | | |
| 23 | + <{/if}> | |
| 24 | + <{if $next_topic.id}> | |
| 25 | + <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 26 | + <{/if}>) | |
| 27 | + <{/if}> | |
| 24 | 28 | </div> |
| 25 | 29 | |
| 26 | -<h1 class="d3f_title" style="clear:both"><img src="<{$xoops_imageurl}>images/s001.png"><{$topic.title}></h1> | |
| 30 | +<h1 class="d3f_title" style="clear:both"><{$topic.title}></h1> | |
| 27 | 31 | |
| 28 | 32 | <{include file="db:`$mydirname`_inc_topicbar.html"}> |
| 29 | 33 | |
| 30 | 34 | <{include file="db:`$mydirname`_inc_d3comment_summary.html"}> |
| 35 | +<br /> | |
| 36 | + | |
| 37 | +<{if $topic.external_link_id}> | |
| 38 | +<div class="d3f_link"> | |
| 39 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 40 | +(<{$post_hits|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 41 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 42 | +</div><!-- /d3f_link --> | |
| 43 | +<{/if}> | |
| 44 | + | |
| 45 | +<div class="boxNavi" style="text-align:center;"> | |
| 46 | +<{if $pagenav}> | |
| 47 | +<ul class="itemBody"> | |
| 48 | +<{foreach from=$pagenav item=nav_}> | |
| 49 | +<li class=<{$nav_.class}>><span> | |
| 50 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 51 | +<{else}> | |
| 52 | +<{$nav_.txt}> | |
| 53 | +<{/if}> | |
| 54 | +</span></li> | |
| 55 | +<{/foreach}> | |
| 56 | +</ul><!-- /itemIBody --> | |
| 57 | +<{/if}> | |
| 58 | +</div><!-- /boxNavi --> | |
| 59 | + | |
| 60 | +<!-- start post tree --> | |
| 61 | +<div class="d3f_post_tree"> | |
| 62 | + <h2 class="head"> | |
| 63 | + <{$smarty.const._MD_D3FORUM_POSTSTREE}> | |
| 64 | + </h2> | |
| 65 | +<{foreach from=$posts item=eachpost}> | |
| 66 | + <{if ($eachpost.topic_id==$topic.id)}> | |
| 67 | + <ul class='d3f_eachbranch'><{"<span style='padding-left:`$eachpost.depth_in_tree`0px; padding-top: 0;'>"}> | |
| 68 | + <a href="#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}></a> | |
| 69 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 70 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=cutpasteposts&post_id=<{$eachpost.id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}></span> | |
| 71 | + </ul> | |
| 72 | + <{/if}> | |
| 73 | +<{/foreach}> | |
| 74 | +<{* $postorder *}> | |
| 75 | +</div> | |
| 76 | +<!-- end post tree --> | |
| 77 | + | |
| 78 | +<!-- start topic list --> | |
| 79 | +<{if $topic.external_link_id && ($tree_tp_count>1)}> | |
| 80 | +<h2 class="head"><{$smarty.const._MD_D3FORUM_TOPIC}></h2> | |
| 81 | +<ul class='d3f_eachbranch'> | |
| 82 | +<{foreach from=$tree item=eachpost}> | |
| 83 | + <{if ($eachpost.depth_in_tree==0)}> | |
| 84 | + <li><span style='padding-left:0px; padding-top: 0;'<{if ($eachpost.topic_id==$topic.id)}> class='d3f_eachbranchitem'<{/if}>> | |
| 85 | + <{if ($eachpost.topic_id!=$topic.id)}><a href="<{$mod_url}>/index.php?topic_id=<{$eachpost.topic_id}>#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><{/if}><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}><{if ($eachpost.topic_id==$topic.id)}></a><{/if}> | |
| 86 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 87 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=topicmanager&topic_id=<{$eachpost.topic_id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}> | |
| 88 | + <{if ($eachpost.topic_id==$topic.id) && ($eachpost.depth_in_tree==0)}><font color="red"><{$smarty.const._MD_D3FORUM_THIS_TOPIC}></font><{/if}> | |
| 89 | + </li> | |
| 90 | + <{/if}> | |
| 91 | +<{/foreach}> | |
| 92 | +</ul> | |
| 93 | +<{/if}> | |
| 94 | +<!-- end topic list --> | |
| 31 | 95 | |
| 32 | 96 | <{include file="db:`$mydirname`_inc_postorder_links.html"}> |
| 97 | +<br /> | |
| 98 | + | |
| 99 | +<!-- quick reply form --> | |
| 100 | +<{if $first_post.can_reply && ($postorder==3)}> | |
| 101 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 102 | +<{/if}> | |
| 33 | 103 | |
| 34 | 104 | <!-- top of posts --> |
| 35 | 105 | <div class="d3f_wrap"> |
| 36 | 106 | <{foreach item=post from=$posts}> |
| 37 | - <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 107 | + <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 38 | 108 | <{/foreach}> |
| 39 | 109 | </div> |
| 40 | 110 | <!-- bottom of posts --> |
| 41 | 111 | |
| 112 | +<{if $topic.external_link_id}> | |
| 113 | +<div class="d3f_link" padding: 20px;> | |
| 114 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 115 | +(<{$post_hits|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 116 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 117 | +</div><!-- /d3f_link --> | |
| 118 | +<{/if}> | |
| 119 | + | |
| 120 | +<div class="boxNavi" style="text-align:center;"> | |
| 121 | +<{if $pagenav}> | |
| 122 | +<ul class="itemBody"> | |
| 123 | +<{foreach from=$pagenav item=nav_}> | |
| 124 | +<li class=<{$nav_.class}>><span> | |
| 125 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 126 | +<{else}> | |
| 127 | +<{$nav_.txt}> | |
| 128 | +<{/if}> | |
| 129 | +</span></li> | |
| 130 | +<{/foreach}> | |
| 131 | +</ul><!-- /itemIBody --> | |
| 132 | +<{/if}> | |
| 133 | +</div><!-- /boxNavi --> | |
| 42 | 134 | |
| 135 | +<{include file="db:`$mydirname`_inc_postorder_links.html"}> | |
| 136 | +<{* $postorder *}> | |
| 43 | 137 | <!-- quick reply form --> |
| 44 | -<{if $first_post.can_reply}> | |
| 45 | - <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 138 | +<{if $first_post.can_reply && ($postorder!=3)}> | |
| 139 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 46 | 140 | <{/if}> |
| 47 | 141 | |
| 48 | 142 | <!-- forum jump --> |
| 49 | -<div class="forum_jump"> | |
| 50 | 143 | <form name="forum_jump_box" action="<{$mod_url}>/index.php" method="get" style="clear:both;" class="d3f_form"> |
| 51 | - <p> | |
| 52 | - <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 53 | - <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 54 | - | |
| 55 | - <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 56 | - </p> | |
| 144 | + <div id="d3f_form_jump_box"> | |
| 145 | + <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 146 | + <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 147 | + | |
| 148 | + <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 149 | + </div> | |
| 57 | 150 | </form> |
| 58 | -</div> | |
| 59 | -</div> | |
| 151 | + | |
| 152 | +<hr class="notification" /> | |
| 60 | 153 | <{include file='db:system_notification_select.html'}> |
| 61 | -<!-- end module contents --> | |
| 154 | +<!-- end module conte --> | |
| \ No newline at end of file |
| @@ -382,3 +382,44 @@ div.comment div.comment-meta { | ||
| 382 | 382 | margin-top:30px; |
| 383 | 383 | } |
| 384 | 384 | |
| 385 | +/* d3forum Page Navigation */ | |
| 386 | +/* 20110515 marine add */ | |
| 387 | + | |
| 388 | +div.boxNavi .itemBody { | |
| 389 | + margin: 1px 2px 5px 2px; | |
| 390 | + text-align:center; | |
| 391 | + list-style-type: none; | |
| 392 | + background-color: transparent; | |
| 393 | +} | |
| 394 | +div.boxNavi .itemBody li{ | |
| 395 | + display: inline; | |
| 396 | + margin: 1px 2px 1px 2px; | |
| 397 | + padding: 5px 0px 5px 0px; | |
| 398 | + font-weight: bold; | |
| 399 | + text-align:center; | |
| 400 | + border-top: 1px solid lightgrey; | |
| 401 | + border-bottom: 1px solid lightgrey; | |
| 402 | + border-left: 1px solid lightgrey; | |
| 403 | + border-right: 1px solid lightgrey; | |
| 404 | + background-image: none; | |
| 405 | +} | |
| 406 | + | |
| 407 | +div.boxNavi .itemBody li.txt span, | |
| 408 | +div.boxNavi .itemBody li.this span, | |
| 409 | +div.boxNavi .itemBody li a { | |
| 410 | + margin: 0; | |
| 411 | + padding: 5px 7px 5px 10px; | |
| 412 | + text-decoration: none; | |
| 413 | +} | |
| 414 | +div.boxNavi .itemBody li.this span { | |
| 415 | + background-color: #CCCCCC; | |
| 416 | +} | |
| 417 | + | |
| 418 | +.d3f_top_message .d3f_rss { | |
| 419 | + position:absolute; | |
| 420 | + width:30px; | |
| 421 | + height:30px; | |
| 422 | + top:24px; | |
| 423 | + left:210px; | |
| 424 | +} | |
| 425 | + |
| @@ -73,7 +73,7 @@ | ||
| 73 | 73 | </div> |
| 74 | 74 | |
| 75 | 75 | <div><!-- marine modifi xugj_block topics--> |
| 76 | -<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="d3forum,15,1,time,1,0,," item="block"}> | |
| 76 | +<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="$mydirname,15,1,time,1,0,," item="block"}> | |
| 77 | 77 | <{if $block.full_view == true}> |
| 78 | 78 | <table class="d3f_outer" cellspacing="1"> |
| 79 | 79 | <thead> |
| @@ -1,61 +1,154 @@ | ||
| 1 | +<!-- marine add --> | |
| 2 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listposts.php"}> | |
| 3 | +<!-- marine add --> | |
| 4 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}> | |
| 5 | + | |
| 1 | 6 | <!-- start module contents --> |
| 2 | -<div id="main_listposts" class="clearfix"> | |
| 3 | 7 | <div class="d3f_breadcrumbs"> |
| 4 | - <{if $mod_config.show_breadcrumbs}> | |
| 5 | - <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 6 | - > | |
| 7 | - <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 8 | - <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 9 | - > | |
| 10 | - <{/foreach}> | |
| 11 | - <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 12 | - <{/if}> | |
| 13 | - <{if $prev_topic.id || $next_topic.id}> | |
| 14 | - (<{if $prev_topic.id}> | |
| 15 | - <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 16 | - <{/if}> | |
| 17 | - <{if $prev_topic.id && $next_topic.id}> | |
| 18 | - | | |
| 19 | - <{/if}> | |
| 20 | - <{if $next_topic.id}> | |
| 21 | - <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 22 | - <{/if}>) | |
| 23 | - <{/if}> | |
| 8 | + <{if $mod_config.show_breadcrumbs}> | |
| 9 | + <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 10 | + > | |
| 11 | + <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 12 | + <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 13 | + > | |
| 14 | + <{/foreach}> | |
| 15 | + <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 16 | + <{/if}> | |
| 17 | + <{if $prev_topic.id || $next_topic.id}> | |
| 18 | + (<{if $prev_topic.id}> | |
| 19 | + <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 20 | + <{/if}> | |
| 21 | + <{if $prev_topic.id && $next_topic.id}> | |
| 22 | + | | |
| 23 | + <{/if}> | |
| 24 | + <{if $next_topic.id}> | |
| 25 | + <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 26 | + <{/if}>) | |
| 27 | + <{/if}> | |
| 24 | 28 | </div> |
| 25 | 29 | |
| 26 | -<h1 class="d3f_title" style="clear:both"><img src="<{$xoops_imageurl}>images/s001.png"><{$topic.title}></h1> | |
| 30 | +<h1 class="d3f_title" style="clear:both"><{$topic.title}></h1> | |
| 27 | 31 | |
| 28 | 32 | <{include file="db:`$mydirname`_inc_topicbar.html"}> |
| 29 | 33 | |
| 30 | 34 | <{include file="db:`$mydirname`_inc_d3comment_summary.html"}> |
| 35 | +<br /> | |
| 36 | + | |
| 37 | +<{if $topic.external_link_id}> | |
| 38 | +<div class="d3f_link"> | |
| 39 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 40 | +(<{$post_hits|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 41 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 42 | +</div><!-- /d3f_link --> | |
| 43 | +<{/if}> | |
| 44 | + | |
| 45 | +<div class="boxNavi" style="text-align:center;"> | |
| 46 | +<{if $pagenav}> | |
| 47 | +<ul class="itemBody"> | |
| 48 | +<{foreach from=$pagenav item=nav_}> | |
| 49 | +<li class=<{$nav_.class}>><span> | |
| 50 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 51 | +<{else}> | |
| 52 | +<{$nav_.txt}> | |
| 53 | +<{/if}> | |
| 54 | +</span></li> | |
| 55 | +<{/foreach}> | |
| 56 | +</ul><!-- /itemIBody --> | |
| 57 | +<{/if}> | |
| 58 | +</div><!-- /boxNavi --> | |
| 59 | + | |
| 60 | +<!-- start post tree --> | |
| 61 | +<div class="d3f_post_tree"> | |
| 62 | + <h2 class="head"> | |
| 63 | + <{$smarty.const._MD_D3FORUM_POSTSTREE}> | |
| 64 | + </h2> | |
| 65 | +<{foreach from=$posts item=eachpost}> | |
| 66 | + <{if ($eachpost.topic_id==$topic.id)}> | |
| 67 | + <ul class='d3f_eachbranch'><{"<span style='padding-left:`$eachpost.depth_in_tree`0px; padding-top: 0;'>"}> | |
| 68 | + <a href="#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}></a> | |
| 69 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 70 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=cutpasteposts&post_id=<{$eachpost.id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}></span> | |
| 71 | + </ul> | |
| 72 | + <{/if}> | |
| 73 | +<{/foreach}> | |
| 74 | +<{* $postorder *}> | |
| 75 | +</div> | |
| 76 | +<!-- end post tree --> | |
| 77 | + | |
| 78 | +<!-- start topic list --> | |
| 79 | +<{if $topic.external_link_id && ($tree_tp_count>1)}> | |
| 80 | +<h2 class="head"><{$smarty.const._MD_D3FORUM_TOPIC}></h2> | |
| 81 | +<ul class='d3f_eachbranch'> | |
| 82 | +<{foreach from=$tree item=eachpost}> | |
| 83 | + <{if ($eachpost.depth_in_tree==0)}> | |
| 84 | + <li><span style='padding-left:0px; padding-top: 0;'<{if ($eachpost.topic_id==$topic.id)}> class='d3f_eachbranchitem'<{/if}>> | |
| 85 | + <{if ($eachpost.topic_id!=$topic.id)}><a href="<{$mod_url}>/index.php?topic_id=<{$eachpost.topic_id}>#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><{/if}><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}><{if ($eachpost.topic_id==$topic.id)}></a><{/if}> | |
| 86 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 87 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=topicmanager&topic_id=<{$eachpost.topic_id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}> | |
| 88 | + <{if ($eachpost.topic_id==$topic.id) && ($eachpost.depth_in_tree==0)}><font color="red"><{$smarty.const._MD_D3FORUM_THIS_TOPIC}></font><{/if}> | |
| 89 | + </li> | |
| 90 | + <{/if}> | |
| 91 | +<{/foreach}> | |
| 92 | +</ul> | |
| 93 | +<{/if}> | |
| 94 | +<!-- end topic list --> | |
| 31 | 95 | |
| 32 | 96 | <{include file="db:`$mydirname`_inc_postorder_links.html"}> |
| 97 | +<br /> | |
| 98 | + | |
| 99 | +<!-- quick reply form --> | |
| 100 | +<{if $first_post.can_reply && ($postorder==3)}> | |
| 101 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 102 | +<{/if}> | |
| 33 | 103 | |
| 34 | 104 | <!-- top of posts --> |
| 35 | 105 | <div class="d3f_wrap"> |
| 36 | 106 | <{foreach item=post from=$posts}> |
| 37 | - <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 107 | + <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 38 | 108 | <{/foreach}> |
| 39 | 109 | </div> |
| 40 | 110 | <!-- bottom of posts --> |
| 41 | 111 | |
| 112 | +<{if $topic.external_link_id}> | |
| 113 | +<div class="d3f_link" padding: 20px;> | |
| 114 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 115 | +(<{$post_hits|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 116 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 117 | +</div><!-- /d3f_link --> | |
| 118 | +<{/if}> | |
| 119 | + | |
| 120 | +<div class="boxNavi" style="text-align:center;"> | |
| 121 | +<{if $pagenav}> | |
| 122 | +<ul class="itemBody"> | |
| 123 | +<{foreach from=$pagenav item=nav_}> | |
| 124 | +<li class=<{$nav_.class}>><span> | |
| 125 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 126 | +<{else}> | |
| 127 | +<{$nav_.txt}> | |
| 128 | +<{/if}> | |
| 129 | +</span></li> | |
| 130 | +<{/foreach}> | |
| 131 | +</ul><!-- /itemIBody --> | |
| 132 | +<{/if}> | |
| 133 | +</div><!-- /boxNavi --> | |
| 42 | 134 | |
| 135 | +<{include file="db:`$mydirname`_inc_postorder_links.html"}> | |
| 136 | +<{* $postorder *}> | |
| 43 | 137 | <!-- quick reply form --> |
| 44 | -<{if $first_post.can_reply}> | |
| 45 | - <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 138 | +<{if $first_post.can_reply && ($postorder!=3)}> | |
| 139 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 46 | 140 | <{/if}> |
| 47 | 141 | |
| 48 | 142 | <!-- forum jump --> |
| 49 | -<div class="forum_jump"> | |
| 50 | 143 | <form name="forum_jump_box" action="<{$mod_url}>/index.php" method="get" style="clear:both;" class="d3f_form"> |
| 51 | - <p> | |
| 52 | - <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 53 | - <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 54 | - | |
| 55 | - <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 56 | - </p> | |
| 144 | + <div id="d3f_form_jump_box"> | |
| 145 | + <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 146 | + <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 147 | + | |
| 148 | + <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 149 | + </div> | |
| 57 | 150 | </form> |
| 58 | -</div> | |
| 59 | -</div> | |
| 151 | + | |
| 152 | +<hr class="notification" /> | |
| 60 | 153 | <{include file='db:system_notification_select.html'}> |
| 61 | -<!-- end module contents --> | |
| 154 | +<!-- end module conte --> | |
| \ No newline at end of file |
| @@ -5,7 +5,7 @@ | ||
| 5 | 5 | Name="fashion" |
| 6 | 6 | Depends=Legacy_RenderSystem,legacy |
| 7 | 7 | Url="http://xoops123.com/" |
| 8 | -Version="0.89" | |
| 8 | +Version="0.91" | |
| 9 | 9 | |
| 10 | 10 | [Theme] |
| 11 | 11 | RenderSystem=Legacy_RenderSystem |
| @@ -318,11 +318,6 @@ a#goback , a#goback:visited { | ||
| 318 | 318 | margin:0 auto; |
| 319 | 319 | } |
| 320 | 320 | |
| 321 | -#Container #d3f_wrap_oc .d3f_wrap , #Container #d3f_wrap_oc .d3f_wrap .d3f_head ,#d3f_wrap_oc .d3f_wrap .d3f_info_ctrl{ | |
| 322 | - width:98%; | |
| 323 | - margin:0 auto; | |
| 324 | -} | |
| 325 | - | |
| 326 | 321 | table.inc_d3comment_summary { |
| 327 | 322 | } |
| 328 | 323 | table.inc_d3comment_summary td.td01 { |
| @@ -612,51 +607,7 @@ body.webphoto #ModuleContents ul { | ||
| 612 | 607 | } |
| 613 | 608 | |
| 614 | 609 | |
| 615 | -/* d3dialy and athers */ | |
| 616 | -#ModuleContents #d3dWrap { | |
| 617 | - width:96%; | |
| 618 | - margin: 0 auto; | |
| 619 | -} | |
| 620 | - | |
| 621 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside div.boxdate_base { | |
| 622 | - float: left; | |
| 623 | - width:60px; | |
| 624 | - height:80px; | |
| 625 | - padding: .5em 0; | |
| 626 | - margin: 2px 6px 6px 2px; | |
| 627 | - text-align: center; | |
| 628 | -} | |
| 629 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside div.boxdate_base div { | |
| 630 | - background:transparent; | |
| 631 | -} | |
| 632 | - | |
| 633 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside .itemHead , | |
| 634 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside .boxNavi { | |
| 635 | - width:100%; | |
| 636 | - float:left; | |
| 637 | -} | |
| 638 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside .itemList { | |
| 639 | - width:100%; | |
| 640 | - float:left; | |
| 641 | - margin-left:-90px; | |
| 642 | - padding-top:10px; | |
| 643 | - padding-left:30px; | |
| 644 | - margin-right:-30px; | |
| 645 | - margin-bottom:20px; | |
| 646 | - font-size:1.2em; | |
| 647 | - line-height:1.5; | |
| 648 | -} | |
| 649 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside .itemList .item { | |
| 650 | - width:90%; | |
| 651 | - padding:0; | |
| 652 | -} | |
| 653 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside .itemList .item .itemHead{ | |
| 654 | - font-size:1.4em; | |
| 655 | -} | |
| 656 | - | |
| 657 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside div.boxdate_base .itemHead { | |
| 658 | - width:100%; | |
| 659 | -} | |
| 610 | +/* others */ | |
| 660 | 611 | |
| 661 | 612 | body.chalog #ModuleContents { |
| 662 | 613 | width:94%; |
| @@ -1191,3 +1142,71 @@ body.d3blog #Container .BlockContent ul li { | ||
| 1191 | 1142 | margin-bottom:5px; |
| 1192 | 1143 | } |
| 1193 | 1144 | |
| 1145 | +/* d3forum Page Navigation */ | |
| 1146 | +/* 20110515 marine add */ | |
| 1147 | + | |
| 1148 | +div.boxNavi .itemBody { | |
| 1149 | + margin: 1px 2px 5px 2px; | |
| 1150 | + text-align:center; | |
| 1151 | + list-style-type: none; | |
| 1152 | + background-color: transparent; | |
| 1153 | +} | |
| 1154 | +div.boxNavi .itemBody li{ | |
| 1155 | + display: inline; | |
| 1156 | + margin: 1px 2px 1px 2px; | |
| 1157 | + padding: 5px 0px 5px 0px; | |
| 1158 | + font-weight: bold; | |
| 1159 | + text-align:center; | |
| 1160 | + border-top: 1px solid lightgrey; | |
| 1161 | + border-bottom: 1px solid lightgrey; | |
| 1162 | + border-left: 1px solid lightgrey; | |
| 1163 | + border-right: 1px solid lightgrey; | |
| 1164 | + background-image: none; | |
| 1165 | +} | |
| 1166 | + | |
| 1167 | +div.boxNavi .itemBody li.txt span, | |
| 1168 | +div.boxNavi .itemBody li.this span, | |
| 1169 | +div.boxNavi .itemBody li a { | |
| 1170 | + margin: 0; | |
| 1171 | + padding: 5px 7px 5px 10px; | |
| 1172 | + text-decoration: none; | |
| 1173 | +} | |
| 1174 | +div.boxNavi .itemBody li.this span { | |
| 1175 | + background-color: #CCCCCC; | |
| 1176 | +} | |
| 1177 | + | |
| 1178 | +.d3f_top_message .d3f_rss { | |
| 1179 | + position:absolute; | |
| 1180 | + width:30px; | |
| 1181 | + height:30px; | |
| 1182 | + top:24px; | |
| 1183 | + left:210px; | |
| 1184 | +} | |
| 1185 | + | |
| 1186 | +/* d3diary */ | |
| 1187 | + | |
| 1188 | +#d3dWrap { | |
| 1189 | + margin:10px; | |
| 1190 | +} | |
| 1191 | +#d3dSideLeft .item, | |
| 1192 | +#d3dSideRight .item { | |
| 1193 | + padding:7px; | |
| 1194 | + border-radius: 7px ; | |
| 1195 | + -webkit-border-radius: 7px; | |
| 1196 | + -moz-border-radius: 7px; | |
| 1197 | +} | |
| 1198 | + | |
| 1199 | +/* boxdate if Detail page*/ | |
| 1200 | + | |
| 1201 | +#d3dWrap div.boxdate_base { | |
| 1202 | + float: left; | |
| 1203 | + padding: .5em 0; | |
| 1204 | + margin: 2px 8px 8px 2px; | |
| 1205 | + text-align: center; | |
| 1206 | + border:none; | |
| 1207 | + background: url(images/b005bcg.gif); | |
| 1208 | + -webkit-box-shadow: inset 0px 0px 10px 0px #777; | |
| 1209 | + -moz-box-shadow: inset 0px 0px 10px 0px #777; | |
| 1210 | + box-shadow: inset 0px 0px 10px 0px #777; | |
| 1211 | +} | |
| 1212 | + |
| @@ -77,7 +77,7 @@ p { | ||
| 77 | 77 | /* Contents */ |
| 78 | 78 | #Container , |
| 79 | 79 | body.home #Container , |
| 80 | -body.ather #Container , | |
| 80 | +body.other #Container , | |
| 81 | 81 | body.L0R0 #Container , |
| 82 | 82 | body.L1R1 #Container , |
| 83 | 83 | body.L1R0 #Container , |
| @@ -209,11 +209,14 @@ body.L1R0 #grid-content { | ||
| 209 | 209 | } |
| 210 | 210 | body.L0R0 #grid-content , |
| 211 | 211 | body.L0R1 #grid-content , |
| 212 | -body.ather #grid-content , | |
| 212 | +body.other #grid-content , | |
| 213 | 213 | body.home #grid-content { |
| 214 | 214 | width:100%; |
| 215 | 215 | border:none; |
| 216 | 216 | } |
| 217 | +body.home #grid-content { | |
| 218 | + margin-top:12px; | |
| 219 | +} | |
| 217 | 220 | |
| 218 | 221 | #ModuleContents { |
| 219 | 222 | position:relative; |
| @@ -237,7 +240,7 @@ body.L1R1 #gc-wrapper { | ||
| 237 | 240 | padding:0 22px 5px 5px; |
| 238 | 241 | border:none; |
| 239 | 242 | } |
| 240 | -body.ather #ModuleContents , | |
| 243 | +body.other #ModuleContents , | |
| 241 | 244 | body.home #ModuleContents { |
| 242 | 245 | position:relative; |
| 243 | 246 | margin:0; |
| @@ -263,10 +266,12 @@ body.home #ModuleContents { | ||
| 263 | 266 | padding: 4px; |
| 264 | 267 | } |
| 265 | 268 | |
| 269 | +/* 20120515 comment out | |
| 266 | 270 | #grid-content div div div { |
| 267 | 271 | width: 100%; |
| 268 | 272 | border:none; |
| 269 | 273 | } |
| 274 | + */ | |
| 270 | 275 | |
| 271 | 276 | #grid-content div.small { |
| 272 | 277 | float:left; |
| @@ -309,7 +314,7 @@ body.home #grid-content div.small div div { | ||
| 309 | 314 | padding: 0; |
| 310 | 315 | } |
| 311 | 316 | |
| 312 | -body.ather #grid-content div.large { | |
| 317 | +body.other #grid-content div.large { | |
| 313 | 318 | float:left; |
| 314 | 319 | width: 100%; |
| 315 | 320 | max-width:960px; |
| @@ -1,5 +1,8 @@ | ||
| 1 | +<!-- marine add --> | |
| 1 | 2 | <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listcategories.php"}> |
| 3 | +<!-- marine add --> | |
| 2 | 4 | <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}> |
| 5 | + | |
| 3 | 6 | <!-- start module contents --> |
| 4 | 7 | <!-- breadcrumbs --> |
| 5 | 8 | <div id="main_listcategories" class="clearfix"> |
| @@ -9,10 +12,13 @@ | ||
| 9 | 12 | </div> |
| 10 | 13 | |
| 11 | 14 | <div class="d3f_top_message"> |
| 12 | -<h2 class="d3f_title"><{$xoops_modulename}><{$smarty.const._MD_D3FORUM_TOP}><a href="<{$mod_url}>/index.php?page=rss&cat_ids=<{$category.id}>&odr=1"><img src="<{$xoops_imageurl}>images/icon_rss.png" alt="RSS" width="20" height="20" /></a><h2> | |
| 13 | -<p class="d3f_welcome"><{$mod_config.top_message}></p> | |
| 15 | + | |
| 16 | +<{$mod_config.top_message}> | |
| 17 | +<div class="d3f_rss"><a href="<{$mod_url}>/index.php?page=rss&cat_ids=<{$category.id}>&odr=1"><img src="<{$xoops_imageurl}>images/icon_rss.png" alt="RSS" width="20" height="20" /></a></div> | |
| 18 | + | |
| 14 | 19 | <a href="<{$mod_url}>/index.php?forum_id=1" class="d3f_c001"><img src="<{$xoops_imageurl}><{$smarty.const._THEME_CONFIG_d3f_ICONVISITORS_BOOK_IMG}>" alt="welcome" title="welcome" /></a> |
| 15 | 20 | </div> |
| 21 | + | |
| 16 | 22 | <a href="#" id="d3f_wrap_open">open</a> |
| 17 | 23 | |
| 18 | 24 | <div> |
| @@ -1,61 +1,154 @@ | ||
| 1 | +<!-- marine add --> | |
| 1 | 2 | <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listposts.php"}> |
| 3 | +<!-- marine add --> | |
| 2 | 4 | <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}> |
| 5 | + | |
| 3 | 6 | <!-- start module contents --> |
| 4 | -<div id="main_listposts" class="clearfix"> | |
| 5 | 7 | <div class="d3f_breadcrumbs"> |
| 6 | - <{if $mod_config.show_breadcrumbs}> | |
| 7 | - <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 8 | - > | |
| 9 | - <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 10 | - <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 11 | - > | |
| 12 | - <{/foreach}> | |
| 13 | - <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 14 | - <{/if}> | |
| 15 | - <{if $prev_topic.id || $next_topic.id}> | |
| 16 | - (<{if $prev_topic.id}> | |
| 17 | - <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 18 | - <{/if}> | |
| 19 | - <{if $prev_topic.id && $next_topic.id}> | |
| 20 | - | | |
| 21 | - <{/if}> | |
| 22 | - <{if $next_topic.id}> | |
| 23 | - <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 24 | - <{/if}>) | |
| 25 | - <{/if}> | |
| 8 | + <{if $mod_config.show_breadcrumbs}> | |
| 9 | + <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 10 | + > | |
| 11 | + <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 12 | + <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 13 | + > | |
| 14 | + <{/foreach}> | |
| 15 | + <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 16 | + <{/if}> | |
| 17 | + <{if $prev_topic.id || $next_topic.id}> | |
| 18 | + (<{if $prev_topic.id}> | |
| 19 | + <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 20 | + <{/if}> | |
| 21 | + <{if $prev_topic.id && $next_topic.id}> | |
| 22 | + | | |
| 23 | + <{/if}> | |
| 24 | + <{if $next_topic.id}> | |
| 25 | + <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 26 | + <{/if}>) | |
| 27 | + <{/if}> | |
| 28 | +</div> | |
| 29 | + | |
| 30 | +<h1 class="d3f_title" style="clear:both"><{$topic.title}></h1> | |
| 31 | + | |
| 32 | +<{include file="db:`$mydirname`_inc_topicbar.html"}> | |
| 33 | + | |
| 34 | +<{include file="db:`$mydirname`_inc_d3comment_summary.html"}> | |
| 35 | +<br /> | |
| 36 | + | |
| 37 | +<{if $topic.external_link_id}> | |
| 38 | +<div class="d3f_link"> | |
| 39 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 40 | +(<{$post_hits|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 41 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 42 | +</div><!-- /d3f_link --> | |
| 43 | +<{/if}> | |
| 44 | + | |
| 45 | +<div class="boxNavi" style="text-align:center;"> | |
| 46 | +<{if $pagenav}> | |
| 47 | +<ul class="itemBody"> | |
| 48 | +<{foreach from=$pagenav item=nav_}> | |
| 49 | +<li class=<{$nav_.class}>><span> | |
| 50 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 51 | +<{else}> | |
| 52 | +<{$nav_.txt}> | |
| 53 | +<{/if}> | |
| 54 | +</span></li> | |
| 55 | +<{/foreach}> | |
| 56 | +</ul><!-- /itemIBody --> | |
| 57 | +<{/if}> | |
| 58 | +</div><!-- /boxNavi --> | |
| 59 | + | |
| 60 | +<!-- start post tree --> | |
| 61 | +<div class="d3f_post_tree"> | |
| 62 | + <h2 class="head"> | |
| 63 | + <{$smarty.const._MD_D3FORUM_POSTSTREE}> | |
| 64 | + </h2> | |
| 65 | +<{foreach from=$posts item=eachpost}> | |
| 66 | + <{if ($eachpost.topic_id==$topic.id)}> | |
| 67 | + <ul class='d3f_eachbranch'><{"<span style='padding-left:`$eachpost.depth_in_tree`0px; padding-top: 0;'>"}> | |
| 68 | + <a href="#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}></a> | |
| 69 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 70 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=cutpasteposts&post_id=<{$eachpost.id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}></span> | |
| 71 | + </ul> | |
| 72 | + <{/if}> | |
| 73 | +<{/foreach}> | |
| 74 | +<{* $postorder *}> | |
| 26 | 75 | </div> |
| 76 | +<!-- end post tree --> | |
| 77 | + | |
| 78 | +<!-- start topic list --> | |
| 79 | +<{if $topic.external_link_id && ($tree_tp_count>1)}> | |
| 80 | +<h2 class="head"><{$smarty.const._MD_D3FORUM_TOPIC}></h2> | |
| 81 | +<ul class='d3f_eachbranch'> | |
| 82 | +<{foreach from=$tree item=eachpost}> | |
| 83 | + <{if ($eachpost.depth_in_tree==0)}> | |
| 84 | + <li><span style='padding-left:0px; padding-top: 0;'<{if ($eachpost.topic_id==$topic.id)}> class='d3f_eachbranchitem'<{/if}>> | |
| 85 | + <{if ($eachpost.topic_id!=$topic.id)}><a href="<{$mod_url}>/index.php?topic_id=<{$eachpost.topic_id}>#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><{/if}><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}><{if ($eachpost.topic_id==$topic.id)}></a><{/if}> | |
| 86 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 87 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=topicmanager&topic_id=<{$eachpost.topic_id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}> | |
| 88 | + <{if ($eachpost.topic_id==$topic.id) && ($eachpost.depth_in_tree==0)}><font color="red"><{$smarty.const._MD_D3FORUM_THIS_TOPIC}></font><{/if}> | |
| 89 | + </li> | |
| 90 | + <{/if}> | |
| 91 | +<{/foreach}> | |
| 92 | +</ul> | |
| 93 | +<{/if}> | |
| 94 | +<!-- end topic list --> | |
| 27 | 95 | |
| 28 | -<h2 class="d3f_title" style="clear:both"><img src="<{$xoops_imageurl}>images/s001.png"><{$topic.title}></h2> | |
| 29 | -<a href="#" class="d3f_list_oc"><img src="<{$xoops_imageurl}><{$smarty.const._THEME_CONFIG_d3f_LISTOC_IMG}>" alt="open" title="open" />Information</a> | |
| 30 | -<div class="d3f_inbox"><{include file="db:`$mydirname`_inc_topicbar.html"}></div> | |
| 31 | -<div class="d3f_inbox"><{include file="db:`$mydirname`_inc_d3comment_summary.html"}></div> | |
| 32 | 96 | <{include file="db:`$mydirname`_inc_postorder_links.html"}> |
| 97 | +<br /> | |
| 98 | + | |
| 99 | +<!-- quick reply form --> | |
| 100 | +<{if $first_post.can_reply && ($postorder==3)}> | |
| 101 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 102 | +<{/if}> | |
| 33 | 103 | |
| 34 | 104 | <!-- top of posts --> |
| 35 | 105 | <div class="d3f_wrap"> |
| 36 | 106 | <{foreach item=post from=$posts}> |
| 37 | - <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 107 | + <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 38 | 108 | <{/foreach}> |
| 39 | 109 | </div> |
| 40 | 110 | <!-- bottom of posts --> |
| 41 | 111 | |
| 112 | +<{if $topic.external_link_id}> | |
| 113 | +<div class="d3f_link" padding: 20px;> | |
| 114 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 115 | +(<{$post_hits|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 116 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 117 | +</div><!-- /d3f_link --> | |
| 118 | +<{/if}> | |
| 119 | + | |
| 120 | +<div class="boxNavi" style="text-align:center;"> | |
| 121 | +<{if $pagenav}> | |
| 122 | +<ul class="itemBody"> | |
| 123 | +<{foreach from=$pagenav item=nav_}> | |
| 124 | +<li class=<{$nav_.class}>><span> | |
| 125 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 126 | +<{else}> | |
| 127 | +<{$nav_.txt}> | |
| 128 | +<{/if}> | |
| 129 | +</span></li> | |
| 130 | +<{/foreach}> | |
| 131 | +</ul><!-- /itemIBody --> | |
| 132 | +<{/if}> | |
| 133 | +</div><!-- /boxNavi --> | |
| 42 | 134 | |
| 135 | +<{include file="db:`$mydirname`_inc_postorder_links.html"}> | |
| 136 | +<{* $postorder *}> | |
| 43 | 137 | <!-- quick reply form --> |
| 44 | -<{if $first_post.can_reply}> | |
| 45 | - <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 138 | +<{if $first_post.can_reply && ($postorder!=3)}> | |
| 139 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 46 | 140 | <{/if}> |
| 47 | 141 | |
| 48 | 142 | <!-- forum jump --> |
| 49 | -<div class="forum_jump"> | |
| 50 | 143 | <form name="forum_jump_box" action="<{$mod_url}>/index.php" method="get" style="clear:both;" class="d3f_form"> |
| 51 | - <p> | |
| 52 | - <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 53 | - <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 54 | - | |
| 55 | - <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 56 | - </p> | |
| 144 | + <div id="d3f_form_jump_box"> | |
| 145 | + <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 146 | + <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 147 | + | |
| 148 | + <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 149 | + </div> | |
| 57 | 150 | </form> |
| 58 | -</div> | |
| 59 | -</div> | |
| 151 | + | |
| 152 | +<hr class="notification" /> | |
| 60 | 153 | <{include file='db:system_notification_select.html'}> |
| 61 | -<!-- end module contents --> | |
| 154 | +<!-- end module conte --> | |
| \ No newline at end of file |
| @@ -112,7 +112,7 @@ jQuery(function(){ | ||
| 112 | 112 | <link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>modules.css" charset="utf-8" /> |
| 113 | 113 | <link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>colors.php" charset="utf-8" /> |
| 114 | 114 | </head> |
| 115 | -<body class="<{if $smarty.server.SCRIPT_FILENAME|basename == "index.php" and $smarty.server.SCRIPT_FILENAME|dirname|basename == $smarty.const.XOOPS_ROOT_PATH|basename}>home<{elseif !$xoops_dirname == ""}>L<{$xoops_showlblock}>R<{$xoops_showrblock}><{else}>ather<{/if}><{if $xugj_trustdirname }> <{$xugj_trustdirname}><{elseif !$xoops_dirname == ""}> <{$xoops_dirname}><{/if}>"> | |
| 115 | +<body class="<{if $smarty.server.SCRIPT_FILENAME|basename == "index.php" and $smarty.server.SCRIPT_FILENAME|dirname|basename == $smarty.const.XOOPS_ROOT_PATH|basename}>home<{elseif !$xoops_dirname == ""}>L<{$xoops_showlblock}>R<{$xoops_showrblock}><{else}>other<{/if}><{if $xugj_trustdirname }> <{$xugj_trustdirname}><{elseif !$xoops_dirname == ""}> <{$xoops_dirname}><{/if}>"> | |
| 116 | 116 | |
| 117 | 117 | <div id="outerwrapper"<{if $xugj_trustdirname }> class="<{$xugj_trustdirname}>_w"<{elseif !$xoops_dirname == ""}> class="<{$xoops_dirname}>_w"<{/if}>><!-- OuterWrapper --> |
| 118 | 118 |
| @@ -5,7 +5,7 @@ | ||
| 5 | 5 | Name="fashion_a" |
| 6 | 6 | Depends=Legacy_RenderSystem,legacy |
| 7 | 7 | Url="http://xoops123.com/" |
| 8 | -Version="0.9" | |
| 8 | +Version="0.91" | |
| 9 | 9 | |
| 10 | 10 | [Theme] |
| 11 | 11 | RenderSystem=Legacy_RenderSystem |
| @@ -376,6 +376,7 @@ table.inc_d3comment_summary td.td01 { | ||
| 376 | 376 | padding-left:10px; |
| 377 | 377 | } |
| 378 | 378 | |
| 379 | + | |
| 379 | 380 | /* for d3pipes */ |
| 380 | 381 | div.d3pipes_clipping dt { |
| 381 | 382 | font-weight: bold; |
| @@ -607,51 +608,7 @@ body.webphoto #ModuleContents ul { | ||
| 607 | 608 | } |
| 608 | 609 | |
| 609 | 610 | |
| 610 | -/* d3dialy and athers */ | |
| 611 | -#ModuleContents #d3dWrap { | |
| 612 | - width:96%; | |
| 613 | - margin: 0 auto; | |
| 614 | -} | |
| 615 | - | |
| 616 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside div.boxdate_base { | |
| 617 | - float: left; | |
| 618 | - width:60px; | |
| 619 | - height:80px; | |
| 620 | - padding: .5em 0; | |
| 621 | - margin: 2px 6px 6px 2px; | |
| 622 | - text-align: center; | |
| 623 | -} | |
| 624 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside div.boxdate_base div { | |
| 625 | - background:transparent; | |
| 626 | -} | |
| 627 | - | |
| 628 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside .itemHead , | |
| 629 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside .boxNavi { | |
| 630 | - width:100%; | |
| 631 | - float:left; | |
| 632 | -} | |
| 633 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside .itemList { | |
| 634 | - width:100%; | |
| 635 | - float:left; | |
| 636 | - margin-left:-90px; | |
| 637 | - padding-top:10px; | |
| 638 | - padding-left:30px; | |
| 639 | - margin-right:-30px; | |
| 640 | - margin-bottom:20px; | |
| 641 | - font-size:1.2em; | |
| 642 | - line-height:1.5; | |
| 643 | -} | |
| 644 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside .itemList .item { | |
| 645 | - width:90%; | |
| 646 | - padding:0; | |
| 647 | -} | |
| 648 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside .itemList .item .itemHead{ | |
| 649 | - font-size:1.4em; | |
| 650 | -} | |
| 651 | - | |
| 652 | -#ModuleContents #d3dWrap #d3dMainNoside #d3dMainBodyNoside div.boxdate_base .itemHead { | |
| 653 | - width:100%; | |
| 654 | -} | |
| 611 | +/* others */ | |
| 655 | 612 | |
| 656 | 613 | body.chalog #ModuleContents { |
| 657 | 614 | width:94%; |
| @@ -1186,3 +1143,72 @@ body.d3blog #Container .BlockContent ul li { | ||
| 1186 | 1143 | margin-bottom:5px; |
| 1187 | 1144 | } |
| 1188 | 1145 | |
| 1146 | + | |
| 1147 | +/* d3forum Page Navigation */ | |
| 1148 | +/* 20110515 marine add */ | |
| 1149 | + | |
| 1150 | +div.boxNavi .itemBody { | |
| 1151 | + margin: 1px 2px 5px 2px; | |
| 1152 | + text-align:center; | |
| 1153 | + list-style-type: none; | |
| 1154 | + background-color: transparent; | |
| 1155 | +} | |
| 1156 | +div.boxNavi .itemBody li{ | |
| 1157 | + display: inline; | |
| 1158 | + margin: 1px 2px 1px 2px; | |
| 1159 | + padding: 5px 0px 5px 0px; | |
| 1160 | + font-weight: bold; | |
| 1161 | + text-align:center; | |
| 1162 | + border-top: 1px solid lightgrey; | |
| 1163 | + border-bottom: 1px solid lightgrey; | |
| 1164 | + border-left: 1px solid lightgrey; | |
| 1165 | + border-right: 1px solid lightgrey; | |
| 1166 | + background-image: none; | |
| 1167 | +} | |
| 1168 | + | |
| 1169 | +div.boxNavi .itemBody li.txt span, | |
| 1170 | +div.boxNavi .itemBody li.this span, | |
| 1171 | +div.boxNavi .itemBody li a { | |
| 1172 | + margin: 0; | |
| 1173 | + padding: 5px 7px 5px 10px; | |
| 1174 | + text-decoration: none; | |
| 1175 | +} | |
| 1176 | +div.boxNavi .itemBody li.this span { | |
| 1177 | + background-color: #CCCCCC; | |
| 1178 | +} | |
| 1179 | + | |
| 1180 | +.d3f_top_message .d3f_rss { | |
| 1181 | + position:absolute; | |
| 1182 | + width:30px; | |
| 1183 | + height:30px; | |
| 1184 | + top:24px; | |
| 1185 | + left:210px; | |
| 1186 | +} | |
| 1187 | + | |
| 1188 | +/* d3diary */ | |
| 1189 | + | |
| 1190 | +#d3dWrap { | |
| 1191 | + margin:10px; | |
| 1192 | +} | |
| 1193 | +#d3dSideLeft .item, | |
| 1194 | +#d3dSideRight .item { | |
| 1195 | + padding:7px; | |
| 1196 | + border-radius: 7px ; | |
| 1197 | + -webkit-border-radius: 7px; | |
| 1198 | + -moz-border-radius: 7px; | |
| 1199 | +} | |
| 1200 | + | |
| 1201 | +/* boxdate if Detail page*/ | |
| 1202 | + | |
| 1203 | +#d3dWrap div.boxdate_base { | |
| 1204 | + float: left; | |
| 1205 | + padding: .5em 0; | |
| 1206 | + margin: 2px 8px 8px 2px; | |
| 1207 | + text-align: center; | |
| 1208 | + border:none; | |
| 1209 | + background: url(images/wood03.jpg); | |
| 1210 | + -webkit-box-shadow: inset 0px 0px 10px 0px #777; | |
| 1211 | + -moz-box-shadow: inset 0px 0px 10px 0px #777; | |
| 1212 | + box-shadow: inset 0px 0px 10px 0px #777; | |
| 1213 | +} | |
| 1214 | + |
| @@ -77,7 +77,7 @@ p { | ||
| 77 | 77 | /* Contents */ |
| 78 | 78 | #Container , |
| 79 | 79 | body.home #Container , |
| 80 | -body.ather #Container , | |
| 80 | +body.other #Container , | |
| 81 | 81 | body.L0R0 #Container , |
| 82 | 82 | body.L1R1 #Container , |
| 83 | 83 | body.L1R0 #Container , |
| @@ -209,7 +209,7 @@ body.L1R0 #grid-content { | ||
| 209 | 209 | } |
| 210 | 210 | body.L0R0 #grid-content , |
| 211 | 211 | body.L0R1 #grid-content , |
| 212 | -body.ather #grid-content , | |
| 212 | +body.other #grid-content , | |
| 213 | 213 | body.home #grid-content { |
| 214 | 214 | width:100%; |
| 215 | 215 | border:none; |
| @@ -240,7 +240,7 @@ body.L1R1 #gc-wrapper { | ||
| 240 | 240 | padding:0 22px 5px 5px; |
| 241 | 241 | border:none; |
| 242 | 242 | } |
| 243 | -body.ather #ModuleContents , | |
| 243 | +body.other #ModuleContents , | |
| 244 | 244 | body.home #ModuleContents { |
| 245 | 245 | position:relative; |
| 246 | 246 | margin:0; |
| @@ -266,10 +266,12 @@ body.home #ModuleContents { | ||
| 266 | 266 | padding: 4px; |
| 267 | 267 | } |
| 268 | 268 | |
| 269 | +/* 20120515 comment out | |
| 269 | 270 | #grid-content div div div { |
| 270 | 271 | width: 100%; |
| 271 | 272 | border:none; |
| 272 | 273 | } |
| 274 | + */ | |
| 273 | 275 | |
| 274 | 276 | #grid-content div.small { |
| 275 | 277 | float:left; |
| @@ -312,7 +314,7 @@ body.home #grid-content div.small div div { | ||
| 312 | 314 | padding: 0; |
| 313 | 315 | } |
| 314 | 316 | |
| 315 | -body.ather #grid-content div.large { | |
| 317 | +body.other #grid-content div.large { | |
| 316 | 318 | float:left; |
| 317 | 319 | width: 100%; |
| 318 | 320 | max-width:960px; |
| @@ -1,5 +1,8 @@ | ||
| 1 | +<!-- marine add --> | |
| 1 | 2 | <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listcategories.php"}> |
| 3 | +<!-- marine add --> | |
| 2 | 4 | <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}> |
| 5 | + | |
| 3 | 6 | <!-- start module contents --> |
| 4 | 7 | <!-- breadcrumbs --> |
| 5 | 8 | <div id="main_listcategories" class="clearfix"> |
| @@ -9,10 +12,13 @@ | ||
| 9 | 12 | </div> |
| 10 | 13 | |
| 11 | 14 | <div class="d3f_top_message"> |
| 12 | -<h2 class="d3f_title"><{$xoops_modulename}><{$smarty.const._MD_D3FORUM_TOP}><a href="<{$mod_url}>/index.php?page=rss&cat_ids=<{$category.id}>&odr=1"><img src="<{$xoops_imageurl}>images/icon_rss.png" alt="RSS" width="20" height="20" /></a><h2> | |
| 13 | -<p class="d3f_welcome"><{$mod_config.top_message}></p> | |
| 15 | + | |
| 16 | +<{$mod_config.top_message}> | |
| 17 | +<div class="d3f_rss"><a href="<{$mod_url}>/index.php?page=rss&cat_ids=<{$category.id}>&odr=1"><img src="<{$xoops_imageurl}>images/icon_rss.png" alt="RSS" width="20" height="20" /></a></div> | |
| 18 | + | |
| 14 | 19 | <a href="<{$mod_url}>/index.php?forum_id=1" class="d3f_c001"><img src="<{$xoops_imageurl}><{$smarty.const._THEME_CONFIG_d3f_ICONVISITORS_BOOK_IMG}>" alt="welcome" title="welcome" /></a> |
| 15 | 20 | </div> |
| 21 | + | |
| 16 | 22 | <a href="#" id="d3f_wrap_open">open</a> |
| 17 | 23 | |
| 18 | 24 | <div> |
| @@ -1,61 +1,154 @@ | ||
| 1 | +<!-- marine add --> | |
| 1 | 2 | <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listposts.php"}> |
| 3 | +<!-- marine add --> | |
| 2 | 4 | <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}> |
| 5 | + | |
| 3 | 6 | <!-- start module contents --> |
| 4 | -<div id="main_listposts" class="clearfix"> | |
| 5 | 7 | <div class="d3f_breadcrumbs"> |
| 6 | - <{if $mod_config.show_breadcrumbs}> | |
| 7 | - <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 8 | - > | |
| 9 | - <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 10 | - <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 11 | - > | |
| 12 | - <{/foreach}> | |
| 13 | - <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 14 | - <{/if}> | |
| 15 | - <{if $prev_topic.id || $next_topic.id}> | |
| 16 | - (<{if $prev_topic.id}> | |
| 17 | - <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 18 | - <{/if}> | |
| 19 | - <{if $prev_topic.id && $next_topic.id}> | |
| 20 | - | | |
| 21 | - <{/if}> | |
| 22 | - <{if $next_topic.id}> | |
| 23 | - <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 24 | - <{/if}>) | |
| 25 | - <{/if}> | |
| 8 | + <{if $mod_config.show_breadcrumbs}> | |
| 9 | + <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 10 | + > | |
| 11 | + <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 12 | + <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 13 | + > | |
| 14 | + <{/foreach}> | |
| 15 | + <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 16 | + <{/if}> | |
| 17 | + <{if $prev_topic.id || $next_topic.id}> | |
| 18 | + (<{if $prev_topic.id}> | |
| 19 | + <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 20 | + <{/if}> | |
| 21 | + <{if $prev_topic.id && $next_topic.id}> | |
| 22 | + | | |
| 23 | + <{/if}> | |
| 24 | + <{if $next_topic.id}> | |
| 25 | + <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 26 | + <{/if}>) | |
| 27 | + <{/if}> | |
| 28 | +</div> | |
| 29 | + | |
| 30 | +<h1 class="d3f_title" style="clear:both"><{$topic.title}></h1> | |
| 31 | + | |
| 32 | +<{include file="db:`$mydirname`_inc_topicbar.html"}> | |
| 33 | + | |
| 34 | +<{include file="db:`$mydirname`_inc_d3comment_summary.html"}> | |
| 35 | +<br /> | |
| 36 | + | |
| 37 | +<{if $topic.external_link_id}> | |
| 38 | +<div class="d3f_link"> | |
| 39 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 40 | +(<{$post_hits|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 41 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 42 | +</div><!-- /d3f_link --> | |
| 43 | +<{/if}> | |
| 44 | + | |
| 45 | +<div class="boxNavi" style="text-align:center;"> | |
| 46 | +<{if $pagenav}> | |
| 47 | +<ul class="itemBody"> | |
| 48 | +<{foreach from=$pagenav item=nav_}> | |
| 49 | +<li class=<{$nav_.class}>><span> | |
| 50 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 51 | +<{else}> | |
| 52 | +<{$nav_.txt}> | |
| 53 | +<{/if}> | |
| 54 | +</span></li> | |
| 55 | +<{/foreach}> | |
| 56 | +</ul><!-- /itemIBody --> | |
| 57 | +<{/if}> | |
| 58 | +</div><!-- /boxNavi --> | |
| 59 | + | |
| 60 | +<!-- start post tree --> | |
| 61 | +<div class="d3f_post_tree"> | |
| 62 | + <h2 class="head"> | |
| 63 | + <{$smarty.const._MD_D3FORUM_POSTSTREE}> | |
| 64 | + </h2> | |
| 65 | +<{foreach from=$posts item=eachpost}> | |
| 66 | + <{if ($eachpost.topic_id==$topic.id)}> | |
| 67 | + <ul class='d3f_eachbranch'><{"<span style='padding-left:`$eachpost.depth_in_tree`0px; padding-top: 0;'>"}> | |
| 68 | + <a href="#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}></a> | |
| 69 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 70 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=cutpasteposts&post_id=<{$eachpost.id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}></span> | |
| 71 | + </ul> | |
| 72 | + <{/if}> | |
| 73 | +<{/foreach}> | |
| 74 | +<{* $postorder *}> | |
| 26 | 75 | </div> |
| 76 | +<!-- end post tree --> | |
| 77 | + | |
| 78 | +<!-- start topic list --> | |
| 79 | +<{if $topic.external_link_id && ($tree_tp_count>1)}> | |
| 80 | +<h2 class="head"><{$smarty.const._MD_D3FORUM_TOPIC}></h2> | |
| 81 | +<ul class='d3f_eachbranch'> | |
| 82 | +<{foreach from=$tree item=eachpost}> | |
| 83 | + <{if ($eachpost.depth_in_tree==0)}> | |
| 84 | + <li><span style='padding-left:0px; padding-top: 0;'<{if ($eachpost.topic_id==$topic.id)}> class='d3f_eachbranchitem'<{/if}>> | |
| 85 | + <{if ($eachpost.topic_id!=$topic.id)}><a href="<{$mod_url}>/index.php?topic_id=<{$eachpost.topic_id}>#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><{/if}><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}><{if ($eachpost.topic_id==$topic.id)}></a><{/if}> | |
| 86 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 87 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=topicmanager&topic_id=<{$eachpost.topic_id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}> | |
| 88 | + <{if ($eachpost.topic_id==$topic.id) && ($eachpost.depth_in_tree==0)}><font color="red"><{$smarty.const._MD_D3FORUM_THIS_TOPIC}></font><{/if}> | |
| 89 | + </li> | |
| 90 | + <{/if}> | |
| 91 | +<{/foreach}> | |
| 92 | +</ul> | |
| 93 | +<{/if}> | |
| 94 | +<!-- end topic list --> | |
| 27 | 95 | |
| 28 | -<h2 class="d3f_title" style="clear:both"><img src="<{$xoops_imageurl}>images/s001.png"><{$topic.title}></h2> | |
| 29 | -<a href="#" class="d3f_list_oc"><img src="<{$xoops_imageurl}><{$smarty.const._THEME_CONFIG_d3f_LISTOC_IMG}>" alt="open" title="open" />Information</a> | |
| 30 | -<div class="d3f_inbox"><{include file="db:`$mydirname`_inc_topicbar.html"}></div> | |
| 31 | -<div class="d3f_inbox"><{include file="db:`$mydirname`_inc_d3comment_summary.html"}></div> | |
| 32 | 96 | <{include file="db:`$mydirname`_inc_postorder_links.html"}> |
| 97 | +<br /> | |
| 98 | + | |
| 99 | +<!-- quick reply form --> | |
| 100 | +<{if $first_post.can_reply && ($postorder==3)}> | |
| 101 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 102 | +<{/if}> | |
| 33 | 103 | |
| 34 | 104 | <!-- top of posts --> |
| 35 | 105 | <div class="d3f_wrap"> |
| 36 | 106 | <{foreach item=post from=$posts}> |
| 37 | - <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 107 | + <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 38 | 108 | <{/foreach}> |
| 39 | 109 | </div> |
| 40 | 110 | <!-- bottom of posts --> |
| 41 | 111 | |
| 112 | +<{if $topic.external_link_id}> | |
| 113 | +<div class="d3f_link" padding: 20px;> | |
| 114 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 115 | +(<{$post_hits|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 116 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 117 | +</div><!-- /d3f_link --> | |
| 118 | +<{/if}> | |
| 119 | + | |
| 120 | +<div class="boxNavi" style="text-align:center;"> | |
| 121 | +<{if $pagenav}> | |
| 122 | +<ul class="itemBody"> | |
| 123 | +<{foreach from=$pagenav item=nav_}> | |
| 124 | +<li class=<{$nav_.class}>><span> | |
| 125 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 126 | +<{else}> | |
| 127 | +<{$nav_.txt}> | |
| 128 | +<{/if}> | |
| 129 | +</span></li> | |
| 130 | +<{/foreach}> | |
| 131 | +</ul><!-- /itemIBody --> | |
| 132 | +<{/if}> | |
| 133 | +</div><!-- /boxNavi --> | |
| 42 | 134 | |
| 135 | +<{include file="db:`$mydirname`_inc_postorder_links.html"}> | |
| 136 | +<{* $postorder *}> | |
| 43 | 137 | <!-- quick reply form --> |
| 44 | -<{if $first_post.can_reply}> | |
| 45 | - <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 138 | +<{if $first_post.can_reply && ($postorder!=3)}> | |
| 139 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 46 | 140 | <{/if}> |
| 47 | 141 | |
| 48 | 142 | <!-- forum jump --> |
| 49 | -<div class="forum_jump"> | |
| 50 | 143 | <form name="forum_jump_box" action="<{$mod_url}>/index.php" method="get" style="clear:both;" class="d3f_form"> |
| 51 | - <p> | |
| 52 | - <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 53 | - <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 54 | - | |
| 55 | - <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 56 | - </p> | |
| 144 | + <div id="d3f_form_jump_box"> | |
| 145 | + <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 146 | + <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 147 | + | |
| 148 | + <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 149 | + </div> | |
| 57 | 150 | </form> |
| 58 | -</div> | |
| 59 | -</div> | |
| 151 | + | |
| 152 | +<hr class="notification" /> | |
| 60 | 153 | <{include file='db:system_notification_select.html'}> |
| 61 | -<!-- end module contents --> | |
| 154 | +<!-- end module conte --> | |
| \ No newline at end of file |
| @@ -112,7 +112,7 @@ jQuery(function(){ | ||
| 112 | 112 | <link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>modules.css" charset="utf-8" /> |
| 113 | 113 | <link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>colors.php" charset="utf-8" /> |
| 114 | 114 | </head> |
| 115 | -<body class="<{if $smarty.server.SCRIPT_FILENAME|basename == "index.php" and $smarty.server.SCRIPT_FILENAME|dirname|basename == $smarty.const.XOOPS_ROOT_PATH|basename}>home<{elseif !$xoops_dirname == ""}>L<{$xoops_showlblock}>R<{$xoops_showrblock}><{else}>ather<{/if}><{if $xugj_trustdirname }> <{$xugj_trustdirname}><{elseif !$xoops_dirname == ""}> <{$xoops_dirname}><{/if}>"> | |
| 115 | +<body class="<{if $smarty.server.SCRIPT_FILENAME|basename == "index.php" and $smarty.server.SCRIPT_FILENAME|dirname|basename == $smarty.const.XOOPS_ROOT_PATH|basename}>home<{elseif !$xoops_dirname == ""}>L<{$xoops_showlblock}>R<{$xoops_showrblock}><{else}>other<{/if}><{if $xugj_trustdirname }> <{$xugj_trustdirname}><{elseif !$xoops_dirname == ""}> <{$xoops_dirname}><{/if}>"> | |
| 116 | 116 | |
| 117 | 117 | <div id="outerwrapper"<{if $xugj_trustdirname }> class="<{$xugj_trustdirname}>_w"<{elseif !$xoops_dirname == ""}> class="<{$xoops_dirname}>_w"<{/if}>><!-- OuterWrapper --> |
| 118 | 118 |
| @@ -1274,4 +1274,46 @@ body.L1R1 #outerwrapper #Container #ModuleContents #xpress_wrap #xpress_content | ||
| 1274 | 1274 | |
| 1275 | 1275 | #xpress-header-bar { |
| 1276 | 1276 | display:none; |
| 1277 | -} | |
| \ No newline at end of file | ||
| 1277 | +} | |
| 1278 | + | |
| 1279 | +/* d3forum Page Navigation */ | |
| 1280 | +/* 20110515 marine add */ | |
| 1281 | + | |
| 1282 | +div.boxNavi .itemBody { | |
| 1283 | + margin: 1px 2px 5px 2px; | |
| 1284 | + text-align:center; | |
| 1285 | + list-style-type: none; | |
| 1286 | + background-color: transparent; | |
| 1287 | +} | |
| 1288 | +div.boxNavi .itemBody li{ | |
| 1289 | + display: inline; | |
| 1290 | + margin: 1px 2px 1px 2px; | |
| 1291 | + padding: 5px 0px 5px 0px; | |
| 1292 | + font-weight: bold; | |
| 1293 | + text-align:center; | |
| 1294 | + border-top: 1px solid lightgrey; | |
| 1295 | + border-bottom: 1px solid lightgrey; | |
| 1296 | + border-left: 1px solid lightgrey; | |
| 1297 | + border-right: 1px solid lightgrey; | |
| 1298 | + background-image: none; | |
| 1299 | +} | |
| 1300 | + | |
| 1301 | +div.boxNavi .itemBody li.txt span, | |
| 1302 | +div.boxNavi .itemBody li.this span, | |
| 1303 | +div.boxNavi .itemBody li a { | |
| 1304 | + margin: 0; | |
| 1305 | + padding: 5px 7px 5px 10px; | |
| 1306 | + text-decoration: none; | |
| 1307 | +} | |
| 1308 | +div.boxNavi .itemBody li.this span { | |
| 1309 | + background-color: #CCCCCC; | |
| 1310 | +} | |
| 1311 | + | |
| 1312 | +.d3f_top_message .d3f_rss { | |
| 1313 | + position:absolute; | |
| 1314 | + width:30px; | |
| 1315 | + height:30px; | |
| 1316 | + top:24px; | |
| 1317 | + left:210px; | |
| 1318 | +} | |
| 1319 | + |
| @@ -73,7 +73,7 @@ | ||
| 73 | 73 | </div> |
| 74 | 74 | |
| 75 | 75 | <div><!-- marine modifi xugj_block topics--> |
| 76 | -<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="d3forum,15,1,time,1,0,," item="block"}> | |
| 76 | +<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="$mydirname,15,1,time,1,0,," item="block"}> | |
| 77 | 77 | <{if $block.full_view == true}> |
| 78 | 78 | <table class="d3f_outer" cellspacing="1"> |
| 79 | 79 | <thead> |
| @@ -1,61 +1,154 @@ | ||
| 1 | +<!-- marine add --> | |
| 2 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listposts.php"}> | |
| 3 | +<!-- marine add --> | |
| 4 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}> | |
| 5 | + | |
| 1 | 6 | <!-- start module contents --> |
| 2 | -<div id="main_listposts" class="clearfix"> | |
| 3 | 7 | <div class="d3f_breadcrumbs"> |
| 4 | - <{if $mod_config.show_breadcrumbs}> | |
| 5 | - <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 6 | - > | |
| 7 | - <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 8 | - <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 9 | - > | |
| 10 | - <{/foreach}> | |
| 11 | - <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 12 | - <{/if}> | |
| 13 | - <{if $prev_topic.id || $next_topic.id}> | |
| 14 | - (<{if $prev_topic.id}> | |
| 15 | - <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 16 | - <{/if}> | |
| 17 | - <{if $prev_topic.id && $next_topic.id}> | |
| 18 | - | | |
| 19 | - <{/if}> | |
| 20 | - <{if $next_topic.id}> | |
| 21 | - <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 22 | - <{/if}>) | |
| 23 | - <{/if}> | |
| 8 | + <{if $mod_config.show_breadcrumbs}> | |
| 9 | + <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 10 | + > | |
| 11 | + <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 12 | + <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 13 | + > | |
| 14 | + <{/foreach}> | |
| 15 | + <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 16 | + <{/if}> | |
| 17 | + <{if $prev_topic.id || $next_topic.id}> | |
| 18 | + (<{if $prev_topic.id}> | |
| 19 | + <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 20 | + <{/if}> | |
| 21 | + <{if $prev_topic.id && $next_topic.id}> | |
| 22 | + | | |
| 23 | + <{/if}> | |
| 24 | + <{if $next_topic.id}> | |
| 25 | + <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 26 | + <{/if}>) | |
| 27 | + <{/if}> | |
| 24 | 28 | </div> |
| 25 | 29 | |
| 26 | -<h1 class="d3f_title" style="clear:both"><img src="<{$xoops_imageurl}>images/s001.png"><{$topic.title}></h1> | |
| 30 | +<h1 class="d3f_title" style="clear:both"><{$topic.title}></h1> | |
| 27 | 31 | |
| 28 | 32 | <{include file="db:`$mydirname`_inc_topicbar.html"}> |
| 29 | 33 | |
| 30 | 34 | <{include file="db:`$mydirname`_inc_d3comment_summary.html"}> |
| 35 | +<br /> | |
| 36 | + | |
| 37 | +<{if $topic.external_link_id}> | |
| 38 | +<div class="d3f_link"> | |
| 39 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 40 | +(<{$post_hits|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 41 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 42 | +</div><!-- /d3f_link --> | |
| 43 | +<{/if}> | |
| 44 | + | |
| 45 | +<div class="boxNavi" style="text-align:center;"> | |
| 46 | +<{if $pagenav}> | |
| 47 | +<ul class="itemBody"> | |
| 48 | +<{foreach from=$pagenav item=nav_}> | |
| 49 | +<li class=<{$nav_.class}>><span> | |
| 50 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 51 | +<{else}> | |
| 52 | +<{$nav_.txt}> | |
| 53 | +<{/if}> | |
| 54 | +</span></li> | |
| 55 | +<{/foreach}> | |
| 56 | +</ul><!-- /itemIBody --> | |
| 57 | +<{/if}> | |
| 58 | +</div><!-- /boxNavi --> | |
| 59 | + | |
| 60 | +<!-- start post tree --> | |
| 61 | +<div class="d3f_post_tree"> | |
| 62 | + <h2 class="head"> | |
| 63 | + <{$smarty.const._MD_D3FORUM_POSTSTREE}> | |
| 64 | + </h2> | |
| 65 | +<{foreach from=$posts item=eachpost}> | |
| 66 | + <{if ($eachpost.topic_id==$topic.id)}> | |
| 67 | + <ul class='d3f_eachbranch'><{"<span style='padding-left:`$eachpost.depth_in_tree`0px; padding-top: 0;'>"}> | |
| 68 | + <a href="#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}></a> | |
| 69 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 70 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=cutpasteposts&post_id=<{$eachpost.id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}></span> | |
| 71 | + </ul> | |
| 72 | + <{/if}> | |
| 73 | +<{/foreach}> | |
| 74 | +<{* $postorder *}> | |
| 75 | +</div> | |
| 76 | +<!-- end post tree --> | |
| 77 | + | |
| 78 | +<!-- start topic list --> | |
| 79 | +<{if $topic.external_link_id && ($tree_tp_count>1)}> | |
| 80 | +<h2 class="head"><{$smarty.const._MD_D3FORUM_TOPIC}></h2> | |
| 81 | +<ul class='d3f_eachbranch'> | |
| 82 | +<{foreach from=$tree item=eachpost}> | |
| 83 | + <{if ($eachpost.depth_in_tree==0)}> | |
| 84 | + <li><span style='padding-left:0px; padding-top: 0;'<{if ($eachpost.topic_id==$topic.id)}> class='d3f_eachbranchitem'<{/if}>> | |
| 85 | + <{if ($eachpost.topic_id!=$topic.id)}><a href="<{$mod_url}>/index.php?topic_id=<{$eachpost.topic_id}>#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><{/if}><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}><{if ($eachpost.topic_id==$topic.id)}></a><{/if}> | |
| 86 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 87 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=topicmanager&topic_id=<{$eachpost.topic_id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}> | |
| 88 | + <{if ($eachpost.topic_id==$topic.id) && ($eachpost.depth_in_tree==0)}><font color="red"><{$smarty.const._MD_D3FORUM_THIS_TOPIC}></font><{/if}> | |
| 89 | + </li> | |
| 90 | + <{/if}> | |
| 91 | +<{/foreach}> | |
| 92 | +</ul> | |
| 93 | +<{/if}> | |
| 94 | +<!-- end topic list --> | |
| 31 | 95 | |
| 32 | 96 | <{include file="db:`$mydirname`_inc_postorder_links.html"}> |
| 97 | +<br /> | |
| 98 | + | |
| 99 | +<!-- quick reply form --> | |
| 100 | +<{if $first_post.can_reply && ($postorder==3)}> | |
| 101 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 102 | +<{/if}> | |
| 33 | 103 | |
| 34 | 104 | <!-- top of posts --> |
| 35 | 105 | <div class="d3f_wrap"> |
| 36 | 106 | <{foreach item=post from=$posts}> |
| 37 | - <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 107 | + <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 38 | 108 | <{/foreach}> |
| 39 | 109 | </div> |
| 40 | 110 | <!-- bottom of posts --> |
| 41 | 111 | |
| 112 | +<{if $topic.external_link_id}> | |
| 113 | +<div class="d3f_link" padding: 20px;> | |
| 114 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 115 | +(<{$post_hits|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 116 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 117 | +</div><!-- /d3f_link --> | |
| 118 | +<{/if}> | |
| 119 | + | |
| 120 | +<div class="boxNavi" style="text-align:center;"> | |
| 121 | +<{if $pagenav}> | |
| 122 | +<ul class="itemBody"> | |
| 123 | +<{foreach from=$pagenav item=nav_}> | |
| 124 | +<li class=<{$nav_.class}>><span> | |
| 125 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 126 | +<{else}> | |
| 127 | +<{$nav_.txt}> | |
| 128 | +<{/if}> | |
| 129 | +</span></li> | |
| 130 | +<{/foreach}> | |
| 131 | +</ul><!-- /itemIBody --> | |
| 132 | +<{/if}> | |
| 133 | +</div><!-- /boxNavi --> | |
| 42 | 134 | |
| 135 | +<{include file="db:`$mydirname`_inc_postorder_links.html"}> | |
| 136 | +<{* $postorder *}> | |
| 43 | 137 | <!-- quick reply form --> |
| 44 | -<{if $first_post.can_reply}> | |
| 45 | - <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 138 | +<{if $first_post.can_reply && ($postorder!=3)}> | |
| 139 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 46 | 140 | <{/if}> |
| 47 | 141 | |
| 48 | 142 | <!-- forum jump --> |
| 49 | -<div class="forum_jump"> | |
| 50 | 143 | <form name="forum_jump_box" action="<{$mod_url}>/index.php" method="get" style="clear:both;" class="d3f_form"> |
| 51 | - <p> | |
| 52 | - <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 53 | - <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 54 | - | |
| 55 | - <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 56 | - </p> | |
| 144 | + <div id="d3f_form_jump_box"> | |
| 145 | + <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 146 | + <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 147 | + | |
| 148 | + <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 149 | + </div> | |
| 57 | 150 | </form> |
| 58 | -</div> | |
| 59 | -</div> | |
| 151 | + | |
| 152 | +<hr class="notification" /> | |
| 60 | 153 | <{include file='db:system_notification_select.html'}> |
| 61 | -<!-- end module contents --> | |
| 154 | +<!-- end module conte --> | |
| \ No newline at end of file |
| @@ -59,7 +59,7 @@ jQuery(document).ready(function($){ | ||
| 59 | 59 | </script> |
| 60 | 60 | <link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>modules.css" charset="utf-8" /> |
| 61 | 61 | </head> |
| 62 | -<body id="<{if $smarty.server.SCRIPT_FILENAME|basename == "index.php" and $smarty.server.SCRIPT_FILENAME|dirname|basename == $smarty.const.XOOPS_ROOT_PATH|basename}>home<{else}><{if !$xoops_dirname == ""}><{$xoops_dirname}><{else}>ather<{/if}><{/if}>" class="L<{$xoops_showlblock}>R<{$xoops_showrblock}>"> | |
| 62 | +<body id="<{if $smarty.server.SCRIPT_FILENAME|basename == "index.php" and $smarty.server.SCRIPT_FILENAME|dirname|basename == $smarty.const.XOOPS_ROOT_PATH|basename}>home<{else}><{if !$xoops_dirname == ""}><{$xoops_dirname}><{else}>other<{/if}><{/if}>" class="L<{$xoops_showlblock}>R<{$xoops_showrblock}>"> | |
| 63 | 63 | |
| 64 | 64 | <div id="outerwrapper"><{* OuterWrapper *}> |
| 65 | 65 |
| @@ -1460,3 +1460,46 @@ body.L1R1 #outerwrapper #Container #grid-content #ModuleContents #xpress_wrap #x | ||
| 1460 | 1460 | |
| 1461 | 1461 | |
| 1462 | 1462 | /* End Wordpress (XpressME) */ |
| 1463 | + | |
| 1464 | + | |
| 1465 | +/* d3forum Page Navigation */ | |
| 1466 | +/* 20110515 marine add */ | |
| 1467 | + | |
| 1468 | +div.boxNavi .itemBody { | |
| 1469 | + margin: 1px 2px 5px 2px; | |
| 1470 | + text-align:center; | |
| 1471 | + list-style-type: none; | |
| 1472 | + background-color: transparent; | |
| 1473 | +} | |
| 1474 | +div.boxNavi .itemBody li{ | |
| 1475 | + display: inline; | |
| 1476 | + margin: 1px 2px 1px 2px; | |
| 1477 | + padding: 5px 0px 5px 0px; | |
| 1478 | + font-weight: bold; | |
| 1479 | + text-align:center; | |
| 1480 | + border-top: 1px solid lightgrey; | |
| 1481 | + border-bottom: 1px solid lightgrey; | |
| 1482 | + border-left: 1px solid lightgrey; | |
| 1483 | + border-right: 1px solid lightgrey; | |
| 1484 | + background-image: none; | |
| 1485 | +} | |
| 1486 | + | |
| 1487 | +div.boxNavi .itemBody li.txt span, | |
| 1488 | +div.boxNavi .itemBody li.this span, | |
| 1489 | +div.boxNavi .itemBody li a { | |
| 1490 | + margin: 0; | |
| 1491 | + padding: 5px 7px 5px 10px; | |
| 1492 | + text-decoration: none; | |
| 1493 | +} | |
| 1494 | +div.boxNavi .itemBody li.this span { | |
| 1495 | + background-color: #CCCCCC; | |
| 1496 | +} | |
| 1497 | + | |
| 1498 | +.d3f_top_message .d3f_rss { | |
| 1499 | + position:absolute; | |
| 1500 | + width:30px; | |
| 1501 | + height:30px; | |
| 1502 | + top:24px; | |
| 1503 | + left:210px; | |
| 1504 | +} | |
| 1505 | + |
| @@ -75,7 +75,7 @@ | ||
| 75 | 75 | </div> |
| 76 | 76 | |
| 77 | 77 | <div><!-- marine modifi xugj_block topics--> |
| 78 | -<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="d3forum,15,1,time,1,0,," item="block"}> | |
| 78 | +<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="$mydirname,15,1,time,1,0,," item="block"}> | |
| 79 | 79 | <{if $block.full_view == true}> |
| 80 | 80 | <table class="d3f_outer" cellspacing="1"> |
| 81 | 81 | <thead> |
| @@ -1,61 +1,154 @@ | ||
| 1 | +<!-- marine add --> | |
| 2 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listposts.php"}> | |
| 3 | +<!-- marine add --> | |
| 4 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}> | |
| 5 | + | |
| 1 | 6 | <!-- start module contents --> |
| 2 | -<div id="main_listposts" class="clearfix"> | |
| 3 | 7 | <div class="d3f_breadcrumbs"> |
| 4 | - <{if $mod_config.show_breadcrumbs}> | |
| 5 | - <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 6 | - > | |
| 7 | - <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 8 | - <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 9 | - > | |
| 10 | - <{/foreach}> | |
| 11 | - <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 12 | - <{/if}> | |
| 13 | - <{if $prev_topic.id || $next_topic.id}> | |
| 14 | - (<{if $prev_topic.id}> | |
| 15 | - <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 16 | - <{/if}> | |
| 17 | - <{if $prev_topic.id && $next_topic.id}> | |
| 18 | - | | |
| 19 | - <{/if}> | |
| 20 | - <{if $next_topic.id}> | |
| 21 | - <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 22 | - <{/if}>) | |
| 23 | - <{/if}> | |
| 8 | + <{if $mod_config.show_breadcrumbs}> | |
| 9 | + <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 10 | + > | |
| 11 | + <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 12 | + <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 13 | + > | |
| 14 | + <{/foreach}> | |
| 15 | + <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 16 | + <{/if}> | |
| 17 | + <{if $prev_topic.id || $next_topic.id}> | |
| 18 | + (<{if $prev_topic.id}> | |
| 19 | + <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 20 | + <{/if}> | |
| 21 | + <{if $prev_topic.id && $next_topic.id}> | |
| 22 | + | | |
| 23 | + <{/if}> | |
| 24 | + <{if $next_topic.id}> | |
| 25 | + <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 26 | + <{/if}>) | |
| 27 | + <{/if}> | |
| 24 | 28 | </div> |
| 25 | 29 | |
| 26 | -<h1 class="d3f_title" style="clear:both"><img src="<{$xoops_imageurl}>images/s001.png"><{$topic.title}></h1> | |
| 30 | +<h1 class="d3f_title" style="clear:both"><{$topic.title}></h1> | |
| 27 | 31 | |
| 28 | 32 | <{include file="db:`$mydirname`_inc_topicbar.html"}> |
| 29 | 33 | |
| 30 | 34 | <{include file="db:`$mydirname`_inc_d3comment_summary.html"}> |
| 35 | +<br /> | |
| 36 | + | |
| 37 | +<{if $topic.external_link_id}> | |
| 38 | +<div class="d3f_link"> | |
| 39 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 40 | +(<{$post_hits|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 41 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 42 | +</div><!-- /d3f_link --> | |
| 43 | +<{/if}> | |
| 44 | + | |
| 45 | +<div class="boxNavi" style="text-align:center;"> | |
| 46 | +<{if $pagenav}> | |
| 47 | +<ul class="itemBody"> | |
| 48 | +<{foreach from=$pagenav item=nav_}> | |
| 49 | +<li class=<{$nav_.class}>><span> | |
| 50 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 51 | +<{else}> | |
| 52 | +<{$nav_.txt}> | |
| 53 | +<{/if}> | |
| 54 | +</span></li> | |
| 55 | +<{/foreach}> | |
| 56 | +</ul><!-- /itemIBody --> | |
| 57 | +<{/if}> | |
| 58 | +</div><!-- /boxNavi --> | |
| 59 | + | |
| 60 | +<!-- start post tree --> | |
| 61 | +<div class="d3f_post_tree"> | |
| 62 | + <h2 class="head"> | |
| 63 | + <{$smarty.const._MD_D3FORUM_POSTSTREE}> | |
| 64 | + </h2> | |
| 65 | +<{foreach from=$posts item=eachpost}> | |
| 66 | + <{if ($eachpost.topic_id==$topic.id)}> | |
| 67 | + <ul class='d3f_eachbranch'><{"<span style='padding-left:`$eachpost.depth_in_tree`0px; padding-top: 0;'>"}> | |
| 68 | + <a href="#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}></a> | |
| 69 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 70 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=cutpasteposts&post_id=<{$eachpost.id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}></span> | |
| 71 | + </ul> | |
| 72 | + <{/if}> | |
| 73 | +<{/foreach}> | |
| 74 | +<{* $postorder *}> | |
| 75 | +</div> | |
| 76 | +<!-- end post tree --> | |
| 77 | + | |
| 78 | +<!-- start topic list --> | |
| 79 | +<{if $topic.external_link_id && ($tree_tp_count>1)}> | |
| 80 | +<h2 class="head"><{$smarty.const._MD_D3FORUM_TOPIC}></h2> | |
| 81 | +<ul class='d3f_eachbranch'> | |
| 82 | +<{foreach from=$tree item=eachpost}> | |
| 83 | + <{if ($eachpost.depth_in_tree==0)}> | |
| 84 | + <li><span style='padding-left:0px; padding-top: 0;'<{if ($eachpost.topic_id==$topic.id)}> class='d3f_eachbranchitem'<{/if}>> | |
| 85 | + <{if ($eachpost.topic_id!=$topic.id)}><a href="<{$mod_url}>/index.php?topic_id=<{$eachpost.topic_id}>#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><{/if}><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}><{if ($eachpost.topic_id==$topic.id)}></a><{/if}> | |
| 86 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 87 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=topicmanager&topic_id=<{$eachpost.topic_id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}> | |
| 88 | + <{if ($eachpost.topic_id==$topic.id) && ($eachpost.depth_in_tree==0)}><font color="red"><{$smarty.const._MD_D3FORUM_THIS_TOPIC}></font><{/if}> | |
| 89 | + </li> | |
| 90 | + <{/if}> | |
| 91 | +<{/foreach}> | |
| 92 | +</ul> | |
| 93 | +<{/if}> | |
| 94 | +<!-- end topic list --> | |
| 31 | 95 | |
| 32 | 96 | <{include file="db:`$mydirname`_inc_postorder_links.html"}> |
| 97 | +<br /> | |
| 98 | + | |
| 99 | +<!-- quick reply form --> | |
| 100 | +<{if $first_post.can_reply && ($postorder==3)}> | |
| 101 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 102 | +<{/if}> | |
| 33 | 103 | |
| 34 | 104 | <!-- top of posts --> |
| 35 | 105 | <div class="d3f_wrap"> |
| 36 | 106 | <{foreach item=post from=$posts}> |
| 37 | - <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 107 | + <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 38 | 108 | <{/foreach}> |
| 39 | 109 | </div> |
| 40 | 110 | <!-- bottom of posts --> |
| 41 | 111 | |
| 112 | +<{if $topic.external_link_id}> | |
| 113 | +<div class="d3f_link" padding: 20px;> | |
| 114 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 115 | +(<{$post_hits|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 116 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 117 | +</div><!-- /d3f_link --> | |
| 118 | +<{/if}> | |
| 119 | + | |
| 120 | +<div class="boxNavi" style="text-align:center;"> | |
| 121 | +<{if $pagenav}> | |
| 122 | +<ul class="itemBody"> | |
| 123 | +<{foreach from=$pagenav item=nav_}> | |
| 124 | +<li class=<{$nav_.class}>><span> | |
| 125 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 126 | +<{else}> | |
| 127 | +<{$nav_.txt}> | |
| 128 | +<{/if}> | |
| 129 | +</span></li> | |
| 130 | +<{/foreach}> | |
| 131 | +</ul><!-- /itemIBody --> | |
| 132 | +<{/if}> | |
| 133 | +</div><!-- /boxNavi --> | |
| 42 | 134 | |
| 135 | +<{include file="db:`$mydirname`_inc_postorder_links.html"}> | |
| 136 | +<{* $postorder *}> | |
| 43 | 137 | <!-- quick reply form --> |
| 44 | -<{if $first_post.can_reply}> | |
| 45 | - <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 138 | +<{if $first_post.can_reply && ($postorder!=3)}> | |
| 139 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 46 | 140 | <{/if}> |
| 47 | 141 | |
| 48 | 142 | <!-- forum jump --> |
| 49 | -<div class="forum_jump"> | |
| 50 | 143 | <form name="forum_jump_box" action="<{$mod_url}>/index.php" method="get" style="clear:both;" class="d3f_form"> |
| 51 | - <p> | |
| 52 | - <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 53 | - <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 54 | - | |
| 55 | - <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 56 | - </p> | |
| 144 | + <div id="d3f_form_jump_box"> | |
| 145 | + <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 146 | + <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 147 | + | |
| 148 | + <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 149 | + </div> | |
| 57 | 150 | </form> |
| 58 | -</div> | |
| 59 | -</div> | |
| 151 | + | |
| 152 | +<hr class="notification" /> | |
| 60 | 153 | <{include file='db:system_notification_select.html'}> |
| 61 | -<!-- end module contents --> | |
| 154 | +<!-- end module conte --> | |
| \ No newline at end of file |
| @@ -1428,3 +1428,45 @@ body.chalog #RightColumn .RightBlock { | ||
| 1428 | 1428 | #chalog_container { |
| 1429 | 1429 | width:700px; |
| 1430 | 1430 | } |
| 1431 | + | |
| 1432 | +/* d3forum Page Navigation */ | |
| 1433 | +/* 20110515 marine add */ | |
| 1434 | + | |
| 1435 | +div.boxNavi .itemBody { | |
| 1436 | + margin: 1px 2px 5px 2px; | |
| 1437 | + text-align:center; | |
| 1438 | + list-style-type: none; | |
| 1439 | + background-color: transparent; | |
| 1440 | +} | |
| 1441 | +div.boxNavi .itemBody li{ | |
| 1442 | + display: inline; | |
| 1443 | + margin: 1px 2px 1px 2px; | |
| 1444 | + padding: 5px 0px 5px 0px; | |
| 1445 | + font-weight: bold; | |
| 1446 | + text-align:center; | |
| 1447 | + border-top: 1px solid lightgrey; | |
| 1448 | + border-bottom: 1px solid lightgrey; | |
| 1449 | + border-left: 1px solid lightgrey; | |
| 1450 | + border-right: 1px solid lightgrey; | |
| 1451 | + background-image: none; | |
| 1452 | +} | |
| 1453 | + | |
| 1454 | +div.boxNavi .itemBody li.txt span, | |
| 1455 | +div.boxNavi .itemBody li.this span, | |
| 1456 | +div.boxNavi .itemBody li a { | |
| 1457 | + margin: 0; | |
| 1458 | + padding: 5px 7px 5px 10px; | |
| 1459 | + text-decoration: none; | |
| 1460 | +} | |
| 1461 | +div.boxNavi .itemBody li.this span { | |
| 1462 | + background-color: #CCCCCC; | |
| 1463 | +} | |
| 1464 | + | |
| 1465 | +.d3f_top_message .d3f_rss { | |
| 1466 | + position:absolute; | |
| 1467 | + width:30px; | |
| 1468 | + height:30px; | |
| 1469 | + top:24px; | |
| 1470 | + left:210px; | |
| 1471 | +} | |
| 1472 | + |
| @@ -73,7 +73,7 @@ | ||
| 73 | 73 | </div> |
| 74 | 74 | |
| 75 | 75 | <div><!-- marine modifi xugj_block topics--> |
| 76 | -<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="d3forum,15,1,time,1,0,," item="block"}> | |
| 76 | +<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="$mydirname,15,1,time,1,0,," item="block"}> | |
| 77 | 77 | <{if $block.full_view == true}> |
| 78 | 78 | <table class="d3f_outer" cellspacing="1"> |
| 79 | 79 | <thead> |
| @@ -1,61 +1,154 @@ | ||
| 1 | +<!-- marine add --> | |
| 2 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listposts.php"}> | |
| 3 | +<!-- marine add --> | |
| 4 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}> | |
| 5 | + | |
| 1 | 6 | <!-- start module contents --> |
| 2 | -<div id="main_listposts" class="clearfix"> | |
| 3 | 7 | <div class="d3f_breadcrumbs"> |
| 4 | - <{if $mod_config.show_breadcrumbs}> | |
| 5 | - <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 6 | - > | |
| 7 | - <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 8 | - <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 9 | - > | |
| 10 | - <{/foreach}> | |
| 11 | - <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 12 | - <{/if}> | |
| 13 | - <{if $prev_topic.id || $next_topic.id}> | |
| 14 | - (<{if $prev_topic.id}> | |
| 15 | - <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 16 | - <{/if}> | |
| 17 | - <{if $prev_topic.id && $next_topic.id}> | |
| 18 | - | | |
| 19 | - <{/if}> | |
| 20 | - <{if $next_topic.id}> | |
| 21 | - <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 22 | - <{/if}>) | |
| 23 | - <{/if}> | |
| 8 | + <{if $mod_config.show_breadcrumbs}> | |
| 9 | + <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 10 | + > | |
| 11 | + <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 12 | + <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 13 | + > | |
| 14 | + <{/foreach}> | |
| 15 | + <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 16 | + <{/if}> | |
| 17 | + <{if $prev_topic.id || $next_topic.id}> | |
| 18 | + (<{if $prev_topic.id}> | |
| 19 | + <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 20 | + <{/if}> | |
| 21 | + <{if $prev_topic.id && $next_topic.id}> | |
| 22 | + | | |
| 23 | + <{/if}> | |
| 24 | + <{if $next_topic.id}> | |
| 25 | + <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 26 | + <{/if}>) | |
| 27 | + <{/if}> | |
| 24 | 28 | </div> |
| 25 | 29 | |
| 26 | -<h1 class="d3f_title" style="clear:both"><img src="<{$xoops_imageurl}>images/s001.png"><{$topic.title}></h1> | |
| 30 | +<h1 class="d3f_title" style="clear:both"><{$topic.title}></h1> | |
| 27 | 31 | |
| 28 | 32 | <{include file="db:`$mydirname`_inc_topicbar.html"}> |
| 29 | 33 | |
| 30 | 34 | <{include file="db:`$mydirname`_inc_d3comment_summary.html"}> |
| 35 | +<br /> | |
| 36 | + | |
| 37 | +<{if $topic.external_link_id}> | |
| 38 | +<div class="d3f_link"> | |
| 39 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 40 | +(<{$post_hits|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 41 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 42 | +</div><!-- /d3f_link --> | |
| 43 | +<{/if}> | |
| 44 | + | |
| 45 | +<div class="boxNavi" style="text-align:center;"> | |
| 46 | +<{if $pagenav}> | |
| 47 | +<ul class="itemBody"> | |
| 48 | +<{foreach from=$pagenav item=nav_}> | |
| 49 | +<li class=<{$nav_.class}>><span> | |
| 50 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 51 | +<{else}> | |
| 52 | +<{$nav_.txt}> | |
| 53 | +<{/if}> | |
| 54 | +</span></li> | |
| 55 | +<{/foreach}> | |
| 56 | +</ul><!-- /itemIBody --> | |
| 57 | +<{/if}> | |
| 58 | +</div><!-- /boxNavi --> | |
| 59 | + | |
| 60 | +<!-- start post tree --> | |
| 61 | +<div class="d3f_post_tree"> | |
| 62 | + <h2 class="head"> | |
| 63 | + <{$smarty.const._MD_D3FORUM_POSTSTREE}> | |
| 64 | + </h2> | |
| 65 | +<{foreach from=$posts item=eachpost}> | |
| 66 | + <{if ($eachpost.topic_id==$topic.id)}> | |
| 67 | + <ul class='d3f_eachbranch'><{"<span style='padding-left:`$eachpost.depth_in_tree`0px; padding-top: 0;'>"}> | |
| 68 | + <a href="#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}></a> | |
| 69 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 70 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=cutpasteposts&post_id=<{$eachpost.id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}></span> | |
| 71 | + </ul> | |
| 72 | + <{/if}> | |
| 73 | +<{/foreach}> | |
| 74 | +<{* $postorder *}> | |
| 75 | +</div> | |
| 76 | +<!-- end post tree --> | |
| 77 | + | |
| 78 | +<!-- start topic list --> | |
| 79 | +<{if $topic.external_link_id && ($tree_tp_count>1)}> | |
| 80 | +<h2 class="head"><{$smarty.const._MD_D3FORUM_TOPIC}></h2> | |
| 81 | +<ul class='d3f_eachbranch'> | |
| 82 | +<{foreach from=$tree item=eachpost}> | |
| 83 | + <{if ($eachpost.depth_in_tree==0)}> | |
| 84 | + <li><span style='padding-left:0px; padding-top: 0;'<{if ($eachpost.topic_id==$topic.id)}> class='d3f_eachbranchitem'<{/if}>> | |
| 85 | + <{if ($eachpost.topic_id!=$topic.id)}><a href="<{$mod_url}>/index.php?topic_id=<{$eachpost.topic_id}>#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><{/if}><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}><{if ($eachpost.topic_id==$topic.id)}></a><{/if}> | |
| 86 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 87 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=topicmanager&topic_id=<{$eachpost.topic_id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}> | |
| 88 | + <{if ($eachpost.topic_id==$topic.id) && ($eachpost.depth_in_tree==0)}><font color="red"><{$smarty.const._MD_D3FORUM_THIS_TOPIC}></font><{/if}> | |
| 89 | + </li> | |
| 90 | + <{/if}> | |
| 91 | +<{/foreach}> | |
| 92 | +</ul> | |
| 93 | +<{/if}> | |
| 94 | +<!-- end topic list --> | |
| 31 | 95 | |
| 32 | 96 | <{include file="db:`$mydirname`_inc_postorder_links.html"}> |
| 97 | +<br /> | |
| 98 | + | |
| 99 | +<!-- quick reply form --> | |
| 100 | +<{if $first_post.can_reply && ($postorder==3)}> | |
| 101 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 102 | +<{/if}> | |
| 33 | 103 | |
| 34 | 104 | <!-- top of posts --> |
| 35 | 105 | <div class="d3f_wrap"> |
| 36 | 106 | <{foreach item=post from=$posts}> |
| 37 | - <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 107 | + <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 38 | 108 | <{/foreach}> |
| 39 | 109 | </div> |
| 40 | 110 | <!-- bottom of posts --> |
| 41 | 111 | |
| 112 | +<{if $topic.external_link_id}> | |
| 113 | +<div class="d3f_link" padding: 20px;> | |
| 114 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 115 | +(<{$post_hits|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 116 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 117 | +</div><!-- /d3f_link --> | |
| 118 | +<{/if}> | |
| 119 | + | |
| 120 | +<div class="boxNavi" style="text-align:center;"> | |
| 121 | +<{if $pagenav}> | |
| 122 | +<ul class="itemBody"> | |
| 123 | +<{foreach from=$pagenav item=nav_}> | |
| 124 | +<li class=<{$nav_.class}>><span> | |
| 125 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 126 | +<{else}> | |
| 127 | +<{$nav_.txt}> | |
| 128 | +<{/if}> | |
| 129 | +</span></li> | |
| 130 | +<{/foreach}> | |
| 131 | +</ul><!-- /itemIBody --> | |
| 132 | +<{/if}> | |
| 133 | +</div><!-- /boxNavi --> | |
| 42 | 134 | |
| 135 | +<{include file="db:`$mydirname`_inc_postorder_links.html"}> | |
| 136 | +<{* $postorder *}> | |
| 43 | 137 | <!-- quick reply form --> |
| 44 | -<{if $first_post.can_reply}> | |
| 45 | - <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 138 | +<{if $first_post.can_reply && ($postorder!=3)}> | |
| 139 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 46 | 140 | <{/if}> |
| 47 | 141 | |
| 48 | 142 | <!-- forum jump --> |
| 49 | -<div class="forum_jump"> | |
| 50 | 143 | <form name="forum_jump_box" action="<{$mod_url}>/index.php" method="get" style="clear:both;" class="d3f_form"> |
| 51 | - <p> | |
| 52 | - <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 53 | - <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 54 | - | |
| 55 | - <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 56 | - </p> | |
| 144 | + <div id="d3f_form_jump_box"> | |
| 145 | + <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 146 | + <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 147 | + | |
| 148 | + <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 149 | + </div> | |
| 57 | 150 | </form> |
| 58 | -</div> | |
| 59 | -</div> | |
| 151 | + | |
| 152 | +<hr class="notification" /> | |
| 60 | 153 | <{include file='db:system_notification_select.html'}> |
| 61 | -<!-- end module contents --> | |
| 154 | +<!-- end module conte --> | |
| \ No newline at end of file |
| @@ -37,7 +37,7 @@ | ||
| 37 | 37 | <link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>IE8.css" charset="utf-8" /> |
| 38 | 38 | <![endif]--> |
| 39 | 39 | </head> |
| 40 | -<body class="L<{$xoops_showlblock}>R<{$xoops_showrblock}> <{if $smarty.server.SCRIPT_FILENAME|basename == "index.php" and $smarty.server.SCRIPT_FILENAME|dirname|basename == $smarty.const.XOOPS_ROOT_PATH|basename}>home<{else}><{if !$xoops_dirname == ""}><{$xoops_dirname}><{else}>ather<{/if}><{/if}>"> | |
| 40 | +<body class="L<{$xoops_showlblock}>R<{$xoops_showrblock}> <{if $smarty.server.SCRIPT_FILENAME|basename == "index.php" and $smarty.server.SCRIPT_FILENAME|dirname|basename == $smarty.const.XOOPS_ROOT_PATH|basename}>home<{else}><{if !$xoops_dirname == ""}><{$xoops_dirname}><{else}>other<{/if}><{/if}>"> | |
| 41 | 41 | |
| 42 | 42 | <div id="outerwrapper"><{* OuterWrapper *}> |
| 43 | 43 |
| @@ -294,9 +294,51 @@ ul.d3pipes_block_sync_aggregated li dl dt { | ||
| 294 | 294 | } |
| 295 | 295 | ul.d3pipes_block_sync_aggregated li dl dd { |
| 296 | 296 | margin-left:10px; |
| 297 | + color:#808080; | |
| 297 | 298 | } |
| 298 | 299 | |
| 299 | 300 | #d3d_breadcrumbs { |
| 300 | 301 | display:none; |
| 301 | 302 | } |
| 302 | 303 | |
| 304 | +/* d3forum Page Navigation */ | |
| 305 | +/* 20110515 marine add */ | |
| 306 | + | |
| 307 | +div.boxNavi .itemBody { | |
| 308 | + margin: 1px 2px 5px 2px; | |
| 309 | + text-align:center; | |
| 310 | + list-style-type: none; | |
| 311 | + background-color: transparent; | |
| 312 | +} | |
| 313 | +div.boxNavi .itemBody li{ | |
| 314 | + display: inline; | |
| 315 | + margin: 1px 2px 1px 2px; | |
| 316 | + padding: 5px 0px 5px 0px; | |
| 317 | + font-weight: bold; | |
| 318 | + text-align:center; | |
| 319 | + border-top: 1px solid lightgrey; | |
| 320 | + border-bottom: 1px solid lightgrey; | |
| 321 | + border-left: 1px solid lightgrey; | |
| 322 | + border-right: 1px solid lightgrey; | |
| 323 | + background-image: none; | |
| 324 | +} | |
| 325 | + | |
| 326 | +div.boxNavi .itemBody li.txt span, | |
| 327 | +div.boxNavi .itemBody li.this span, | |
| 328 | +div.boxNavi .itemBody li a { | |
| 329 | + margin: 0; | |
| 330 | + padding: 5px 7px 5px 10px; | |
| 331 | + text-decoration: none; | |
| 332 | +} | |
| 333 | +div.boxNavi .itemBody li.this span { | |
| 334 | + background-color: #CCCCCC; | |
| 335 | +} | |
| 336 | + | |
| 337 | +.d3f_top_message .d3f_rss { | |
| 338 | + position:absolute; | |
| 339 | + width:30px; | |
| 340 | + height:30px; | |
| 341 | + top:24px; | |
| 342 | + left:210px; | |
| 343 | +} | |
| 344 | + |
| @@ -1,4 +1,8 @@ | ||
| 1 | +<!-- marine add --> | |
| 1 | 2 | <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listcategories.php"}> |
| 3 | +<!-- marine add --> | |
| 4 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}> | |
| 5 | + | |
| 2 | 6 | <!-- start module contents --> |
| 3 | 7 | <!-- breadcrumbs --> |
| 4 | 8 | <div id="main_listcategories" class="clearfix"> |
| @@ -7,9 +11,14 @@ | ||
| 7 | 11 | <a href="<{$mod_url}>/index.php?cat_ids=0"><{$smarty.const._MD_D3FORUM_LISTALLTOPICS}></a> |
| 8 | 12 | </div> |
| 9 | 13 | |
| 10 | -<div class="d3f_top_message"><{$mod_config.top_message}> | |
| 11 | -<a href="<{$mod_url}>/index.php?forum_id=1" class="d3f_c001"><img src="<{$xoops_imageurl}>images/c001.png" alt="welcome" title="welcome" /></a> | |
| 14 | +<div class="d3f_top_message"> | |
| 15 | + | |
| 16 | +<{$mod_config.top_message}> | |
| 17 | +<div class="d3f_rss"><a href="<{$mod_url}>/index.php?page=rss&cat_ids=<{$category.id}>&odr=1"><img src="<{$xoops_imageurl}>images/icon_rss.png" alt="RSS" width="20" height="20" /></a></div> | |
| 18 | + | |
| 19 | +<a href="<{$mod_url}>/index.php?forum_id=1" class="d3f_c001"><img src="<{$xoops_imageurl}><{$smarty.const._THEME_CONFIG_d3f_ICONVISITORS_BOOK_IMG}>" alt="welcome" title="welcome" /></a> | |
| 12 | 20 | </div> |
| 21 | + | |
| 13 | 22 | <a href="#" id="d3f_wrap_open">open</a> |
| 14 | 23 | |
| 15 | 24 | <div> |
| @@ -25,6 +34,7 @@ | ||
| 25 | 34 | </dl> |
| 26 | 35 | |
| 27 | 36 | <!-- top controller --> |
| 37 | +<a href="#" class="d3f_list_oc"><img src="<{$xoops_imageurl}><{$smarty.const._THEME_CONFIG_d3f_LISTOC_IMG}>" alt="open" title="open" />Information</a> | |
| 28 | 38 | <ul class="d3f_ctrl"> |
| 29 | 39 | <{if $xoops_isadmin}> |
| 30 | 40 | <li><a href="<{$mod_url}>/index.php?page=makecategory"><{$smarty.const._MD_D3FORUM_LINK_MAKECATEGORY}></a></li> |
| @@ -34,19 +44,20 @@ | ||
| 34 | 44 | |
| 35 | 45 | </div> |
| 36 | 46 | |
| 37 | -<div class="d3f_cat"><!-- start categories --> | |
| 38 | - | |
| 47 | +<div id="d3f_cat_wrap"> | |
| 39 | 48 | <{foreach item="category" from=$top_categories}> |
| 40 | -<div class="d3f_cat_main"> | |
| 41 | -<a href="<{$mod_url}>/index.php?cat_id=<{$category.id}>"><img src="<{$xoops_imageurl}>images/category_<{$category.bit_new}>.gif" alt="" width="16" height="16" /> <{$category.title}></a> > | |
| 42 | -</div> | |
| 43 | -<div class="d3f_cat_sub"> | |
| 44 | -<ul> | |
| 45 | -<{foreach item=forum from=$category.forums}><!-- forums --> | |
| 46 | -<li><a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><img src="<{$xoops_imageurl}>images/forum_<{$forum.bit_new}>.gif" alt="<{$forum.title}>" width="16" height="16" /><{$forum.title}></a></li> | |
| 47 | -<{/foreach}> | |
| 48 | -</ul> | |
| 49 | -</div> | |
| 49 | +<div class="d3f_cat"><!-- start categories --> | |
| 50 | + <div class="d3f_cat_main"> | |
| 51 | + <a href="<{$mod_url}>/index.php?cat_id=<{$category.id}>"><img src="<{$xoops_imageurl}>images/category_<{$category.bit_new}>.gif" alt="" width="16" height="16" /> <{$category.title}></a> > | |
| 52 | + </div> | |
| 53 | + <div class="d3f_cat_sub"> | |
| 54 | + <ul> | |
| 55 | + <{foreach item=forum from=$category.forums}><!-- forums --> | |
| 56 | + <li><a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><img src="<{$xoops_imageurl}>images/forum_<{$forum.bit_new}>.gif" alt="<{$forum.title}>" width="16" height="16" /><{$forum.title}></a></li> | |
| 57 | + <{/foreach}> | |
| 58 | + </ul> | |
| 59 | + </div> | |
| 60 | +</div><!-- End categories --> | |
| 50 | 61 | <{/foreach}> |
| 51 | 62 | </div> |
| 52 | 63 |
| @@ -74,7 +85,7 @@ | ||
| 74 | 85 | |
| 75 | 86 | <div> |
| 76 | 87 | <!-- marine modifi xugj_block topics--> |
| 77 | -<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="d3forum,10,1,time,1,0,," item="block"}> | |
| 88 | +<{xugj_block file="modules/`$xoops_dirname`/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="`$xoops_dirname`,10,1,time,1,0,," item="block"}> | |
| 78 | 89 | <{if $block.full_view == true}> |
| 79 | 90 | <table class="outer" cellspacing="1"> |
| 80 | 91 | <thead> |
| @@ -215,7 +226,7 @@ | ||
| 215 | 226 | <!-- marine modifi xugj_block posts--> |
| 216 | 227 | <div class="d3f_xbp"> |
| 217 | 228 | <{$block.lang_posts}> |
| 218 | -<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_posts_show" opt="d3forum,20,time,,,0" item="block"}> | |
| 229 | +<{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_posts_show" opt="$mydirname,20,time,,,0" item="block"}> | |
| 219 | 230 | <ol style="padding:3px;margin:0;"> |
| 220 | 231 | <{foreach item=post from=$block.posts}> |
| 221 | 232 | <li style="margin:2px;margin-left:20px;list-style-type:decimal;"> |
| @@ -1,60 +1,154 @@ | ||
| 1 | +<!-- marine add --> | |
| 2 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listposts.php"}> | |
| 3 | +<!-- marine add --> | |
| 4 | +<{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}> | |
| 5 | + | |
| 1 | 6 | <!-- start module contents --> |
| 2 | -<div id="main_listposts" class="clearfix"> | |
| 3 | 7 | <div class="d3f_breadcrumbs"> |
| 4 | - <{if $mod_config.show_breadcrumbs}> | |
| 5 | - <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 6 | - > | |
| 7 | - <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 8 | - <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 9 | - > | |
| 10 | - <{/foreach}> | |
| 11 | - <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 12 | - <{/if}> | |
| 13 | - <{if $prev_topic.id || $next_topic.id}> | |
| 14 | - (<{if $prev_topic.id}> | |
| 15 | - <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 16 | - <{/if}> | |
| 17 | - <{if $prev_topic.id && $next_topic.id}> | |
| 18 | - | | |
| 19 | - <{/if}> | |
| 20 | - <{if $next_topic.id}> | |
| 21 | - <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 22 | - <{/if}>) | |
| 23 | - <{/if}> | |
| 8 | + <{if $mod_config.show_breadcrumbs}> | |
| 9 | + <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a> | |
| 10 | + > | |
| 11 | + <{foreach from=$category.paths_raw key=parent_id item=parent_title_raw}> | |
| 12 | + <a href="<{$mod_url}>/index.php?cat_id=<{$parent_id}>"><{$parent_title_raw|escape}></a> | |
| 13 | + > | |
| 14 | + <{/foreach}> | |
| 15 | + <a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>"><{$forum.title}></a> | |
| 16 | + <{/if}> | |
| 17 | + <{if $prev_topic.id || $next_topic.id}> | |
| 18 | + (<{if $prev_topic.id}> | |
| 19 | + <a href="<{$mod_url}>/index.php?topic_id=<{$prev_topic.id}>" title="<{$prev_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_PREVTOPIC}></a> | |
| 20 | + <{/if}> | |
| 21 | + <{if $prev_topic.id && $next_topic.id}> | |
| 22 | + | | |
| 23 | + <{/if}> | |
| 24 | + <{if $next_topic.id}> | |
| 25 | + <a href="<{$mod_url}>/index.php?topic_id=<{$next_topic.id}>" title="<{$next_topic.title}>"><{$smarty.const._MD_D3FORUM_LINK_NEXTTOPIC}></a> | |
| 26 | + <{/if}>) | |
| 27 | + <{/if}> | |
| 24 | 28 | </div> |
| 25 | 29 | |
| 26 | -<h1 class="d3f_title" style="clear:both"><img src="<{$xoops_imageurl}>images/s001.png"><{$topic.title}></h1> | |
| 30 | +<h1 class="d3f_title" style="clear:both"><{$topic.title}></h1> | |
| 27 | 31 | |
| 28 | 32 | <{include file="db:`$mydirname`_inc_topicbar.html"}> |
| 29 | 33 | |
| 30 | 34 | <{include file="db:`$mydirname`_inc_d3comment_summary.html"}> |
| 35 | +<br /> | |
| 36 | + | |
| 37 | +<{if $topic.external_link_id}> | |
| 38 | +<div class="d3f_link"> | |
| 39 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 40 | +(<{$post_hits|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 41 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 42 | +</div><!-- /d3f_link --> | |
| 43 | +<{/if}> | |
| 44 | + | |
| 45 | +<div class="boxNavi" style="text-align:center;"> | |
| 46 | +<{if $pagenav}> | |
| 47 | +<ul class="itemBody"> | |
| 48 | +<{foreach from=$pagenav item=nav_}> | |
| 49 | +<li class=<{$nav_.class}>><span> | |
| 50 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 51 | +<{else}> | |
| 52 | +<{$nav_.txt}> | |
| 53 | +<{/if}> | |
| 54 | +</span></li> | |
| 55 | +<{/foreach}> | |
| 56 | +</ul><!-- /itemIBody --> | |
| 57 | +<{/if}> | |
| 58 | +</div><!-- /boxNavi --> | |
| 59 | + | |
| 60 | +<!-- start post tree --> | |
| 61 | +<div class="d3f_post_tree"> | |
| 62 | + <h2 class="head"> | |
| 63 | + <{$smarty.const._MD_D3FORUM_POSTSTREE}> | |
| 64 | + </h2> | |
| 65 | +<{foreach from=$posts item=eachpost}> | |
| 66 | + <{if ($eachpost.topic_id==$topic.id)}> | |
| 67 | + <ul class='d3f_eachbranch'><{"<span style='padding-left:`$eachpost.depth_in_tree`0px; padding-top: 0;'>"}> | |
| 68 | + <a href="#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}></a> | |
| 69 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 70 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=cutpasteposts&post_id=<{$eachpost.id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}></span> | |
| 71 | + </ul> | |
| 72 | + <{/if}> | |
| 73 | +<{/foreach}> | |
| 74 | +<{* $postorder *}> | |
| 75 | +</div> | |
| 76 | +<!-- end post tree --> | |
| 77 | + | |
| 78 | +<!-- start topic list --> | |
| 79 | +<{if $topic.external_link_id && ($tree_tp_count>1)}> | |
| 80 | +<h2 class="head"><{$smarty.const._MD_D3FORUM_TOPIC}></h2> | |
| 81 | +<ul class='d3f_eachbranch'> | |
| 82 | +<{foreach from=$tree item=eachpost}> | |
| 83 | + <{if ($eachpost.depth_in_tree==0)}> | |
| 84 | + <li><span style='padding-left:0px; padding-top: 0;'<{if ($eachpost.topic_id==$topic.id)}> class='d3f_eachbranchitem'<{/if}>> | |
| 85 | + <{if ($eachpost.topic_id!=$topic.id)}><a href="<{$mod_url}>/index.php?topic_id=<{$eachpost.topic_id}>#post_id<{$eachpost.id}>" id="post_path<{$eachpost.unique_path}>" name="post_path<{$eachpost.unique_path}>"><{/if}><img src="<{$mod_imageurl}>/posticon<{$eachpost.icon}>.gif" alt="<{$icon_meanings[$eachpost.icon]}>" /> <{$eachpost.subject}><{if ($eachpost.topic_id==$topic.id)}></a><{/if}> | |
| 86 | + (<{$eachpost.poster_uname}>, <{$eachpost.post_time_formatted}>) | |
| 87 | + <{if $forum.isadminormod}><a href="<{$mod_url}>/index.php?page=topicmanager&topic_id=<{$eachpost.topic_id}>"><img src="<{$mod_imageurl}>/adminicon_cutpaste.gif" alt="<{$smarty.const._MD_D3FORUM_CUTPASTEPOSTS}>" /></a><{/if}> | |
| 88 | + <{if ($eachpost.topic_id==$topic.id) && ($eachpost.depth_in_tree==0)}><font color="red"><{$smarty.const._MD_D3FORUM_THIS_TOPIC}></font><{/if}> | |
| 89 | + </li> | |
| 90 | + <{/if}> | |
| 91 | +<{/foreach}> | |
| 92 | +</ul> | |
| 93 | +<{/if}> | |
| 94 | +<!-- end topic list --> | |
| 31 | 95 | |
| 32 | 96 | <{include file="db:`$mydirname`_inc_postorder_links.html"}> |
| 97 | +<br /> | |
| 98 | + | |
| 99 | +<!-- quick reply form --> | |
| 100 | +<{if $first_post.can_reply && ($postorder==3)}> | |
| 101 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 102 | +<{/if}> | |
| 33 | 103 | |
| 34 | 104 | <!-- top of posts --> |
| 35 | 105 | <div class="d3f_wrap"> |
| 36 | 106 | <{foreach item=post from=$posts}> |
| 37 | - <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 107 | + <{include file="db:`$mydirname`_inc_eachpost.html" post=$post caller="listposts" inner_link_format="#post_id%s"}> | |
| 38 | 108 | <{/foreach}> |
| 39 | 109 | </div> |
| 40 | 110 | <!-- bottom of posts --> |
| 41 | 111 | |
| 42 | -<{include file="db:`$mydirname`_inc_postorder_links.html"}> | |
| 112 | +<{if $topic.external_link_id}> | |
| 113 | +<div class="d3f_link" padding: 20px;> | |
| 114 | +<{$posts|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTDISPLAYSINFO}> | |
| 115 | +(<{$post_hits|@count|string_format:$smarty.const._MD_D3FORUM_FMT_POSTHITSINFO}>) | |
| 116 | +<a href="<{$mod_url}>/index.php?forum_id=<{$forum.id}>&external_link_id=<{$topic.external_link_id|escape:"url"}>"><{$smarty.const._MD_D3FORUM_LINK_LISTALLCOMMENTS}></a> | |
| 117 | +</div><!-- /d3f_link --> | |
| 118 | +<{/if}> | |
| 119 | + | |
| 120 | +<div class="boxNavi" style="text-align:center;"> | |
| 121 | +<{if $pagenav}> | |
| 122 | +<ul class="itemBody"> | |
| 123 | +<{foreach from=$pagenav item=nav_}> | |
| 124 | +<li class=<{$nav_.class}>><span> | |
| 125 | +<{if $nav_.url}><a href="<{$nav_.url}>" title="go to page <{$nav_.txt}>"><{$nav_.txt}></a> | |
| 126 | +<{else}> | |
| 127 | +<{$nav_.txt}> | |
| 128 | +<{/if}> | |
| 129 | +</span></li> | |
| 130 | +<{/foreach}> | |
| 131 | +</ul><!-- /itemIBody --> | |
| 132 | +<{/if}> | |
| 133 | +</div><!-- /boxNavi --> | |
| 43 | 134 | |
| 135 | +<{include file="db:`$mydirname`_inc_postorder_links.html"}> | |
| 136 | +<{* $postorder *}> | |
| 44 | 137 | <!-- quick reply form --> |
| 45 | -<{if $first_post.can_reply}> | |
| 46 | - <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$xoops_uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 138 | +<{if $first_post.can_reply && ($postorder!=3)}> | |
| 139 | + <{include file="db:`$mydirname`_inc_post_form_quick.html" uname=$uname h2_title=$smarty.const._MD_D3FORUM_POSTASSAMETOPIC quick_form_mode="sametopic" subject_raw=$first_post.subject_raw}> | |
| 47 | 140 | <{/if}> |
| 48 | 141 | |
| 49 | 142 | <!-- forum jump --> |
| 50 | 143 | <form name="forum_jump_box" action="<{$mod_url}>/index.php" method="get" style="clear:both;" class="d3f_form"> |
| 51 | - <p> | |
| 52 | - <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 53 | - <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 54 | - | |
| 55 | - <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 56 | - </p> | |
| 144 | + <div id="d3f_form_jump_box"> | |
| 145 | + <select name="forum_id"><{$forum_jumpbox_options}></select> | |
| 146 | + <input type="submit" value="<{$smarty.const._MD_D3FORUM_BTN_JUMPTOFORUM}>" /> | |
| 147 | + | |
| 148 | + <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a> | |
| 149 | + </div> | |
| 57 | 150 | </form> |
| 151 | + | |
| 152 | +<hr class="notification" /> | |
| 58 | 153 | <{include file='db:system_notification_select.html'}> |
| 59 | -</div> | |
| 60 | -<!-- end module contents --> | |
| 154 | +<!-- end module conte --> | |
| \ No newline at end of file |