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 NoticeDirectory filter : [ all ] / postnuke_official / html / modules / admin / skins / default [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 04 Aug 2002 21:30:20 | postnuke_official/html/modules/admin/skins/default | pnfunctions.php,NONE,1.1.2.1 pnversion.php,NONE,1.1.2.1 | John Cox |
| added new admin | |||
Update of /home/cvsroot/postnuke_official/html/modules/admin/skins/default
In directory ns7.hostnuke.net:/tmp/cvs-serv23304/html/modules/admin/skins/default
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:30:18 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 = 5;
// -------------------------------------------------------------------------------------------------------------------------------
// 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'] = "Group.gif"; // Regular tab
$tabImages['tab_before_selected_tab'] = "BeforeSelGroup.gif"; // Image before selected tab
$tabImages['tab_at_the_end'] = "lastGroup.gif"; // Image at the end of a row of tabs
$tabImages['tab_empty'] = "emptyGroup.gif"; // Image to fill the rest of the row
$tabImages['tab_selected'] = "selectedGroup.gif"; // Image to show when tab is selected
$tabImages['tab_selected_at_the_end'] = "selectedGroupLast.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 "
<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=\"left\" valign=\"bottom\" background=\"".$useBgImage."\" width=\"".$width."\" height=\"".$height."\" nowrap>".$useLink."</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>
<tr>
<td><img name=\"adminlite_botten\" src=\"modules/$ModName/skins/".$useSkin."/pnimages/".$images['footer_bottom']."\" width=\"100%\" height=\"100\" border=\"0\" alt=\"This is an empty spacer\"></td>
</tr>
</table>
</center>";
}
?>
--- NEW FILE: pnversion.php ---
<?
// $Id: pnversion.php,v 1.1.2.1 2002/08/04 21:30:18 niceguyeddie Exp $ $Name: $
$skinversion['name'] = 'Cool Tabs';
$skinversion['version'] = '0.0.1';
$skinversion['description'] = 'Default skin';
$skinversion['author'] = 'Magnus Hammar & Bjarne Varöystrand';
$skinversion['contact'] = 'magnus@programmering.nu, bjarne@vgit.se';
?>
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 |