View Single Post
  #1080  
Old 05-11-2005, 07:06 PM
Tradjick Tradjick is offline
 
Join Date: Jan 2004
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just altered the links_linkbit a little bit. If anyone likes it, here?s the code:

HTML Code:
<tr>  <td class="alt$linkstyle" colspan="2">  <fieldset class="fieldset" style="margin: 0px 0px 0px 0px;">  <legend style="background: white; border: 2px;">    </legend>  <table cellpadding="0" cellspacing="0" border="0" width="100%"><tr>  <if condition="$linkimg">  <td width="$linkimgsize">  <if condition="$linkurl"><a <if condition="$linkmode<2">href="local_links.php?action=jump&amp;id=$linkid"<else />href="$linkurl"</if> target="_blank"></if>  <img src="local_resize.php?pic=$linkimg&amp;size=$linkimgsize" border="0" alt="" /><if condition="$linkurl"></a></if>  </td>  <td width="2">&nbsp;</td>  </if>  <td valign="bottom">      <fieldset class="fieldset" style="margin: 5px 0px 5px 10px;">  <legend><strong>  <if condition="$linkurl">$linktypebit <a <if condition="$linkmode<2">href="local_links.php?action=jump&amp;id=$linkid"<else />href="$linkurl"</if> target="_blank"></if>$linkname<if condition="$linkurl"></a></if>  <if condition="$linknew">$vbphrase[ll_new]</if>  </strong>  <if condition="$links_permissions[can_mark_link]">  <if condition="$linkfav">  <if condition="$viewcatid!=-2"> <span class="highlight">$vbphrase[ll_myfav]</span></if>  [<a href="local_links.php?action=dofavlink&amp;id=$linkid&amp;set=-1&amp;catid=$viewcatid&amp;page=$pagenumber" title="$vbphrase[ll_myfav_del]">$vbphrase[ll_ab_favminus]</a>]  <else />  [<a href="local_links.php?action=dofavlink&amp;id=$linkid&amp;set=1&amp;catid=$viewcatid&amp;page=$pagenumber" title="$vbphrase[ll_myfav_add]">$vbphrase[ll_ab_favplus]</a>]  </if>  <if condition="$links_permissions[can_send_tofriend]">  [<a href="local_links.php?action=sendtofriend&amp;id=$linkid" target="_blank" title="$vbphrase[ll_sendtofriend]">$vbphrase[ll_ab_send]</a>]  </if>  </if>  &nbsp;        <if condition="$viewcatid == 4"><span align = "right" style="color : green; align : right; text-decoration : underline;">==OFFRE==</span></if>  </legend>      <BR />  <span class="smallfont">  $linkdesc  <if condition="$linkshowothercatbit>0"><br /><br />$vbphrase[ll_seealso] $linkothercatsbit</if>  </span>  </td>    <td width="25%" align="right" valign="bottom">  <fieldset class="fieldset" style="margin: 5px 5px 5px 5px;">  $linkratebit  <span class="smallfont">  $linkdate  <if condition="$linkstatus>1"> [$linkstatus $vbphrase[ll_kb]]</if>  <if condition="$linkstatus==0"> [$vbphrase[ll_unknown_status]]</if>  <if condition="$links_permissions[can_view_hits]">  <br />$vbphrase[ll_submitby] <a href="member.php?u=$linkuserid">$linkusername</a>  <br />$vbphrase[ll_hits] $linkhits  </if>  <if condition="$links_permissions[can_rate_link]">  <br />$vbphrase[ll_rate]   <a href="local_links.php?action=doratelink&amp;vote=1&amp;id=$linkid&amp;catid=$viewcatid&amp;page=$pagenumber">1</a>/  <a href="local_links.php?action=doratelink&amp;vote=2&amp;id=$linkid&amp;catid=$viewcatid&amp;page=$pagenumber">2</a>/  <a href="local_links.php?action=doratelink&amp;vote=3&amp;id=$linkid&amp;catid=$viewcatid&amp;page=$pagenumber">3</a>/  <a href="local_links.php?action=doratelink&amp;vote=4&amp;id=$linkid&amp;catid=$viewcatid&amp;page=$pagenumber">4</a>/  <a href="local_links.php?action=doratelink&amp;vote=5&amp;id=$linkid&amp;catid=$viewcatid&amp;page=$pagenumber">5</a> *  </if>  <if condition="$links_permissions[can_moderate_links] and $linkstatus==$LINK_HIDDEN">  <br />  [$vbphrase[ll_hidden]]  </if>  <if condition="$links_permissions[can_edit_link] or $bbuserinfo[userid] == $linkuserid">  <br />  <a href="local_links.php?action=editlink&amp;linkid=$linkid&amp;catid=$viewcatid&amp;page=$pagenumber" title="$vbphrase[ll_edit]">$vbphrase[ll_editlc]</a>  </if>  </span>  </td>  </fieldset>  </fieldset>  </tr>  </table>  </fieldset>  </td>  </tr>
Does one have to make the line breaks manually in vB HTML code? I copied from Uedit.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01195 seconds
  • Memory Usage 1,808KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete