Drupal
drupal
TRUNCATE TABLE wp_comments; TRUNCATE TABLE wp_links; TRUNCATE TABLE wp_postmeta; TRUNCATE TABLE wp_posts; TRUNCATE TABLE wp_term_relationships; TRUNCATE TABLE wp_term_taxonomy; TRUNCATE TABLE wp_terms; INSERT INTO wp_terms (term_id, `name`, slug, term_group) SELECT d.tid, d.name, REPLACE(LOWER(d.name), ' ', '-'), 0 FROM dp_term_data d INNER JOIN dp_term_hierarchy h USING(tid) ; INSERT INTO wp_term_taxonomy (term_taxonomy_id,term_id, taxonomy, description, parent) SELECT d.tid `term_id`, d.tid `term_id`, 'category' `taxonomy`, d.description `description`, h.pare
新建插件目录SyntaxHighlighter,创建文件SyntaxHighlighter.info
; $Id: SyntaxHighlighter.info,v 1.2 2008/02/23 03:53:10 quicksketch Exp $
name = SyntaxHighlighter
description = dp SyntaxHighlighter.
package = User interface
core = 6.x
; Information added by drupal.org packaging script on 2008-02-23
version = "6.x-1.6"
core = "6.x"
project = "SyntaxHighlighter"
datestamp = "1203739506"
SyntaxHighlighter.module
<?php
// $Id: SyntaxHighlighter.module,v 1.3 2008/01/28 00:33:21 quicksketch Exp $
/**
* Implementation of SyntaxHighlighter_init().
*/
function SyntaxHighlighter
Drupal theme by Kiwi Themes.