📄 blogtemplatechooserview.class.php
字号:
<?php
lt_include( PLOG_CLASS_PATH."class/summary/view/summaryview.class.php" );
lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
/**
* shows the final view of the registration process where users get to choose
* a template set for their blog
*/
class BlogTemplateChooserView extends SummaryView
{
function BlogTemplateChooserView()
{
$this->SummaryView( "registerstep3" );
}
function render()
{
// get a list with all the templates so that users can choose
$sets = new TemplateSets();
$templates = $sets->getGlobalTemplateSets();
$this->setValue( "templates", $templates );
// and render the rest of the contents of the view
parent::render();
}
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -