mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Enable PHP execution of external document if template parsing is enabled
This commit is contained in:
parent
09abdfa88a
commit
e8eece5730
2 changed files with 14 additions and 0 deletions
|
|
@ -30,6 +30,10 @@ class pageAdminController extends page
|
|||
$args->mpath = (!$args->mpath) ? '' : $args->mpath;
|
||||
$args->opage_proc_php = $args->opage_proc_php ?? 'N';
|
||||
$args->opage_proc_tpl = $args->opage_proc_tpl ?? 'N';
|
||||
if ($args->opage_proc_tpl === 'Y')
|
||||
{
|
||||
$args->opage_proc_php = 'Y';
|
||||
}
|
||||
unset($args->page_name);
|
||||
|
||||
if($args->use_mobile != 'Y') $args->use_mobile = '';
|
||||
|
|
|
|||
|
|
@ -121,4 +121,14 @@ function doCartSetup(url) {
|
|||
|
||||
jQuery(function($){
|
||||
$('#pageBtnArea').delay(1000).show(1);
|
||||
$('#opage_proc_php').on('change', function() {
|
||||
if (!$(this).prop('checked')) {
|
||||
$('#opage_proc_tpl').prop('checked', false);
|
||||
}
|
||||
});
|
||||
$('#opage_proc_tpl').on('change', function() {
|
||||
if ($(this).prop('checked')) {
|
||||
$('#opage_proc_php').prop('checked', true);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue