1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 04:12:00 +02:00

Issue #4783 Added new field for meta-news-title. New prefs added for SEO Title and Description character limits.

This commit is contained in:
Cameron
2022-06-06 17:28:23 -07:00
parent fb529a536d
commit 94bf1efda2
13 changed files with 150 additions and 40 deletions

View File

@@ -305,6 +305,7 @@ CREATE TABLE news (
news_sef varchar(200) NOT NULL default '',
news_body longtext NOT NULL,
news_extended longtext NOT NULL,
news_meta_title varchar(255) NOT NULL default '',
news_meta_keywords varchar(255) NOT NULL default '',
news_meta_description text NOT NULL,
news_meta_robots varchar(255) default '',

View File

@@ -11,15 +11,8 @@
*/
if (!defined('e107_INIT')) { exit; }
if(!defined('USER_AREA'))
{
//overload is now possible, prevent warnings
define('USER_AREA',TRUE);
}
if(!defined('ADMIN_AREA'))
{
define('ADMIN_AREA', false);
}
if(!defined('USER_AREA')) { define('USER_AREA',TRUE); }
if(!defined('ADMIN_AREA')) { define('ADMIN_AREA', false); }
e107::getDebug()->logTime('(Header Top)');