Permalink
Browse files

update

  • Loading branch information...
1 parent 35ce8e2 commit 72d3fe97a6ff4bf87d7a5c70fe985e479b7dc2f6 @williamjxj committed Dec 7, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 ag.php
  2. +1 −1 templates/1/category_contents.tpl.html
  3. +1 −1 templates/1/item_contents.tpl.html
View
1 ag.php
@@ -80,6 +80,7 @@
$obj->display($tdir6.'pk.tpl.html');
return;
}
+//<a class="talk fancybox.ajax" href="{$config.ag}?js_talk=1&cid={$l.cid}"></a>
elseif(isset($_GET['js_talk'])) {
$obj->display($tdir6.'pk.tpl.html');
return;
@@ -39,7 +39,7 @@
<td>{$l.guanzhu}</td>
<td>{$l.pinglun}</td>
<td>{$l.created|date_format:"%Y-%m-%d %H:%M"}}</td>
- <td><a class="talk" href="{$config.f7.s}?cid={$l.cid}#Tab3"><i class="icon-comment"></i>我要评论</a>&nbsp;&nbsp; <i class="icon-list"></i><a class="talk fancybox.ajax" href="{$config.ag}?js_talk=1&cid={$l.cid}">预览</a> </td>
+ <td><a class="talk" href="{$config.f7.s}?cid={$l.cid}#Tab3"><i class="icon-comment"></i>我要PK</a>&nbsp;&nbsp; <i class="icon-list"></i><a class="talk fancybox.ajax" href="{$config.ag}?jsc=1&cid={$l.cid}">预览</a> </td>
</tr>
{/foreach}
</table>
@@ -26,7 +26,7 @@
<td>{$l.clicks}</td>
<td>{$l.guanzhu}</td>
<td>{$l.pinglun}</td>
- <td><a class="talk" href="{$config.f7.s}?cid={$l.cid}#Tab3"><i class="icon-comment"></i>我要评论</a>&nbsp;&nbsp; <i class="icon-list"></i><a class="talk fancybox.ajax" href="{$config.ag}?js_talk=1&cid={$l.cid}">预览</a> </td>
+ <td><a class="talk" href="{$config.f7.s}?cid={$l.cid}#Tab3"><i class="icon-comment"></i>我要PK</a>&nbsp;&nbsp; <i class="icon-list"></i><a class="talk fancybox.ajax" href="{$config.ag}?jsc=1&cid={$l.cid}">预览</a> </td>
</tr>
{/foreach}
</table>

0 comments on commit 72d3fe9

Please sign in to comment.