Php LimeSurvey-选择要显示的pstpl

Php LimeSurvey-选择要显示的pstpl,php,limesurvey,Php,Limesurvey,我不知道在哪里可以找到函数,或者负责选择“欢迎页面”上显示哪个pstpl的对象 在admin/templates.php中,我发现变量定义了pstpl,在管理面板的主题编辑器中可见。但这就是我所发现的一切。你知道的welcom.pstpl显示了使用grep查找位置 $ grep -r 'welcome.pstpl' * application/controllers/admin/templates.php: 'welcome.pstpl', application/cont

我不知道在哪里可以找到函数,或者负责选择“欢迎页面”上显示哪个pstpl的对象


在admin/templates.php中,我发现变量定义了pstpl,在管理面板的主题编辑器中可见。但这就是我所发现的一切。

你知道的welcom.pstpl显示了使用grep查找位置

$ grep -r 'welcome.pstpl' *
application/controllers/admin/templates.php:            'welcome.pstpl',
application/controllers/admin/templates.php:            'welcome.pstpl',
application/helpers/frontend_helper.php:    echo templatereplace(file_get_contents($sTemplateViewPath."welcome.pstpl"),array(),$redata,'frontend_helper[2762]')."\n";
application/helpers/SurveyRuntimeHelper.php:                echo templatereplace(file_get_contents($sTemplateViewPath."welcome.pstpl"), array(), $redata) . "\n";
application/config/internal.php:            'excludeFiles' => array("config.xml", "assessment.pstpl", "clearall.pstpl",  "completed.pstpl",  "endgroup.pstpl",  "endpage.pstpl",  "groupdescription.pstpl",  "load.pstpl",  "navigator.pstpl",  "printanswers.pstpl",  "print_group.pstpl",  "print_question.pstpl",  "print_survey.pstpl",  "privacy.pstpl",  "question.pstpl",  "register.pstpl",  "save.pstpl",  "startgroup.pstpl",  "startpage.pstpl",  "surveylist.pstpl",  "survey.pstpl",  "welcome.pstpl" ),
然后:在application/helpers/SurveyRuntimeHelper.php和application/helpers/frontend_helper.php中查看公共视图

下次:你不需要问,但使用grep:)