• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

marineが作成するテーマの倉庫


Commit MetaInfo

Revision16bf4d54e9e975608731fd97c52ed489e5691b60 (tree)
Time2012-05-15 19:30:11
Authormarine <marine@mist...>
Commitermarine

Log Message

各種モジュール、d3forumテンプレート修正等
テーマ fb 追加

Change Summary

Incremental Difference

--- a/html/themes/4seasons/modules.css
+++ b/html/themes/4seasons/modules.css
@@ -1114,3 +1114,44 @@ body.wordpress #ModuleContents .xpress-body #xpress_page{
11141114 display:none;
11151115 }
11161116
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+
--- a/html/themes/4seasons/templates/d3forum/main_listcategories.html
+++ b/html/themes/4seasons/templates/d3forum/main_listcategories.html
@@ -73,7 +73,7 @@
7373 </div>
7474
7575 <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"}>
7777 <{if $block.full_view == true}>
7878 <table class="d3f_outer" cellspacing="1">
7979 <thead>
--- a/html/themes/4seasons/templates/d3forum/main_listposts.html
+++ b/html/themes/4seasons/templates/d3forum/main_listposts.html
@@ -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+
16 <!-- start module contents -->
2-<div id="main_listposts" class="clearfix">
37 <div class="d3f_breadcrumbs">
4- <{if $mod_config.show_breadcrumbs}>
5- <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a>
6- &nbsp;&gt;&nbsp;
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- &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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}>
2428 </div>
2529
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>
2731
2832 <{include file="db:`$mydirname`_inc_topicbar.html"}>
2933
3034 <{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}>&amp;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&amp;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&amp;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 -->
3195
3296 <{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}>
33103
34104 <!-- top of posts -->
35105 <div class="d3f_wrap">
36106 <{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"}>
38108 <{/foreach}>
39109 </div>
40110 <!-- bottom of posts -->
41111
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}>&amp;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 -->
42134
135+<{include file="db:`$mydirname`_inc_postorder_links.html"}>
136+<{* $postorder *}>
43137 <!-- 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}>
46140 <{/if}>
47141
48142 <!-- forum jump -->
49-<div class="forum_jump">
50143 <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- &nbsp;
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+ &nbsp;
148+ <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a>
149+ </div>
57150 </form>
58-</div>
59-</div>
151+
152+<hr class="notification" />
60153 <{include file='db:system_notification_select.html'}>
61-<!-- end module contents -->
154+<!-- end module conte -->
\ No newline at end of file
--- a/html/themes/basic5/modules.css
+++ b/html/themes/basic5/modules.css
@@ -382,3 +382,44 @@ div.comment div.comment-meta {
382382 margin-top:30px;
383383 }
384384
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+
--- a/html/themes/basic5/templates/d3forum/main_listcategories.html
+++ b/html/themes/basic5/templates/d3forum/main_listcategories.html
@@ -73,7 +73,7 @@
7373 </div>
7474
7575 <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"}>
7777 <{if $block.full_view == true}>
7878 <table class="d3f_outer" cellspacing="1">
7979 <thead>
--- a/html/themes/basic5/templates/d3forum/main_listposts.html
+++ b/html/themes/basic5/templates/d3forum/main_listposts.html
@@ -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+
16 <!-- start module contents -->
2-<div id="main_listposts" class="clearfix">
37 <div class="d3f_breadcrumbs">
4- <{if $mod_config.show_breadcrumbs}>
5- <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a>
6- &nbsp;&gt;&nbsp;
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- &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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}>
2428 </div>
2529
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>
2731
2832 <{include file="db:`$mydirname`_inc_topicbar.html"}>
2933
3034 <{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}>&amp;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&amp;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&amp;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 -->
3195
3296 <{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}>
33103
34104 <!-- top of posts -->
35105 <div class="d3f_wrap">
36106 <{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"}>
38108 <{/foreach}>
39109 </div>
40110 <!-- bottom of posts -->
41111
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}>&amp;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 -->
42134
135+<{include file="db:`$mydirname`_inc_postorder_links.html"}>
136+<{* $postorder *}>
43137 <!-- 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}>
46140 <{/if}>
47141
48142 <!-- forum jump -->
49-<div class="forum_jump">
50143 <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- &nbsp;
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+ &nbsp;
148+ <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a>
149+ </div>
57150 </form>
58-</div>
59-</div>
151+
152+<hr class="notification" />
60153 <{include file='db:system_notification_select.html'}>
61-<!-- end module contents -->
154+<!-- end module conte -->
\ No newline at end of file
--- a/html/themes/basic5a/modules.css
+++ b/html/themes/basic5a/modules.css
@@ -382,3 +382,44 @@ div.comment div.comment-meta {
382382 margin-top:30px;
383383 }
384384
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+
--- a/html/themes/basic5a/templates/d3forum/main_listcategories.html
+++ b/html/themes/basic5a/templates/d3forum/main_listcategories.html
@@ -73,7 +73,7 @@
7373 </div>
7474
7575 <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"}>
7777 <{if $block.full_view == true}>
7878 <table class="d3f_outer" cellspacing="1">
7979 <thead>
--- a/html/themes/basic5a/templates/d3forum/main_listposts.html
+++ b/html/themes/basic5a/templates/d3forum/main_listposts.html
@@ -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+
16 <!-- start module contents -->
2-<div id="main_listposts" class="clearfix">
37 <div class="d3f_breadcrumbs">
4- <{if $mod_config.show_breadcrumbs}>
5- <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a>
6- &nbsp;&gt;&nbsp;
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- &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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}>
2428 </div>
2529
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>
2731
2832 <{include file="db:`$mydirname`_inc_topicbar.html"}>
2933
3034 <{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}>&amp;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&amp;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&amp;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 -->
3195
3296 <{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}>
33103
34104 <!-- top of posts -->
35105 <div class="d3f_wrap">
36106 <{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"}>
38108 <{/foreach}>
39109 </div>
40110 <!-- bottom of posts -->
41111
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}>&amp;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 -->
42134
135+<{include file="db:`$mydirname`_inc_postorder_links.html"}>
136+<{* $postorder *}>
43137 <!-- 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}>
46140 <{/if}>
47141
48142 <!-- forum jump -->
49-<div class="forum_jump">
50143 <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- &nbsp;
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+ &nbsp;
148+ <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a>
149+ </div>
57150 </form>
58-</div>
59-</div>
151+
152+<hr class="notification" />
60153 <{include file='db:system_notification_select.html'}>
61-<!-- end module contents -->
154+<!-- end module conte -->
\ No newline at end of file
--- a/html/themes/fashion/manifesto.ini.php
+++ b/html/themes/fashion/manifesto.ini.php
@@ -5,7 +5,7 @@
55 Name="fashion"
66 Depends=Legacy_RenderSystem,legacy
77 Url="http://xoops123.com/"
8-Version="0.89"
8+Version="0.91"
99
1010 [Theme]
1111 RenderSystem=Legacy_RenderSystem
--- a/html/themes/fashion/modules.css
+++ b/html/themes/fashion/modules.css
@@ -318,11 +318,6 @@ a#goback , a#goback:visited {
318318 margin:0 auto;
319319 }
320320
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-
326321 table.inc_d3comment_summary {
327322 }
328323 table.inc_d3comment_summary td.td01 {
@@ -612,51 +607,7 @@ body.webphoto #ModuleContents ul {
612607 }
613608
614609
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 */
660611
661612 body.chalog #ModuleContents {
662613 width:94%;
@@ -1191,3 +1142,71 @@ body.d3blog #Container .BlockContent ul li {
11911142 margin-bottom:5px;
11921143 }
11931144
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+
--- a/html/themes/fashion/style.css
+++ b/html/themes/fashion/style.css
@@ -77,7 +77,7 @@ p {
7777 /* Contents */
7878 #Container ,
7979 body.home #Container ,
80-body.ather #Container ,
80+body.other #Container ,
8181 body.L0R0 #Container ,
8282 body.L1R1 #Container ,
8383 body.L1R0 #Container ,
@@ -209,11 +209,14 @@ body.L1R0 #grid-content {
209209 }
210210 body.L0R0 #grid-content ,
211211 body.L0R1 #grid-content ,
212-body.ather #grid-content ,
212+body.other #grid-content ,
213213 body.home #grid-content {
214214 width:100%;
215215 border:none;
216216 }
217+body.home #grid-content {
218+ margin-top:12px;
219+}
217220
218221 #ModuleContents {
219222 position:relative;
@@ -237,7 +240,7 @@ body.L1R1 #gc-wrapper {
237240 padding:0 22px 5px 5px;
238241 border:none;
239242 }
240-body.ather #ModuleContents ,
243+body.other #ModuleContents ,
241244 body.home #ModuleContents {
242245 position:relative;
243246 margin:0;
@@ -263,10 +266,12 @@ body.home #ModuleContents {
263266 padding: 4px;
264267 }
265268
269+/* 20120515 comment out
266270 #grid-content div div div {
267271 width: 100%;
268272 border:none;
269273 }
274+ */
270275
271276 #grid-content div.small {
272277 float:left;
@@ -309,7 +314,7 @@ body.home #grid-content div.small div div {
309314 padding: 0;
310315 }
311316
312-body.ather #grid-content div.large {
317+body.other #grid-content div.large {
313318 float:left;
314319 width: 100%;
315320 max-width:960px;
--- a/html/themes/fashion/templates/d3forum/main_listcategories.html
+++ b/html/themes/fashion/templates/d3forum/main_listcategories.html
@@ -1,5 +1,8 @@
1+<!-- marine add -->
12 <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listcategories.php"}>
3+<!-- marine add -->
24 <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}>
5+
36 <!-- start module contents -->
47 <!-- breadcrumbs -->
58 <div id="main_listcategories" class="clearfix">
@@ -9,10 +12,13 @@
912 </div>
1013
1114 <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&amp;cat_ids=<{$category.id}>&amp;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&amp;cat_ids=<{$category.id}>&amp;odr=1"><img src="<{$xoops_imageurl}>images/icon_rss.png" alt="RSS" width="20" height="20" /></a></div>
18+
1419 <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>
1520 </div>
21+
1622 <a href="#" id="d3f_wrap_open">open</a>
1723
1824 <div>
--- a/html/themes/fashion/templates/d3forum/main_listposts.html
+++ b/html/themes/fashion/templates/d3forum/main_listposts.html
@@ -1,61 +1,154 @@
1+<!-- marine add -->
12 <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listposts.php"}>
3+<!-- marine add -->
24 <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}>
5+
36 <!-- start module contents -->
4-<div id="main_listposts" class="clearfix">
57 <div class="d3f_breadcrumbs">
6- <{if $mod_config.show_breadcrumbs}>
7- <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a>
8- &nbsp;&gt;&nbsp;
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- &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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}>&amp;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&amp;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 *}>
2675 </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&amp;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 -->
2795
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>
3296 <{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}>
33103
34104 <!-- top of posts -->
35105 <div class="d3f_wrap">
36106 <{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"}>
38108 <{/foreach}>
39109 </div>
40110 <!-- bottom of posts -->
41111
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}>&amp;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 -->
42134
135+<{include file="db:`$mydirname`_inc_postorder_links.html"}>
136+<{* $postorder *}>
43137 <!-- 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}>
46140 <{/if}>
47141
48142 <!-- forum jump -->
49-<div class="forum_jump">
50143 <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- &nbsp;
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+ &nbsp;
148+ <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a>
149+ </div>
57150 </form>
58-</div>
59-</div>
151+
152+<hr class="notification" />
60153 <{include file='db:system_notification_select.html'}>
61-<!-- end module contents -->
154+<!-- end module conte -->
\ No newline at end of file
--- a/html/themes/fashion/theme.html
+++ b/html/themes/fashion/theme.html
@@ -112,7 +112,7 @@ jQuery(function(){
112112 <link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>modules.css" charset="utf-8" />
113113 <link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>colors.php" charset="utf-8" />
114114 </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}>">
116116
117117 <div id="outerwrapper"<{if $xugj_trustdirname }> class="<{$xugj_trustdirname}>_w"<{elseif !$xoops_dirname == ""}> class="<{$xoops_dirname}>_w"<{/if}>><!-- OuterWrapper -->
118118
--- a/html/themes/fashion_a/manifesto.ini.php
+++ b/html/themes/fashion_a/manifesto.ini.php
@@ -5,7 +5,7 @@
55 Name="fashion_a"
66 Depends=Legacy_RenderSystem,legacy
77 Url="http://xoops123.com/"
8-Version="0.9"
8+Version="0.91"
99
1010 [Theme]
1111 RenderSystem=Legacy_RenderSystem
--- a/html/themes/fashion_a/modules.css
+++ b/html/themes/fashion_a/modules.css
@@ -376,6 +376,7 @@ table.inc_d3comment_summary td.td01 {
376376 padding-left:10px;
377377 }
378378
379+
379380 /* for d3pipes */
380381 div.d3pipes_clipping dt {
381382 font-weight: bold;
@@ -607,51 +608,7 @@ body.webphoto #ModuleContents ul {
607608 }
608609
609610
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 */
655612
656613 body.chalog #ModuleContents {
657614 width:94%;
@@ -1186,3 +1143,72 @@ body.d3blog #Container .BlockContent ul li {
11861143 margin-bottom:5px;
11871144 }
11881145
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+
--- a/html/themes/fashion_a/style.css
+++ b/html/themes/fashion_a/style.css
@@ -77,7 +77,7 @@ p {
7777 /* Contents */
7878 #Container ,
7979 body.home #Container ,
80-body.ather #Container ,
80+body.other #Container ,
8181 body.L0R0 #Container ,
8282 body.L1R1 #Container ,
8383 body.L1R0 #Container ,
@@ -209,7 +209,7 @@ body.L1R0 #grid-content {
209209 }
210210 body.L0R0 #grid-content ,
211211 body.L0R1 #grid-content ,
212-body.ather #grid-content ,
212+body.other #grid-content ,
213213 body.home #grid-content {
214214 width:100%;
215215 border:none;
@@ -240,7 +240,7 @@ body.L1R1 #gc-wrapper {
240240 padding:0 22px 5px 5px;
241241 border:none;
242242 }
243-body.ather #ModuleContents ,
243+body.other #ModuleContents ,
244244 body.home #ModuleContents {
245245 position:relative;
246246 margin:0;
@@ -266,10 +266,12 @@ body.home #ModuleContents {
266266 padding: 4px;
267267 }
268268
269+/* 20120515 comment out
269270 #grid-content div div div {
270271 width: 100%;
271272 border:none;
272273 }
274+ */
273275
274276 #grid-content div.small {
275277 float:left;
@@ -312,7 +314,7 @@ body.home #grid-content div.small div div {
312314 padding: 0;
313315 }
314316
315-body.ather #grid-content div.large {
317+body.other #grid-content div.large {
316318 float:left;
317319 width: 100%;
318320 max-width:960px;
--- a/html/themes/fashion_a/templates/d3forum/main_listcategories.html
+++ b/html/themes/fashion_a/templates/d3forum/main_listcategories.html
@@ -1,5 +1,8 @@
1+<!-- marine add -->
12 <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listcategories.php"}>
3+<!-- marine add -->
24 <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}>
5+
36 <!-- start module contents -->
47 <!-- breadcrumbs -->
58 <div id="main_listcategories" class="clearfix">
@@ -9,10 +12,13 @@
912 </div>
1013
1114 <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&amp;cat_ids=<{$category.id}>&amp;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&amp;cat_ids=<{$category.id}>&amp;odr=1"><img src="<{$xoops_imageurl}>images/icon_rss.png" alt="RSS" width="20" height="20" /></a></div>
18+
1419 <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>
1520 </div>
21+
1622 <a href="#" id="d3f_wrap_open">open</a>
1723
1824 <div>
--- a/html/themes/fashion_a/templates/d3forum/main_listposts.html
+++ b/html/themes/fashion_a/templates/d3forum/main_listposts.html
@@ -1,61 +1,154 @@
1+<!-- marine add -->
12 <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/d3forum_main_listposts.php"}>
3+<!-- marine add -->
24 <{include_php file="`$smarty.const.XOOPS_THEME_PATH`/`$xoops_theme`/theme_config.php"}>
5+
36 <!-- start module contents -->
4-<div id="main_listposts" class="clearfix">
57 <div class="d3f_breadcrumbs">
6- <{if $mod_config.show_breadcrumbs}>
7- <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a>
8- &nbsp;&gt;&nbsp;
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- &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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}>&amp;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&amp;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 *}>
2675 </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&amp;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 -->
2795
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>
3296 <{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}>
33103
34104 <!-- top of posts -->
35105 <div class="d3f_wrap">
36106 <{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"}>
38108 <{/foreach}>
39109 </div>
40110 <!-- bottom of posts -->
41111
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}>&amp;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 -->
42134
135+<{include file="db:`$mydirname`_inc_postorder_links.html"}>
136+<{* $postorder *}>
43137 <!-- 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}>
46140 <{/if}>
47141
48142 <!-- forum jump -->
49-<div class="forum_jump">
50143 <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- &nbsp;
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+ &nbsp;
148+ <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a>
149+ </div>
57150 </form>
58-</div>
59-</div>
151+
152+<hr class="notification" />
60153 <{include file='db:system_notification_select.html'}>
61-<!-- end module contents -->
154+<!-- end module conte -->
\ No newline at end of file
--- a/html/themes/fashion_a/theme.html
+++ b/html/themes/fashion_a/theme.html
@@ -112,7 +112,7 @@ jQuery(function(){
112112 <link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>modules.css" charset="utf-8" />
113113 <link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>colors.php" charset="utf-8" />
114114 </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}>">
116116
117117 <div id="outerwrapper"<{if $xugj_trustdirname }> class="<{$xugj_trustdirname}>_w"<{elseif !$xoops_dirname == ""}> class="<{$xoops_dirname}>_w"<{/if}>><!-- OuterWrapper -->
118118
--- a/html/themes/gallery/modules.css
+++ b/html/themes/gallery/modules.css
@@ -1274,4 +1274,46 @@ body.L1R1 #outerwrapper #Container #ModuleContents #xpress_wrap #xpress_content
12741274
12751275 #xpress-header-bar {
12761276 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+
--- a/html/themes/gallery/templates/d3forum/main_listcategories.html
+++ b/html/themes/gallery/templates/d3forum/main_listcategories.html
@@ -73,7 +73,7 @@
7373 </div>
7474
7575 <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"}>
7777 <{if $block.full_view == true}>
7878 <table class="d3f_outer" cellspacing="1">
7979 <thead>
--- a/html/themes/gallery/templates/d3forum/main_listposts.html
+++ b/html/themes/gallery/templates/d3forum/main_listposts.html
@@ -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+
16 <!-- start module contents -->
2-<div id="main_listposts" class="clearfix">
37 <div class="d3f_breadcrumbs">
4- <{if $mod_config.show_breadcrumbs}>
5- <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a>
6- &nbsp;&gt;&nbsp;
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- &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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}>
2428 </div>
2529
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>
2731
2832 <{include file="db:`$mydirname`_inc_topicbar.html"}>
2933
3034 <{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}>&amp;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&amp;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&amp;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 -->
3195
3296 <{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}>
33103
34104 <!-- top of posts -->
35105 <div class="d3f_wrap">
36106 <{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"}>
38108 <{/foreach}>
39109 </div>
40110 <!-- bottom of posts -->
41111
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}>&amp;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 -->
42134
135+<{include file="db:`$mydirname`_inc_postorder_links.html"}>
136+<{* $postorder *}>
43137 <!-- 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}>
46140 <{/if}>
47141
48142 <!-- forum jump -->
49-<div class="forum_jump">
50143 <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- &nbsp;
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+ &nbsp;
148+ <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a>
149+ </div>
57150 </form>
58-</div>
59-</div>
151+
152+<hr class="notification" />
60153 <{include file='db:system_notification_select.html'}>
61-<!-- end module contents -->
154+<!-- end module conte -->
\ No newline at end of file
--- a/html/themes/gallery/theme.html
+++ b/html/themes/gallery/theme.html
@@ -59,7 +59,7 @@ jQuery(document).ready(function($){
5959 </script>
6060 <link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>modules.css" charset="utf-8" />
6161 </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}>">
6363
6464 <div id="outerwrapper"><{* OuterWrapper *}>
6565
--- a/html/themes/magazine/modules.css
+++ b/html/themes/magazine/modules.css
@@ -1460,3 +1460,46 @@ body.L1R1 #outerwrapper #Container #grid-content #ModuleContents #xpress_wrap #x
14601460
14611461
14621462 /* 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+
--- a/html/themes/magazine/templates/d3forum/main_listcategories.html
+++ b/html/themes/magazine/templates/d3forum/main_listcategories.html
@@ -75,7 +75,7 @@
7575 </div>
7676
7777 <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"}>
7979 <{if $block.full_view == true}>
8080 <table class="d3f_outer" cellspacing="1">
8181 <thead>
--- a/html/themes/magazine/templates/d3forum/main_listposts.html
+++ b/html/themes/magazine/templates/d3forum/main_listposts.html
@@ -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+
16 <!-- start module contents -->
2-<div id="main_listposts" class="clearfix">
37 <div class="d3f_breadcrumbs">
4- <{if $mod_config.show_breadcrumbs}>
5- <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a>
6- &nbsp;&gt;&nbsp;
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- &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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}>
2428 </div>
2529
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>
2731
2832 <{include file="db:`$mydirname`_inc_topicbar.html"}>
2933
3034 <{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}>&amp;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&amp;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&amp;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 -->
3195
3296 <{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}>
33103
34104 <!-- top of posts -->
35105 <div class="d3f_wrap">
36106 <{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"}>
38108 <{/foreach}>
39109 </div>
40110 <!-- bottom of posts -->
41111
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}>&amp;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 -->
42134
135+<{include file="db:`$mydirname`_inc_postorder_links.html"}>
136+<{* $postorder *}>
43137 <!-- 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}>
46140 <{/if}>
47141
48142 <!-- forum jump -->
49-<div class="forum_jump">
50143 <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- &nbsp;
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+ &nbsp;
148+ <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a>
149+ </div>
57150 </form>
58-</div>
59-</div>
151+
152+<hr class="notification" />
60153 <{include file='db:system_notification_select.html'}>
61-<!-- end module contents -->
154+<!-- end module conte -->
\ No newline at end of file
--- a/html/themes/photograph/modules.css
+++ b/html/themes/photograph/modules.css
@@ -1428,3 +1428,45 @@ body.chalog #RightColumn .RightBlock {
14281428 #chalog_container {
14291429 width:700px;
14301430 }
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+
--- a/html/themes/photograph/templates/d3forum/main_listcategories.html
+++ b/html/themes/photograph/templates/d3forum/main_listcategories.html
@@ -73,7 +73,7 @@
7373 </div>
7474
7575 <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"}>
7777 <{if $block.full_view == true}>
7878 <table class="d3f_outer" cellspacing="1">
7979 <thead>
--- a/html/themes/photograph/templates/d3forum/main_listposts.html
+++ b/html/themes/photograph/templates/d3forum/main_listposts.html
@@ -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+
16 <!-- start module contents -->
2-<div id="main_listposts" class="clearfix">
37 <div class="d3f_breadcrumbs">
4- <{if $mod_config.show_breadcrumbs}>
5- <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a>
6- &nbsp;&gt;&nbsp;
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- &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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}>
2428 </div>
2529
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>
2731
2832 <{include file="db:`$mydirname`_inc_topicbar.html"}>
2933
3034 <{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}>&amp;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&amp;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&amp;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 -->
3195
3296 <{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}>
33103
34104 <!-- top of posts -->
35105 <div class="d3f_wrap">
36106 <{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"}>
38108 <{/foreach}>
39109 </div>
40110 <!-- bottom of posts -->
41111
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}>&amp;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 -->
42134
135+<{include file="db:`$mydirname`_inc_postorder_links.html"}>
136+<{* $postorder *}>
43137 <!-- 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}>
46140 <{/if}>
47141
48142 <!-- forum jump -->
49-<div class="forum_jump">
50143 <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- &nbsp;
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+ &nbsp;
148+ <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a>
149+ </div>
57150 </form>
58-</div>
59-</div>
151+
152+<hr class="notification" />
60153 <{include file='db:system_notification_select.html'}>
61-<!-- end module contents -->
154+<!-- end module conte -->
\ No newline at end of file
--- a/html/themes/photograph/theme.html
+++ b/html/themes/photograph/theme.html
@@ -37,7 +37,7 @@
3737 <link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}>IE8.css" charset="utf-8" />
3838 <![endif]-->
3939 </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}>">
4141
4242 <div id="outerwrapper"><{* OuterWrapper *}>
4343
--- a/html/themes/vgrid2/modules.css
+++ b/html/themes/vgrid2/modules.css
@@ -294,9 +294,51 @@ ul.d3pipes_block_sync_aggregated li dl dt {
294294 }
295295 ul.d3pipes_block_sync_aggregated li dl dd {
296296 margin-left:10px;
297+ color:#808080;
297298 }
298299
299300 #d3d_breadcrumbs {
300301 display:none;
301302 }
302303
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+
--- a/html/themes/vgrid2/templates/d3forum/main_listcategories.html
+++ b/html/themes/vgrid2/templates/d3forum/main_listcategories.html
@@ -1,4 +1,8 @@
1+<!-- marine add -->
12 <{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+
26 <!-- start module contents -->
37 <!-- breadcrumbs -->
48 <div id="main_listcategories" class="clearfix">
@@ -7,9 +11,14 @@
711 <a href="<{$mod_url}>/index.php?cat_ids=0"><{$smarty.const._MD_D3FORUM_LISTALLTOPICS}></a>
812 </div>
913
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&amp;cat_ids=<{$category.id}>&amp;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>
1220 </div>
21+
1322 <a href="#" id="d3f_wrap_open">open</a>
1423
1524 <div>
@@ -25,6 +34,7 @@
2534 </dl>
2635
2736 <!-- 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>
2838 <ul class="d3f_ctrl">
2939 <{if $xoops_isadmin}>
3040 <li><a href="<{$mod_url}>/index.php?page=makecategory"><{$smarty.const._MD_D3FORUM_LINK_MAKECATEGORY}></a></li>
@@ -34,19 +44,20 @@
3444
3545 </div>
3646
37-<div class="d3f_cat"><!-- start categories -->
38-
47+<div id="d3f_cat_wrap">
3948 <{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>&nbsp;&nbsp;&gt;
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>&nbsp;&nbsp;&gt;
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 -->
5061 <{/foreach}>
5162 </div>
5263
@@ -74,7 +85,7 @@
7485
7586 <div>
7687 <!-- 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"}>
7889 <{if $block.full_view == true}>
7990 <table class="outer" cellspacing="1">
8091 <thead>
@@ -215,7 +226,7 @@
215226 <!-- marine modifi xugj_block posts-->
216227 <div class="d3f_xbp">
217228 <{$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"}>
219230 <ol style="padding:3px;margin:0;">
220231 <{foreach item=post from=$block.posts}>
221232 <li style="margin:2px;margin-left:20px;list-style-type:decimal;">
--- a/html/themes/vgrid2/templates/d3forum/main_listposts.html
+++ b/html/themes/vgrid2/templates/d3forum/main_listposts.html
@@ -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+
16 <!-- start module contents -->
2-<div id="main_listposts" class="clearfix">
37 <div class="d3f_breadcrumbs">
4- <{if $mod_config.show_breadcrumbs}>
5- <a href="<{$mod_url}>/index.php"><{$smarty.const._MD_D3FORUM_TOP}></a>
6- &nbsp;&gt;&nbsp;
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- &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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+ &nbsp;&gt;&nbsp;
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}>
2428 </div>
2529
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>
2731
2832 <{include file="db:`$mydirname`_inc_topicbar.html"}>
2933
3034 <{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}>&amp;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&amp;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&amp;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 -->
3195
3296 <{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}>
33103
34104 <!-- top of posts -->
35105 <div class="d3f_wrap">
36106 <{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"}>
38108 <{/foreach}>
39109 </div>
40110 <!-- bottom of posts -->
41111
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}>&amp;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 -->
43134
135+<{include file="db:`$mydirname`_inc_postorder_links.html"}>
136+<{* $postorder *}>
44137 <!-- 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}>
47140 <{/if}>
48141
49142 <!-- forum jump -->
50143 <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- &nbsp;
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+ &nbsp;
148+ <a href="<{$mod_url}>/index.php?page=search"><{$smarty.const._MD_D3FORUM_LINK_ADVSEARCH}></a>
149+ </div>
57150 </form>
151+
152+<hr class="notification" />
58153 <{include file='db:system_notification_select.html'}>
59-</div>
60-<!-- end module contents -->
154+<!-- end module conte -->
\ No newline at end of file