Xaraya / Postnuke CVS Notices - Message

Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites

View Statistics - Next Notice - Previous Notice

Directory filter : [ all ] / postnuke_official / html / modules / admin / skins / spymac [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
04 Aug 2002 21:27:52postnuke_official/html/modules/admin/skins/spymacpnfunctions.php,NONE,1.1.2.1 pnversion.php,NONE,1.1.2.1John Cox
 added new admin

Update of /home/cvsroot/postnuke_official/html/modules/admin/skins/spymac
In directory ns7.hostnuke.net:/tmp/cvs-serv23256/html/modules/admin/skins/spymac

Added Files:
      Tag: PostNuke_71
	pnfunctions.php pnversion.php 
Log Message:
added new admin


--- NEW FILE: pnfunctions.php ---
<?
// File: $Id: pnfunctions.php,v 1.1.2.1 2002/08/04 21:27:49 niceguyeddie Exp $ $Name:  $
// ----------------------------------------------------------------------
// POST-NUKE Content Management System
// Copyright (C) 2001 by the PostNuke Development Team.
// http://www.postnuke.com/
// ----------------------------------------------------------------------
// Based on:
// PHP-NUKE Web Portal System - http://phpnuke.org/
// Thatware - http://thatware.org/
// ----------------------------------------------------------------------
// LICENSE
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------
// Original Author of file:
// Purpose of file:
// ----------------------------------------------------------------------
if (!eregi("admin.php", $GLOBALS['PHP_SELF'])) {
	die ("Access Denied to file ".__FILE__);
}
// -------------------------------------------------------------------------------------------------------------------------------
// How many tabs do we want to show in a row?
// 
$numberOfTabsToShow = 4;
// -------------------------------------------------------------------------------------------------------------------------------
// How many modules do we want to show in a row?
// 
$displayNumberOfModules = 4;
// -------------------------------------------------------------------------------------------------------------------------------
// All these images MUST be placed in a folder called "pnimages" in the same dir as this file.
// 
$tabImages['tab']						= "b_button.gif";				// Regular tab
$tabImages['tab_before_selected_tab']	= "b_button.gif";		// Image before selected tab
$tabImages['tab_at_the_end']			= "b_button.gif";			// Image at the end of a row of tabs
$tabImages['tab_empty']					= "line_space.gif";			// Image to fill the rest of the row
$tabImages['tab_selected']				= "b_button_over.gif";		// Image to show when tab is selected
$tabImages['tab_selected_at_the_end']	= "b_button_over.gif";	// Inage to show ith the selectedtab is the last tab in a row
$tabImages['footer_bottom']	= "adminlite_botten.gif";	// Inage to show ith the selectedtab is the last tab in a row
// -------------------------------------------------------------------------------------------------------------------------------
// Allow user to create and edit tabs
// 
define('allow_editable_tabs','1');
// 
// -------------------------------------------------



function adminlite_header($func,$numberOfTabsToShow,$tabImages) {
$ModName = basename(dirname(__FILE__));
echo "

<!--
              The AdminLite module is Coded by:
              TEAM PostNuke Sweden
              Magnus Hammar & Bjarne Varoystrand
              For PrimeGateOne

              team@postnuke-sweden.com
              www.postnuke-sweden.com
-->


<style type=\"text/css\">
	<!--
	.AdminLiteHelpText {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 9px;
		font-style: normal;
		line-height: normal;
		font-weight: normal;
		font-variant: normal;
		text-transform: none;
		color: #333333;
	}
	.adminlite_header {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 12px;
		font-style: normal;
		line-height: normal;
		font-weight: normal;
		font-variant: normal;
		text-transform: capitalize;
		color: #333333;
	}
	.AdminLiteLinks {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 10px;
		font-style: normal;
		line-height: normal;
		font-weight: normal;
		font-variant: normal;
		text-transform: capitalize;
		color: #333333;
	}
	.AdminLiteLinks a {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 10px;
		font-style: normal;
		line-height: normal;
		font-weight: bold;
		font-variant: normal;
		text-transform: capitalize;
		color: #333333;
		text-decoration: none;
	}
	.AdminLiteLinks a:hover {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 10px;
		font-style: normal;
		line-height: normal;
		font-weight: bold;
		font-variant: normal;
		text-transform: capitalize;
		color: #0033FF;
		text-decoration: underline;
	}
	-->
	</style>
	<center>
	
	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"496\">
	<tr>
	<td align=\"left\" valign=\"top\">";

	printAllTabs($numberOfTabsToShow,$tabImages,basename(dirname(__FILE__)),$func);
}
/************************************************************************/


function printTab($useBgImage,$width,$height,$useLink){
	// ------------------------------------------------------
	// This function prints the tab cells.
	//
	echo "<td align=\"center\" valign=\"top\" background=\"".$useBgImage."\" width=\"".$width."\" height=\"".$height."\" nowrap>".$useLink."&nbsp;&nbsp;&nbsp;</td>";
	//
	// ------------------------------------------------------
}


function adminlite_footer($gID,$images,$ModName) {
$useSkin = basename(dirname(__FILE__));

echo "</td><!--FOOTER START --></tr>
	
	<tr>
	<td align=\"right\" valign=\"bottom\">";
	
	// This function prints the logout and edit admin buttons.
	// place the functuion where you want to display the buttons.
	printEditLogoutButton($gID);

	echo "</td>
	</tr>
	
	</table>
	
	</center>";
}

?>
--- NEW FILE: pnversion.php ---
<?
// $Id: pnversion.php,v 1.1.2.1 2002/08/04 21:27:49 niceguyeddie Exp $ $Name:  $
$skinversion['name'] = 'Spy Mac';
$skinversion['version'] = '0.0.1';
$skinversion['description'] = 'Other skin';
$skinversion['author'] = 'Magnus Hammar & Bjarne Var&ouml;ystrand';
$skinversion['contact'] = 'magnus@programmering.nu, bjarne@vgit.se';
?>


Directory filter : [ all ] / postnuke_official / html / modules / admin / skins / spymac [ view in CVS ]

View Statistics - Next Notice - Previous Notice


Visit Developer Site - Browse CVS Repository Syndicate via backend.rss
(max. once per hour please)
Powered by CVSNotice 0.1.3