| 59 | | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 60 | | <head> |
| 61 | | <title>Plogger Administration</title> |
| 62 | | <meta http-equiv="Content-Type" content="txt/html; charset=utf-8" /> |
| 63 | | <link href="../css/admin.css" type="text/css" rel="stylesheet" media="all"/> |
| 64 | | <link href="../css/tabs.css" type="text/css" rel="stylesheet" media="all"/> |
| 65 | | <link href="../css/greybox.css" type="text/css" rel="stylesheet" media="all"/> |
| 66 | | <link href="../css/lightbox.css" type="text/css" rel="stylesheet" media="all"/> |
| 67 | | <script type="text/javascript" src="js/prototype.js"></script> |
| 68 | | <script type="text/javascript" src="js/plogger.js"></script> |
| 69 | | <script type="text/javascript" src="js/lightbox.js"></script> |
| 70 | | <script type="text/javascript" src="js/AmiJS.js"></script> |
| 71 | | <script type="text/javascript" src="js/greybox.js"></script> |
| 72 | | '.$inHead.' |
| 73 | | <script type="text/javascript"> |
| 74 | | //GreyBox configuration |
| 75 | | //Use animation? |
| 76 | | var GB_ANIMATION = true; |
| 77 | | var GB_IMG_DIR = "../graphics/"; |
| 78 | | |
| 79 | | //Clicking on the transparent overlay closes the GreyBox window? |
| 80 | | var GB_overlay_click_close = false; |
| 81 | | </script> |
| 82 | | </head> |
| 83 | | <body onload="focus_first_input(); initLightbox();"> |
| 84 | | <div id="header"> |
| 85 | | <img src="../graphics/plogger.gif" alt="Plogger" /> |
| 86 | | <span id="plogger-version">'.$config['version'].'</span> |
| 87 | | <div id="tab-nav"> |
| 88 | | <ul>'; |
| 89 | | foreach($tabs as $tab => $data) { |
| 90 | | $output .= '<li'; |
| 91 | | if ($current == $tab) $output .= ' id="current"'; |
| 92 | | $output .= '><a'; |
| 93 | | if (!empty($data['onclick'])) $output .= ' onclick="'.$data['onclick'].'"'; |
| 94 | | if (!empty($data['accesskey'])) $output .= ' accesskey="'.$data['accesskey'].'"'; |
| 95 | | $output .= ' href="' . $data['url'] . '">' . $data['caption'] . '</a></li>'; |
| 96 | | }; |
| 97 | | $output .= ' |
| 98 | | </ul> |
| 99 | | </div> |
| 100 | | </div> |
| 101 | | <div id="content"> |
| 102 | | '.$string.' |
| 103 | | </div> |
| 104 | | </body> |
| 105 | | </html>'; |
| | 59 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| | 60 | <head> |
| | 61 | <title>Plogger Administration</title> |
| | 62 | <meta http-equiv="Content-Type" content="txt/html; charset=utf-8" /> |
| | 63 | <link href="../css/admin.css" type="text/css" rel="stylesheet" media="all"/> |
| | 64 | <link href="../css/greybox.css" type="text/css" rel="stylesheet" media="all"/> |
| | 65 | <link href="../css/tabs.css" type="text/css" rel="stylesheet" media="all"/> |
| | 66 | <link href="../css/lightbox.css" type="text/css" rel="stylesheet" media="all"/> |
| | 67 | <script type="text/javascript" src="js/prototype.js"></script> |
| | 68 | <script type="text/javascript" src="js/plogger.js"></script> |
| | 69 | <script type="text/javascript" src="js/lightbox.js"></script> |
| | 70 | <script type="text/javascript" src="js/AmiJS.js"></script> |
| | 71 | <script type="text/javascript" src="js/greybox.js"></script> |
| | 72 | '.$inHead.' |
| | 73 | <script type="text/javascript"> |
| | 74 | //GreyBox configuration |
| | 75 | //Use animation? |
| | 76 | var GB_ANIMATION = true; |
| | 77 | var GB_IMG_DIR = "../graphics/"; |
| | 78 | |
| | 79 | //Clicking on the transparent overlay closes the GreyBox window? |
| | 80 | var GB_overlay_click_close = false; |
| | 81 | </script> |
| | 82 | </head> |
| | 83 | <body onload="focus_first_input(); initLightbox();"> |
| | 84 | <div id="header"> |
| | 85 | <img src="../graphics/plogger.gif" alt="Plogger" /> |
| | 86 | <span id="plogger-version">'.$config['version'].'</span> |
| | 87 | <div id="tab-nav"> |
| | 88 | <ul>'; |
| | 89 | foreach($tabs as $tab => $data) { |
| | 90 | $output .= '<li'; |
| | 91 | if ($current == $tab) $output .= ' id="current"'; |
| | 92 | $output .= '><a'; |
| | 93 | if (!empty($data['onclick'])) $output .= ' onclick="'.$data['onclick'].'"'; |
| | 94 | if (!empty($data['accesskey'])) $output .= ' accesskey="'.$data['accesskey'].'"'; |
| | 95 | $output .= ' href="' . $data['url'] . '">' . $data['caption'] . '</a></li>'; |
| | 96 | }; |
| | 97 | $output .= ' |
| | 98 | </ul> |
| | 99 | </div> |
| | 100 | </div> |
| | 101 | <div id="content"> |
| | 102 | '.$string.' |
| | 103 | </div> |
| | 104 | </body> |
| | 105 | </html>'; |