Пример #1
0
/login" />
	<?php 
}
?>

	<title><?php 
if (isset($webspace_title)) {
    echo htmlspecialchars($webspace_title);
} else {
    echo _("Prairie");
}
?>
</title>

	<script type="text/javascript" src="/<?php 
echo SCRIPT_TEMPLATE_PATH;
?>
js/functions.js"></script>
	<script type="text/javascript" src="/tiny_mce/tiny_mce.js"></script>
	<?php 
echo theme_headincludes();
?>
</head>
<?php 
$startmenublock = theme_startmenublock();
$endmenublock = theme_endmenublock();
$topMenu = render_topMenu($startmenublock, $endmenublock);
$header = theme_head($topMenu);
echo theme_bodypart($header, $content);
?>
</html>
Пример #2
0
// [JSManager] Load JS Includes - Zone 4 - After headerjs
e107::getJs()->renderJs('header', 4);
e107::getJs()->renderJs('header_inline', 4);
// [JSManager] Load JS Includes - Zone 5 - End of header JS, just before e_meta content and e107:loaded trigger
e107::getJs()->renderJs('header', 5);
//
// F: Send Meta Tags, Icon links
//
// --- Send plugin Meta  --------
echo $e_meta_content;
// e_meta already loaded
//
// G: Send Theme Headers
//
if (function_exists('theme_head')) {
    echo theme_head();
}
// FIXME description and keywords meta tags shouldn't be sent on all pages
$diz_merge = defined("META_MERGE") && META_MERGE != FALSE && $pref['meta_description'][e_LANGUAGE] ? $pref['meta_description'][e_LANGUAGE] . " " : "";
$key_merge = defined("META_MERGE") && META_MERGE != FALSE && $pref['meta_keywords'][e_LANGUAGE] ? $pref['meta_keywords'][e_LANGUAGE] . "," : "";
function render_meta($type)
{
    $tp = e107::getParser();
    $pref = e107::getPref();
    $key = 'meta_' . $type;
    $language = e_LANGUAGE;
    if (empty($pref[$key][$language])) {
        //	e107::getMessage()->addError("Couldn't find: pref - ".$key);
        return '';
    }
    if ($type == "tag") {
<?php

# phpWebNotes - a php based note addition system
# Copyright (C) 2000-2002 Webnotes Team - webnotes-devel@sourceforge.net
# This program is distributed under the terms and conditions of the GPL
# See the files README and LICENSE for details
# --------------------------------------------------------
# $Id: note_preview_page.php,v 1.12 2002/10/06 15:23:36 vboctor Exp $
# --------------------------------------------------------
require_once 'core' . DIRECTORY_SEPARATOR . 'api.php';
access_ensure_check_action(ACTION_NOTES_SUBMIT);
print_html_top();
print_head_top();
print_title($g_window_title);
print_css($g_css_inc_file);
theme_head();
print_head_bottom();
print_body_top();
print_header($g_page_title);
print_spacer();
$f_note_id = gpc_get_int('f_note_id');
$f_page_id = gpc_get_int('f_page_id');
$f_email = gpc_get_string('f_email');
$f_note = gpc_get_string('f_note');
$t_page_info = page_get_info(page_where_id_equals($f_page_id));
if (false === $t_page_info) {
    echo "page not found";
    exit;
}
$t_note['id'] = '0';
$t_note['email'] = string_prepare_note_for_viewing($f_email);