Changeset 3586
- Timestamp:
- 07/01/07 05:27:55 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 removed
- 5 modified
-
blog/owner/center/dashboard/index.php (modified) (4 diffs)
-
blog/owner/center/setting (deleted)
-
blog/owner/plugin/index.php (modified) (1 diff)
-
lib/piece/owner/contentMenu.php (modified) (1 diff)
-
style/admin/default/center.css (modified) (1 diff)
-
style/admin/default/image/img_link_bullet.jpg (added)
-
style/admin/default/image/img_link_bullet2.jpg (added)
-
style/admin/default/plugin.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/blog/owner/center/dashboard/index.php
r3509 r3586 123 123 <?php 124 124 } 125 126 if (!file_exists(ROOT . '/cache/CHECKUP')) {127 125 ?> 128 126 <script type="text/javascript"> 129 127 //<![CDATA[ 128 function changeList() { 129 document.getElementById("tempForm").submit(); 130 } 131 <?php 132 if (!file_exists(ROOT . '/cache/CHECKUP')) { 133 ?> 134 130 135 window.addEventListener("load", checkTextcubeVersion, false); 131 136 function checkTextcubeVersion() { … … 133 138 window.location.href = "<?php echo $blogURL;?>/checkup"; 134 139 } 135 //]]>136 </script>137 140 <?php 138 141 } else if (file_get_contents(ROOT . '/cache/CHECKUP') != TEXTCUBE_VERSION) { 139 142 ?> 140 <script type="text/javascript"> 141 //<![CDATA[ 143 142 144 window.addEventListener("load", checkTextcubeVersion, false); 143 145 function checkTextcubeVersion() { … … 145 147 window.location.href = "<?php echo $blogURL;?>/checkup"; 146 148 } 149 <?php 150 } 151 ?> 147 152 //]]> 148 153 </script> 149 154 <?php 150 }151 152 155 if (false) { 153 156 fetchConfigVal(); 154 157 } 155 158 ?> 156 <form method="post" action="<?php echo $blogURL;?>/owner/center/dashboard"> 157 <?php 158 $textcubeDashboard = getBlogSetting("textcubeDashboard"); 159 if (is_null($textcubeDashboard)) { 160 setBlogSetting("textcubeDashboard", 1); 161 $textcubeDashboard = 1; 162 } 159 <form id="tempForm" method="post" action="<?php echo $blogURL;?>/owner/center/dashboard"> 160 <?php 161 if (($_SERVER['REQUEST_METHOD'] == 'POST') && (empty($_POST['useTTdashboard']))) { 162 $textcubeDashboard = getBlogSetting("textcubeDashboard"); 163 if (is_null($textcubeDashboard)) { 164 setBlogSetting("textcubeDashboard", 1); 165 $textcubeDashboard = 1; 166 } else { 167 setBlogSetting("textcubeDashboard", 0); 168 $textcubeDashboard = 0; 169 } 170 } else if ($_SERVER['REQUEST_METHOD'] == 'POST') { 171 setBlogSetting("textcubeDashboard", 1); 172 $textcubeDashboard = 1; 173 } else { 174 $textcubeDashboard = getBlogSetting("textcubeDashboard"); 175 } 176 177 //$textcubeDashboard = getBlogSetting("textcubeDashboard"); 178 //if (is_null($textcubeDashboard)) { 179 // setBlogSetting("textcubeDashboard", 1); 180 // $textcubeDashboard = 1; 181 //} 163 182 164 183 if($textcubeDashboard) { … … 409 428 <div id="part-center-quilt<?php echo $editClass;?>" class="part"> 410 429 <h2 class="caption"><span class="main-text"><?php echo _t('조각보를 봅니다');?></span></h2> 411 430 431 <?php 432 if (!isset($_REQUEST['edit'])) { 433 ?> 434 <dl id="independent-notice-line" class="line"> 435 <dt><?php echo _t('독립패널 설정');?></dt> 436 <dd> 437 <input type="checkbox" class="checkbox" id="useTTdashboard" name="useTTdashboard" value="on" onclick="changeList()"<?php echo $textcubeDashboard == 1 ? " checked" : NULL;?> /> 438 <label for="useTTdashboard"><?php echo _t('독립 패널을 표시합니다');?></label> 439 </dd> 440 </dl> 441 <?php 442 } 443 ?> 444 <dl id="direct-link-line" class="line"> 445 <dt><?php echo _t('플러그인 설정');?></dt> 446 <dd> 447 <a class="button" href="<?php echo $blogURL;?>/owner/plugin?visibility=center"><?php echo _t('플러그인 설정 페이지로 바로가기');?></a> 448 </dd> 449 </dl> 412 450 <?php 413 451 $boardbarNumber = 0; -
trunk/blog/owner/plugin/index.php
r3526 r3586 364 364 </dd> 365 365 </dl> 366 367 <?php 368 if (defined('__TAB_CENTER__') || defined('__TAB_METAPAGE__')) { 369 $text = defined('__TAB_CENTER__') ? _t('센터로 바로 가기') : _t('메타 페이지로 바로가기'); 370 $link = defined('__TAB_CENTER__') ? $blogURL . '/owner/center/dashboard' : $blogURL . '/owner/center/metapage'; 371 ?> 372 <dl id="direct-link-line" class="line"> 373 <dt><?php echo _t('메인 화면으로 이동');?></dt> 374 <dd> 375 <a class="button" href="<?php echo $link;?>"><?php echo $text;?></a> 376 </dd> 377 </dl> 378 <?php 379 } 380 ?> 366 381 </fieldset> 367 382 -
trunk/lib/piece/owner/contentMenu.php
r3500 r3586 6 6 $blogContentMenuItem = array( 7 7 array('menu'=>'dashboard','title'=>_t('조각보'),'link'=>'/owner/center/dashboard'), 8 array('menu'=>'setting','title'=>_t('자투리'),'link'=>'/owner/center/setting'),9 8 array('menu'=>'metapage','title'=>_t('색동'),'link'=>'/owner/center/metapage'), 10 9 array('menu'=>'metaSetting','title'=>_t('두루마기'),'link'=>'/owner/center/metaSetting'), -
trunk/style/admin/default/center.css
r3219 r3586 521 521 } 522 522 523 #independent-notice-line 524 { 525 margin: -37px 10px 0 0; 526 } 527 528 #independent-notice-line dt, #direct-link-line dt 529 { 530 display: none; 531 } 532 533 #direct-link-line 534 { 535 margin: 20px 10px; 536 text-align: right; 537 } 538 539 #direct-link-line dd 540 { 541 border : 3px solid #EFEFEF; 542 display: inline; 543 padding: 10px; 544 text-align: right; 545 } 546 547 #direct-link-line dd .button 548 { 549 background-image : url('./image/img_link_bullet.jpg'); 550 background-position : right center; 551 background-repeat : no-repeat; 552 padding-right : 15px; 553 } 554 523 555 /* Setting ***************************************************************************************/ 524 556 -
trunk/style/admin/default/plugin.css
r3525 r3586 99 99 position : absolute !important; 100 100 top : 6.5em; 101 } 102 103 #direct-link-line dt 104 { 105 display: none; 106 } 107 108 #direct-link-line dd 109 { 110 border-width: 3px !important; 111 } 112 113 #direct-link-line dd .button 114 { 115 background-image : url('./image/img_link_bullet2.jpg'); 116 background-position : left center; 117 background-repeat : no-repeat; 118 padding-left : 15px; 101 119 } 102 120
