更正和其他补充(视频)

无须猫 的头像
10条评论发表评论
  1. 此一节视频中更正了之前一节中的两个较大的错误说法;
  2. 修改了album这个view的一些配置,并用views添加了一个新的页面“内容管理”(详见: htt://lisa.xdrupal.org/myContent ,需要登录);
  3. 以及补充介绍了captcha模块的使用。
  4. album页面的views代码

    $view = new view;
    $view->name = 'album';
    $view->description = '';
    $view->tag = '';
    $view->view_php = '';
    $view->base_table = 'node';
    $view->is_cacheable = FALSE;
    $view->api_version = 2;
    $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
    $handler = $view->new_display('default', 'Defaults', 'default');
    $handler->override_option('fields', array(
      'field_photos_fid' => array(
        'label' => '',
        'alter' => array(
          'alter_text' => 0,
          'text' => '',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 0,
          'max_length' => '',
          'word_boundary' => 1,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'link_to_node' => 0,
        'label_type' => 'none',
        'format' => '300-190_SC_linked',
        'multiple' => array(
          'group' => 1,
          'multiple_number' => '1',
          'multiple_from' => '0',
          'multiple_reversed' => 0,
        ),
        'exclude' => 1,
        'id' => 'field_photos_fid',
        'table' => 'node_data_field_photos',
        'field' => 'field_photos_fid',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'title' => array(
        'label' => '',
        'alter' => array(
          'alter_text' => 0,
          'text' => '',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 1,
          'max_length' => '30',
          'word_boundary' => 0,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'link_to_node' => 1,
        'exclude' => 1,
        'id' => 'title',
        'table' => 'node',
        'field' => 'title',
        'relationship' => 'none',
      ),
      'comments_link' => array(
        'label' => '',
        'alter' => array(
          'alter_text' => 0,
          'text' => '',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 0,
          'max_length' => '',
          'word_boundary' => 1,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'teaser' => 1,
        'exclude' => 1,
        'id' => 'comments_link',
        'table' => 'node',
        'field' => 'comments_link',
        'relationship' => 'none',
        'override' => array(
          'button' => 'Override',
        ),
      ),
      'tid' => array(
        'label' => '',
        'alter' => array(
          'alter_text' => 0,
          'text' => '',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 0,
          'max_length' => '',
          'word_boundary' => 1,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'type' => 'separator',
        'separator' => '|',
        'link_to_taxonomy' => 1,
        'limit' => 0,
        'vids' => array(
          '2' => 0,
          '1' => 0,
        ),
        'exclude' => 1,
        'id' => 'tid',
        'table' => 'term_node',
        'field' => 'tid',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'field_photos_data' => array(
        'label' => '',
        'alter' => array(
          'alter_text' => 0,
          'text' => '[field_photos_data]@',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 1,
          'max_length' => '20',
          'word_boundary' => 0,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'link_to_node' => 0,
        'data_key' => 'title',
        'exclude' => 1,
        'id' => 'field_photos_data',
        'table' => 'node_data_field_photos',
        'field' => 'field_photos_data',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'comment_count' => array(
        'label' => '',
        'alter' => array(
          'alter_text' => 0,
          'text' => '',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 0,
          'max_length' => '',
          'word_boundary' => 1,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'set_precision' => FALSE,
        'precision' => 0,
        'decimal' => '.',
        'separator' => ',',
        'prefix' => '',
        'suffix' => '',
        'exclude' => 1,
        'id' => 'comment_count',
        'table' => 'node_comment_statistics',
        'field' => 'comment_count',
        'relationship' => 'none',
      ),
      'totalcount' => array(
        'label' => '',
        'alter' => array(
          'alter_text' => 1,
          'text' => '<div class="list albumList">
    [field_photos_fid]
    <div class="hide">
    <h2 class="albumtitle"><em>[field_photos_data]@</em>[title]</h2>
    <p class="count">[totalcount]</p>[comments_link]
    <p class="tid">[tid]</p>
    </div>
    </div>',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 0,
          'max_length' => '',
          'word_boundary' => 1,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'set_precision' => FALSE,
        'precision' => 0,
        'decimal' => '.',
        'separator' => ',',
        'prefix' => '',
        'suffix' => '',
        'exclude' => 0,
        'id' => 'totalcount',
        'table' => 'node_counter',
        'field' => 'totalcount',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
    ));
    $handler->override_option('sorts', array(
      'created' => array(
        'order' => 'DESC',
        'granularity' => 'second',
        'id' => 'created',
        'table' => 'node',
        'field' => 'created',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
    ));
    $handler->override_option('filters', array(
      'status' => array(
        'operator' => '=',
        'value' => '1',
        'group' => '0',
        'exposed' => FALSE,
        'expose' => array(
          'operator' => FALSE,
          'label' => '',
        ),
        'id' => 'status',
        'table' => 'node',
        'field' => 'status',
        'relationship' => 'none',
      ),
      'type' => array(
        'operator' => 'in',
        'value' => array(
          'album' => 'album',
        ),
        'group' => '0',
        'exposed' => FALSE,
        'expose' => array(
          'operator' => FALSE,
          'label' => '',
        ),
        'id' => 'type',
        'table' => 'node',
        'field' => 'type',
        'relationship' => 'none',
      ),
      'delta' => array(
        'operator' => '=',
        'value' => array(
          'value' => '0',
          'min' => '',
          'max' => '',
        ),
        'group' => '0',
        'exposed' => FALSE,
        'expose' => array(
          'operator' => FALSE,
          'label' => '',
        ),
        'id' => 'delta',
        'table' => 'node_data_field_photos',
        'field' => 'delta',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'tid' => array(
        'operator' => 'or',
        'value' => array(),
        'group' => '0',
        'exposed' => TRUE,
        'expose' => array(
          'use_operator' => 0,
          'operator' => 'tid_op',
          'identifier' => 'tid',
          'label' => '请选择相册分类',
          'optional' => 1,
          'single' => 1,
          'remember' => 0,
          'reduce' => 0,
        ),
        'type' => 'select',
        'limit' => TRUE,
        'vid' => '2',
        'id' => 'tid',
        'table' => 'term_node',
        'field' => 'tid',
        'hierarchy' => 0,
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
        'reduce_duplicates' => 0,
      ),
    ));
    $handler->override_option('access', array(
      'type' => 'none',
    ));
    $handler->override_option('cache', array(
      'type' => 'none',
    ));
    $handler->override_option('title', '相册');
    $handler->override_option('use_pager', '1');
    $handler->override_option('distinct', 0);
    $handler->override_option('row_options', array(
      'inline' => array(),
      'separator' => '',
      'hide_empty' => 0,
    ));
    $handler = $view->new_display('page', '相册列表', 'page_1');
    $handler->override_option('path', 'album');
    $handler->override_option('menu', array(
      'type' => 'normal',
      'title' => '相册',
      'description' => '我的相册',
      'weight' => '3',
      'name' => 'primary-links',
    ));
    $handler->override_option('tab_options', array(
      'type' => 'none',
      'title' => '',
      'description' => '',
      'weight' => 0,
    ));

    myContent页面的views代码

    $view = new view;
    $view->name = 'contentadmin';
    $view->description = '';
    $view->tag = '';
    $view->view_php = '';
    $view->base_table = 'node';
    $view->is_cacheable = FALSE;
    $view->api_version = 2;
    $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
    $handler = $view->new_display('default', 'Defaults', 'default');
    $handler->override_option('fields', array(
      'field_photos_fid' => array(
        'label' => '相册封面',
        'alter' => array(
          'alter_text' => 0,
          'text' => '',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 0,
          'max_length' => '',
          'word_boundary' => 1,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '<del>相册</del>',
        'hide_empty' => 1,
        'empty_zero' => 0,
        'link_to_node' => 0,
        'label_type' => 'custom',
        'format' => '40-40_SC_linked',
        'multiple' => array(
          'group' => 1,
          'multiple_number' => '1',
          'multiple_from' => '0',
          'multiple_reversed' => 0,
        ),
        'exclude' => 0,
        'id' => 'field_photos_fid',
        'table' => 'node_data_field_photos',
        'field' => 'field_photos_fid',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'type' => array(
        'label' => '内容类型',
        'alter' => array(
          'alter_text' => 0,
          'text' => '',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 0,
          'max_length' => '',
          'word_boundary' => 1,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'link_to_node' => 0,
        'exclude' => 0,
        'id' => 'type',
        'table' => 'node',
        'field' => 'type',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'title' => array(
        'label' => '标题',
        'alter' => array(
          'alter_text' => 0,
          'text' => '[title]<div class="body">[body]</div>',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 0,
          'max_length' => '',
          'word_boundary' => 1,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'link_to_node' => 1,
        'exclude' => 0,
        'id' => 'title',
        'table' => 'node',
        'field' => 'title',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'created' => array(
        'label' => '创建时间',
        'alter' => array(
          'alter_text' => 0,
          'text' => '',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 0,
          'max_length' => '',
          'word_boundary' => 1,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'date_format' => 'custom',
        'custom_date_format' => 'Y-n-d',
        'exclude' => 0,
        'id' => 'created',
        'table' => 'node',
        'field' => 'created',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'changed' => array(
        'label' => '更新时间',
        'alter' => array(
          'alter_text' => 0,
          'text' => '',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 0,
          'max_length' => '',
          'word_boundary' => 1,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'date_format' => 'custom',
        'custom_date_format' => 'Y-n-d',
        'exclude' => 0,
        'id' => 'changed',
        'table' => 'node',
        'field' => 'changed',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'edit_node' => array(
        'label' => '编辑',
        'alter' => array(
          'alter_text' => 0,
          'text' => '',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 0,
          'max_length' => '',
          'word_boundary' => 1,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'text' => '编辑',
        'exclude' => 0,
        'id' => 'edit_node',
        'table' => 'node',
        'field' => 'edit_node',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'sticky' => array(
        'label' => '置顶',
        'alter' => array(
          'alter_text' => 0,
          'text' => '',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 0,
          'max_length' => '',
          'word_boundary' => 1,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'type' => 'yes-no',
        'not' => 0,
        'exclude' => 0,
        'id' => 'sticky',
        'table' => 'node',
        'field' => 'sticky',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'status' => array(
        'label' => '已发表',
        'alter' => array(
          'alter_text' => 0,
          'text' => '',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 0,
          'max_length' => '',
          'word_boundary' => 1,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'type' => 'yes-no',
        'not' => 0,
        'exclude' => 0,
        'id' => 'status',
        'table' => 'node',
        'field' => 'status',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'delete_node' => array(
        'label' => '删除',
        'alter' => array(
          'alter_text' => 0,
          'text' => '',
          'make_link' => 0,
          'path' => '',
          'link_class' => '',
          'alt' => '',
          'prefix' => '',
          'suffix' => '',
          'target' => '',
          'help' => '',
          'trim' => 0,
          'max_length' => '',
          'word_boundary' => 1,
          'ellipsis' => 1,
          'strip_tags' => 0,
          'html' => 0,
        ),
        'empty' => '',
        'hide_empty' => 0,
        'empty_zero' => 0,
        'text' => '删除',
        'exclude' => 0,
        'id' => 'delete_node',
        'table' => 'node',
        'field' => 'delete_node',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
    ));
    $handler->override_option('sorts', array(
      'timestamp' => array(
        'order' => 'DESC',
        'granularity' => 'second',
        'id' => 'timestamp',
        'table' => 'node_revisions',
        'field' => 'timestamp',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'created' => array(
        'order' => 'DESC',
        'granularity' => 'second',
        'id' => 'created',
        'table' => 'node',
        'field' => 'created',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'sticky' => array(
        'order' => 'ASC',
        'id' => 'sticky',
        'table' => 'node',
        'field' => 'sticky',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'changed' => array(
        'order' => 'DESC',
        'granularity' => 'second',
        'id' => 'changed',
        'table' => 'node',
        'field' => 'changed',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
    ));
    $handler->override_option('filters', array(
      'type' => array(
        'operator' => 'in',
        'value' => array(),
        'group' => '0',
        'exposed' => TRUE,
        'expose' => array(
          'use_operator' => 0,
          'operator' => 'type_op',
          'identifier' => 'type',
          'label' => '内容类型',
          'optional' => 1,
          'single' => 1,
          'remember' => 0,
          'reduce' => 0,
        ),
        'id' => 'type',
        'table' => 'node',
        'field' => 'type',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
      'status' => array(
        'operator' => '=',
        'value' => 'All',
        'group' => '0',
        'exposed' => TRUE,
        'expose' => array(
          'operator' => '',
          'identifier' => 'status',
          'label' => '发表状态',
          'optional' => 1,
          'remember' => 0,
        ),
        'id' => 'status',
        'table' => 'node',
        'field' => 'status',
        'override' => array(
          'button' => 'Override',
        ),
        'relationship' => 'none',
      ),
    ));
    $handler->override_option('access', array(
      'type' => 'role',
      'role' => array(
        '3' => 3,
      ),
    ));
    $handler->override_option('cache', array(
      'type' => 'none',
    ));
    $handler->override_option('title', '内容管理');
    $handler->override_option('items_per_page', 25);
    $handler->override_option('use_pager', '1');
    $handler->override_option('style_plugin', 'table');
    $handler->override_option('style_options', array(
      'grouping' => '',
      'override' => 1,
      'sticky' => 1,
      'order' => 'desc',
      'columns' => array(
        'field_photos_fid' => 'field_photos_fid',
        'type' => 'type',
        'title' => 'title',
        'edit_node' => 'edit_node',
        'delete_node' => 'delete_node',
        'created' => 'created',
        'changed' => 'changed',
      ),
      'info' => array(
        'field_photos_fid' => array(
          'separator' => '',
        ),
        'type' => array(
          'sortable' => 0,
          'separator' => '',
        ),
        'title' => array(
          'sortable' => 1,
          'separator' => '',
        ),
        'edit_node' => array(
          'separator' => '',
        ),
        'delete_node' => array(
          'separator' => '',
        ),
        'created' => array(
          'sortable' => 1,
          'separator' => '',
        ),
        'changed' => array(
          'sortable' => 1,
          'separator' => '',
        ),
      ),
      'default' => 'changed',
    ));
    $handler = $view->new_display('page', '内容管理列表页', 'page_1');
    $handler->override_option('header', '可根据“内容类型”和“发表状态”过滤内容列表,点击表格头部非灰色文字可用其排序。<a href="/admin/content/node">批量管理内容请点击此处!</a>');
    $handler->override_option('header_format', '1');
    $handler->override_option('header_empty', 1);
    $handler->override_option('empty', '暂无任何内容,现在<a href="/node/add">添加内容</a>!');
    $handler->override_option('empty_format', '1');
    $handler->override_option('path', 'myContent');
    $handler->override_option('menu', array(
      'type' => 'none',
      'title' => '',
      'description' => '',
      'weight' => 0,
      'name' => 'navigation',
    ));
    $handler->override_option('tab_options', array(
      'type' => 'none',
      'title' => '',
      'description' => '',
      'weight' => 0,
    ));

游客 的头像

建设猫兄: 开个论坛方便交流,仅仅通过评论方式太累。

建设猫兄:

开个论坛方便交流,仅仅通过评论方式太累。

有没有twitter呀,也留一个。

常用哪个即时/半即时联系方式呀:QQ、GTalk、QQtblog、MSN、Twitter等,但愿不是Email。

无须猫 的头像

过阵子会改版,到时可能会整合phpbb.:) twit

过阵子会改版,到时可能会整合phpbb.:)

twitter有,不过众所周知的原因,我也很少用,腾讯微博的帐号在页脚有。

我有加入这两个qq群,欢迎来和大家一起交流:37016666 和 4362258

游客 的头像

lisa.xdrupal.org站点不可用。

lisa.xdrupal.org站点不可用。

无须猫 的头像

因为源码包已发布,demo站就移除了。 详情请看:

因为源码包已发布,demo站就移除了。

详情请看: http://xdrupal.org/DLD/Demo-Site

游客 的头像

我在导入ALBUM时出现

过滤器handler node_data_field_photos.delta is not available.
过滤器handler node_data_field_photos.delta is not available.
unable to import view.

无须猫 的头像

photos字段的设置?没有设为多个值吧?这样的话不会有那

photos字段的设置?没有设为多个值吧?这样的话不会有那个field的~

游客 的头像

按您说问题解决了,但是又出来Unable to interpret view code

按您说问题解决了,但是又出来Unable to interpret view code
view已经删了啊!

无须猫 的头像

view的名称留空呢?

view的名称留空呢?

游客 的头像

Unable to interpret view

Unable to interpret view code.

无须猫 的头像

之前有view的话先删掉; View

  • 之前有view的话先删掉;
  • View name留空不要填写。

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许HTML标签:<a> <p> <span> <div> <h1> <h2> <h3> <h4> <blockcode> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <embed> <object> <param> <strike> <caption>
  • 自动断行和分段。
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <as>, <as3>, <asp>, <css>, <drupal5>, <drupal6>, <html>, <js>, <php>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

更多关於格式化选项的信息

CAPTCHA
请输入问题的答案。
Fill in the blank