Updates
This commit is contained in:
parent
f853044d0b
commit
a0229c48d6
3 changed files with 9 additions and 5 deletions
|
@ -26,7 +26,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$module['core']['name']='Core Class';
|
$module['core']['name']='Core Class';
|
||||||
$module['core']['ver']='1.0.0';
|
$module['core']['ver']='1.1.0';
|
||||||
|
|
||||||
class Core{
|
class Core{
|
||||||
|
|
||||||
|
@ -523,10 +523,14 @@ class Core{
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
function make_page($content, $minimal=FALSE,$minimal_tpl='minimal_index.tpl',$header_tpl='header.tpl',$footer_tpl='footer.tpl', $headers=array()){
|
||||||
function make_page($content, $minimal=FALSE,$minimal_tpl='minimal_index.tpl',$header_tpl='header.tpl',$footer_tpl='footer.tpl'){
|
|
||||||
global $config, $session, $start, $tpl, $db, $meta, $footer, $mod, $plugin,$plugin_content;
|
global $config, $session, $start, $tpl, $db, $meta, $footer, $mod, $plugin,$plugin_content;
|
||||||
$plugin->run_hook('frontpage_start',array(&$tpl));
|
$plugin->run_hook('frontpage_start',array(&$tpl));
|
||||||
|
if(!empty($headers)){
|
||||||
|
foreach($headers as $header){
|
||||||
|
header($header['name'].": ".$header['value']);
|
||||||
|
}
|
||||||
|
}
|
||||||
if($config['p3p_active']==1){
|
if($config['p3p_active']==1){
|
||||||
header('P3P: CP="'.$config['p3p_string'].'"');
|
header('P3P: CP="'.$config['p3p_string'].'"');
|
||||||
}
|
}
|
||||||
|
|
2
thirdparty/tiny/tiny_mce_gzip.php
vendored
2
thirdparty/tiny/tiny_mce_gzip.php
vendored
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* $Id: tiny_mce_gzip.php 315 2007-10-25 14:03:43Z spocke $
|
* $Id$
|
||||||
*
|
*
|
||||||
* @author Moxiecode
|
* @author Moxiecode
|
||||||
* @copyright Copyright © 2005-2006, Moxiecode Systems AB, All rights reserved.
|
* @copyright Copyright © 2005-2006, Moxiecode Systems AB, All rights reserved.
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
* @author Bernhard Jaud <bernhard at becast dot at>
|
* @author Bernhard Jaud <bernhard at becast dot at>
|
||||||
* @package astat core
|
* @package astat core
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
* @version $Id: usercp.php 100 2010-02-20 14:42:30Z genuineparts $
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue