source: forum/cache/ctpl_admin_simple_header.html.php@ 400

Last change on this file since 400 was 400, checked in by george, 16 years ago
  • Přidáno: Nové forum phpBB 3.
File size: 3.2 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo (isset($this->_rootref['S_CONTENT_DIRECTION'])) ? $this->_rootref['S_CONTENT_DIRECTION'] : ''; ?>" lang="<?php echo (isset($this->_rootref['S_USER_LANG'])) ? $this->_rootref['S_USER_LANG'] : ''; ?>" xml:lang="<?php echo (isset($this->_rootref['S_USER_LANG'])) ? $this->_rootref['S_USER_LANG'] : ''; ?>">
3<head>
4
5<meta http-equiv="Content-Type" content="text/html; charset=<?php echo (isset($this->_rootref['S_CONTENT_ENCODING'])) ? $this->_rootref['S_CONTENT_ENCODING'] : ''; ?>" />
6<meta http-equiv="Content-Style-Type" content="text/css" />
7<meta http-equiv="Content-Language" content="<?php echo (isset($this->_rootref['S_USER_LANG'])) ? $this->_rootref['S_USER_LANG'] : ''; ?>" />
8<meta http-equiv="imagetoolbar" content="no" />
9<?php if ($this->_rootref['META']) { echo (isset($this->_rootref['META'])) ? $this->_rootref['META'] : ''; } ?>
10<title><?php echo (isset($this->_rootref['PAGE_TITLE'])) ? $this->_rootref['PAGE_TITLE'] : ''; ?></title>
11
12<link href="style/admin.css" rel="stylesheet" type="text/css" media="screen" />
13
14<script type="text/javascript">
15// <![CDATA[
16var jump_page = '<?php echo ((isset($this->_rootref['LA_JUMP_PAGE'])) ? $this->_rootref['LA_JUMP_PAGE'] : ((isset($this->_rootref['L_JUMP_PAGE'])) ? addslashes($this->_rootref['L_JUMP_PAGE']) : ((isset($user->lang['JUMP_PAGE'])) ? addslashes($user->lang['JUMP_PAGE']) : '{ JUMP_PAGE }'))); ?>:';
17var on_page = '<?php echo (isset($this->_rootref['ON_PAGE'])) ? $this->_rootref['ON_PAGE'] : ''; ?>';
18var per_page = '<?php echo (isset($this->_rootref['PER_PAGE'])) ? $this->_rootref['PER_PAGE'] : ''; ?>';
19var base_url = '<?php echo (isset($this->_rootref['A_BASE_URL'])) ? $this->_rootref['A_BASE_URL'] : ''; ?>';
20
21/**
22* Window popup
23*/
24function popup(url, width, height, name)
25{
26 if (!name)
27 {
28 name = '_popup';
29 }
30
31 window.open(url.replace(/&amp;/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes, width=' + width);
32 return false;
33}
34
35/**
36* Jump to page
37*/
38function jumpto()
39{
40 var page = prompt(jump_page, on_page);
41
42 if (page !== null && !isNaN(page) && page > 0)
43 {
44 document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + ((page - 1) * per_page);
45 }
46}
47
48/**
49* Set display of page element
50* s[-1,0,1] = hide,toggle display,show
51*/
52function dE(n, s, type)
53{
54 if (!type)
55 {
56 type = 'block';
57 }
58
59 var e = document.getElementById(n);
60 if (!s)
61 {
62 s = (e.style.display == '') ? -1 : 1;
63 }
64 e.style.display = (s == 1) ? type : 'none';
65}
66
67/**
68* Mark/unmark checkboxes
69* id = ID of parent container, name = name prefix, state = state [true/false]
70*/
71function marklist(id, name, state)
72{
73 var parent = document.getElementById(id);
74 if (!parent)
75 {
76 return;
77 }
78
79 var rb = parent.getElementsByTagName('input');
80
81 for (var r = 0; r < rb.length; r++)
82 {
83 if (rb[r].name.substr(0, name.length) == name)
84 {
85 rb[r].checked = state;
86 }
87 }
88}
89
90/**
91* Find a member
92*/
93function find_username(url)
94{
95 popup(url, 760, 570, '_usersearch');
96 return false;
97}
98
99// ]]>
100</script>
101</head>
102
103<body class="<?php echo (isset($this->_rootref['S_CONTENT_DIRECTION'])) ? $this->_rootref['S_CONTENT_DIRECTION'] : ''; ?>">
104
105<div id="page-body" class="simple-page-body">
Note: See TracBrowser for help on using the repository browser.