Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 * 리더 레이아웃 관련하여 수정.
  * 이전의 형태로도 사용할 수 있도록 계속 workaround 유지

 #896
 * fold 되는 부분을 위한 속성으로 folding CSS class 추가
  * 모든 data-inbox나 section에 대하여 position:relative 값을 강제하는 것은 이후 부작용을 초래할 수 있다.
  • Loading branch information
inureyes committed Mar 27, 2008
1 parent b824344 commit 9d540c6
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 15 deletions.
6 changes: 4 additions & 2 deletions interface/owner/reader/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
);
require ROOT . '/lib/includeForReader.php';
require ROOT . '/lib/piece/owner/header.php';
if(defined('__TEXTCUBE_READER_SUBMENU__'))
require ROOT . '/lib/piece/owner/contentMenu.php';

$setting = getReaderSetting($blogid);
?>
Expand Down Expand Up @@ -83,6 +81,10 @@
<iframe id="hiddenFrame" name="hiddenFrame" src="about:blank" width="1" height="1" style="display: none;"></iframe>

<div id="layout-body">
<?php
if(defined('__TEXTCUBE_READER_SUBMENU__'))
require ROOT . '/lib/piece/owner/contentMenu.php';
?>
<h2><?php echo _t('리더 서브메뉴');?></h2>

<div id="reader-menu-box">
Expand Down
6 changes: 3 additions & 3 deletions interface/owner/setting/blog/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ function setSmtp() {
</fieldset>
</div>
<?php echo setDetailPanel('panelEtcSetting','button');?>
<div id="panelEtcSetting" class="section">
<div id="panelEtcSetting" class="section folding">
<fieldset class="container">
<legend><?php echo _t('기타');?></legend>

Expand Down Expand Up @@ -702,7 +702,7 @@ function setSmtp() {

<div id="part-setting-language" class="part">
<h2 class="caption"><span class="main-text"><?php echo setDetailPanel('language_setting','link',_t('언어, 시간대를 설정합니다'));?></span></h2>
<form id="language-form" class="data-inbox" method="post" action="<?php echo parseURL($blogURL.'/owner/setting/blog/language');?>">
<form id="language-form" class="data-inbox folding" method="post" action="<?php echo parseURL($blogURL.'/owner/setting/blog/language');?>">
<div id="language_setting" class="section">
<fieldset class="container">
<legend><?php echo _t('언어 및 시간대');?></legend>
Expand Down Expand Up @@ -765,7 +765,7 @@ function setSmtp() {
<div id="part-setting-admin" class="part">
<h2 class="caption"><span class="main-text"><?php echo setDetailPanel('admin_skin_setting','link',_t('관리자 화면 스킨을 설정합니다'));?></span></h2>
<form id="admin-skin-form" class="data-inbox" method="post" action="<?php echo parseURL($blogURL.'/owner/setting/blog/skin');?>">
<div id="admin_skin_setting" class="section">
<div id="admin_skin_setting" class="section folding">
<fieldset class="container">
<legend><?php echo _t('관리자 스킨을 설정합니다');?></legend>

Expand Down
2 changes: 1 addition & 1 deletion interface/owner/setting/entry/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function chooseBlogPassword() {
</dd>
</dl>
<?php echo setDetailPanel('panelBlogAPISetting','button');?>
<div id="panelBlogAPISetting">
<div id="panelBlogAPISetting" class="folding">
<script type="text/javascript">//<![CDATA[
setFormatter(document.getElementById('defaultFormatter').value, document.getElementById('defaultEditor'), false);
//]]></script>
Expand Down
2 changes: 1 addition & 1 deletion interface/owner/skin/setting/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function changeTreeStyle() {
<div id="part-skin-setting" class="part">
<h2 class="caption"><span class="main-text"><?php echo setDetailPanel('panel_skin_setting','link',_t('스킨 출력에 따른 여러 값들을 변경합니다'));?></span></h2>

<div id="panel_skin_setting" class="data-inbox">
<div id="panel_skin_setting" class="data-inbox folding">
<form id="skinSetting" class="section" method="post" action="<?php echo $blogURL;?>/owner/skin/setting/skin" enctype="application/x-www-form-urlencoded">
<fieldset id="per-page-container" class="container">
<legend><?php echo _t('출력 숫자 조절');?></legend>
Expand Down
8 changes: 8 additions & 0 deletions lib/piece/owner/contentMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,12 @@
$blogContentMenuItem = array_merge($blogContentMenuItem, array(array('menu'=>'about','title'=>_t('텍스트큐브는'),'link'=>'/owner/center/about')));
}
}
if(!defined('__TEXTCUBE_READER_SUBMENU__')) {
?>
<div id="layout-body">
<?php
}
?>
<h2><?php echo isset($blogMenu['title']) ? _f('서브메뉴 : %1', $blogMenu['title']) : _t('서브메뉴');?></h2>

<?php
Expand Down Expand Up @@ -185,8 +189,12 @@
</div>
<?php
}
if(!defined('__TEXTCUBE_READER_SUBMENU__')) {
?>
<hr class="hidden" />

<div id="pseudo-box">
<div id="data-outbox">
<?php
}
?>
3 changes: 1 addition & 2 deletions style/admin/modern/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,7 @@ h2.caption span
}

/* preventing IE overflow:visible bug */
.section,
.data-inbox
.folding
{
position : relative;
}
Expand Down
3 changes: 1 addition & 2 deletions style/admin/retro-celebrate/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,7 @@ h2.caption span
}

/* preventing IE overflow:visible bug */
.section,
.data-inbox
.folding
{
position : relative;
}
Expand Down
3 changes: 1 addition & 2 deletions style/admin/swallow/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,7 @@ h2.caption span
}

/* preventing IE overflow:visible bug */
.section,
.data-inbox
.folding
{
position : relative;
}
Expand Down
3 changes: 1 addition & 2 deletions style/admin/whitedream/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,7 @@ h2.caption span
text-decoration : underline;
}
/* preventing IE overflow:visible bug */
.section,
.data-inbox
.folding
{
position : relative;
}
Expand Down

0 comments on commit 9d540c6

Please sign in to comment.