묻고답하기
ㅁ
2011.02.15 02:54
<!--#include("_header.html")-->
<!-- 달력 상단 배치시 -->
<div id="div_calendar" style="width:100%; padding:0px; margin:0px auto 20px auto; list-style:none; <calendar_location">!--@if($module_info->calendar_location == 'calendar_top')-->float:left;<display:none;margin-left:{$module_info->calendar_margin}px;>{$lang->category_all}!--@else-->class="category_top"<!--@end-->>{$lang->category_all}</span></a> -
<!--@foreach($category_list as $val)-->
<category_srl">!--@if($category==$val->category_srl)-->
{@$category_parent = (int)$val->parent_srl}
{@$category_parent_title = $val->title}
<!--@end-->
<parent_srl">!--@if($category==(int)$val->parent_srl) -->
{@$category_count++}
<!--@if($category_count==1 && $category)-->
<a href="{getUrl('','mid',$mid,'category',$category_parent)}" class="buttonOfficial"><span class="category_top_on">{$category_parent_title}</span></a> -
<!--@end-->
<a href="{getUrl('','mid',$mid,'category',$val->category_srl)}" class="buttonOfficial" <category_cut_size">!--@if($module_info->category_cut_size< strlen($val->title) )-->title="{$val->title}"<>!--@end-->><span <category_srl)-->class="category_top_on"class="category_top">{cut_str($val->title'>!--@if($category==$val->category_srl)-->class="category_top_on"<!--@else-->class="category_top"<!--@end-->>{cut_str($val->title, $module_info->category_cut_size, '..')} ({$val->document_count})</span></a>
<!--@end-->
<!--@end-->
<!--@if(!$category_count)-->
<!--@foreach($category_list as $val)-->
<parent_srl==$category_parent">!--@if($val->parent_srl==$category_parent) -->
{@$category_count++}
<!--@if($category_count==1 && $category && $category_parent)-->
<a href="{getUrl('+
'','mid',$mid,'category',$category_parent)}" class="buttonOfficial"><span>상위</span></a> -
<!--@end-->
<a href="{getUrl('','mid',$mid,'category',$val->category_srl)}" class="buttonOfficial" <category_cut_size">!--@if($module_info->category_cut_size< strlen($val->title) )-->title="{$val->title}"<>!--@end-->><span <category_srl">!--@if($category==$val->category_srl || !$category)-->class="category_top_on"<class="category_top">{cut_str($val->title'>!--@else-->class="category_top"<!--@end-->>{cut_str($val->title, $module_info->category_cut_size, '..')} ({$val->document_count})</span></a><!--@end-->
<!--@end-->
<!--@end-->
</div>
<manager">!--@if($grant->manager && ($module_info->display_setup_button != 'N' || $module_info->display_top_write == 'Y'))-->
<div class="infoView">
<ul>
<extra_search=="Y'>!--@if($module_info->extra_search=="Y" && $extra_search_count>0)-->
<li><a onclick="document.getElementById('extra_search').style.display='inline'" class="buttonOfficial" style="color:#b2090d; cursor:pointer"><span style="color:#b2090d">{$lang->extra_search}</span></a></li>
<!--@end-->
<manager">!--@if($grant->manager && $module_info->display_top_write == 'Y' && $module_info->default_style != 'memo'+
' )-->
<li><a href="{getUrl('+
'act','dispBoardWrite','document_srl','')}" class="buttonOfficial"><span>{$lang->cmd_write}</span></a></li>
<!--@end-->
<manager">!--@if($grant->manager && $module_info->display_setup_button != 'N')-->
<li class="setup"><a href="{getUrl('act','dispBoardAdminBoardInfo')}" title="{$lang->cmd_setup}"><span>{$lang->cmd_setup}</span></a></li>
<!--@end-->
</ul>
</div>
<!--@elseif( ($module_info->extra_search=="Y" && $extra_search_count>0) || ($module_info->display_top_write == 'Y' && $module_info->default_style != 'memo'))-->
<div class="infoView">
<ul>
<extra_search=="Y'+
'>!--@if($module_info->extra_search=="Y" && $extra_search_count>0)-->
<li><a onclick="document.getElementById('extra_search').style.display='inline'" class="buttonOfficial" style="color:#b2090d; cursor:pointer"><span style="color:#b2090d">{$lang->extra_search}</span></a></li>
<!--@end-->
<display_top_write">!--@if($module_info->display_top_write == 'Y' && $module_info->default_style != 'memo' )-->
<li><a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="buttonOfficial"><span>{$lang->cmd_write}</span></a></li>
<!--@end-->
</ul>
</div>
<display_top_write">!--@elseif($module_info->display_top_write == 'Y' && $module_info->default_style != 'memo')-->
<div class="infoView">
<ul>
<li><a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="buttonOfficial"><span>{$lang->cmd_write}</span></a></li>
</ul>
</div>
<!--@end-->
</div>
<!--@else-->
<manager">!--@if($grant->manager && ($module_info->display_setup_button != 'N' || $module_info->display_top_write == 'Y'))-->
<div class="boardInformation" style="border:0px solid red;">
<!--@if($total_count && $module_info->default_style != 'blog')-->
<div class="infoSum">{$lang->document_count} <strong>{number_format($total_count)}</strong></div>
<!--@end-->
<div class="infoView">
<ul>
<manager">!--@if($grant->manager && $module_info->display_top_write == 'Y' && $module_info->default_style != 'memo' )-->
<li><a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="buttonOfficial"><span>{$lang->cmd_write}</span></a></li>
<!--@end-->
<manager">!--@if($grant->manager && $module_info->display_setup_button != 'N')-->
<li class="setup"><a href="{getUrl('act','dispBoardAdminBoardInfo')}" title="{$lang->cmd_setup}"><span>{$lang->cmd_setup}</span></a></li>
<!--@end-->
<span style="display:none">
<li class="listTypeClassic icon<default_style=='list'">!--@if($module_info->default_style=='list')--> active<">!--@end-->"><a href="{getUrl('listStyle','list','act','','document_srl','')}" title="Classic Style"><span>Classic Style</span></a></li>
<li class="listTypeZine icon<default_style=='webzine'">!--@if($module_info->default_style=='webzine')--> active<">!--@end-->"><a href="{getUrl('listStyle','webzine','act','','+
'document_srl','')}" title="Zine Style"><span>Zine Style</span></a></li>
<li class="listTypeGallery icon<default_style=='gallery'">!--@if($module_info->default_style=='gallery')--> active<">!--@end-->"><a href="{getUrl('listStyle','gallery','act','','document_srl','')}" title="Gallery Style"><span>Gallery Style</span></a></li>
</span>
</ul>
</div>
</div>
<!--@end-->
<!--@end-->
<!-- (끝) sejin7940 추가 - 상단 가로형 펼침 카테고리 구현 위해서 -->
<">!--@end-->
위부터가 게시판에 쓰기버튼 출력여부인데.........
모르니까 너무 답답하네요...........
설정에서
스킨관리에서
일일이 목록 상단에 쓰기 버튼을 수정하는게 말이나 되나요......ㅠ
이거 출력이 기본으로 되게하는 방법은 없는건가요?
기존 =>
<manager">!--@if($grant->manager && ($module_info->display_setup_button != 'N' || $module_info->display_top_write == 'Y'))-->
변경 =>
<manager">!--@if($grant->manager && ($module_info->display_setup_button != 'N' || $module_info->display_top_write != 'Y'))-->
이렇게하면 기본 출력되구요.
다만 설정페이지에서 설정한 내용과 반대로 적용됩니다. (출력으로 하면 출력되지않음)