Add option to control whether to execute external page as PHP and/or Rhymix template

This commit is contained in:
Kijin Sung 2022-03-15 21:14:55 +09:00
parent af2c0bae95
commit 9edd52c328
4 changed files with 28 additions and 4 deletions

View file

@ -15,10 +15,14 @@ $lang->page_type_name['ARTICLE'] = 'Article Page';
$lang->page_type_name['WIDGET'] = 'Widget Page';
$lang->page_type_name['OUTSIDE'] = 'External Page';
$lang->about_page_type = 'Select Page Type to build a page. <ol><li>Widget: Create multiple widgets.</li><li>Article: Create articles with titles, contents and tags for posting page. </li><li>External Page: Use external HTML or PHP files in Rhymix.</li></ol>';
$lang->opage_path = 'Location of External Document';
$lang->opage_path = 'Location of External Document for PC';
$lang->about_opage = 'This module enables to use external html or php files in Rhymix. It allows absolute or relative path, and if the url starts with \'http://\' , it can display the external page of the server.';
$lang->about_opage_path = 'Please enter the location of external document. Both absolute path such as \'/path1/path2/sample.php\' or relative path such as \'../path2/sample.php\' can be used. If you input the path like \'http://url/sample.php\', the result will be received and then displayed. This is current Rhymix\'s absolute path. ';
$lang->opage_mobile_path = 'Location of External Document for Mobile View';
$lang->opage_mobile_path = 'Location of External Document for Mobile';
$lang->about_opage_mobile_path = 'Please enter the location of external document for mobile view. If not inputted, it uses the external document specified above. Both absolute path such as \'/path1/path2/sample.php\' or relative path such as \'../path2/sample.php\' can be used. If you input the path like \'http://url/sample.php\', the result will be received and then displayed. This is current Rhymix\'s absolute path. ';
$lang->opage_postprocessing = 'Postprocessing';
$lang->about_opage_postprocessing = 'Parse and execute the external document as a PHP script and/or Rhymix template. This does not apply to URL paths.<br />Beware that executing untrusted sources can lead to security problems.';
$lang->opage_proc_php = 'Execute PHP code';
$lang->opage_proc_tpl = 'Parse as Rhymix template';
$lang->page_management = 'Manage of page';
$lang->page_delete_warning = 'If you delete a page, the files of the page will be removed also.';