|
From: Lo?c C. <lo...@us...> - 2001-04-11 23:06:16
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/config
In directory usw-pr-cvs1:/tmp/cvs-serv1253/chat/config
Modified Files:
style.css.php3 start_page.css.php3 config.lib.php3
admin.css.php3
Log Message:
Two many modifications, I can't detail
Index: style.css.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/config/style.css.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** style.css.php3 2001/04/03 20:34:38 1.1
--- style.css.php3 2001/04/11 23:06:14 1.2
***************
*** 1,33 ****
<?php
! /**
! * Stylesheet for the administration pages of phpMyChat
! *
! * List of variables defined here
! * $large = large font size for main titles
! * $name = name for a variable sent or posted to this script
! * $small = small font size
! * $value = value for a variable sent or posted to this script
! *
! * @version $Id: styles.css.php3,v 2.1 2001/01/09
! * @since phpMyChat 0.7.0
! * @author phpHeaven-team <php...@eg...>
! */
/**
! * Gets the names and values for variables posted to this script
*/
if (isset($HTTP_GET_VARS))
{
! while(list($name,$value) = each($HTTP_GET_VARS))
{
$$name = $value;
! };
! };
/**
! * Defines some vars
*/
if (isset($charset))
--- 1,38 ----
<?php
! //
! // +--------------------------------------------------------------------------+
! // | phpMyChat version 0.15.0 |
! // +--------------------------------------------------------------------------+
! // | Copyright (c) 2000-2001 The phpHeaven-team |
! // +--------------------------------------------------------------------------+
! // | This script defines the stylesheet used inside a chatting session. |
! // +--------------------------------------------------------------------------+
! // | From the phpMyChat project: |
! // | http://www.phpheaven.net/projects/phpMyChat/ |
! // | |
! // | Authors: the phpHeaven-team <php...@ya...> |
! // +--------------------------------------------------------------------------+
! //
! // $Id$
! //
! // The stylesheet used inside a chatting session.
! //
/**
! * Gets the names and the values of the variables sent to this script
*/
if (isset($HTTP_GET_VARS))
{
! while(list($name, $value) = each($HTTP_GET_VARS))
{
$$name = $value;
! }
! }
/**
! * Defines the font face and the font sizes
*/
if (isset($charset))
***************
*** 35,53 ****
if (!empty($fontName))
{
?>
! * {font-family: <?php echo($fontName); ?>, sans-serif;}
<?php
}
! elseif ($charset == 'iso-8859-1')
{
?>
! * {font-family: helvetica, arial, geneva, sans-serif;}
<?php
! };
! };
! if (empty($medium)) $medium = 10;
! $large = round(1.4 * $medium);
! $small = round(0.8 * $medium);
--- 40,62 ----
if (!empty($fontName))
{
+ echo("\n");
?>
! * {font-family: <?php echo($fontName); ?>, sans-serif;}
<?php
}
! else if ($charset == 'iso-8859-1')
{
+ echo("\n");
?>
! * {font-family: helvetica, arial, geneva, sans-serif;}
<?php
! }
! }
! echo("\n");
! if (empty($medium))
! $medium = 10;
! $large = round(1.4 * $medium);
! $small = round(0.8 * $medium);
***************
*** 141,146 ****
margin-top: 0px;
margin-bottom: 2px;
! margin-left: <?php echo($charset == 'windows-1256' ? '5' : '55'); ?>px;
! margin-right: <?php echo($charset == 'windows-1256' ? '55' : '5'); ?>px;
text-indent: -50px;
}
--- 150,155 ----
margin-top: 0px;
margin-bottom: 2px;
! margin-left: <?php echo(($charset == 'windows-1256') ? '5' : '55'); ?>px;
! margin-right: <?php echo(($charset == 'windows-1256') ? '55' : '5'); ?>px;
text-indent: -50px;
}
Index: start_page.css.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/config/start_page.css.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** start_page.css.php3 2001/04/03 20:34:38 1.1
--- start_page.css.php3 2001/04/11 23:06:14 1.2
***************
*** 1,23 ****
<?php
! /**
! * Stylesheet for the starting page of phpMyChat
! *
! * List of variables defined here
! * $fontFace = font face family
! * $large = large font size for main titles
! * $name = name for a variable sent or posted to this script
! * $small = small font size
! * $specialFont = true if a 'special font face' is required
! * $value = value for a variable sent or posted to this script
! *
! * @version $Id: start_page.css.php3,v 1.1 2001/01/09
! * @since phpMyChat 0.14.0
! * @author phpHeaven-team <php...@eg...>
! */
/**
! * Gets the names and values for variables posted to this script
*/
if (isset($HTTP_GET_VARS))
--- 1,27 ----
<?php
! //
! // +--------------------------------------------------------------------------+
! // | phpMyChat version 0.15.0 |
! // +--------------------------------------------------------------------------+
! // | Copyright (c) 2000-2001 The phpHeaven-team |
! // +--------------------------------------------------------------------------+
! // | This script defines the stylesheet used by the starting page of |
! // | phpMyChat. |
! // +--------------------------------------------------------------------------+
! // | From the phpMyChat project: |
! // | http://www.phpheaven.net/projects/phpMyChat/ |
! // | |
! // | Authors: the phpHeaven-team <php...@ya...> |
! // +--------------------------------------------------------------------------+
! //
! // $Id$
! //
! // The stylesheet for the starting page of phpMyChat.
! //
/**
! * Gets the names and the values of the variables sent to this script
*/
if (isset($HTTP_GET_VARS))
***************
*** 26,35 ****
{
$$name = $value;
! };
! };
/**
! * Defines some vars
*/
if (isset($charset))
--- 30,39 ----
{
$$name = $value;
! }
! }
/**
! * Defines the font face and the font sizes
*/
if (isset($charset))
***************
*** 37,53 ****
if (!empty($fontName))
{
! $fontFace = 'font-family: "' . $fontName . ', sans-serif";';
! $specialFont = 1;
}
else if ($charset == 'iso-8859-1')
{
! $fontFace = 'font-family: helvetica, arial, geneva, sans-serif;';
! };
! };
if (empty($medium))
! $medium = 10;
! $large = round(1.4 * $medium);
! $small = round(0.8 * $medium);
--- 41,57 ----
if (!empty($fontName))
{
! $fontFace = 'font-family: "' . $fontName . ', sans-serif";';
! $specialFont = 1;
}
else if ($charset == 'iso-8859-1')
{
! $fontFace = 'font-family: helvetica, arial, geneva, sans-serif;';
! }
! }
if (empty($medium))
! $medium = 10;
! $large = round(1.4 * $medium);
! $small = round(0.8 * $medium);
***************
*** 57,64 ****
*/
?>
-
.chatBody
{
! <?php if (isset($fontFace)) echo($fontFace); ?>
background-color: #666699;
color: #FFFFFF;
--- 61,70 ----
*/
?>
.chatBody
{
! <?php
! if (isset($fontFace))
! echo("\t" . $fontFace . "\n");
! ?>
background-color: #666699;
color: #FFFFFF;
***************
*** 71,75 ****
.chatTable
{
! <?php if (isset($fontFace)) echo($fontFace); ?>
background-color: #CCCCFF;
color: #000000;
--- 77,84 ----
.chatTable
{
! <?php
! if (isset($fontFace))
! echo("\t" . $fontFace . "\n");
! ?>
background-color: #CCCCFF;
color: #000000;
***************
*** 80,84 ****
.chatTabTitle
{
! <?php if (isset($fontFace)) echo($fontFace); ?>
background-color: #666699;
color: #FFFFFF;
--- 89,96 ----
.chatTabTitle
{
! <?php
! if (isset($fontFace))
! echo("\t" . $fontFace . "\n");
! ?>
background-color: #666699;
color: #FFFFFF;
***************
*** 89,93 ****
tr.chatCell, td.chatCell
{
! <?php if (isset($fontFace)) echo($fontFace); ?>
color: #000000;
font-size: <?php echo($medium); ?>pt;
--- 101,108 ----
tr.chatCell, td.chatCell
{
! <?php
! if (isset($fontFace))
! echo("\t" . $fontFace . "\n");
! ?>
color: #000000;
font-size: <?php echo($medium); ?>pt;
***************
*** 97,101 ****
th.chatCell
{
! <?php if (isset($fontFace)) echo($fontFace); ?>
color: #000000;
font-size: <?php echo($medium); ?>pt;
--- 112,119 ----
th.chatCell
{
! <?php
! if (isset($fontFace))
! echo("\t" . $fontFace . "\n");
! ?>
color: #000000;
font-size: <?php echo($medium); ?>pt;
***************
*** 107,131 ****
{
?>
! a.chatFonts
! {
! <?php if (isset($fontFace)) echo($fontFace); ?>
! text-decoration: underline;
! color: #FF0000;
! font-weight: 600;
! }
! a.chatFonts:hover, a.chatFonts:active
! {
! <?php if (isset($fontFace)) echo($fontFace); ?>
! color: #FF0000;
! text-decoration: none;
! }
<?php
! };
?>
a.chatLink
{
! <?php if (isset($fontFace)) echo($fontFace); ?>
text-decoration: underline;
color: #FFFFFF;
--- 125,161 ----
{
?>
! a.chatFonts
! {
! <?php
! if (isset($fontFace))
! echo($fontFace);
! echo("\n");
! ?>
! text-decoration: underline;
! color: #FF0000;
! font-weight: 600;
! }
! a.chatFonts:hover, a.chatFonts:active
! {
! <?php
! if (isset($fontFace))
! echo($fontFace);
! echo("\n");
! ?>
! color: #FF0000;
! text-decoration: none;
! }
<?php
! }
! echo("\n");
?>
a.chatLink
{
! <?php
! if (isset($fontFace))
! echo("\t" . $fontFace . "\n");
! ?>
text-decoration: underline;
color: #FFFFFF;
***************
*** 135,139 ****
a.chatLink:hover, a.chatLink:active
{
! <?php if (isset($fontFace)) echo($fontFace); ?>
color: #FF9900;
text-decoration: none;
--- 165,172 ----
a.chatLink:hover, a.chatLink:active
{
! <?php
! if (isset($fontFace))
! echo("\t" . $fontFace . "\n");
! ?>
color: #FF9900;
text-decoration: none;
***************
*** 142,146 ****
a.chatReg
{
! <?php if (isset($fontFace)) echo($fontFace); ?>
text-decoration: underline;
color: #0000C0;
--- 175,182 ----
a.chatReg
{
! <?php
! if (isset($fontFace))
! echo("\t" . $fontFace . "\n");
! ?>
text-decoration: underline;
color: #0000C0;
***************
*** 150,154 ****
a.chatReg:hover, a.chatReg:active
{
! <?php if (isset($fontFace)) echo($fontFace); ?>
color: #0000C0;
text-decoration: none;
--- 186,193 ----
a.chatReg:hover, a.chatReg:active
{
! <?php
! if (isset($fontFace))
! echo("\t" . $fontFace . "\n");
! ?>
color: #0000C0;
text-decoration: none;
***************
*** 157,161 ****
input.chatBox, select.chatBox, textarea.chatBox
{
! <?php if (isset($fontFace)) echo($fontFace); ?>
background: #EEEEFF;
}
--- 196,203 ----
input.chatBox, select.chatBox, textarea.chatBox
{
! <?php
! if (isset($fontFace))
! echo("\t" . $fontFace . "\n");
! ?>
background: #EEEEFF;
}
***************
*** 163,167 ****
.chatTitle
{
! <?php if (isset($fontFace)) echo($fontFace); ?>
color: #CCCCFF;
font-size: <?php echo($large); ?>pt;
--- 205,212 ----
.chatTitle
{
! <?php
! if (isset($fontFace))
! echo("\t" . $fontFace . "\n");
! ?>
color: #CCCCFF;
font-size: <?php echo($large); ?>pt;
***************
*** 171,175 ****
.chatError
{
! <?php if (isset($fontFace)) echo($fontFace); ?>
font-size: <?php echo($medium); ?>pt;
font-weight: 800;
--- 216,223 ----
.chatError
{
! <?php
! if (isset($fontFace))
! echo("\t" . $fontFace . "\n");
! ?>
font-size: <?php echo($medium); ?>pt;
font-weight: 800;
***************
*** 192,196 ****
.chatP1
{
! <?php if (isset($fontFace)) echo($fontFace); ?>
font-size: <?php echo($medium); ?>pt;
color: #FFFFFF;
--- 240,247 ----
.chatP1
{
! <?php
! if (isset($fontFace))
! echo("\t" . $fontFace . "\n");
! ?>
font-size: <?php echo($medium); ?>pt;
color: #FFFFFF;
***************
*** 199,203 ****
.chatP2
{
! <?php if (isset($fontFace)) echo($fontFace); ?>
font-size: <?php echo($medium); ?>pt;
color: #000000;
--- 250,257 ----
.chatP2
{
! <?php
! if (isset($fontFace))
! echo("\t" . $fontFace . "\n");
! ?>
font-size: <?php echo($medium); ?>pt;
color: #000000;
Index: config.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/config/config.lib.php3,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** config.lib.php3 2001/04/10 17:51:00 1.3
--- config.lib.php3 2001/04/11 23:06:14 1.4
***************
*** 79,83 ****
// if you want all moderators (and not only yourself) to banish users
// forever, set C_BANISH to 2000000 (six zero)
! define('C_BAD_WORDS', 0); // Check for swear words defined in chat/lib/swearing.lib.php3 file ?
// 0 = no, 1 = yes
define('C_SAVE', '*'); // Max number of message that an user may export with the /save command
--- 79,83 ----
// if you want all moderators (and not only yourself) to banish users
// forever, set C_BANISH to 2000000 (six zero)
! define('C_NO_SWEAR', 0); // Check for swear words defined in chat/lib/swearing.lib.php3 file ?
// 0 = no, 1 = yes
define('C_SAVE', '*'); // Max number of message that an user may export with the /save command
Index: admin.css.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/config/admin.css.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** admin.css.php3 2001/04/03 20:34:38 1.1
--- admin.css.php3 2001/04/11 23:06:14 1.2
***************
*** 1,33 ****
<?php
! /**
! * Stylesheet for the administration pages of phpMyChat
! *
! * List of variables defined here
! * $large = large font size for main titles
! * $name = name for a variable sent or posted to this script
! * $small = small font size
! * $value = value for a variable sent or posted to this script
! *
! * @version $Id: admin.css.php3,v 2.1 2001/01/09
! * @since phpMyChat 0.13.2
! * @author phpHeaven-team <php...@eg...>
! */
/**
! * Gets the names and values for variables posted to this script
*/
if (isset($HTTP_GET_VARS))
{
! while(list($name,$value) = each($HTTP_GET_VARS))
{
$$name = $value;
! };
! };
/**
! * Defines some vars
*/
if (isset($charset))
--- 1,39 ----
<?php
! //
! // +--------------------------------------------------------------------------+
! // | phpMyChat version 0.15.0 |
! // +--------------------------------------------------------------------------+
! // | Copyright (c) 2000-2001 The phpHeaven-team |
! // +--------------------------------------------------------------------------+
! // | This script defines the stylesheet used by the administration sheets of |
! // | phpMyChat. |
! // +--------------------------------------------------------------------------+
! // | From the phpMyChat project: |
! // | http://www.phpheaven.net/projects/phpMyChat/ |
! // | |
! // | Authors: the phpHeaven-team <php...@ya...> |
! // +--------------------------------------------------------------------------+
! //
! // $Id$
! //
! // The stylesheet for the administration pages of phpMyChat.
! //
/**
! * Gets the names and the values of the variables sent to this script
*/
if (isset($HTTP_GET_VARS))
{
! while(list($name, $value) = each($HTTP_GET_VARS))
{
$$name = $value;
! }
! }
/**
! * Defines the font face and the font sizes
*/
if (isset($charset))
***************
*** 35,53 ****
if (!empty($fontName))
{
?>
! * {font-family: <?php echo($fontName); ?>, sans-serif;}
<?php
}
! elseif ($charset == 'iso-8859-1')
{
?>
! * {font-family: helvetica, arial, geneva, sans-serif;}
<?php
! };
! };
! if (empty($medium)) $medium = 10;
! $large = round(1.4 * $medium);
! $small = round(0.8 * $medium);
--- 41,63 ----
if (!empty($fontName))
{
+ echo("\n");
?>
! * {font-family: <?php echo($fontName); ?>, sans-serif;}
<?php
}
! else if ($charset == 'iso-8859-1')
{
+ echo("\n");
?>
! * {font-family: helvetica, arial, geneva, sans-serif;}
<?php
! }
! }
! echo("\n");
! if (empty($medium))
! $medium = 10;
! $large = round(1.4 * $medium);
! $small = round(0.8 * $medium);
***************
*** 86,90 ****
color: #FFFFFF;
border-bottom: 1pt solid #FFFFFF;
! };
.menuTitle
--- 96,100 ----
color: #FFFFFF;
border-bottom: 1pt solid #FFFFFF;
! }
.menuTitle
***************
*** 94,98 ****
background-color: #666699;
color: #CCCCFF;
! };
a
--- 104,108 ----
background-color: #666699;
color: #CCCCFF;
! }
a
***************
*** 101,105 ****
color: #FFFFFF;
font-weight: 600;
! };
a:hover, a:active
--- 111,115 ----
color: #FFFFFF;
font-weight: 600;
! }
a:hover, a:active
***************
*** 107,111 ****
color: #FF9900;
text-decoration: none;
! };
.thumbIndex
--- 117,121 ----
color: #FF9900;
text-decoration: none;
! }
.thumbIndex
***************
*** 118,122 ****
border-left: 1pt solid #FFFFFF;
border-right: 1pt solid #FFFFFF;
! };
.thumbIndex a
--- 128,132 ----
border-left: 1pt solid #FFFFFF;
border-right: 1pt solid #FFFFFF;
! }
.thumbIndex a
***************
*** 180,184 ****
color: #FF0000;
font-weight: 800;
! };
.errorLink:hover
--- 190,194 ----
color: #FF0000;
font-weight: 800;
! }
.errorLink:hover
***************
*** 186,190 ****
text-decoration: none;
color: #FF0000;
! };
.success
--- 196,200 ----
text-decoration: none;
color: #FF0000;
! }
.success
|