Skip to content

Commit

Permalink
refs #1300
Browse files Browse the repository at this point in the history
  * 디자인 관련 하드코드 일부 수정
  * 글이 저장될 때 버튼의 내용도 변경되도록 조정
  • Loading branch information
inureyes committed Feb 12, 2010
1 parent 8cbe15b commit cf167fd
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion framework/utils/Browser.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function __construct() {
public function getBrowserName() {
/// Blocking (is in development)
$ctx = Model_Context::getInstance();
if($ctx->getProperty('service.useMobileAdmin') != true) {
if($ctx->getProperty('service.usemobileadmin') != true) {
return 'unknown';
}
if(!is_null($this->browserName)) return $this->browserName;
Expand Down
9 changes: 6 additions & 3 deletions interface/owner/entry/edit/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,10 @@ function EntryManager() {
PM.removeRequest(this);
alert("<?php echo _t('저장하지 못했습니다');?>");
this.nowsaving = false;
document.getElementById("saveAndReturnButton").value = "<?php echo _t('저장 후 돌아가기');?>";

}
document.getElementById("saveAndReturnButton").value = "<?php echo _t('저장중...');?>";
PM.addRequest(request, "<?php echo _t('저장하고 있습니다.');?>");
request.send(data);
}
Expand All @@ -497,7 +500,7 @@ function EntryManager() {
if(document.getElementById('templateDialog').style.display != 'none') {
toggleTemplateDialog();
}
document.getElementById("saveButton").value = "<?php echo _t('저장하기');?>";
document.getElementById("saveButton").value = "<?php echo _t('중간 저장');?>";
document.getElementById("saveButton").style.color = "#000";
if (this.timer == null)
this.timer = window.setTimeout(entryManager.saveDraft, 5000);
Expand Down Expand Up @@ -894,7 +897,7 @@ function returnToList() {
<span class="hidden">|</span>
<input type="submit" id="saveButton" value="<?php echo _t('중간 저장');?>" class="save-button input-button" onclick="entryManager.save();return false;" />
<span class="hidden">|</span>
<input type="submit" value="<?php echo _t('저장 후 돌아가기');?>" class="save-and-return-button input-button" onclick="entryManager.saveAndReturn();return false;" />
<input type="submit" id="saveAndReturnButton" value="<?php echo _t('저장 후 돌아가기');?>" class="save-and-return-button input-button" onclick="entryManager.saveAndReturn();return false;" />
</div>
<?php
} else {
Expand All @@ -904,7 +907,7 @@ function returnToList() {
<span class="hidden">|</span>
<input type="submit" id="saveButton" value="<?php echo _t('중간 저장');?>" class="save-button input-button" onclick="entryManager.save();return false;" />
<span class="hidden">|</span>
<input type="submit" value="<?php echo _t('저장 후 돌아가기');?>" class="save-and-return-button input-button" onclick="entryManager.saveAndReturn();return false;" />
<input type="submit" id="saveAndReturnButton" value="<?php echo _t('저장 후 돌아가기');?>" class="save-and-return-button input-button" onclick="entryManager.saveAndReturn();return false;" />
<span class="hidden">|</span>
<input type="submit" value="<?php echo _t('목록으로');?>" class="list-button input-button" onclick="returnToList();return false;" />
</div>
Expand Down
2 changes: 1 addition & 1 deletion interface/owner/entry/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@ function closeWhatIsEolin() {
<span id="page-list">
<?php
$pagingTemplate = '[##_paging_rep_##]';
$pagingItemTemplate = '<a [##_paging_rep_link_##]>[[##_paging_rep_link_num_##]]</a>';
$pagingItemTemplate = '<a [##_paging_rep_link_##]>[##_paging_rep_link_num_##]</a>';
echo str_repeat("\t", 12).getPagingView($paging, $pagingTemplate, $pagingItemTemplate, false).CRLF;
?>
</span>
Expand Down
4 changes: 2 additions & 2 deletions resources/script/EAF4.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Standardizer.prototype.querySelector = function(selector) {
if (typeof(selector) != 'string')
return null;
return jQuery(selector)[0];
// NOTE: Possilbe side-effect:
// NOTE: Possible side-effect:
// If you pass a html string as selector, jQuery function will return a new extended DOM node.
}

Expand All @@ -115,7 +115,7 @@ Standardizer.prototype.querySelectorAll = function(selector) {
if (typeof(selector) != 'string')
return null;
return jQuery(selector);
// NOTE: Possilbe side-effect:
// NOTE: Possible side-effect:
// If you pass a html string as selector, jQuery function will return a new extended DOM node.
}

Expand Down
6 changes: 6 additions & 0 deletions skin/admin/canon/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ textarea
background-image : url("./image/bg_menu_round.png");
background-position : left center;
z-index : 220;
/* box-shadow : -2px 2px 5px #ccc;
-webkit-box-shadow : -2px 2px 5px #ccc;
-moz-box-shadow : -2px 2px 5px #ccc;*/
}

#main-action li
Expand Down Expand Up @@ -326,6 +329,9 @@ textarea
position : fixed;
top : 0;
z-index : 200;
box-shadow : 2px 2px 5px #ccc;
-webkit-box-shadow : 2px 2px 5px #ccc;
-moz-box-shadow : 2px 2px 5px #ccc;
}

#main-menu
Expand Down

0 comments on commit cf167fd

Please # to comment.