echo '">' . $val['name'] . '</a>' . ($key < $length - 1 ? ', ' : ''); ?> <?php } ?> </td> <td> <?php if ($posts->hasSaved) { ?> <span class="description"> <?php $modifyDate = new Typecho_Date($posts->modified); ?> <?php _e('保存于 %s', $modifyDate->word()); ?> </span> <?php } else { ?> <?php $posts->dateWord(); ?> <?php } ?> </td> </tr> <?php }
<td><?php echo $post['author']; ?> </td> <td><?php $categories = unserialize($post['category']); while ($category->next()) { if (in_array($category->mid, $categories)) { $category->name(); } } ?> </td> <td><?php $date = new Typecho_Date($post['created']); _e($date->word()); ?> </td> </tr> <?php } ?> <?php } else { ?> <tr> <td colspan="6"><h6 class="typecho-list-table-title"><?php _e('没有任何稿件'); ?> </h6></td> </tr>
</div> <?php if ($page->have()) { ?> <?php $modified = new Typecho_Date($page->modified); ?> <section class="typecho-post-option"> <p class="description"> <br>—<br> <?php _e('本页面由 <a href="%s">%s</a> 创建', Typecho_Common::url('manage-pages.php?uid=' . $page->author->uid, $options->adminUrl), $page->author->screenName); ?> <br> <?php _e('最后更新于 %s', $modified->word()); ?> </p> </section> <?php } ?> </div><!-- end #tab-advance --> <div id="tab-files" class="tab-content hidden"> <?php include 'file-upload.php'; ?> </div><!-- end #tab-files --> </div> </form>
<?php Typecho_Plugin::factory('admin/write-page.php')->option($page); ?> <?php if ($page->have()) { ?> <?php $modified = new Typecho_Date($page->modified); ?> <li> <label class="typecho-label"><?php _e('本页面由 %s 创建', $page->author->screenName); ?> </label> <p class="description"><?php _e('最后修改于 %s', $modified->word()); ?> </p> </li> <?php } ?> </ul> </div> </form> </div> </div> </div> <?php include 'copyright.php';