将撰写页的附件上传移动到侧栏
移除 jQuery ui 里的 tabs
This commit is contained in:
@@ -18,9 +18,12 @@ if (isset($post) || isset($page)) {
|
||||
<?php while ($attachment->next()): ?>
|
||||
<li data-cid="<?php $attachment->cid(); ?>" data-url="<?php echo $attachment->attachment->url; ?>" data-image="<?php echo $attachment->attachment->isImage ? 1 : 0; ?>"><input type="hidden" name="attachment[]" value="<?php $attachment->cid(); ?>" />
|
||||
<a class="insert" title="<?php _e('点击插入文件'); ?>" href="###"><?php $attachment->title(); ?></a>
|
||||
<?php echo number_format(ceil($attachment->attachment->size / 1024)); ?> Kb
|
||||
<a class="file" target="_blank" href="<?php $options->adminUrl('media.php?cid=' . $attachment->cid); ?>" title="<?php _e('编辑'); ?>"><i class="i-edit"></i></a>
|
||||
<a href="###" class="delete" title="<?php _e('删除'); ?>"><i class="i-delete"></i></a></li>
|
||||
<div class="info">
|
||||
<?php echo number_format(ceil($attachment->attachment->size / 1024)); ?> Kb
|
||||
<a class="file" target="_blank" href="<?php $options->adminUrl('media.php?cid=' . $attachment->cid); ?>" title="<?php _e('编辑'); ?>"><i class="i-edit"></i></a>
|
||||
<a href="###" class="delete" title="<?php _e('删除'); ?>"><i class="i-delete"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
<?php endwhile; ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user