portalcp_block_thumbsetting.htm 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <!--{if $thestyle[makethumb]}-->
  2. <tr>
  3. <th width="80">{lang block_thumb_width}</th>
  4. <td><input type="text" name="picwidth" value="$block[picwidth]" class="px" /></td>
  5. </tr>
  6. <tr>
  7. <th width="80">{lang block_thumb_height}</th>
  8. <td><input type="text" name="picheight" value="$block[picheight]" class="px" /></td>
  9. </tr>
  10. <!--{/if}-->
  11. <!--{if $thestyle[settarget]}-->
  12. <tr>
  13. <th width="80">{lang block_link_target_type}</th>
  14. <td>
  15. <select name="a_target">
  16. <option value="blank" $targetarr[blank]>{lang block_link_target_blank}</option>
  17. <option value="self" $targetarr[self]>{lang block_link_target_self}</option>
  18. <option value="top" $targetarr[top]>{lang block_link_target_top}</option>
  19. </select>
  20. </td>
  21. </tr>
  22. <!--{/if}-->
  23. <!--{if !$is_htmlblock}-->
  24. <tr>
  25. <th width="80">{lang dateformat}</th>
  26. <td>
  27. <select name="dateformat">
  28. <!--{loop $dateformats $value}-->
  29. <option value="$value[format]"{$value[selected]}>$value[time]</option>
  30. <!--{/loop}-->
  31. </select>
  32. &nbsp;
  33. <label for="ckdateuformat"><input type="checkbox" name="dateuformat" id="ckdateuformat" class="pc" value="1"{if $block[dateuformat]} checked="checked"{/if} />{lang dateuformat}</label>
  34. <img src="{IMGDIR}/faq.gif" alt="Tip" class="vm" style="margin: 0;" onmouseover="showTip(this)" tip="{lang dateuformat_tips}" />
  35. </td>
  36. </tr>
  37. <!--{/if}-->