Esempio n. 1
0
function getPrettyAttachmentLabel($attachment)
{
    if (strpos($attachment['mime'], 'image') === 0) {
        return "{$attachment['label']} ({$attachment['width']}x{$attachment['height']} / " . Utils_Misc::getSizeHumanReadable($attachment['size']) . ')';
    } else {
        if (strpos($attachment['mime'], 'audio') !== 0 && strpos($attachment['mime'], 'video') !== 0) {
            if ($attachment['downloads'] > 0) {
                return "{$attachment['label']} (" . Utils_Misc::getSizeHumanReadable($attachment['size']) . ' / ' . _t('다운로드') . ':' . $attachment['downloads'] . ')';
            }
        }
    }
    return "{$attachment['label']} (" . Utils_Misc::getSizeHumanReadable($attachment['size']) . ')';
}
Esempio n. 2
0
echo _f('이 블로그에는 총 %1개의 글이 있습니다.', $numberOfEntries);
?>
</li>
                                    <li><?php 
echo _f('이 블로그에는 총 %1개의 걸린글(트랙백)이 있습니다.', $numberOfTrackbacks);
?>
</li>
                                    <li><?php 
echo _f('이 블로그에는 총 %1개의 댓글이 있습니다.', $numberOfComments);
?>
</li>
                                    <li><?php 
if (empty($attachmentSum)) {
    echo _t('이 블로그에는 첨부파일이 없습니다.');
} else {
    echo _f('이 블로그가 사용중인 첨부파일의 총 용량은 %1입니다.', Utils_Misc::getSizeHumanReadable($attachmentSum));
}
?>
</li>
                                </ul>
							</div>
								
							<div id="team-member-list" class="container">
								<h4><span class="text"><?php 
echo _t('팀블로그 멤버 목록');
?>
</span></h4>
								
								<table class="data-inbox">
									<thead>
										<tr>