/**
     * @param FOLDER $obj
     * @access private
     */
    protected function _draw_box($obj)
    {
        $t = $obj->title_formatter();
        $t->max_visible_output_chars = 0;
        echo '<h3>' . $obj->title_as_link($t) . '</h3>';
        $entry_query = $obj->entry_query();
        $entry_query->set_filter(Visible);
        $size = $entry_query->size();
        if ($size) {
            $entry_query->set_limits(0, 10);
            /** @var ENTRY[] $entries */
            $entries = $entry_query->objects();
            $count = sizeof($entries);
            if ($count) {
                ?>
    <p>
      <?php 
                echo $size;
                ?>
 Articles
    </p>
    <ul class="detail">
  <?php 
                foreach ($entries as $entry) {
                    $t = $entry->title_formatter();
                    $f = $entry->time_created->formatter();
                    $f->type = Date_time_format_short_date;
                    $f->show_local_time = false;
                    $t->title = $entry->time_created->format($f);
                    ?>
      <li>
        <?php 
                    echo $entry->title_as_link($t);
                    ?>
      </li>
  <?php 
                }
                if ($size > 10) {
                    echo "<li>[<a href=\"view_folder.php?id={$obj->id}\">More</a>]</li>\n";
                }
                ?>
    </ul>
    <?php 
            }
        }
    }
 /**
  * Add a folder as the current location.
  * The folder itself is displayed as text, while its parents are listed to the left
  * of it as links.
  * @see add_folder_link()
  * @param FOLDER $folder
  */
 public function add_folder_text($folder)
 {
     $this->add_folder_link($folder->parent_folder());
     $t = $folder->title_formatter();
     $t->max_visible_output_chars = 0;
     $this->append($folder->title_as_html($t), '', $folder->icon_url);
 }