wpmu插件介绍- Total Upload Space Remaining
Total Upload Space Remaining这个插件可以在WPMU的管理后台看到整个上传空间的剩余容量。
使用方法:
1. 下载解压缩后将space.php上传到 wp-content/mu-plugins文件夹中,
2. 将space.gif 和totalspace.gif 上传到 wp-admin/images 文件夹中,
3. 修改wp-admin/index.php文件,在合适的地方调用space_used();这个函数
我是这样改的:
<p><?php printf(__('There are currently %1$s <a href="%2$s" title="Posts">posts</a> and %3$s <a href="%4$s" title="Comments">comments</a>, contained within %5$s <a href="%6$s" title="categories">categories</a>.'), $numposts, 'edit.php', $numcomms, 'edit-comments.php', $numcats, 'categories.php'); ?></p>
</div>
<div>
<h3><?php _e('上传空间'); ?></h3>
<?php if (function_exists('space_used')) { space_used(); } ?>
</div>
<?php do_action('activity_box_end'); ?>
</div>
</div>
<div>
<h3><?php _e('上传空间'); ?></h3>
<?php if (function_exists('space_used')) { space_used(); } ?>
</div>
<?php do_action('activity_box_end'); ?>
</div>
不过我装了以后,似乎跟日志的编辑器有点冲突,导致编辑器不正常。。。
Popularity: 38% [?]
Tags: plugins, wpmuRelated posts



