Changeset 5859
- Timestamp:
- 05/04/08 17:02:32 (5 months ago)
- Location:
- trunk
- Files:
-
- 8 added
- 2 removed
- 7 modified
- 1 moved
-
interface/owner/control/server (added)
-
interface/owner/control/server/index.php (added)
-
interface/owner/control/server/mailhost (added)
-
interface/owner/control/server/mailhost/index.php (added)
-
interface/owner/setting/blog/index.php (modified) (1 diff)
-
interface/owner/setting/blog/mailhost (deleted)
-
interface/owner/setting/blog/skin (deleted)
-
interface/owner/skin/adminSkin (added)
-
interface/owner/skin/adminSkin/index.php (added)
-
interface/owner/skin/adminSkin/set (added)
-
interface/owner/skin/adminSkin/set/index.php (added)
-
interface/owner/skin/coverpage (moved) (moved from trunk/interface/owner/center/coverpage)
-
lib/piece/owner/contentMenu.php (modified) (3 diffs)
-
lib/piece/owner/header.php (modified) (1 diff)
-
style/admin/whitedream/center.css (modified) (1 diff)
-
style/admin/whitedream/control.css (modified) (1 diff)
-
style/admin/whitedream/setting.css (modified) (2 diffs)
-
style/admin/whitedream/skin.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/owner/setting/blog/index.php
r5841 r5859 784 784 </form> 785 785 </div> 786 787 <hr class="hidden" />788 789 <div id="part-setting-admin" class="part">790 <h2 class="caption"><span class="main-text"><?php echo setDetailPanel('admin_skin_setting','link',_t('관리자 화면 스킨을 설정합니다'));?></span></h2>791 <form id="admin-skin-form" class="data-inbox" method="post" action="<?php echo parseURL($blogURL.'/owner/setting/blog/skin');?>">792 <div id="admin_skin_setting" class="section folding">793 <fieldset class="container">794 <legend><?php echo _t('관리자 스킨을 설정합니다');?></legend>795 796 <dl id="admin-skin--line" class="line">797 <dt><span class="label"><?php echo _t('관리자 화면 스킨');?></span></dt>798 <dd>799 <select id="adminSkin" name="adminSkin">800 <?php801 $currentAdminSkin = getBlogSetting("adminSkin", "whitedream");802 $dir = dir(ROOT . '/style/admin/');803 while ($tempAdminSkin = $dir->read()) {804 if (!preg_match('/^[a-zA-Z0-9 _-]+$/', $tempAdminSkin))805 continue;806 if (!is_dir(ROOT . '/style/admin/' . $tempAdminSkin))807 continue;808 if (!file_exists(ROOT . "/style/admin/$tempAdminSkin/index.xml"))809 continue;810 $xmls = new XMLStruct();811 if (!$xmls->open(file_get_contents(ROOT . "/style/admin/$tempAdminSkin/index.xml"))) {812 continue;813 } else {814 $skinDir = trim($tempAdminSkin);815 $skinName = htmlspecialchars($xmls->getValue('/adminSkin/information/name[lang()]'));816 ?>817 <option value="<?php echo $skinDir;?>"<?php echo $currentAdminSkin==$skinDir ?' selected="selected"':'';?>><?php echo $skinName;?></option>818 <?php819 }820 }821 ?>822 </select>823 </dd>824 </dl>825 </fieldset>826 <div class="button-box">827 <input type="submit" class="save-button input-button" value="<?php echo _t('저장하기');?>" />828 </div>829 </div>830 </form>831 </div>832 833 <?php if( Acl::check('group.creators') ) { ?>834 <div id="part-setting-mailhost" class="part">835 <h2 class="caption"><span class="main-text"><?php echo _t('메일 보낼 서버를 지정합니다');?></span></h2>836 837 <div class="data-inbox">838 <form class="section" method="post" action="<?php echo $blogURL;?>/owner/setting/blog/mailhost">839 <dl>840 <dt class="title"><span class="label"><?php echo _t('보낼 메일 서버 설정');?></span></dt>841 <dd>842 <div class="line">843 <span><?php echo _text( '운영자만이 수정할 수 있습니다' ); ?></span>844 </div>845 846 <div class="line">847 <input id="useCustomSMTP" type="checkbox" class="checkbox" name="useCustomSMTP" value="1" <?php if( getServiceSetting( 'useCustomSMTP', 0 ) ) { echo "checked='checked'"; } ?> />848 <label for="useCustomSMTP"><?php echo _t('메일서버 지정'); ?></label>849 </div>850 <div class="line">851 <label for="smtpHost"><?php echo _t('메일서버 IP 주소:포트'); ?></label>852 <input id="smtpHost" type="text" class="input-text" name="smtpHost" value="<?php echo getServiceSetting( 'smtpHost', '127.0.0.1' ); ?>" /> :853 <input id="smtpPort" type="text" class="input-text" name="smtpPort" value="<?php echo getServiceSetting( 'smtpPort', 25 );?>" />854 </div>855 </dd>856 </dl>857 <?php if( Acl::check('group.creators') ) { ?>858 <div class="button-box">859 <input type="submit" class="save-button input-button" value="<?php echo _t('저장하기');?>" onclick="setSmtp(); return false;" />860 </div>861 <?php } ?>862 </form>863 </div>864 </div>865 786 <?php 866 }867 787 if (isset($_GET['message'])) { 868 788 $msg = escapeJSInCData($_GET['message']); -
trunk/lib/piece/owner/contentMenu.php
r5655 r5859 9 9 $blogContentMenuItem = array( 10 10 array('menu'=>'dashboard','title'=>_t('조각보'),'link'=>'/owner/center/dashboard'), 11 array('menu'=>'coverpage','title'=>_t('색동'),'link'=>'/owner/center/coverpage'),12 11 ); 13 12 } 14 13 else{ 15 14 $blogContentMenuItem = array( 16 array('menu'=>'dashboard','title'=>_t('조각보'),'link'=>'/owner/center/dashboard') ,15 array('menu'=>'dashboard','title'=>_t('조각보'),'link'=>'/owner/center/dashboard') 17 16 ); 18 17 } … … 55 54 array('menu'=>'skin','title'=>_t('스킨 선택'),'link'=>'/owner/skin'), 56 55 array('menu'=>'edit','title'=>_t('스킨 편집'),'link'=>'/owner/skin/edit'), 57 array('menu'=>'setting','title'=>_t('출력 설정'),'link'=>'/owner/skin/setting'), 58 array('menu'=>'sidebar','title'=>_t('사이드바'),'link'=>'/owner/skin/sidebar') 56 array('menu'=>'setting','title'=>_t('상세한 설정'),'link'=>'/owner/skin/setting'), 57 array('menu'=>'coverpage','title'=>_t('색동'),'link'=>'/owner/skin/coverpage'), 58 array('menu'=>'sidebar','title'=>_t('사이드바'),'link'=>'/owner/skin/sidebar'), 59 array('menu'=>'adminSkin','title'=>_t('관리자 패널 스킨 선택'),'link'=>'/owner/skin/adminSkin') 59 60 ); 60 61 } … … 97 98 array('menu'=>'blog','title'=>_t('블로그'),'link'=>'/owner/control/blog'), 98 99 array('menu'=>'user','title'=>_t('사용자'),'link'=>'/owner/control/user'), 100 array('menu'=>'server','title'=>_t('서버'),'link'=>'/owner/control/server'), 99 101 array('menu'=>'system','title'=>_t('시스템 정보'),'link'=>'/owner/control/system') 100 // array('menu'=>'etc','title'=>_t('기타 설정'),'link'=>'/owner/control/etc')101 102 ); 102 103 } -
trunk/lib/piece/owner/header.php
r5771 r5859 39 39 40 40 if(Acl::check('group.creators')) { 41 array_push($blogTopMenuItem, array('menu'=>'control','title'=>_t('서비스 '),'link'=>'/owner/control/blog'));41 array_push($blogTopMenuItem, array('menu'=>'control','title'=>_t('서비스관리'),'link'=>'/owner/control/blog')); 42 42 } 43 43 switch($blogMenu['topMenu']) { -
trunk/style/admin/whitedream/center.css
r5497 r5859 425 425 } 426 426 427 /* Coverpage ***************************************************************************************/428 429 #part-coverpage-order430 {431 background-image : url("./image/bg_sidebar.png");432 background-position : 309px 175px;433 background-repeat : no-repeat;434 }435 436 437 438 #part-coverpage-order .pseudo-clear439 {440 clear : both;441 font-family : 돋움, Dotum, sans-serif;442 font-size : 0.9em;443 letter-spacing : -1px;444 padding-top : 15px;445 text-align : right;446 }447 448 #part-coverpage-order .pseudo-clear a449 {450 font-weight : bold;451 }452 453 #part-coverpage-order .main-explain-box454 {455 margin-top : 13px;456 }457 458 #part-coverpage-order .main-explain-box .explain459 {460 margin-bottom : 15px;461 }462 463 #part-coverpage-order #direct-link-line464 {465 margin-bottom : 0px;466 margin-top : 0px !important;467 }468 469 #coverpage-tabs-box470 {471 margin-bottom : 30px;472 }473 474 #coverpage-box475 {476 float : right;477 height : 903px;478 margin : 0 5px 0 30px;479 overflow : auto;480 position : relative;481 width : 600px;482 z-index : 100;483 }484 485 #coverpage-box .section486 {487 vertical-align : top;488 width : 575px;489 }490 491 #coverpage-box .section h3492 {493 color : #FF6600;494 font-size : 1em;495 margin : 7px 0 0 10px;496 }497 498 #coverpage-box .section ul.coverpage499 {500 min-height : 400px;501 }502 503 #coverpage-box .section ul li.coverpage-module *504 {505 color : inherit;506 font-size : 1em;507 font-weight : inherit;508 }509 510 #coverpage-box-disabled511 {512 background-color : #FFFFFF;513 border : 1px solid #DDDDDD;514 height : 400px;515 }516 517 #coverpage-box-disabled p518 {519 margin-top : 190px;520 text-align : center;521 }522 523 .coverpage-module,524 .coverpage-module .ajax-floating-panel525 {526 background-color : #FFFFFF;527 border : 1px solid #CCCCCC;528 cursor : move;529 font-size : 12px;530 list-style-type : none;531 margin : 2px 0px 2px 0;532 max-height : 200px;533 overflow : hidden;534 position : relative;535 text-align : left;536 width : 575px;537 z-index : 50;538 }539 540 .coverpage-module *541 {542 font-size : 1em;543 }544 545 .coverpage-module a,546 .coverpage-module input-button547 {548 cursor : pointer;549 }550 551 .coverpage-module h4.module-title,552 .coverpage-module .ajax-floating-panel h4.module-title553 {554 background-position : right center;555 background-repeat : no-repeat;556 border-bottom : 1px solid #CCCCCC;557 font-weight : bold !important;558 padding : 5px 5px 4px 5px;559 }560 561 .coverpage-module h4 .radio562 {563 display : none;564 }565 566 .coverpage-module .module-close567 {568 position : absolute;569 top : 7px;570 right : 0;571 }572 573 .coverpage-module .edit-button-box,574 .coverpage-module .ajax-floating-panel .edit-button-box575 {576 text-align : center;577 }578 579 .coverpage-module .edit-button-box a,580 .coverpage-module .ajax-floating-panel .edit-button-box a581 {582 border : 1px solid #DDDDDD;583 display : block;584 height : 1.5em;585 line-height : 1.5em;586 margin : 10px auto 0 auto !important;587 padding-top : 3px;588 width : 40px;589 }590 591 .coverpage-module .module-content,592 .ajax-floating-panel .module-content593 {594 padding : 5px 5px 4px 5px;595 }596 597 /* main-content 내부 스타일 */598 .coverpage-module .module-content h1,599 .coverpage-module .module-content h2,600 .coverpage-module .module-content h3,601 .coverpage-module .module-content h4,602 .coverpage-module .module-content h5,603 .coverpage-module .module-content h6604 {605 color : #000000 !important;606 /* display : none; */607 }608 609 .coverpage-module .module-content ul li610 {611 list-style-type : disc;612 margin-left : 18px;613 }614 615 .coverpage-module .module-content .calendar caption,616 .coverpage-module .module-content .calendar table tr td,617 .coverpage-module .module-content .calendar table tr th618 {619 text-align : center;620 }621 622 .coverpage-plugin-module h4.module-title,623 #coverpage-plugin-module-box ul li.coverpage-module h4624 {625 background-color : #DDDDDD;626 }627 628 #coverpage-element-box629 {630 background-image : none;631 float : left;632 width : 287px;633 }634 635 #coverpage-element-box h3636 {637 display : none;638 }639 640 #coverpage-element-box fieldset641 {642 background-image : none;643 border : 1px solid #CCCCCC;644 margin-bottom : 5px;645 padding : 7px;646 }647 648 #coverpage-element-box fieldset legend649 {650 color : #476db4;651 display : inline;652 font-weight : bold;653 padding : 0 4px;654 }655 656 #coverpage-element-box fieldset ul.module-list657 {658 height : 840px;659 overflow-y : scroll;660 position : relative;661 z-index : 100;662 }663 664 #coverpage-element-box fieldset ul.module-list li.coverpage-module665 {666 width : 247px;667 }668 669 #coverpage-element-box fieldset ul.module-list li.coverpage-module .edit-button-box,670 .coverpage-module .ajax-floating-panel .edit-button-box671 {672 margin-top : 0;673 }674 675 #coverpage-element-box .coverpage-module h4,676 .coverpage-module .ajax-floating-panel h4677 {678 background-image : url("./image/icon_sidebar_module.gif");679 }680 681 #coverpage-description682 {683 padding-top : 5px !important;684 }685 686 #independent-cover-line687 {688 margin: -40px 10px 0 0;689 }690 691 #independent-cover-line dt692 {693 display: none;694 }695 696 #independent-cover-line dd697 {698 color: #222;699 text-align : right;700 }701 702 427 /* Credit ****************************************************************************************/ 703 428 -
trunk/style/admin/whitedream/control.css
r5410 r5859 320 320 } 321 321 322 /* Server ****************************************************************************************/ 323 324 #part-setting-mailhost .button-box 325 { 326 border-top : 1px solid #DDDDDD; 327 margin : 10px 0 20px 0; 328 padding-top : 15px; 329 } 330 331 #part-setting-mailhost 332 { 333 margin-bottom: 30px; 334 } 335 322 336 /* System ****************************************************************************************/ 323 337 -
trunk/style/admin/whitedream/setting.css
r5501 r5859 215 215 { 216 216 margin : 0 auto; 217 }218 219 #part-setting-mailhost220 {221 margin-bottom: 30px;222 217 } 223 218 … … 877 872 #part-setting-resample .button-box, 878 873 #part-setting-language .button-box, 879 #part-setting-editor .button-box, 880 #part-setting-admin .button-box, 881 #part-setting-mailhost .button-box 874 #part-setting-editor .button-box 882 875 { 883 876 border-top : 1px solid #DDDDDD; -
trunk/style/admin/whitedream/skin.css
r5465 r5859 428 428 padding-bottom : 6px; 429 429 vertical-align : middle; 430 } 431 432 /* Coverpage ***************************************************************************************/ 433 434 #part-coverpage-order 435 { 436 background-image : url("./image/bg_sidebar.png"); 437 background-position : 309px 175px; 438 background-repeat : no-repeat; 439 } 440 441 442 443 #part-coverpage-order .pseudo-clear 444 { 445 clear : both; 446 font-family : 돋움, Dotum, sans-serif; 447 font-size : 0.9em; 448 letter-spacing : -1px; 449 padding-top : 15px; 450 text-align : right; 451 } 452 453 #part-coverpage-order .pseudo-clear a 454 { 455 font-weight : bold; 456 } 457 458 #part-coverpage-order .main-explain-box 459 { 460 margin-top : 13px; 461 } 462 463 #part-coverpage-order .main-explain-box .explain 464 { 465 margin-bottom : 15px; 466 } 467 468 #part-coverpage-order #direct-link-line 469 { 470 margin-bottom : 0px; 471 margin-top : 0px !important; 472 } 473 474 #coverpage-tabs-box 475 { 476 margin-bottom : 30px; 477 } 478 479 #coverpage-box 480 { 481 float : right; 482 height : 903px; 483 margin : 0 5px 0 30px; 484 overflow : auto; 485 position : relative; 486 width : 600px; 487 z-index : 100; 488 } 489 490 #coverpage-box .section 491 { 492 vertical-align : top; 493 width : 575px; 494 } 495 496 #coverpage-box .section h3 497 { 498 color : #FF6600; 499 font-size : 1em; 500 margin : 7px 0 0 10px; 501 } 502 503 #coverpage-box .section ul.coverpage 504 { 505 min-height : 400px; 506 } 507 508 #coverpage-box .section ul li.coverpage-module * 509 { 510 color : inherit; 511 font-size : 1em; 512 font-weight : inherit; 513 } 514 515 #coverpage-box-disabled 516 { 517 background-color : #FFFFFF; 518 border : 1px solid #DDDDDD; 519 height : 400px; 520 } 521 522 #coverpage-box-disabled p 523 { 524 margin-top : 190px; 525 text-align : center; 526 } 527 528 .coverpage-module, 529 .coverpage-module .ajax-floating-panel 530 { 531 background-color : #FFFFFF; 532 border : 1px solid #CCCCCC; 533 cursor : move; 534 font-size : 12px; 535 list-style-type : none; 536 margin : 2px 0px 2px 0; 537 max-height : 200px; 538 overflow : hidden; 539 position : relative; 540 text-align : left; 541 width : 575px; 542 z-index : 50; 543 } 544 545 .coverpage-module * 546 { 547 font-size : 1em; 548 } 549 550 .coverpage-module a, 551 .coverpage-module input-button 552 { 553 cursor : pointer; 554 } 555 556 .coverpage-module h4.module-title, 557 .coverpage-module .ajax-floating-panel h4.module-title 558 { 559 background-position : right center; 560 background-repeat : no-repeat; 561 border-bottom : 1px solid #CCCCCC; 562 font-weight : bold !important; 563 padding : 5px 5px 4px 5px; 564 } 565 566 .coverpage-module h4 .radio 567 { 568 display : none; 569 } 570 571 .coverpage-module .module-close 572 { 573 position : absolute; 574 top : 7px; 575 right : 0; 576 } 577 578 .coverpage-module .edit-button-box, 579 .coverpage-module .ajax-floating-panel .edit-button-box 580 { 581 text-align : center; 582 } 583 584 .coverpage-module .edit-button-box a, 585 .coverpage-module .ajax-floating-panel .edit-button-box a 586 { 587 border : 1px solid #DDDDDD; 588 display : block; 589 height : 1.5em; 590 line-height : 1.5em; 591 margin : 10px auto 0 auto !important; 592 padding-top : 3px;
