Exemple #1
0
}
.optionName, .optionValue {
	font-weight: bold;
	font-size: 14px;
	color: red;
}
.optionValue {
	color: blue;
}
</style>

';
include $addon['dir'] . 'inc/functions.php';
include $addon['dir'] . 'inc/conf.php';
//$roster->output['show_menu'] = false;
$functions = new ssconfig();
define('ROSTER_SCREENTABLE', $roster->db->table('ss', $addon['basename']));
if (!defined('ROSTER_INSTALLED')) {
    exit('Detected invalid access to this file!');
}
echo '

<script language="javascript" type="text/javascript">
<!--
function popitup(url) {
	newwindow=window.open(url,\'name\',\'height=400,width=300\');
	if (window.focus) {newwindow.focus()}
	return false;
}

// -->
Exemple #2
0
<?php

/******************************
 * $Id$
 ******************************/
include $addon['dir'] . 'inc/functions.php';
include $addon['dir'] . 'inc/conf.php';
//$roster->output['show_menu'] = false;
$functions = new ssconfig();
define('ROSTER_SCREENTABLE', $roster->db->table('ss', $addon['basename']));
$basename = basename(dirname(dirname(__FILE__)));
if (!defined('ROSTER_INSTALLED')) {
    exit('Detected invalid access to this file!');
}
$imagex = str_replace('img/', '', $roster->config['interface_url']);
$imgdir = $imagex . $addon['url'] . 'screenshots/';
$imgdirthumb = $imagex . $addon['url'] . 'screenshots/thumbs/';
//<body onload="MM_preloadImages(‘/images/menu_on.gif’)…;initLightbox()">
$roster->output['body_onload'] = 'onload="MM_preloadImages(‘' . $addon['dir'] . 'images/menu_on.gif’)…;initLightbox()"';
$roster->output['html_head'] = '

<script type="text/javascript" src="' . ROSTER_PATH . 'addons/RosterGallery/js/lightbox.js"></script>

<link rel="stylesheet" href="' . ROSTER_PATH . 'addons/RosterGallery/lightbox.css" type="text/css" media="screen" />
<script language="javascript" type="text/javascript">
<!--
function popitup(url) {
	newwindow=window.open(url,\'name\',\'height=400,width=300\');
	if (window.focus) {newwindow.focus()}
	return false;
}
Exemple #3
0
<?php

/******************************
 * $Id$
 ******************************/
define('ROSTER_INSTALLED', true);
if ($_GET['edit'] != '') {
    $roster->output['show_menu'] = false;
}
include $addon['dir'] . 'functions.php';
include $addon['dir'] . 'conf.php';
//$roster->output['show_menu'] = false;
$functions = new ssconfig();
define('ROSTER_SCREENTABLE', $roster->db->table('ss', $addon['basename']));
if (!defined('ROSTER_INSTALLED')) {
    exit('Detected invalid access to this file!');
}
echo '

<!-- Begin Java Link -->
<script type="text/javascript" language="JavaScript">
<!--
	initializetabcontent("rg_menu")
//-->
</script>

<script language="javascript" type="text/javascript">
<!--
function popitup(url) {
	newwindow=window.open(url,\'name\',\'height=400,width=300\');
	if (window.focus) {newwindow.focus()}