<head> <title><?php echo $l->m('title'); ?> </title> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $l->getCharset(); ?> "> <link rel="stylesheet" type="text/css" href="<?php echo $theme_path . 'css/'; ?> dialog.css"> <?php if (SPAW_Util::getBrowser() == 'Gecko') { ?> <script language="javascript" src="utils.gecko.js"></script> <?php } else { ?> <script language="javascript" src="utils.js"></script> <?php } ?> <script language="javascript"> <!-- function selectClick() { if (document.getElementById('lib').selectedIndex>=0 && document.getElementById('imglist').selectedIndex>=0)
function setMode($value) { global $spaw_dir; global $spaw_root; global $spaw_default_toolbars; if ($value == '') { $this->mode = $spaw_default_toolbars; } else { $this->mode = $value; } // try loading specific tollbar for this mode and browser type if (!@(include $spaw_root . 'lib/toolbars/' . $this->mode . '/' . $this->mode . '_toolbar_data.' . strtolower(SPAW_Util::getBrowser()) . '.inc.php')) { if (!@(include $spaw_root . 'lib/toolbars/' . $this->mode . '/' . $this->mode . '_toolbar_data.inc.php')) { // load default toolbar data @(include $spaw_root . 'lib/toolbars/' . $spaw_default_toolbars . '/' . $spaw_default_toolbars . '_toolbar_data.inc.php'); } } $this->toolbars = $spaw_toolbar_data; }