Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
smola

фрагмент шаблона

Recommended Posts

вот тут неправильный код для скина IPB.Pro

в шаблоне global_board_header

 

выделенная часть неправильна, выложите правильный фрагмент.

<div id="submenu">

<!--ipb.leftlinks.start-->

<if="$this->ipsclass->vars['home_url']">

<div class='ipb-top-left-link'><a href="{$this->ipsclass->vars['home_url']}">{$this->ipsclass->vars['home_name']}</a></div>

</if>

<if="$this->ipsclass->vars['csite_on']">

<div class='ipb-top-left-link'><a href="{$this->ipsclass->base_url}act=home">{$this->ipsclass->vars['csite_title']}</a></div>

</if>

<!--IBF.RULES-->

<!--ipb.leftlinks.end-->

<!--ipb.rightlinks.start-->

<div id='submenu_right'>

<a href="{$this->ipsclass->base_url}act=Help">{$this->ipsclass->lang['tb_help']}</a>

<a href="{$this->ipsclass->base_url}act=Search&f={$this->ipsclass->input['f']}" id="ipb-tl-search">{$this->ipsclass->lang['tb_search']}</a>

<a href="{$this->ipsclass->base_url}act=Members">{$this->ipsclass->lang['tb_mlist']}</a>

<a href="{$this->ipsclass->base_url}act=calendar">{$this->ipsclass->lang['tb_calendar']}</a>

<if="$component_links != """>

{$component_links}

</if>

<div class='popupmenu-new' id='ipb-tl-search_menu' style='display:none;width:210px'>

<form action="{$this->ipsclass->base_url}act=Search&CODE=01" method="post">

<input type='hidden' name='forums' id='gbl-search-forums' value='all' />

<input type="text" size="20" name="keywords" id='ipb-tl-search-box' />

<input class="button" type="image" style='border:0px' src="{$this->ipsclass->vars['img_url']}/login-button.gif" />

<if="($this->ipsclass->input['act'] == 'sf' OR $this->ipsclass->input['act'] == 'st') AND $this->ipsclass->input['f']">

<br /><input type='checkbox' id='gbl-search-checkbox' value='1' onclick='gbl_check_search_box()' checked='checked' /> {$this->ipsclass->lang['gbl_forum_search']}

</if>

</form>

<div style='padding:4px'>

<a href='{$this->ipsclass->base_url}act=Search'>{$this->ipsclass->lang['gbl_more_search']}</a>

</div>

</div>

<script type="text/javascript">

ipsmenu.register( "ipb-tl-search", 'document.getElementById("ipb-tl-search-box").focus();' );

gbl_check_search_box();

</script>

</div>

<!--ipb.rightlinks.end-->

</div>

Share this post


Link to post
Share on other sites

прикольно. Ни пожалуйста, ни объяснений... Даже правила раздела не читаем.

Share this post


Link to post
Share on other sites

А как вы определили, что он неправильный? :(

Share this post


Link to post
Share on other sites

тго, что но под стиль не подходит!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...