mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Add meta keywords and description to board and page modules
This commit is contained in:
parent
d87bbf635c
commit
98f0b0cd1c
6 changed files with 36 additions and 0 deletions
|
|
@ -31,6 +31,10 @@ class pageAdminController extends page
|
|||
unset($args->page_name);
|
||||
|
||||
if($args->use_mobile != 'Y') $args->use_mobile = '';
|
||||
$args->browser_title = trim(utf8_normalize_spaces($args->browser_title));
|
||||
$args->meta_keywords = $args->meta_keywords ? implode(', ', array_map('trim', explode(',', $args->meta_keywords))) : '';
|
||||
$args->meta_description = trim(utf8_normalize_spaces($args->meta_description));
|
||||
|
||||
// Check if an original module exists by using module_srl
|
||||
if($args->module_srl)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue