- all items levelled in one line - flags better centered in msie and in firefox - removed three white pixel lines (line 0-2) in firefox - all flags shown with a bit shadow, instead of only spain [and sweden] - nicer display of "logged in as <user>" - all labels in the same font instead of two fonts - smoother gradient background, espacially in winter Still not optimally vertical centered in chrome also fixed print css for some earlier changes to screen css
61 lines
2.7 KiB
PHP
61 lines
2.7 KiB
PHP
<?php
|
|
/****************************************************************************
|
|
./lang/de/ocstyle/varset.inc.php
|
|
-------------------
|
|
begin : Mon June 14 2004
|
|
|
|
For license information see doc/license.txt
|
|
****************************************************************************/
|
|
|
|
/****************************************************************************
|
|
|
|
Unicode Reminder メモ
|
|
|
|
template specific variables setup
|
|
|
|
****************************************************************************/
|
|
|
|
//set all main template replacement to default values
|
|
|
|
tpl_set_var('title', htmlspecialchars($pagetitle, ENT_COMPAT, 'UTF-8'));
|
|
tpl_set_var('htmlheaders', '');
|
|
tpl_set_var('lang', $lang);
|
|
tpl_set_var('style', $style);
|
|
tpl_set_var('loginbox', ' ');
|
|
tpl_set_var('functionsbox', '<a href="index.php?page=suche">' . t('Search') . '</a> | <a href="index.php?page=sitemap">' . t('Sitemap') . '</a>');
|
|
tpl_set_var('runtime', '');
|
|
|
|
//set up main template specific string
|
|
$sLoggedOut = '<form action="login.php" method="post" enctype="application/x-www-form-urlencoded" name="login" dir="ltr" style="display: inline;"><b>' . t('User') . ':</b> <input name="email" size="10" type="text" class="textboxes" value="" /> <b>' . t('Password') . ':</b> <input name="password" size="10" type="password" class="textboxes" value="" /> <input type="hidden" name="action" value="login" /><input type="hidden" name="target" value="{target}" /> <input type="submit" name="LogMeIn" value="' . t('Login') . '" class="formbuttons" style="width: 65px;" /></form>';
|
|
$sLoggedIn = "<b>" . t('Logged in as') . ' <a href="myhome.php">{username}</a></b> - <a href="login.php?action=logout">' . t('Logout') . '</a>';
|
|
|
|
// target in Loginbox setzen
|
|
$target = basename($_SERVER['PHP_SELF']).'?';
|
|
|
|
// REQUEST-Variablen durchlaufen und an target anhaengen
|
|
$allowed = array('cacheid', 'userid', 'logid', 'desclang', 'descid');
|
|
reset ($_REQUEST);
|
|
while (list ($varname, $varvalue) = each ($_REQUEST))
|
|
{
|
|
if (in_array($varname, $allowed))
|
|
{
|
|
$target .= $varname.'='.$varvalue.'&';
|
|
}
|
|
}
|
|
if (mb_substr($target, -1) == '?' || mb_substr($target, -1) == '&') $target = mb_substr($target, 0, -1);
|
|
$sLoggedOut = mb_ereg_replace('{target}', $target, $sLoggedOut);
|
|
|
|
$functionsbox_start_tag = '';
|
|
$functionsbox_middle_tag = ' | ';
|
|
$functionsbox_end_tag = '';
|
|
|
|
$tpl_subtitle = '';
|
|
|
|
//other vars
|
|
$login_required = t('Sorry, the requested operation cannot be performed because you are not logged in with an user account.');
|
|
|
|
$dberrormsg = t('A database command could not be performed.');
|
|
|
|
$error_prefix = '<span class="errormsg">';
|
|
$error_suffix = '</span>';
|
|
?>
|