2 /* vim: expandtab sw=4 ts=4 sts=4: */
6 * @uses libraries/common.inc.php global fnctions
7 * @package phpMyAdmin-test
14 * Gets core libraries and defines some variables
16 require_once './libraries/common.inc.php';
18 $lang_iso_code = $GLOBALS['available_languages'][$GLOBALS['lang']][2];
21 header('Content-Type: text/html; charset=' . $GLOBALS['charset']);
23 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
24 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
25 <html xmlns
="http://www.w3.org/1999/xhtml"
26 xml
:lang
="<?php echo $lang_iso_code; ?>"
27 lang
="<?php echo $lang_iso_code; ?>"
28 dir
="<?php echo $GLOBALS['text_dir']; ?>">
30 <title
>phpMyAdmin
<?php
echo PMA_VERSION
; ?
> -
31 <?php
echo htmlspecialchars($HTTP_HOST); ?
> - Theme Test
</title
>
32 <meta http
-equiv
="Content-Type"
33 content
="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
34 <link rel
="stylesheet" type
="text/css"
35 href
="../phpmyadmin.css.php?<?php echo PMA_generate_common_url(); ?>&js_frame=right&nocache=<?php echo $_SESSION['PMA_Config']->getMtime(); ?>" />
36 <link rel
="stylesheet" type
="text/css" media
="print"
37 href
="../print.css" />
38 <script src
="../js/functions.js" type
="text/javascript"></script
>
44 $separator = '<span class="separator">'
45 .'<img class="icon" src=../"' . $GLOBALS['pmaThemeImage'] . 'item_ltr.png"'
46 .' width="5" height="9" alt="-" /></span>' . "\n";
47 $item = '<a href="%1$s?%2$s" class="item">'
48 .' <img class="icon" src="../' . $GLOBALS['pmaThemeImage'] . '%5$s"'
49 .' width="16" height="16" alt="" /> ' . "\n"
50 .'%4$s: %3$s</a>' . "\n";
52 echo '<div id="serverinfo">' . "\n";
54 $GLOBALS['cfg']['DefaultTabServer'],
55 PMA_generate_common_url(),
57 $GLOBALS['strServer'],
62 $GLOBALS['cfg']['DefaultTabDatabase'],
65 $GLOBALS['strDatabase'],
70 $GLOBALS['cfg']['DefaultTabTable'],
73 (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view']
75 : $GLOBALS['strTable']),
76 (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view']
80 echo '<span class="table_comment" id="span_table_comment">'
81 .'"Table comment"</span>' . "\n";
91 $tabs['databases']['icon'] = '../../../../' . $pmaThemeImage . 's_db.png';
92 $tabs['databases']['link'] = 'server_databases.php';
93 $tabs['databases']['text'] = $strDatabases;
95 $tabs['sql']['icon'] = '../../../../' . $pmaThemeImage . 'b_sql.png';
96 $tabs['sql']['link'] = 'server_sql.php';
97 $tabs['sql']['text'] = $strSQL;
99 $tabs['status']['icon'] = '../../../../' . $pmaThemeImage . 's_status.png';
100 $tabs['status']['link'] = 'server_status.php';
101 $tabs['status']['text'] = $strStatus;
103 $tabs['vars']['icon'] = '../../../../' . $pmaThemeImage . 's_vars.png';
104 $tabs['vars']['link'] = 'server_variables.php';
105 $tabs['vars']['text'] = $strServerTabVariables;
107 $tabs['charset']['icon'] = '../../../../' . $pmaThemeImage . 's_asci.png';
108 $tabs['charset']['link'] = 'server_collations.php';
109 $tabs['charset']['text'] = $strCharsets;
111 $tabs['engine']['icon'] = '../../../../' . $pmaThemeImage . 'b_engine.png';
112 $tabs['engine']['link'] = 'server_engines.php';
113 $tabs['engine']['text'] = $strEngines;
115 $tabs['rights']['icon'] = '../../../../' . $pmaThemeImage . 's_rights.png';
116 $tabs['rights']['link'] = 'server_privileges.php';
117 $tabs['rights']['text'] = $strPrivileges;
119 $tabs['binlog']['icon'] = '../../../../' . $pmaThemeImage . 's_tbl.png';
120 $tabs['binlog']['link'] = 'server_binlog.php';
121 $tabs['binlog']['text'] = $strBinaryLog;
123 $tabs['process']['icon'] = '../../../../' . $pmaThemeImage . 's_process.png';
124 $tabs['process']['link'] = 'server_processlist.php';
125 $tabs['process']['text'] = 'caution';
126 $tabs['process']['class'] = 'caution';
128 $tabs['export']['icon'] = '../../../../' . $pmaThemeImage . 'b_export.png';
129 $tabs['export']['text'] = 'disabled';
131 $tabs['export2']['icon'] = '../../../../' . $pmaThemeImage . 'b_export.png';
132 $tabs['export2']['text'] = 'disabled caution';
133 $tabs['export2']['class'] = 'caution';
135 $tabs['import']['icon'] = '../../../../' . $pmaThemeImage . 'b_import.png';
136 $tabs['import']['link'] = 'server_import.php';
137 $tabs['import']['text'] = 'active';
138 $tabs['import']['class'] = 'active';
140 echo PMA_getTabs($tabs);
143 if (@file_exists
($pmaThemeImage . 'logo_right.png')) {
145 <img id
="pmalogoright" src
="../<?php echo $pmaThemeImage; ?>logo_right.png"
152 echo sprintf($strWelcome,
153 '<bdo dir="ltr" xml:lang="en">phpMyAdmin ' . PMA_VERSION
. '</bdo>');
157 <hr
class="clearfloat" />
159 <form method
="post" action
="theme.php" target
="_parent">
161 <legend
><?php
echo $strTheme; ?
></legend
>
163 echo $_SESSION['PMA_Theme_Manager']->getHtmlSelectBox(false);
165 <noscript
><input type
="submit" value
="Go" style
="vertical-align: middle" /></noscript
>
176 <h1
class="notice">Notice header
!</h1
>
178 notice message box content
!
181 <h1
>Notice message box header
!</h1
>
182 notice message box content
!
185 <h1
class="warning">Warning header
!</h1
>
186 <div
class="warning">
187 warning message box content
!
189 <div
class="warning">
190 <h1
>Warning message box header
!</h1
>
191 warning message box content
!
194 <h1
class="error">Error header
!</h1
>
196 error message box content
!
199 <h1
>Error message box header
!</h1
>
200 error message box content
!
203 <fieldset
class="confirmation">
204 <legend
>Confirmation fieldset
</legend
>
205 <tt
>QUERY TO EXECUTE
;</tt
>
207 <fieldset
class="tblFooters">
208 <input type
="submit" name
="yes" value
="YES" />
209 <input type
="submit" name
="no" value
="NO" />
213 <caption
>table
.data caption
</caption
>
216 <th
>table
.data thead tr th
</th
>
217 <th
>table
.data thead tr th
</th
>
218 <th colspan
="3">action
</th
>
219 <th
>table
.data thead tr th
</th
>
224 <th
>table
.data tfoot tr th
</th
>
225 <th
class="value">table
.data tfoot tr th
</th
>
226 <th colspan
="3">action
</th
>
227 <th
>table
.data tfoot tr th
</th
>
232 <td
><input type
="checkbox" id
="checkbox_1" name
="checkbox_1"
234 <th
><label
for="checkbox_1">th label
</label
</th
>
235 <td
class="value">td
.value
</td
>
236 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
237 width
="16" height
="16" alt
="drop" /></td
>
238 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
239 width
="16" height
="16" alt
="drop" /></td
>
240 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
241 width
="16" height
="16" alt
="drop" /></td
>
242 <td
>table
.data tbody tr
.odd td
</td
>
245 <td
><input type
="checkbox" id
="checkbox_2" name
="checkbox_2"
247 <th
><label
for="checkbox_2">th label
</label
</th
>
248 <td
class="value">td
.value
</td
>
249 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
250 width
="16" height
="16" alt
="drop" /></td
>
251 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
252 width
="16" height
="16" alt
="drop" /></td
>
253 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
254 width
="16" height
="16" alt
="drop" /></td
>
255 <td
>table
.data tbody tr
.even td
</td
>
258 <td
><input type
="checkbox" id
="checkbox_3" name
="checkbox_3"
260 <th
><label
for="checkbox_3">th label
</label
</th
>
261 <td
class="value">td
.value
</td
>
262 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
263 width
="16" height
="16" alt
="drop" /></td
>
264 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
265 width
="16" height
="16" alt
="drop" /></td
>
266 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
267 width
="16" height
="16" alt
="drop" /></td
>
268 <td
>table
.data tbody tr
.odd td
</td
>
271 <td
><input type
="checkbox" id
="checkbox_4" name
="checkbox_4"
273 <th
><label
for="checkbox_4">th label
</label
</th
>
274 <td
class="value">td
.value
</td
>
275 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
276 width
="16" height
="16" alt
="drop" /></td
>
277 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
278 width
="16" height
="16" alt
="drop" /></td
>
279 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
280 width
="16" height
="16" alt
="drop" /></td
>
281 <td
>table
.data tbody tr
.even td
</td
>