Skip to content

Commit

Permalink
refs #1604 : buttons on comment view fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
inureyes committed Feb 24, 2012
1 parent 5075c73 commit 44616a4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
1 change: 1 addition & 0 deletions interface/i/trackback/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
?>
</div>
<?php
printMobileHTMLFooter();
}
?>
6 changes: 4 additions & 2 deletions library/view/iphoneView.php
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ function printMobileCommentView($entryId, $page = null, $mode = null) {
<?php echo Timestamp::format5($commentItem['written']);?>
</p>
<p class="right">
<div data-role="controlgroup">
<div class="comment_button" data-role="controlgroup" data-type="horizontal">
<a href="<?php echo $blogURL;?>/comment/comment/<?php echo $commentItem['id'];?>" data-role="button" data-icon="plus" data-iconpos="notext"><?php echo ($entryId == 0 ? _text('방명록에 댓글 달기') : _text('댓글에 댓글 달기'));?></a>
<a href="<?php echo $blogURL;?>/comment/delete/<?php echo $commentItem['id'];?>" data-role="button" data-icon="delete" data-iconpos="notext"><?php echo _text('지우기');?></a>
</div>
Expand All @@ -527,7 +527,9 @@ function printMobileCommentView($entryId, $page = null, $mode = null) {
<?php echo Timestamp::format5($commentSubItem['written']);?>
</p>
<p class="right">
<a href="<?php echo $blogURL;?>/comment/delete/<?php echo $commentSubItem['id'];?>" data-role="button" data-icon="delete" data-inline="true" data-iconpos="notext"><?php echo _text('지우기');?></a><br />
<div class="comment_button" data-role="controlgroup" data-type="horizontal">
<a href="<?php echo $blogURL;?>/comment/delete/<?php echo $commentSubItem['id'];?>" data-role="button" data-icon="delete" data-inline="true" data-iconpos="notext"><?php echo _text('지우기');?></a>
</div>
</p>
<p class="body">
<?php echo ($commentSubItem['secret'] && doesHaveOwnership() ? '<div class="hiddenComment" style="font-weight: bold; color: #e11">'._t('Secret Comment').' &gt;&gt;</div>' : '').nl2br(addLinkSense(htmlspecialchars($commentSubItem['comment'])));?>
Expand Down
16 changes: 16 additions & 0 deletions resources/style/iphone/iphone.css
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
@charset "utf-8";

.comment {
}

.comment p.ui-li-aside {
margin-right:50px;
}

.comment p.body {
margin-top:25px;
}
.comment_button {
position:absolute;
top:0;
right:5px;
}

0 comments on commit 44616a4

Please sign in to comment.