[phpshop commit] r48 - trunk/phpshop1/WEB-INF/modules/templates

1 view
Skip to first unread message

codesite...@google.com

unread,
Oct 30, 2008, 5:03:21 AM10/30/08
to phpsh...@googlegroups.com
Author: ulisoft
Date: Thu Oct 30 01:59:16 2008
New Revision: 48

Modified:
trunk/phpshop1/WEB-INF/modules/templates/s_header.ihtml

Log:
see http://code.google.com/p/phpshop/wiki/phpShop1_update
Updating phpShop 0.81 - adding the forum module -

Modified: trunk/phpshop1/WEB-INF/modules/templates/s_header.ihtml
==============================================================================
--- trunk/phpshop1/WEB-INF/modules/templates/s_header.ihtml (original)
+++ trunk/phpshop1/WEB-INF/modules/templates/s_header.ihtml Thu Oct 30
01:59:16 2008
@@ -72,8 +72,9 @@
</tr>
</table>
<?php
- }
-?> <!-- Begin Navigation -->
+}
+?>
+<!-- Begin Navigation -->
<table width="100%" border="0" cellspacing="0" cellpadding="1"
class="MenuTable">
<tr>
<td class="RecordsTableHeader"><span class="RecordsTableHeader"><?php
echo $navigation_title ?></span> </td>
@@ -126,6 +127,40 @@
}
?></ul></td></tr>
<!-- End browse categories -->
+
+<!-- Begin Forum -->
+ <tr><td class="RecordsTableHeader"><span
class="RecordsTableHeader"><?php echo $forum_str ?></span> </td></tr>
+ <tr><td>
+ <ul>
+ <?php
+ if ($auth["user_id"] && $auth["silent_login"] !=="1") {
+ ?>
+ <li><a href="<?php
$sess->purl(SECUREURL . "?page=account/topic_list");?>"><?php echo
$topic_list_lbl ?></a></li>
+ <li><a href="<?php
$sess->purl(SECUREURL . "?page=account/topic_add");?>"><?php echo
$new_topic_title ?></a></li>
+ <?php
+ }
+
+ else {
+ ?>
+ <li><a href="<?php
$sess->purl(URL . "?page=shop/topic_list");?>"><?php echo
$topic_list_lbl ?></a></li>
+ <?php
+ }
+
+ include("topic/html/latest_topic.ihtml");
+
+ if ($t_num > 0) {
+ echo "<b>$latest_str</b><br>";
+ for($i=1;$i<=$t_num;$i++) {
+ $x++;
+ echo "<a href=" . $t_ltu[$i] . ">" . $t_lts[$i] . "</a><br>";
+ }
+ }
+ ?>
+ <ul>
+ </td></tr>
+
+<!-- End Forum -->
+
<!-- Search Box -->
<tr>
<td height="21" class="RecordsTableHeader"><span
class="RecordsTableHeader"><?php echo $search_title ?></span> </td>

Reply all
Reply to author
Forward
0 new messages