PEAK XOOPS - another small bug in englishin japanese

another small bug

List posts in the topic

question another small bug

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2006/7/21 17:35
xavhmn  上等兵 From: Athis mons, france  Posts: 36
the templates of the style below a problem, it is tested number of columns, does not function

for exemple: myalbum_block_rphoto.php
<table width='100%' cellspacing='0' cellpadding='0' border='0'>
  <tr>
    <{foreach item=photo key=count from=$block.photo}>
      <td align='center' style='margin:0px;padding:5px 0px;'>
        <a href="<{$block.mod_url}>/photo.php?lid=<{$photo.lid}>&cid=<{$photo.cid}>"><img src="<{$photo.thumbs_url}>/<{$photo.lid}>.<{$photo.ext}>" <{$photo.img_attribs}> alt="<{$photo.title}>" title="<{$photo.title}>" /></a>
      </td>
      <{if $count is div by $block.cols }>
        </tr><tr>
      <{/if}>
    <{/foreach}>
  </tr>
</table>

a code of table of too is generated

</td></tr><tr></tr></table>

sorry for my english
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!