1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-11 13:04:28 +02:00

- Custom Pages front-end almost completely rewritten, backend fixes, SEF URL support, introducing page batch shortcodes and templates (available per page), compatibility stylesheet added (core css and jayya theme), tagwords plugin links proper to new pages URLs;

- Large number of system stability fixes and obsolete code replacement
This commit is contained in:
secretr
2011-12-07 21:07:21 +00:00
parent 3b63b407bb
commit 97b577db43
25 changed files with 965 additions and 298 deletions

View File

@@ -1,25 +0,0 @@
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system
|
| Copyright (c) e107 Inc. 2008-2009
| http://e107.org
|
| Released under the terms and conditions of the
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/page/templates/page_template.php,v $
| $Revision$
| $Date$
| $Author$
+----------------------------------------------------------------------------+
*/
$PAGE_TEMPLATE['default'] = "<!-- Default -->";
$PAGE_TEMPLATE['other1'] = "<!-- Other -->";
$PAGE_TEMPLATE['other2'] = "<!-- Other2 -->";
?>

View File

@@ -90,7 +90,7 @@ class siteinfo_shortcodes // must match the folder name of the plugin.
function sc_theme_disclaimer($parm)
{
global $pref;
$pref = e107::getPref();
return (defined('THEME_DISCLAIMER') && $pref['displaythemeinfo'] ? THEME_DISCLAIMER : '');
}

View File

@@ -2,16 +2,14 @@
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Copyright (C) e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* Tagwords Admin
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/tagwords/admin_tagwords_config.php,v $
* $Revision$
* $Date$
* $Author$
* $URL$
* $Id$
*
*/

View File

@@ -1,5 +1,10 @@
<?php
/*
* Copyright (C) 2008-2011 e107 Inc (e107.org), Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id$
*
* Tagwords Language File
*/
define("LAN_TAG_INS_1", "Tagwords");
define("LAN_TAG_INS_2", "A fully featured Tagword system");
define("LAN_TAG_INS_3", "Configure TagWords");

View File

@@ -23,6 +23,7 @@ class e_tagwords_page
$this->row = $this->getRecord($id);
}
$url = e_BASE."page.php?".$this->row['page_id'];
$url = e107::getUrl()->create('page/view', $this->row, 'allow=page_id,page_title,page_sef');
return "<a href='".$url."'>".$this->e107->tp->toHTML($this->row['page_title'], TRUE, '')."</a>";
}