$page = new stdClass; $page->disabled = FALSE; /* Edit this to true to make a default page disabled initially */ $page->api_version = 1; $page->name = 'about_us'; $page->task = 'page'; $page->admin_title = '关于我们'; $page->admin_description = ''; $page->path = 'aboutus'; $page->access = array(); $page->menu = array(); $page->arguments = array(); $page->conf = array(); $page->default_handlers = array(); $handler = new stdClass; $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */ $handler->api_version = 1; $handler->name = 'page_about_us_panel_context'; $handler->task = 'page'; $handler->subtask = 'about_us'; $handler->handler = 'panel_context'; $handler->weight = 0; $handler->conf = array( 'title' => '关于我们', 'no_blocks' => 0, 'pipeline' => 'standard', 'css_id' => '', 'css' => '', 'contexts' => array(), 'relationships' => array(), ); $display = new panels_display; $display->layout = 'threecol_25_50_25'; $display->layout_settings = array(); $display->panel_settings = array( 'style_settings' => array( 'default' => NULL, 'left' => NULL, 'middle' => NULL, 'right' => NULL, ), ); $display->cache = array(); $display->title = '关于我们'; $display->content = array(); $display->panels = array(); $pane = new stdClass; $pane->pid = 'new-1'; $pane->panel = 'left'; $pane->type = 'custom'; $pane->subtype = 'custom'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'admin_title' => '员工信息1', 'title' => '员工1', 'body' => '

员工1的相关信息

', 'format' => '3', 'substitute' => TRUE, ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array( 'css_id' => '', 'css_class' => 'test-pane', ); $pane->extras = array(); $pane->position = 0; $display->content['new-1'] = $pane; $display->panels['left'][0] = 'new-1'; $pane = new stdClass; $pane->pid = 'new-2'; $pane->panel = 'left'; $pane->type = 'custom'; $pane->subtype = 'custom'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'admin_title' => '员工信息2', 'title' => '员工2', 'body' => '

员工2的相关信息

', 'format' => '3', 'substitute' => TRUE, ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array( 'css_id' => '', 'css_class' => 'test-pane', ); $pane->extras = array(); $pane->position = 1; $display->content['new-2'] = $pane; $display->panels['left'][1] = 'new-2'; $pane = new stdClass; $pane->pid = 'new-3'; $pane->panel = 'middle'; $pane->type = 'custom'; $pane->subtype = 'custom'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'admin_title' => '关于我们', 'title' => '关于我们', 'body' => '

关于我们的信息

', 'format' => '3', 'substitute' => TRUE, ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array( 'css_id' => '', 'css_class' => 'test-pane', ); $pane->extras = array(); $pane->position = 0; $display->content['new-3'] = $pane; $display->panels['middle'][0] = 'new-3'; $pane = new stdClass; $pane->pid = 'new-4'; $pane->panel = 'right'; $pane->type = 'custom'; $pane->subtype = 'custom'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'admin_title' => '链接', 'title' => '链接', 'body' => '

本教程来自 lugir.com :D

', 'format' => '3', 'substitute' => TRUE, ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-4'] = $pane; $display->panels['right'][0] = 'new-4'; $pane = new stdClass; $pane->pid = 'new-5'; $pane->panel = 'right'; $pane->type = 'custom'; $pane->subtype = 'custom'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'admin_title' => '联系信息', 'title' => '联系信息', 'body' => '

联系信息

', 'format' => '3', 'substitute' => TRUE, ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 1; $display->content['new-5'] = $pane; $display->panels['right'][1] = 'new-5'; $display->hide_title = PANELS_TITLE_FIXED; $display->title_pane = 'new-1'; $handler->conf['display'] = $display; $page->default_handlers[$handler->name] = $handler;