[TEP-COMMIT] [CVS admin] remove redundant files
hpdl-OfajU3CKLf1/[email protected] 29 Aug 2004 22:24:05 -0000
| Newsgroups | gmane.comp.web.oscommerce.cvs |
|---|---|
| Message-ID | <[email protected]> |
<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>admin/admin/includes</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt><span id="removed">column_left.php</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/column_left.php?rev=1.15&content-type=text/vnd.viewcvs-markup">1.15</a> removed</td></tr>
<tr class="alt"><td><tt><span id="removed">footer.php</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/footer.php?rev=1.13&content-type=text/vnd.viewcvs-markup">1.13</a> removed</td></tr>
<tr><td><tt><span id="removed">header.php</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/header.php?rev=1.19&content-type=text/vnd.viewcvs-markup">1.19</a> removed</td></tr>
<tr class="alt"><td><tt><span id="removed">stylesheet.css</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/stylesheet.css?rev=1.26&content-type=text/vnd.viewcvs-markup">1.26</a> removed</td></tr>
<tr><td><tt>boxes/<span id="removed">catalog.php</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/catalog.php?rev=1.22&content-type=text/vnd.viewcvs-markup">1.22</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">configuration.php</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/configuration.php?rev=1.20&content-type=text/vnd.viewcvs-markup">1.20</a> removed</td></tr>
<tr><td><tt> /<span id="removed">customers.php</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/customers.php?rev=1.17&content-type=text/vnd.viewcvs-markup">1.17</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">localization.php</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/localization.php?rev=1.18&content-type=text/vnd.viewcvs-markup">1.18</a> removed</td></tr>
<tr><td><tt> /<span id="removed">modules.php</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/modules.php?rev=1.17&content-type=text/vnd.viewcvs-markup">1.17</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">reports.php</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/reports.php?rev=1.6&content-type=text/vnd.viewcvs-markup">1.6</a> removed</td></tr>
<tr><td><tt> /<span id="removed">taxes.php</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/taxes.php?rev=1.19&content-type=text/vnd.viewcvs-markup">1.19</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">tools.php</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/tools.php?rev=1.23&content-type=text/vnd.viewcvs-markup">1.23</a> removed</td></tr>
<tr><td><tt>javascript/<span id="removed">calendar.css</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/calendar.css?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">calendarcode.js</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/calendarcode.js?rev=1.2&content-type=text/vnd.viewcvs-markup">1.2</a> removed</td></tr>
<tr><td><tt>javascript/spiffyCal/<span id="removed">spiffyCal_v2_1.css</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/spiffyCal_v2_1.css?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">spiffyCal_v2_1.js</span></tt></td><td></td><td></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/spiffyCal_v2_1.js?rev=1.2&content-type=text/vnd.viewcvs-markup">1.2</a> removed</td></tr>
<tr><td><tt>javascript/spiffyCal/images/<span id="removed">btn_close_small.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_close_small.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">btn_date1_disabled.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_date1_disabled.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr><td><tt> /<span id="removed">btn_date1_down.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_date1_down.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">btn_date1_over.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_date1_over.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr><td><tt> /<span id="removed">btn_date1_up.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_date1_up.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">btn_date2_disabled.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_date2_disabled.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr><td><tt> /<span id="removed">btn_date2_down.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_date2_down.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">btn_date2_over.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_date2_over.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr><td><tt> /<span id="removed">btn_date2_up.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_date2_up.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">btn_date_disabled.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_date_disabled.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr><td><tt> /<span id="removed">btn_date_down.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_date_down.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">btn_date_over.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_date_over.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr><td><tt> /<span id="removed">btn_date_up.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_date_up.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">btn_del_small.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_del_small.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr><td><tt> /<span id="removed">btn_info.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/btn_info.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">s.gif</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/s.gif?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr><td><tt> /<span id="removed">spiffycal.cur</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/spiffycal.cur?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr class="alt"><td><tt> /<span id="removed">spiffycal2.cur</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/spiffycal2.cur?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
<tr><td><tt> /<span id="removed">spiffycal3.cur</span></tt></td><td colspan="2" align="center"><small id="info">[binary]</small></td><td nowrap="nowrap"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/images/spiffycal3.cur?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a> removed</td></tr>
</table>
<small id="info">35 removed files</small><br />
<pre class="comment">
remove redundant files
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a><br /></span>
<div class="fileheader" id="removed"><big><b>column_left.php</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/column_left.php?rev=1.15&content-type=text/vnd.viewcvs-markup">1.15</a></small></div>
<pre class="diff"><small id="info">diff -N column_left.php
--- /tmp/cvsAAAVqaisY Mon Aug 30 00:23:53 2004
+++ /dev/null Mon Aug 30 00:23:52 2004
@@ -1,21 +0,0 @@
</small></pre><pre class="diff" id="removed">-<?php
-/*
- $Id$
-
- osCommerce, Open Source E-Commerce Solutions
- http://www.oscommerce.com
-
- Copyright (c) 2002 osCommerce
-
- Released under the GNU General Public License
-*/
-
- require(DIR_WS_BOXES . 'configuration.php');
- require(DIR_WS_BOXES . 'catalog.php');
- require(DIR_WS_BOXES . 'modules.php');
- require(DIR_WS_BOXES . 'customers.php');
- require(DIR_WS_BOXES . 'taxes.php');
- require(DIR_WS_BOXES . 'localization.php');
- require(DIR_WS_BOXES . 'reports.php');
- require(DIR_WS_BOXES . 'tools.php');
-?>
<hr /><a name="file2" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a><br /></span>
<div class="fileheader" id="removed"><big><b>footer.php</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/footer.php?rev=1.13&content-type=text/vnd.viewcvs-markup">1.13</a></small></div>
<pre class="diff"><small id="info">diff -N footer.php
--- /tmp/cvsAAABraqsY Mon Aug 30 00:23:53 2004
+++ /dev/null Mon Aug 30 00:23:52 2004
@@ -1,43 +0,0 @@
</small></pre><pre class="diff" id="removed">-<?php
-/*
- $Id$
-
- osCommerce, Open Source E-Commerce Solutions
- http://www.oscommerce.com
-
- Copyright (c) 2004 osCommerce
-
- Released under the GNU General Public License
-*/
-?>
-<br>
-<table border="0" width="100%" cellspacing="0" cellpadding="2">
- <tr>
- <td align="center" class="smallText">
-<?php
-/*
- The following copyright announcement is in compliance
- to section 2c of the GNU General Public License, and
- thus can not be removed, or can only be modified
- appropriately.
-
- For more information please read the osCommerce
- copyright policy found here:
-
- http://www.oscommerce.com/about/copyright
-
- Please leave this comment intact together with the
- following copyright announcement.
-*/
-?>
-E-Commerce Engine Copyright &copy; 2004 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>
-osCommerce provides no warranty and is redistributable under the <a href="http://www.fsf.org/licenses/gpl.txt" target="_blank">GNU General Public License</a>
- </td>
- </tr>
- <tr>
- <td><?php echo tep_image(DIR_WS_IMAGES . 'pixel_trans.gif', '', '1', '5'); ?></td>
- </tr>
- <tr>
- <td align="center" class="smallText">Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a></td>
- </tr>
-</table>
<hr /><a name="file3" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a><br /></span>
<div class="fileheader" id="removed"><big><b>header.php</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/header.php?rev=1.19&content-type=text/vnd.viewcvs-markup">1.19</a></small></div>
<pre class="diff"><small id="info">diff -N header.php
--- /tmp/cvsAAAItaysY Mon Aug 30 00:23:54 2004
+++ /dev/null Mon Aug 30 00:23:52 2004
@@ -1,26 +0,0 @@
</small></pre><pre class="diff" id="removed">-<?php
-/*
- $Id$
-
- osCommerce, Open Source E-Commerce Solutions
- http://www.oscommerce.com
-
- Copyright (c) 2002 osCommerce
-
- Released under the GNU General Public License
-*/
-
- if ($messageStack->size > 0) {
- echo $messageStack->output();
- }
-?>
-<table border="0" width="100%" cellspacing="0" cellpadding="0">
- <tr>
- <td><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce', '204', '50'); ?></td>
- <td align="right"><?php echo '<a href="http://www.oscommerce.com" target="_blank">' . tep_image(DIR_WS_IMAGES . 'header_support.gif', HEADER_TITLE_SUPPORT_SITE, '50', '50') . '</a>&nbsp;&nbsp;<a href="' . tep_catalog_href_link() . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_ONLINE_CATALOG, '53', '50') . '</a>&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_administration.gif', HEADER_TITLE_ADMINISTRATION, '50', '50') . '</a>'; ?>&nbsp;&nbsp;</td>
- </tr>
- <tr class="headerBar">
- <td class="headerBarContent">&nbsp;&nbsp;<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_TOP . '</a>'; ?></td>
- <td class="headerBarContent" align="right"><?php echo '<a href="http://www.oscommerce.com" class="headerLink">' . HEADER_TITLE_SUPPORT_SITE . '</a> &nbsp;|&nbsp; <a href="' . tep_catalog_href_link() . '" class="headerLink">' . HEADER_TITLE_ONLINE_CATALOG . '</a> &nbsp;|&nbsp; <a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_ADMINISTRATION . '</a>'; ?>&nbsp;&nbsp;</td>
- </tr>
-</table>
</pre><pre class="diff"><small id="info">\ No newline at end of file
<hr /><a name="file4" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a><br /></span>
<div class="fileheader" id="removed"><big><b>stylesheet.css</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/stylesheet.css?rev=1.26&content-type=text/vnd.viewcvs-markup">1.26</a></small></div>
<pre class="diff"><small id="info">diff -N stylesheet.css
--- /tmp/cvsAAADvaOsY Mon Aug 30 00:23:54 2004
+++ /dev/null Mon Aug 30 00:23:52 2004
@@ -1,86 +0,0 @@
</small></pre><pre class="diff" id="removed">-/*
- $Id$
-
- osCommerce, Open Source E-Commerce Solutions
- http://www.oscommerce.com
-
- Copyright (c) 2002 osCommerce
-
- Released under the GNU General Public License
-*/
-
-/* links */
-a:link { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; font-weight: normal; text-decoration: none; }
-a:visited { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; font-weight: normal; text-decoration: none; }
-a:active { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; font-weight: normal; text-decoration: none; }
-a:hover { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; font-weight: normal; text-decoration: underline; }
-
-a.headerLink:link { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ffffff; font-weight: bold; text-decoration: none; }
-a.headerLink:visited { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ffffff; font-weight: bold; text-decoration: none; }
-a.headerLink:active { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ffffff; font-weight: bold; text-decoration: none; }
-a.headerLink:hover { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ffffff; font-weight: bold; text-decoration: underline; }
-
-a.menuBoxHeadingLink:link { font-size: 10px; color: #616060; font-weight: bold; text-decoration: none; }
-a.menuBoxHeadingLink:visited { font-size: 10px; color: #616060; font-weight: bold; text-decoration: none; }
-a.menuBoxHeadingLink:active { font-size: 10px; color: #616060; font-weight: bold; text-decoration: none; }
-a.menuBoxHeadingLink:hover { font-size: 10px; color: #616060; font-weight: bold; text-decoration: none; }
-
-a.menuBoxContentLink:link { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #616060; font-weight: normal; text-decoration: none; }
-a.menuBoxContentLink:visited { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #616060; font-weight: normal; text-decoration: none; }
-a.menuBoxContentLink:active { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #616060; font-weight: normal; text-decoration: none; }
-a.menuBoxContentLink:hover { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #616060; font-weight: normal; text-decoration: underline; }
-
-a.splitPageLink:link { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #0000FF; font-weight: normal; text-decoration: none; }
-a.splitPageLink:visited { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #0000FF; font-weight: normal; text-decoration: none; }
-a.splitPageLink:active { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #0000FF; font-weight: normal; text-decoration: none; }
-a.splitPageLink:hover { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #0000FF; font-weight: normal; text-decoration: underline; background-color: #FFFF33; }
-
-/* menu box */
-.menuBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #616060; background-color: #ffffff; }
-.menuBoxContent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #616060; }
-
-/* page */
-body { background-color: #ffffff; color: #000000; margin: 0px; }
-.headerBar { background-color: #B3BAC5; }
-.headerBarContent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ffffff; font-weight: bold; padding: 2px; }
-.columnLeft { background-color: #F0F1F1; border-color: #999999; border-width: 1px; border-style: solid; padding: 2px; }
-.pageHeading { font-family: Verdana, Arial, sans-serif; font-size: 18px; color: #727272; font-weight: bold; }
-
-/* data table */
-.dataTableHeadingRow { background-color: #C9C9C9; }
-.dataTableHeadingContent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ffffff; font-weight: bold; }
-.dataTableRow { background-color: #F0F1F1; }
-.dataTableRowSelected { background-color: #DEE4E8; }
-.dataTableRowOver { background-color: #FFFFFF; cursor: pointer; cursor: hand; }
-.dataTableContent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; }
-
-/* info box */
-.infoBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ffffff; background-color: #B3BAC5; }
-.infoBoxContent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; background-color: #DEE4E8; }
-
-/* message box */
-
-.messageBox { font-family: Verdana, Arial, sans-serif; font-size: 10px; }
-.messageStackError, .messageStackWarning { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #ffb3b5; }
-.messageStackSuccess { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #99ff00; }
-
-/* forms */
-CHECKBOX, INPUT, RADIO, SELECT, TEXTAREA, FILE { font-family: Verdana, Arial, sans-serif; font-size: 11px; }
-FORM { display: inline; }
-
-/* account */
-.formArea { background-color: #f1f9fe; border-color: #7b9ebd; border-style: solid; border-width: 1px; }
-.formAreaTitle { font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold; }
-
-/* attributes */
-.attributes-odd { background-color: #f4f7fd; }
-.attributes-even { background-color: #ffffff; }
-
-/* miscellaneous */
-.specialPrice { color: #ff0000; }
-.oldPrice { text-decoration: line-through; }
-.fieldRequired { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ff0000; }
-.smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; }
-.main { font-family: Verdana, Arial, sans-serif; font-size: 12px; }
-.errorText { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ff0000; }
-
<hr /><a name="file5" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes">boxes</a><br /></span>
<div class="fileheader" id="removed"><big><b>catalog.php</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/catalog.php?rev=1.22&content-type=text/vnd.viewcvs-markup">1.22</a></small></div>
<pre class="diff"><small id="info">diff -N catalog.php
--- /tmp/cvsAAAULaOtY Mon Aug 30 00:23:55 2004
+++ /dev/null Mon Aug 30 00:23:52 2004
@@ -1,35 +0,0 @@
</small></pre><pre class="diff" id="removed">-<?php
-/*
- $Id$
-
- osCommerce, Open Source E-Commerce Solutions
- http://www.oscommerce.com
-
- Copyright (c) 2004 osCommerce
-
- Released under the GNU General Public License
-*/
-?>
-<!-- catalog //-->
- <tr>
- <td>
-<?php
- $heading = array();
- $contents = array();
-
- $heading[] = array('text' => BOX_HEADING_CATALOG,
- 'link' => "javascript:toggleBlock('catalog');");
-
- $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CATEGORIES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_MANUFACTURERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_MANUFACTURERS . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_REVIEWS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_REVIEWS . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_SPECIALS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_SPECIALS . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>');
-
- $box = new box;
- echo $box->menuBox($heading, $contents, 'catalog');
-?>
- </td>
- </tr>
-<!-- catalog_eof //-->
<hr /><a name="file6" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes">boxes</a><br /></span>
<div class="fileheader" id="removed"><big><b>configuration.php</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/configuration.php?rev=1.20&content-type=text/vnd.viewcvs-markup">1.20</a></small></div>
<pre class="diff"><small id="info">diff -N configuration.php
--- /tmp/cvsAAA2NaWtY Mon Aug 30 00:23:55 2004
+++ /dev/null Mon Aug 30 00:23:52 2004
@@ -1,39 +0,0 @@
</small></pre><pre class="diff" id="removed">-<?php
-/*
- $Id$
-
- osCommerce, Open Source E-Commerce Solutions
- http://www.oscommerce.com
-
- Copyright (c) 2004 osCommerce
-
- Released under the GNU General Public License
-*/
-?>
-<!-- configuration //-->
- <tr>
- <td>
-<?php
- $heading = array();
- $contents = array();
-
- $heading[] = array('text' => BOX_HEADING_CONFIGURATION,
- 'link' => "javascript:toggleBlock('configuration');");
-
- $cfg_groups = '';
- $configuration_groups_query = tep_db_query("select configuration_group_id as cgID, configuration_group_title as cgTitle from " . TABLE_CONFIGURATION_GROUP . " where visible = '1' order by sort_order");
- while ($configuration_groups = tep_db_fetch_array($configuration_groups_query)) {
- $cfg_groups .= '<a href="' . tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $configuration_groups['cgID'], 'NONSSL') . '" class="menuBoxContentLink">' . $configuration_groups['cgTitle'] . '</a><br>';
- }
-
- $cfg_groups .= '<a href="' . tep_href_link(FILENAME_SERVICES) . '" class="menuBoxContentLink">' . BOX_CONFIGURATION_SERVICES . '</a><br>';
- $cfg_groups .= '<a href="' . tep_href_link(FILENAME_CREDIT_CARDS) . '" class="menuBoxContentLink">' . BOX_CONFIGURATION_CREDIT_CARDS . '</a><br>';
-
- $contents[] = array('text' => $cfg_groups);
-
- $box = new box;
- echo $box->menuBox($heading, $contents, 'configuration');
-?>
- </td>
- </tr>
-<!-- configuration_eof //-->
<hr /><a name="file7" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes">boxes</a><br /></span>
<div class="fileheader" id="removed"><big><b>customers.php</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/customers.php?rev=1.17&content-type=text/vnd.viewcvs-markup">1.17</a></small></div>
<pre class="diff"><small id="info">diff -N customers.php
--- /tmp/cvsAAAzOa4tY Mon Aug 30 00:23:55 2004
+++ /dev/null Mon Aug 30 00:23:52 2004
@@ -1,31 +0,0 @@
</small></pre><pre class="diff" id="removed">-<?php
-/*
- $Id$
-
- osCommerce, Open Source E-Commerce Solutions
- http://www.oscommerce.com
-
- Copyright (c) 2004 osCommerce
-
- Released under the GNU General Public License
-*/
-?>
-<!-- customers //-->
- <tr>
- <td>
-<?php
- $heading = array();
- $contents = array();
-
- $heading[] = array('text' => BOX_HEADING_CUSTOMERS,
- 'link' => "javascript:toggleBlock('customers');");
-
- $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_CUSTOMERS . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_ORDERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_ORDERS . '</a>');
-
- $box = new box;
- echo $box->menuBox($heading, $contents, 'customers');
-?>
- </td>
- </tr>
-<!-- customers_eof //-->
<hr /><a name="file8" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes">boxes</a><br /></span>
<div class="fileheader" id="removed"><big><b>localization.php</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/localization.php?rev=1.18&content-type=text/vnd.viewcvs-markup">1.18</a></small></div>
<pre class="diff"><small id="info">diff -N localization.php
--- /tmp/cvsAAAYTaGuY Mon Aug 30 00:23:55 2004
+++ /dev/null Mon Aug 30 00:23:52 2004
@@ -1,33 +0,0 @@
</small></pre><pre class="diff" id="removed">-<?php
-/*
- $Id$
-
- osCommerce, Open Source E-Commerce Solutions
- http://www.oscommerce.com
-
- Copyright (c) 2004 osCommerce
-
- Released under the GNU General Public License
-*/
-?>
-<!-- localization //-->
- <tr>
- <td>
-<?php
- $heading = array();
- $contents = array();
-
- $heading[] = array('text' => BOX_HEADING_LOCALIZATION,
- 'link' => "javascript:toggleBlock('localization');");
-
- $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CURRENCIES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_LOCALIZATION_CURRENCIES . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_LANGUAGES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_LOCALIZATION_LANGUAGES . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_ORDERS_STATUS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_LOCALIZATION_ORDERS_STATUS . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_WEIGHT_CLASSES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_LOCALIZATION_WEIGHT_CLASSES . '</a>');
-
- $box = new box;
- echo $box->menuBox($heading, $contents, 'localization');
-?>
- </td>
- </tr>
-<!-- localization_eof //-->
<hr /><a name="file9" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes">boxes</a><br /></span>
<div class="fileheader" id="removed"><big><b>modules.php</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/modules.php?rev=1.17&content-type=text/vnd.viewcvs-markup">1.17</a></small></div>
<pre class="diff"><small id="info">diff -N modules.php
--- /tmp/cvsAAAAUaOuY Mon Aug 30 00:23:55 2004
+++ /dev/null Mon Aug 30 00:23:52 2004
@@ -1,32 +0,0 @@
</small></pre><pre class="diff" id="removed">-<?php
-/*
- $Id$
-
- osCommerce, Open Source E-Commerce Solutions
- http://www.oscommerce.com
-
- Copyright (c) 2004 osCommerce
-
- Released under the GNU General Public License
-*/
-?>
-<!-- modules //-->
- <tr>
- <td>
-<?php
- $heading = array();
- $contents = array();
-
- $heading[] = array('text' => BOX_HEADING_MODULES,
- 'link' => "javascript:toggleBlock('modules');");
-
- $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_MODULES, 'set=payment', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_PAYMENT . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_MODULES, 'set=shipping', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_SHIPPING . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_MODULES, 'set=ordertotal', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_MODULES_ORDER_TOTAL . '</a>');
-
- $box = new box;
- echo $box->menuBox($heading, $contents, 'modules');
-?>
- </td>
- </tr>
-<!-- modules_eof //-->
<hr /><a name="file10" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes">boxes</a><br /></span>
<div class="fileheader" id="removed"><big><b>reports.php</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/reports.php?rev=1.6&content-type=text/vnd.viewcvs-markup">1.6</a></small></div>
<pre class="diff"><small id="info">diff -N reports.php
--- /tmp/cvsAAAwVaWuY Mon Aug 30 00:23:55 2004
+++ /dev/null Mon Aug 30 00:23:52 2004
@@ -1,30 +0,0 @@
</small></pre><pre class="diff" id="removed">-<?php
-/*
- $Id$
-
- osCommerce, Open Source E-Commerce Solutions
- http://www.oscommerce.com
-
- Copyright (c) 2004 osCommerce
-
- Released under the GNU General Public License
-*/
-?>
-<!-- reports //-->
- <tr>
- <td>
-<?php
- $heading = array();
- $contents = array();
-
- $heading[] = array('text' => BOX_HEADING_REPORTS,
- 'link' => "javascript:toggleBlock('reports');");
-
- $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_STATISTICS) . '" class="menuBoxContentLink">' . BOX_REPORTS_STATISTICS . '</a>');
-
- $box = new box;
- echo $box->menuBox($heading, $contents, 'reports');
-?>
- </td>
- </tr>
-<!-- reports_eof //-->
<hr /><a name="file11" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes">boxes</a><br /></span>
<div class="fileheader" id="removed"><big><b>taxes.php</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/taxes.php?rev=1.19&content-type=text/vnd.viewcvs-markup">1.19</a></small></div>
<pre class="diff"><small id="info">diff -N taxes.php
--- /tmp/cvsAAA2Va4uY Mon Aug 30 00:23:55 2004
+++ /dev/null Mon Aug 30 00:23:52 2004
@@ -1,33 +0,0 @@
</small></pre><pre class="diff" id="removed">-<?php
-/*
- $Id$
-
- osCommerce, Open Source E-Commerce Solutions
- http://www.oscommerce.com
-
- Copyright (c) 2004 osCommerce
-
- Released under the GNU General Public License
-*/
-?>
-<!-- taxes //-->
- <tr>
- <td>
-<?php
- $heading = array();
- $contents = array();
-
- $heading[] = array('text' => BOX_HEADING_LOCATION_AND_TAXES,
- 'link' => "javascript:toggleBlock('taxes');");
-
- $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_COUNTRIES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_TAXES_COUNTRIES . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_ZONES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_TAXES_ZONES . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_GEO_ZONES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_TAXES_GEO_ZONES . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_TAX_CLASSES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_TAXES_TAX_CLASSES . '</a>');
-
- $box = new box;
- echo $box->menuBox($heading, $contents, 'taxes');
-?>
- </td>
- </tr>
-<!-- taxes_eof //-->
<hr /><a name="file12" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes">boxes</a><br /></span>
<div class="fileheader" id="removed"><big><b>tools.php</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/boxes/tools.php?rev=1.23&content-type=text/vnd.viewcvs-markup">1.23</a></small></div>
<pre class="diff"><small id="info">diff -N tools.php
--- /tmp/cvsAAAtWaavY Mon Aug 30 00:23:55 2004
+++ /dev/null Mon Aug 30 00:23:52 2004
@@ -1,37 +0,0 @@
</small></pre><pre class="diff" id="removed">-<?php
-/*
- $Id$
-
- osCommerce, Open Source E-Commerce Solutions
- http://www.oscommerce.com
-
- Copyright (c) 2004 osCommerce
-
- Released under the GNU General Public License
-*/
-?>
-<!-- tools //-->
- <tr>
- <td>
-<?php
- $heading = array();
- $contents = array();
-
- $heading[] = array('text' => BOX_HEADING_TOOLS,
- 'link' => "javascript:toggleBlock('tools');");
-
- $contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_BACKUP) . '" class="menuBoxContentLink">' . BOX_TOOLS_BACKUP . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_BANNER_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_BANNER_MANAGER . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_CACHE) . '" class="menuBoxContentLink">' . BOX_TOOLS_CACHE . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_DEFINE_LANGUAGE) . '" class="menuBoxContentLink">' . BOX_TOOLS_DEFINE_LANGUAGE . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_FILE_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_FILE_MANAGER . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_NEWSLETTERS) . '" class="menuBoxContentLink">' . BOX_TOOLS_NEWSLETTER_MANAGER . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_SERVER_INFO) . '" class="menuBoxContentLink">' . BOX_TOOLS_SERVER_INFO . '</a><br>' .
- '<a href="' . tep_href_link(FILENAME_WHOS_ONLINE) . '" class="menuBoxContentLink">' . BOX_TOOLS_WHOS_ONLINE . '</a>');
-
- $box = new box;
- echo $box->menuBox($heading, $contents, 'tools');
-?>
- </td>
- </tr>
-<!-- tools_eof //-->
<hr /><a name="file13" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript">javascript</a><br /></span>
<div class="fileheader" id="removed"><big><b>calendar.css</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/calendar.css?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N calendar.css
--- /tmp/cvsAAAq3aGvY Mon Aug 30 00:23:56 2004
+++ /dev/null Mon Aug 30 00:23:52 2004
@@ -1,123 +0,0 @@
</small></pre><pre class="diff" id="removed">-/*
-* Popup Calendar Styles
-*/
-.head {
- font-family: arial;
- font-size: 12px;
- font-weight: normal;
-}
-
-.text {
- font-family: arial;
- font-size: 12px;
- font-weight: normal;
- padding: 2px;
-}
-
-#popupcalendar {
- width: 185px;
- height:130px;
- left: 0px;
- top: 0px;
- background-color: black;
- position: absolute;
- visibility: hidden;
-}
-
-
-a.cal-DayLink {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- text-decoration: none;
- color: black;
- background-color: transparent;
-}
-a.cal-DayLink:hover {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: bold;
- text-decoration: none;
- background-color: transparent;
- color: Blue;
-}
-a.cal-DayLink:active {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- text-decoration: none;
- background-color: transparent;
- color: #0066FF;
-}
-.cal-TextBox{
- color: Black;
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- background-color: #FFFFCC;
-}
-
-a.cal-TodayLink {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: bold;
- text-decoration: none;
- color: red;
- background-color: transparent;
-}
-a.cal-TodayLink:hover {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: bold;
- text-decoration: none;
- background-color: transparent;
- color: Blue;
-}
-a.cal-TodayLink:active {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: bold;
- text-decoration: none;
- background-color: transparent;
- color: #0066FF;
-}
-
-.cal-GreyDate {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- text-decoration: none;
- background-color: #FFFFCC;
- color: #999999;
-}
-
-.cal-GreyInvalidDate {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- text-decoration: line-through;
- background-color: #FFFFCC;
- color: #999999;
-}
-
-.cal-DayCell {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- background-color:White; /*#FFFFCC;*/
-}
-
-.cal-HeadCell {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: bold;
- background-color: #99CCCC;/* #CCCC99; */
-}
-
-.cal-Table{
- border-top-color: #99CCCC;
- border-left-color: #99CCCC;
- border-right-color: #99CCCC;
- border-bottom-color: #99CCCC;
- background-color:black;
-}
</pre><pre class="diff"><small id="info">\ No newline at end of file
<hr /><a name="file14" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript">javascript</a><br /></span>
<div class="fileheader" id="removed"><big><b>calendarcode.js</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/calendarcode.js?rev=1.2&content-type=text/vnd.viewcvs-markup">1.2</a></small></div>
<pre class="diff"><small id="info">diff -N calendarcode.js
--- /tmp/cvsAAAJ7aOvY Mon Aug 30 00:23:56 2004
+++ /dev/null Mon Aug 30 00:23:52 2004
@@ -1,466 +0,0 @@
</small></pre><pre class="diff" id="removed">-/*
- * Bazillyo's Spiffy DHTML Popup Calendar v. 1.0 © 2000 S. Ousta
- * - freeware with this comment
- * - for download size, you can strip all spaces & comments except the © notices
- * - Thanks to Chris for the domlay() function
- * - this requires calendarcode.js, calendar.css, and calendarTest.htm
- * - works in IE4.x, IE5.x, NS4.75 possibly 4.x, NS6 (with slight cosmetic issues)
- * - Netscape does display some controls overtop of the layer so layout is important
- *
- */
-
-// initialiZe variables...
-var ppcIE=((navigator.appName == "Microsoft Internet Explorer") || ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion)==5)));
-var ppcNN6=((navigator.appName == "Netscape") && (parseInt(navigator.appVersion)==5));
-//var ppcIE=(navigator.appName == "Microsoft Internet Explorer");
-var ppcNN=((navigator.appName == "Netscape")&&(document.layers));
-var ppcX = 4;
-var ppcY = 4;
-
-var IsCalendarVisible;
-var calfrmName;
-var maxYearList;
-var minYearList;
-var todayDate = new Date;
-var curDate = new Date;
-var curImg;
-var curDateBox;
-var minDate = new Date;
-var maxDate = new Date;
-var hideDropDowns;
-var IsUsingMinMax;
-var FuncsToRun;
-var img_del;
-var img_close;
-img_del=new Image();
-img_del.src="./images/cal_del_small.gif";
-img_close=new Image();
-img_close.src="./images/cal_close_small.gif";
-
-minYearList=todayDate.getFullYear()-10;
-maxYearList=todayDate.getFullYear()+10;
-IsCalendarVisible=false;
-
-img_Date_UP=new Image();
-img_Date_UP.src="./images/cal_date_up.gif";
-
-img_Date_OVER=new Image();
-img_Date_OVER.src="./images/cal_date_over.gif";
-
-img_Date_DOWN=new Image();
-img_Date_DOWN.src="./images/cal_date_down.gif";
-
-
-function calSwapImg(whatID, NewImg,override) {
- if (document.images) {
- if (!( IsCalendarVisible && override )) {
- document.images[whatID].src = eval(NewImg + ".src");
- }
- }
- window.status=' ';
- return true;
-}
-
-function getOffsetLeft (el) {
- var ol = el.offsetLeft;
- while ((el = el.offsetParent) != null)
- ol += el.offsetLeft;
- return ol+130;
-}
-
-function getOffsetTop (el) {
- var ot = el.offsetTop;
- while((el = el.offsetParent) != null)
- ot += el.offsetTop;
- return ot-50;
-}
-
-function showCalendar(frmName, dteBox,btnImg, hideDrops, MnDt, MnMo, MnYr, MxDt, MxMo, MxYr,runFuncs) {
- hideDropDowns = hideDrops;
- FuncsToRun = runFuncs;
- calfrmName = frmName;
- if (IsCalendarVisible) {
- hideCalendar();
- }
- else {
- if (document.images['calbtn1']!=null ) document.images['calbtn1'].src=img_del.src;
- if (document.images['calbtn2']!=null ) document.images['calbtn2'].src=img_close.src;
-
- if (hideDropDowns) {toggleDropDowns('hidden');}
- if ((MnDt!=null) && (MnMo!=null) && (MnYr!=null) && (MxDt!=null) && (MxMo!=null) && (MxYr!=null)) {
- IsUsingMinMax = true;
- minDate.setDate(MnDt);
- minDate.setMonth(MnMo-1);
- minDate.setFullYear(MnYr);
- maxDate.setDate(MxDt);
- maxDate.setMonth(MxMo-1);
- maxDate.setFullYear(MxYr);
- }
- else {
- IsUsingMinMax = false;
- }
-
- curImg = btnImg;
- curDateBox = dteBox;
- if ( ppcIE ) {
- ppcX = getOffsetLeft(document.images[btnImg]);
- ppcY = getOffsetTop(document.images[btnImg]) + document.images[btnImg].height;
- }
- else if (ppcNN){
- ppcX = document.images[btnImg].x + 90;
- ppcY = document.images[btnImg].y - 45;
- }
-
- domlay('popupcalendar',1,ppcX,ppcY,Calendar(todayDate.getMonth(),todayDate.getFullYear()));
-
- //domlay('popupcalendar',1,ppcX,ppcY,Calendar(curDate.getMonth(),curDate.getFullYear()));
-
- IsCalendarVisible = true;
- }
-}
-
-function toggleDropDowns(showHow){
- var i; var j;
- for (i=0;i<document.forms.length;i++) {
- for (j=0;j<document.forms[i].elements.length;j++) {
- if (document.forms[i].elements[j].tagName == "SELECT") {
- if (document.forms[i].name != "Cal")
- document.forms[i].elements[j].style.visibility=showHow;
- }
- }
- }
-}
-
-function hideCalendar(){
- domlay('popupcalendar',0,ppcX,ppcY);
- calSwapImg(curImg, 'img_Date_UP');
- IsCalendarVisible = false;
- if (hideDropDowns) {toggleDropDowns('visible');}
-}
-
-function calClick() {
- window.focus();
-}
-
-function domlay(id,trigger,lax,lay,content) {
- /*
- * Cross browser Layer visibility / Placement Routine
- * Done by Chris Heilmann (mail-z5bSqGacJS/[email protected])
- * Feel free to use with these lines included!
- * Created with help from Scott Andrews.
- * The marked part of the content change routine is taken
- * from a script by Reyn posted in the DHTML
- * Forum at Website Attraction and changed to work with
- * any layername. Cheers to that!
- * Welcome DOM-1, about time you got included... :)
- */
- // Layer visible
- if (trigger=="1"){
- if (document.layers) document.layers[''+id+''].visibility = "show"
- else if (document.all) document.all[''+id+''].style.visibility = "visible"
- else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "visible"
- }
- // Layer hidden
- else if (trigger=="0"){
- if (document.layers) document.layers[''+id+''].visibility = "hide"
- else if (document.all) document.all[''+id+''].style.visibility = "hidden"
- else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "hidden"
- }
- // Set horizontal position
- if (lax){
- if (document.layers){document.layers[''+id+''].left = lax}
- else if (document.all){document.all[''+id+''].style.left=lax}
- else if (document.getElementById){document.getElementById(''+id+'').style.left=lax+"px"}
- }
- // Set vertical position
- if (lay){
- if (document.layers){document.layers[''+id+''].top = lay}
- else if (document.all){document.all[''+id+''].style.top=lay}
- else if (document.getElementById){document.getElementById(''+id+'').style.top=lay+"px"}
- }
- // change content
-
- if (content){
- if (document.layers){
- sprite=document.layers[''+id+''].document;
- // add father layers if needed! document.layers[''+father+'']...
- sprite.open();
- sprite.write(content);
- sprite.close();
- }
- else if (document.all) document.all[''+id+''].innerHTML = content;
- else if (document.getElementById){
- //Thanx Reyn!
- rng = document.createRange();
- el = document.getElementById(''+id+'');
- rng.setStartBefore(el);
- htmlFrag = rng.createContextualFragment(content)
- while(el.hasChildNodes()) el.removeChild(el.lastChild);
- el.appendChild(htmlFrag);
- // end of Reyn ;)
- }
- }
-}
-
-function Calendar(whatMonth,whatYear) {
- var output = '';
- var datecolwidth;
- var startMonth;
- var startYear;
- startMonth=whatMonth;
- startYear=whatYear;
-
- curDate.setMonth(whatMonth);
- curDate.setFullYear(whatYear);
- curDate.setDate(todayDate.getDate());
- if (ppcNN6) {
- output += '<form name="Cal"><table width="185" border="3" class="cal-Table" cellspacing="0" cellpadding="0"><tr>';
- }
- else {
- output += '<table width="185" border="3" class="cal-Table" cellspacing="0" cellpadding="0"><form name="Cal"><tr>';
- }
-
- output += '<td class="cal-HeadCell" align="center" width="100%"><a href="javascript:clearDay();"><img name="calbtn1" src="./images/cal_del_small.gif" border="0" width="12" height="10"></a>&nbsp;&nbsp;<a href="javascript:scrollMonth(-1);" class="cal-DayLink">&lt;</a>&nbsp;<SELECT class="cal-TextBox" NAME="cboMonth" onChange="changeMonth();">';
- for (month=0; month<12; month++) {
- if (month == whatMonth) output += '<OPTION VALUE="' + month + '" SELECTED>' + names[month] + '<\/OPTION>';
- else output += '<OPTION VALUE="' + month + '">' + names[month] + '<\/OPTION>';
- }
-
- output += '<\/SELECT><SELECT class="cal-TextBox" NAME="cboYear" onChange="changeYear();">';
-
- for (year=minYearList; year<maxYearList; year++) {
- if (year == whatYear) output += '<OPTION VALUE="' + year + '" SELECTED>' + year + '<\/OPTION>';
- else output += '<OPTION VALUE="' + year + '">' + year + '<\/OPTION>';
- }
-
- output += '<\/SELECT>&nbsp;<a href="javascript:scrollMonth(1);" class="cal-DayLink">&gt;</a>&nbsp;&nbsp;<a href="javascript:hideCalendar();"><img name="calbtn2" src="./images/cal_close_small.gif" border="0" width="12" height="10"></a><\/td><\/tr><tr><td width="100%" align="center">';
-
- firstDay = new Date(whatYear,whatMonth,1);
- startDay = firstDay.getDay();
-
- if (((whatYear % 4 == 0) && (whatYear % 100 != 0)) || (whatYear % 400 == 0))
- days[1] = 29;
- else
- days[1] = 28;
-
- output += '<table width="185" cellspacing="1" cellpadding="2" border="0"><tr>';
-
- for (i=0; i<7; i++) {
- if (i==0 || i==6) {
- datecolwidth="15%"
- }
- else
- {
- datecolwidth="14%"
- }
- output += '<td class="cal-HeadCell" width="' + datecolwidth + '" align="center" valign="middle">'+ dow[i] +'<\/td>';
- }
-
- output += '<\/tr><tr>';
-
- var column = 0;
- var lastMonth = whatMonth - 1;
- var lastYear = whatYear;
- if (lastMonth == -1) { lastMonth = 11; lastYear=lastYear-1;}
-
- for (i=0; i<startDay; i++, column++) {
- output += getDayLink((days[lastMonth]-startDay+i+1),true,lastMonth,lastYear);
- }
-
- for (i=1; i<=days[whatMonth]; i++, column++) {
- output += getDayLink(i,false,whatMonth,whatYear);
- if (column == 6) {
- output += '<\/tr><tr>';
- column = -1;
- }
- }
-
- var nextMonth = whatMonth+1;
- var nextYear = whatYear;
- if (nextMonth==12) { nextMonth=0; nextYear=nextYear+1;}
-
- if (column > 0) {
- for (i=1; column<7; i++, column++) {
- output += getDayLink(i,true,nextMonth,nextYear);
- }
- output += '<\/tr><\/table><\/td><\/tr>';
- }
- else {
- output = output.substr(0,output.length-4); // remove the <tr> from the end if there's no last row
- output += '<\/table><\/td><\/tr>';
- }
-
- if (ppcNN6) {
- output += '<\/table><\/form>';
- }
- else {
- output += '<\/form><\/table>';
- }
- curDate.setDate(1);
- curDate.setMonth(startMonth);
- curDate.setFullYear(startYear);
- return output;
-}
-
-function getDayLink(linkDay,isGreyDate,linkMonth,linkYear) {
- var templink;
- if (!(IsUsingMinMax)) {
- if (isGreyDate) {
- templink='<td align="center" class="cal-GreyDate">' + linkDay + '<\/td>';
- }
- else {
- if (isDayToday(linkDay)) {
- templink='<td align="center" class="cal-DayCell">' + '<a class="cal-TodayLink" onmouseover="self.status=\' \';return true" href="javascript:changeDay(' + linkDay + ');">' + linkDay + '<\/a>' +'<\/td>';
- }
- else {
- templink='<td align="center" class="cal-DayCell">' + '<a class="cal-DayLink" onmouseover="self.status=\' \';return true" href="javascript:changeDay(' + linkDay + ');">' + linkDay + '<\/a>' +'<\/td>';
- }
- }
- }
- else {
- if (isDayValid(linkDay,linkMonth,linkYear)) {
-
- if (isGreyDate){
- templink='<td align="center" class="cal-GreyDate">' + linkDay + '<\/td>';
- }
- else {
- if (isDayToday(linkDay)) {
- templink='<td align="center" class="cal-DayCell">' + '<a class="cal-TodayLink" onmouseover="self.status=\' \';return true" href="javascript:changeDay(' + linkDay + ');">' + linkDay + '<\/a>' +'<\/td>';
- }
- else {
- templink='<td align="center" class="cal-DayCell">' + '<a class="cal-DayLink" onmouseover="self.status=\' \';return true" href="javascript:changeDay(' + linkDay + ');">' + linkDay + '<\/a>' +'<\/td>';
- }
- }
- }
- else {
- templink='<td align="center" class="cal-GreyInvalidDate">'+ linkDay + '<\/td>';
- }
- }
- return templink;
-}
-
-function isDayToday(isDay) {
- if ((curDate.getFullYear() == todayDate.getFullYear()) && (curDate.getMonth() == todayDate.getMonth()) && (isDay == todayDate.getDate())) {
- return true;
- }
- else {
- return false;
- }
-}
-
-function isDayValid(validDay, validMonth, validYear){
-
- curDate.setDate(validDay);
- curDate.setMonth(validMonth);
- curDate.setFullYear(validYear);
-
- if ((curDate>=minDate) && (curDate<=maxDate)) {
- return true;
- }
- else {
- return false;
- }
-}
-
-function padout(number) { return (number < 10) ? '0' + number : number; }
-
-function clearDay() {
- eval('document.' + calfrmName + '.day.value = \'\'');
- eval('document.' + calfrmName + '.month.value = \'\'');
- eval('document.' + calfrmName + '.year.value = \'\'');
- hideCalendar();
- if (FuncsToRun!=null)
- eval(FuncsToRun);
-}
-
-function changeDay(whatDay) {
- curDate.setDate(whatDay);
-// eval('document.' + calfrmName + '.' + curDateBox + '.value = "'+ padout(curDate.getDate()) + '-' + padout(curDate.getMonth()+1) + '-' + curDate.getFullYear() + '"');
- eval('document.' + calfrmName + '.day.value = "'+ padout(curDate.getDate()) + '"');
- eval('document.' + calfrmName + '.month.value = "'+ padout(curDate.getMonth()+1) + '"');
- eval('document.' + calfrmName + '.year.value = "'+ curDate.getFullYear() + '"');
- hideCalendar();
- if (FuncsToRun!=null)
- eval(FuncsToRun);
-}
-
-function scrollMonth(amount) {
- var monthCheck;
- var yearCheck;
-
- if (ppcIE) {
- monthCheck = document.forms["Cal"].cboMonth.selectedIndex + amount;
- }
- else if (ppcNN) {
- monthCheck = document.popupcalendar.document.forms["Cal"].cboMonth.selectedIndex + amount;
- }
- if (monthCheck < 0) {
- yearCheck = curDate.getFullYear() - 1;
- if ( yearCheck < minYearList ) {
- yearCheck = minYearList;
- monthCheck = 0;
- }
- else {
- monthCheck = 11;
- }
- curDate.setFullYear(yearCheck);
- }
- else if (monthCheck >11) {
- yearCheck = curDate.getFullYear() + 1;
- if ( yearCheck > maxYearList-1 ) {
- yearCheck = maxYearList-1;
- monthCheck = 11;
- }
- else {
- monthCheck = 0;
- }
- curDate.setFullYear(yearCheck);
- }
-
- if (ppcIE) {
- curDate.setMonth(document.forms["Cal"].cboMonth.options[monthCheck].value);
- }
- else if (ppcNN) {
- curDate.setMonth(document.popupcalendar.document.forms["Cal"].cboMonth.options[monthCheck].value );
- }
- domlay('popupcalendar',1,ppcX,ppcY,Calendar(curDate.getMonth(),curDate.getFullYear()));
-}
-
-function changeMonth() {
-
- if (ppcIE) {
- curDate.setMonth(document.forms["Cal"].cboMonth.options[document.forms["Cal"].cboMonth.selectedIndex].value);
- domlay('popupcalendar',1,ppcX,ppcY,Calendar(curDate.getMonth(),curDate.getFullYear()));
- }
- else if (ppcNN) {
-
- curDate.setMonth(document.popupcalendar.document.forms["Cal"].cboMonth.options[document.popupcalendar.document.forms["Cal"].cboMonth.selectedIndex].value);
- domlay('popupcalendar',1,ppcX,ppcY,Calendar(curDate.getMonth(),curDate.getFullYear()));
- }
-
-}
-
-function changeYear() {
- if (ppcIE) {
-
- curDate.setFullYear(document.forms["Cal"].cboYear.options[document.forms["Cal"].cboYear.selectedIndex].value);
- domlay('popupcalendar',1,ppcX,ppcY,Calendar(curDate.getMonth(),curDate.getFullYear()));
-
-
- }
- else if (ppcNN) {
-
- curDate.setFullYear(document.popupcalendar.document.forms["Cal"].cboYear.options[document.popupcalendar.document.forms["Cal"].cboYear.selectedIndex].value);
- domlay('popupcalendar',1,ppcX,ppcY,Calendar(curDate.getMonth(),curDate.getFullYear()));
- }
-
-}
-
-function makeArray0() {
- for (i = 0; i<makeArray0.arguments.length; i++)
- this[i] = makeArray0.arguments[i];
-}
-
-var names = new makeArray0('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');
-var days = new makeArray0(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
-var dow = new makeArray0('S','M','T','W','T','F','S');
<hr /><a name="file15" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript">javascript</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal">spiffyCal</a><br /></span>
<div class="fileheader" id="removed"><big><b>spiffyCal_v2_1.css</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/spiffyCal_v2_1.css?rev=1.1&content-type=text/vnd.viewcvs-markup">1.1</a></small></div>
<pre class="diff"><small id="info">diff -N spiffyCal_v2_1.css
--- /tmp/cvsAAAefaOwY Mon Aug 30 00:23:57 2004
+++ /dev/null Mon Aug 30 00:23:56 2004
@@ -1,192 +0,0 @@
</small></pre><pre class="diff" id="removed">-/*
-* Bazillyo's Spiffy Popup Calendar Styles v2.1 Copyright S. Ousta
-*/
-#spiffycalendar {
- width: 185px;
- height:130px;
- left: 0px;
- top: 0px;
- background-color: black;
- position: absolute;
- visibility: hidden;
-}
-
-.cal-SymbolBtn {
- font-family: Webdings;
- font-size: 8pt;
- outline-style : none;
- outline-width: 0px;
-}
-
-.cal-BtnLink {
- outline-style : none;
- outline-width: 0px;
-}
-
-a.cal-DayLink {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- text-decoration: none;
- color: black;
- background-color: transparent;
- cursor: url('includes/javascript/spiffyCal/images/spiffycal2.cur');
-
-}
-a.cal-DayLink:hover {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: bold;
- text-decoration: none;
- background-color: transparent;
- color: Blue;
- cursor: url('includes/javascript/spiffyCal/images/spiffycal2.cur');
-}
-a.cal-DayLink:active {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- text-decoration: none;
- background-color: transparent;
- color: #0066FF;
- cursor: url('includes/javascript/spiffyCal/images/spiffycal2.cur');
-}
-.cal-TextBox{
- color: Black;
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- background-color: #FFFFCC;
-}
-
-.cal-TextBoxInvalid{
- color: #660000;
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- border-color: Red;
- border-style:solid;
-}
-
-.cal-TextBoxDisabled{
- color: #808080;
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- border-color: silver;
- border-style:solid;
- /* background-color: #C0C0C0;*/
-}
-
-
-.cal-ComboBox{
- color: Navy;
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- background-color: #EAFFFF;
-}
-
-.cal-Today {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: bold;
- text-decoration: none;
- color: red;
- background-color: transparent;
-}
-
-.cal-Day {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- text-decoration: none;
- color: black;
- background-color: transparent;
-}
-
-
-a.cal-TodayLink {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: bold;
- text-decoration: none;
- color: red;
- background-color: transparent;
- cursor: url('includes/javascript/spiffyCal/images/spiffycal.cur');
-}
-a.cal-TodayLink:hover {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: bold;
- text-decoration: none;
- background-color: transparent;
- color: Blue;
- cursor: url('includes/javascript/spiffyCal/images/spiffycal.cur');
-}
-a.cal-TodayLink:active {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: bold;
- text-decoration: none;
- background-color: transparent;
- color: #0066FF;
- cursor: url('includes/javascript/spiffyCal/images/spiffycal.cur');
-}
-
-.cal-GreyDate {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- text-decoration: none;
- background-color: #FFFFCC;
- color: #999999;
-}
-
-.cal-GreyInvalidDate {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- text-decoration: line-through;
- background-color: #FFFFCC;
- color: #999999;
-}
-
-.cal-DayCell {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- background-color:White;
-}
-
-.cal-WeekendCell {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- background-color: #B0C4DE;
-}
-
-.cal-HolidayCell {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: normal;
- background-color: #99FF99;
-}
-.cal-HeadCell {
- font-family: Verdana, Arial, sans-serif;
- font-size: 8pt;
- font-weight: bold;
- color: Black;
- background-color: #99CCFF; /*#CCCC99; */
-}
-
-.cal-Table{
- border-top-color: #6666FF;
- border-left-color: #6666FF;
- border-right-color: #6666FF;
- border-bottom-color: #6666FF;
- background-color: #6666CC;
- border-width:1px;
- border-style: solid;
- cursor: url('includes/javascript/spiffyCal/images/spiffycal3.cur');
-}
<hr /><a name="file16" /><div class="file">
<span class="pathname" id="removed"><a href="http://cvs.oscommerce.com/viewcvs.cgi/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin">admin</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes">includes</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript">javascript</a>/<a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal">spiffyCal</a><br /></span>
<div class="fileheader" id="removed"><big><b>spiffyCal_v2_1.js</b></big> <small id="info">removed after <a href="http://cvs.oscommerce.com/viewcvs.cgi/admin/admin/includes/javascript/spiffyCal/spiffyCal_v2_1.js?rev=1.2&content-type=text/vnd.viewcvs-markup">1.2</a></small></div>
<pre class="diff"><small id="info">diff -N spiffyCal_v2_1.js
--- /tmp/cvsAAASfa4wY Mon Aug 30 00:23:57 2004
+++ /dev/null Mon Aug 30 00:23:56 2004
@@ -1,1373 +0,0 @@
</small></pre><pre class="diff" id="removed">-/*
- * Bazillyo's Spiffy DHTML Popup Calendar Control - version 2.1
- * ©2001 S. Ousta
- * see the included readme.htm file for license information and release notes.
- *
- * For more information see:
- * http://www.geocities.com/bazillyo/spiffy/calendar/index.htm or
- * http://groups.yahoo.com/group/spiffyDHTML or
- * email me: bazillyo-/[email protected]
- *
- */
-
-// GLOBAL variables
-var scImgPath = './includes/javascript/spiffyCal/images/';
-
-var scIE=((navigator.appName == "Microsoft Internet Explorer") || ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion)==5)));
-var scNN6=((navigator.appName == "Netscape") && (parseInt(navigator.appVersion)==5));
-var scNN=((navigator.appName == "Netscape")&&(document.layers));
-
-var img_Del=new Image();
-var img_Close=new Image();
-
-img_Del.src= scImgPath +"btn_del_small.gif";
-img_Close.src= scImgPath +"btn_close_small.gif";
-
-var scBTNMODE_DEFAULT=0;
-var scBTNMODE_CUSTOMBLUE=1;
-var scBTNMODE_CALBTN=2;
-
-var focusHack;
-
-/*================================================================================
- * Calendar Manager Object
- *
- * the functions:
- * isDate(), formatDate(), _isInteger(), _getInt(), and getDateFromFormat()
- * are based on ones courtesy of Matt Kruse (mkruse-0/hnvkTOk2/[email protected]) http://www.mattkruse.com/javascript/
- * with some modifications by myself and Michael Brydon
- *
- */
-
-function spiffyCalManager() {
-
- this.showHelpAlerts = false;
- this.defaultDateFormat='dd-MMM-yyyy';
- this.lastSelectedDate=new Date();
- this.calendars=new Array();
- this.matchedFormat="";
- this.DefBtnImgPath=scImgPath; //'./js/common/calendar/';
-
- // methods ----------------------------------------------------------------------
- this.getCount= new Function("return this.calendars.length;");
-
- function addCalendar(objWhatCal) {
- var intIndex = this.calendars.length;
- this.calendars[intIndex] = objWhatCal;
- }
- this.addCalendar=addCalendar;
-
-
- function hideAllCalendars(objExceptThisOne) {
- var i=0;
- for (i=0;i<this.calendars.length;i++) {
- if (objExceptThisOne!=this.calendars[i]) {
- this.calendars[i].hide();
- }
- }
-
- }
- this.hideAllCalendars=hideAllCalendars;
-
- function swapImg(objWhatCal, strToWhat, blnStick) {
- if (document.images) {
- // this makes it so that the button sticks down when the cal is visible
- if ((!(objWhatCal.visible) || (blnStick))&& (objWhatCal.enabled)) {
- document.images[objWhatCal.btnName].src = eval(objWhatCal.varName+strToWhat + ".src");
- }
- }
- window.status=' ';
- // return true;
- }
- this.swapImg=swapImg;
-
- // *** HOLIDAYS ***************************
-
- this.Holidays = new Array("Dec-25","Jul-4", "Feb-14","Mar-17","Oct-31");
- this.HolidaysDesc = new Array("Christmas Day","Independance Day","Valentine's Day","St. Patrick's Day","Halloween");
-
- //*****************************************
-
- function isHoliday(whatDate) {
- var i=0;var found=-1;
- for (i=0;i<this.Holidays.length;i++) {
- if (whatDate==this.Holidays[i]) {
- found=i;
- break;
- }
- }
- return found;
- }
- this.isHoliday=isHoliday;
-
-
- this.AllowedFormats = new Array(
-// Days first list
-'d.M',
-'d-M',
-'d/M',
-
-'d.MMM',
-'d-MMM',
-'d/MMM',
-
-'d.M.yy',
-'d-M-yy',
-'d/M/yy',
-
-'d.M.yyyy',
-'d-M-yyyy',
-'d/M/yyyy',
-
-'d.MM.yyyy',
-'d-MM-yyyy',
-'d/MM/yyyy',
-
-'d.MMM.yy',
-'d-MMM-yy',
-'d/MMM/yy',
-
-'d.MMM.yyyy',
-'d-MMM-yyyy',
-'d/MMM/yyyy',
-
-'d.MM.yy',
-'d-MM-yy',
-'d/MM/yy',
-
-'dd.MM.yy',
-'dd-MM-yy',
-'dd/MM/yy',
-
-'dd.M.yy',
-'dd-M-yy',
-'dd/M/yy',
-
-'dd.MM.yyyy',
-'dd-MM-yyyy',
-'dd/MM/yyyy',
-
-'dd.MMM.yy',
-'dd-MMM-yy',
-'dd/MMM/yy',
-
-'dd.MMM.yyyy',
-'dd-MMM-yyyy',
-'dd/MMM/yyyy',
-
-'M.d',
-'M-d',
-'M/d',
-
-// Months first list
-
-'MMM.d',
-'MMM-d',
-'MMM/d',
-
-'M.d.yy',
-'M-d-yy',
-'M/d/yy',
-
-'MM.d.yyyy',
-'MM-d-yyyy',
-'MM/d/yyyy',
-
-'MMM.d.yy',
-'MMM-d-yy',
-'MMM/d/yy',
-
-'MMM.d.yyyy',
-'MMM-d-yyyy',
-'MMM/d/yyyy',
-
-'MM.d.yy',
-'MM-d-yy',
-'MM/d/yy',
-
-'MM.dd.yy',
-'MM-dd-yy',
-'MM/dd/yy',
-
-'M.dd.yy',
-'M-dd-yy',
-'M/dd/yy',
-
-'MM.dd.yyyy',
-'MM-dd-yyyy',
-'MM/dd/yyyy',
-
-'MMM.dd.yy',
-'MMM-dd-yy',
-'MMM/dd/yy',
-
-'MMM.dd.yyyy',
-'MMM-dd-yyyy',
-'MMM/dd/yyyy'
-
-);
- var MONTH_NAMES = new Array('January','February','March','April','May','June','July','August','September','October','November','December','Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');
-
- this.lastBoxValidated=null;
-
-
- function validateDate(eInput, bRequired, dStartDate, dEndDate){
- var i = 0; var strTemp=''; var formatMatchCount=0; var firstMatchAt=0;var secondMatchAt=0;
- var bOK = false; var bIsEmpty=false;
- var strStart=MONTH_NAMES[dStartDate.getMonth()]+'-'+dStartDate.getDate()+'-'+dStartDate.getFullYear();
- var strEnd=MONTH_NAMES[dEndDate.getMonth()]+'-'+dEndDate.getDate()+'-'+dEndDate.getFullYear();
- var rangeMsg = 'This input box is set up to accept dates between:\n\n '+
- strStart+'\n\nand\n\n '+strEnd+'\n\nPlease enter a date no ';
-
- this.lastBoxValidated=eInput;
- this.matchedFormat="";
- bIsEmpty=(eInput.value=='' || eInput.value==null);
- if (!(bRequired && bIsEmpty)) {
- for(i=0;i<this.AllowedFormats.length;i++){
-//alert('checking=eInput.value='+eInput.value+' this.AllowedFormats[i]='+this.AllowedFormats[i]+'\nisDate='+isDate(eInput.value, this.AllowedFormats[i]));
- if (isDate(eInput.value, this.AllowedFormats[i])==true){
- bOK = true;
- formatMatchCount+=1;
- if (formatMatchCount==1) {firstMatchAt=i;}
- if (formatMatchCount>1) {
-
- if (this.AllowedFormats[i].substr(0,1)!=this.AllowedFormats[firstMatchAt].substr(0,1)) {
- secondMatchAt=i; break;
- }
- else { // don't count same format with padded zeros as a different format
- formatMatchCount=1;
- }
- }
- }
- }
- }
-alert('formatMatchCount='+formatMatchCount);
- if (formatMatchCount>1) {
-
- if (this.showHelpAlerts) {
-
- var date1=getDateFromFormat(eInput.value,this.AllowedFormats[firstMatchAt]);
- var choice1 = MONTH_NAMES[date1.getMonth()]+'-'+date1.getDate()+'-'+date1.getFullYear();
- var date2=getDateFromFormat(eInput.value,this.AllowedFormats[secondMatchAt]);
- var choice2 = MONTH_NAMES[date2.getMonth()]+'-'+date2.getDate()+'-'+date2.getFullYear();
- if (date1.getTime()!=date2.getTime()) {
- var Msg='You have entered an ambiguous date.\n\n Click OK for:\n'+ choice1 +'\n\nor Click Cancel for:\n'+choice2;
- if (confirm(Msg)) {
- bOK=true;
- }
- else {
- firstMatchAt=secondMatchAt;
- bOK=true;
- //return false;
- }
- eInput.focus();
- eInput.select();
- }
- }
- else {
- // continue and take first match in list
- bOK=true;
- }
- }
-alert('TEST '+dThis.getDate()+"-"+dThis.getMonth());
-
- if (bOK==true) {
- eInput.className = "cal-TextBox";
- //Check for Start/End Dates
-
- if (dStartDate!=null) {
- var dThis = getDateFromFormat(eInput.value,this.AllowedFormats[i]);
- if (dStartDate>dThis){
- eInput.className = "cal-TextBoxInvalid";
- if (this.showHelpAlerts) { alert(rangeMsg + 'earlier than '+ strStart + '.');}
- eInput.focus();
- eInput.select();
- return false;
- }
- }
- if (dEndDate!=null) {
- var dThis = getDateFromFormat(eInput.value,this.AllowedFormats[i]);
- if (dEndDate<dThis) {
- eInput.className = "cal-TextBoxInvalid";
- if (this.showHelpAlerts) { alert(rangeMsg +'later than '+ strEnd + '.');}
- eInput.focus();
- eInput.select();
- return false;
- }
- }
- this.matchedFormat=this.AllowedFormats[firstMatchAt];
-
- this.lastBoxValidated = null;
- }
- else {
-
- if (bRequired && bIsEmpty) {
- eInput.className = "cal-TextBoxInvalid";
- if (this.showHelpAlerts) {
- alert('This date field is required.\n\nPlease enter a valid date before proceeding.');
- }
- }
- else {
- if (!bRequired && bIsEmpty) {
- eInput.className = "cal-TextBox";
- }
- else {
- eInput.className = "cal-TextBoxInvalid";
- if (this.showHelpAlerts) {
- for(i=0;i<this.AllowedFormats.length;i++){
- strTemp+=this.AllowedFormats[i]+'\t';
- }
- alert('Please enter a valid date.\n\nExample 01-Jan-2002\n\nValid formats are:\n\n'+strTemp);
- }
- }
- }
- eInput.focus();
- eInput.select();
- focusHack=eInput;
-
- setTimeout('focusHack.focus();focusHack.select();');
- return false;
- }
- }
- this.validateDate=validateDate;
-
-
- function formatDate(eInput, strFormat) {
- //Always called directly following validateDate - put validate in onchange and format in onblur.
- if(this.matchedFormat!="") {
- var d = getDateFromFormat(eInput.value,this.matchedFormat);
- if(d!=0){
- eInput.value = scFormatDate(d, strFormat);
- }
- }
- }
- this.formatDate=formatDate;
-
- function isDate(val,format) {
- var date = getDateFromFormat(val,format);
- if (date == 0) { return false; }
- return true;
- }
- this.isDate=isDate;
-
-
- function scFormatDate(date,format) {
- format = format+"";
- var result = "";
- var i_format = 0;
- var c = "";
- var token = "";
- var y = date.getFullYear()+"";
- var M = date.getMonth()+1;
- var d = date.getDate();
- var h = date.getHours();
- var m = date.getMinutes();
- var s = date.getSeconds();
- var yyyy,yy,MMM,MM,dd;
- // Convert real date parts into formatted versions
- // Year
- if (y.length < 4) {
- y = y-0+1900;
- }
- y = ""+y;
- yyyy = y;
- yy = y.substring(2,4);
- // Month
- if (M < 10) { MM = "0"+M; }
- else { MM = M; }
- MMM = MONTH_NAMES[M-1+12];
- // Date
- if (d < 10) { dd = "0"+d; }
- else { dd = d; }
- // Now put them all into an object!
- var value = new Object();
- value["yyyy"] = yyyy;
- value["yy"] = yy;
- value["y"] = y;
- value["MMM"] = MMM;
- value["MM"] = MM;
- value["M"] = M;
- value["dd"] = dd;
- value["d"] = d;
-
- while (i_format < format.length) {
- // Get next token from format string
- c = format.charAt(i_format);
- token = "";
- while ((format.charAt(i_format) == c) && (i_format < format.length)) {
- token += format.charAt(i_format);
- i_format++;
- }
- if (value[token] != null) {
- result = result + value[token];
- }
- else {
- result = result + token;
- }
- }
- return result;
- }
- this.scFormatDate=scFormatDate;
-
- function _isInteger(val) {
- var digits = "1234567890";
- for (var i=0; i < val.length; i++) {
- if (digits.indexOf(val.charAt(i)) == -1) { return false; }
- }
- return true;
- }
-
- function _getInt(str,i,minlength,maxlength) {
- for (x=maxlength; x>=minlength; x--) {
- var token = str.substring(i,i+x);
- if (_isInteger(token)) {
- return token;
- }
- }
- return null;
- }
-
- function getDateFromFormat(val,format) {
- val = val+"";
- format = format+"";
- var i_val = 0;
- var i_format = 0;
- var c = "";
- var token = "";
- var token2= "";
- var x,y;
- var year = 0;
- var month = 0;
- var date = 0;
- var bYearProvided = false;
- while (i_format < format.length) {
- // Get next token from format string
- c = format.charAt(i_format);
- token = "";
-
- while ((format.charAt(i_format) == c) && (i_format < format.length)) {
- token += format.charAt(i_format);
- i_format++;
- }
-
- // Extract contents of value based on format token
- if (token=="yyyy" || token=="yy" || token=="y") {
- if (token=="yyyy") { x=4;y=4; }// 4-digit year
- if (token=="yy") { x=2;y=2; }// 2-digit year
- if (token=="y") { x=2;y=4; }// 2-or-4-digit year
- year = _getInt(val,i_val,x,y);
- bYearProvided = true;
- if (year == null) {
- return 0;
- //Default to current year
- }
- if (year.length != token.length){
- return 0;
- }
-
- i_val += year.length;
- }
- else if (token=="MMM") { // Month name
- month = 0;
- for (var i=0; i<MONTH_NAMES.length; i++) {
- var month_name = MONTH_NAMES[i];
- if (val.substring(i_val,i_val+month_name.length).toLowerCase() == month_name.toLowerCase()) {
- month = i+1;
- if (month>12) { month -= 12; }
- i_val += month_name.length;
- break;
- }
- }
-
- if (month == 0) { return 0; }
- if ((month < 1) || (month>12)) {
- return 0
- }
- }
- else if (token=="MM" || token=="M") {
- x=token.length; y=2;
- month = _getInt(val,i_val,x,y);
- if (month == null) { return 0; }
- if ((month < 1) || (month > 12)) { return 0; }
- i_val += month.length;
- }
- else if (token=="dd" || token=="d") {
- x=token.length; y=2;
- date = _getInt(val,i_val,x,y);
- if (date == null) { return 0; }
- if ((date < 1) || (date>31)) { return 0; }
- i_val += date.length;
- }
- else {
- if (val.substring(i_val,i_val+token.length) != token) {
- return 0;
- }
- else {
- i_val += token.length;
- }
- }
- }
- // If there are any trailing characters left in the value, it doesn't match
- if (i_val != val.length) {
- return 0;
- }
- // Is date valid for month?
-
- if (month == 2) {
- // Check for leap year
- if ( ( (year%4 == 0)&&(year%100 != 0) ) || (year%400 == 0) ) { // leap year
- if (date > 29){ return false; }
- }
- else {
- if (date > 28) { return false; }
- }
- }
- if ((month==4)||(month==6)||(month==9)||(month==11)) {
- if (date > 30) { return false; }
- }
-
- //JS dates uses 0 based months.
- month = month - 1;
-
- if (bYearProvided==false) {
- //Default to current
- var dCurrent = new Date();
- year = dCurrent.getFullYear();
- }
-
- var lYear = parseInt(year);
- if (lYear<=20) {
- year = 2000 + lYear;
- }
- else if (lYear >=21 && lYear<=99) {
- year = 1900 + lYear;
- }
-
- var newdate = new Date(year,month,date,0,0,0);
-
- return newdate;
- }
- this.getDateFromFormat=getDateFromFormat;
-
-
-}
-
-
-
-var calMgr = new spiffyCalManager();
-
-
-
-//================================================================================
-// Calendar Object
-
-function ctlSpiffyCalendarBox(strVarName, strFormName, strTextBoxName, strBtnName, strDefaultValue, intBtnMode) {
-
- var msNames = new makeArray0('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');
- var msDays = new makeArray0(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
- var msDOW = new makeArray0('S','M','T','W','T','F','S');
-
-
- var blnInConstructor=true;
- var img_DateBtn_UP=new Image();
- var img_DateBtn_OVER=new Image();
- var img_DateBtn_DOWN=new Image();
- var img_DateBtn_DISABLED=new Image();
-
- var strBtnW;
- var strBtnH;
- var strBtnImg;
-
- var dteToday=new Date;
- var dteCur=new Date;
-
- var dteMin=new Date;
- var dteMax=new Date;
-
- var scX=4; // default where to display calendar
- var scY=4;
-
- // Defaults
- var strDefDateFmt='dd-MMM-yyyy';
-
- var intDefBtnMode=0;
- var strDefBtnImgPath=calMgr.DefBtnImgPath;
- /* PROPERTIES =============================================================
- *
- */
- // Generic Properties
- this.varName=strVarName;
- this.enabled=true;
- this.readonly=false;
- this.focusClick=false;
- this.hideButton=false;
- this.visible=false;
- this.displayLeft=false;
- this.displayTop=false;
- // Name Properties
- this.formName=strFormName;
- this.textBoxName=strTextBoxName;
- this.btnName=strBtnName;
- this.required=false;
- this.x=scX;
- this.y=scY;
-
- this.imgUp=img_DateBtn_UP;
- this.imgOver=img_DateBtn_OVER;
- this.imgDown=img_DateBtn_DOWN;
- this.imgDisabled=img_DateBtn_DISABLED;
-
- // look
- this.showWeekends=true;
- this.showHolidays=true;
- this.disableWeekends=false;
- this.disableHolidays=false;
-
- this.textBoxWidth=160;
- this.textBoxHeight=20;
- this.btnImgWidth=strBtnW;
- this.btnImgHeight=strBtnH;
- if ((intBtnMode==null)||(intBtnMode<0 && intBtnMode>2)) {
- intBtnMode=intDefBtnMode
- }
- switch (intBtnMode) {
- case 0 :
- strBtnImg=strDefBtnImgPath+'btn_date_up.gif';
- img_DateBtn_UP.src=strDefBtnImgPath+'btn_date_up.gif';
- img_DateBtn_OVER.src=strDefBtnImgPath+'btn_date_over.gif';
- img_DateBtn_DOWN.src=strDefBtnImgPath+'btn_date_down.gif';
- img_DateBtn_DISABLED.src=strDefBtnImgPath+'btn_date_disabled.gif';
- strBtnW = '18';
- strBtnH = '20';
- break;
- case 1 :
- strBtnImg=strDefBtnImgPath+'btn_date1_up.gif';
- img_DateBtn_UP.src=strDefBtnImgPath+'btn_date1_up.gif';
- img_DateBtn_OVER.src=strDefBtnImgPath+'btn_date1_over.gif';
- img_DateBtn_DOWN.src=strDefBtnImgPath+'btn_date1_down.gif';
- img_DateBtn_DISABLED.src=strDefBtnImgPath+'btn_date1_disabled.gif';
- strBtnW = '22';
- strBtnH = '17';
- break;
- case 2 :
- strBtnImg=strDefBtnImgPath+'btn_date2_up.gif';
- img_DateBtn_UP.src=strDefBtnImgPath+'btn_date2_up.gif';
- img_DateBtn_OVER.src=strDefBtnImgPath+'btn_date2_over.gif';
- img_DateBtn_DOWN.src=strDefBtnImgPath+'btn_date2_down.gif';
- img_DateBtn_DISABLED.src=strDefBtnImgPath+'btn_date2_disabled.gif';
- strBtnW = '34';
- strBtnH = '21';
- break;
- }
- // Date Properties
- this.dateFormat=strDefDateFmt;
- this.useDateRange=false;
-
- this.minDate=new Date;
- this.maxDate=new Date(dteToday.getFullYear()+1, dteToday.getMonth(), dteToday.getDate());
-
- this.minDay = function() {
- return this.minDate.getDate();
- }
- this.minMonth = function() {
- return this.minDate.getMonth();
- }
- this.minYear = function() {
- return this.minDate.getFullYear();
- }
-
- this.maxDay = function() {
- return this.maxDate.getDate();
- }
- this.maxMonth = function() {
- return this.maxDate.getMonth();
- }
- this.maxYear = function() {
- return this.maxYear.getFullYear();
- }
-
- function setMinDate(intYear, intMonth, intDay) {
- this.minDate = new Date(intYear, intMonth-1, intDay);
- }
- this.setMinDate=setMinDate;
-
-
- function setMaxDate(intYear, intMonth, intDay) {
- this.maxDate = new Date(intYear, intMonth-1, intDay);
- }
- this.setMaxDate=setMaxDate;
-
- this.minYearChoice=dteToday.getFullYear()-10;
- this.maxYearChoice=dteToday.getFullYear()+10;
- this.textBox= function() {
- if (!blnInConstructor) {
- return eval('document.'+this.formName+'.'+this.textBoxName);
- }
- }
-
- this.getSelectedDate = function () {
- var strTempVal=''; var objEle;
- if ((typeof this.formName !='undefined') && (typeof this.textBoxName!='undefined')) {
- objEle=eval('document.'+this.formName+'.'+this.textBoxName);
- if (objEle && !blnInConstructor) {
- strTempVal=eval('document.'+this.formName+'.'+this.textBoxName+'.value');
- }
- else {
- strTempVal=strDefaultValue;
- }
- }
- else {
- strTempVal=strDefaultValue;
- }
- return strTempVal;
- }
-
- function setSelectedDate(strWhat) {
- var strTempVal=''; var objEle;
- eval('document.'+this.formName+'.'+this.textBoxName).value=strWhat;
-
- if (!calMgr.isDate(quote(strWhat),quote(this.dateFormat))) {
- eval('document.'+this.formName+'.'+this.textBoxName).className = "cal-TextBoxInvalid";
- }
- else {
- eval('document.'+this.formName+'.'+this.textBoxName).className = "cal-TextBox";
- }
- }
- this.setSelectedDate=setSelectedDate;
-
-
- function disable() {
- this.hide();
- calMgr.swapImg(this,'.imgDisabled',false);
- this.enabled=false;
- eval('document.'+this.formName+'.'+this.textBoxName).disabled=true;
- eval('document.'+this.formName+'.'+this.textBoxName).className = "cal-TextBoxDisabled";
- if (scNN) {
- eval('document.'+this.formName+'.'+this.textBoxName).onFocus= function() {this.blur();};
- }
- }
- this.disable=disable;
-
- function enable() {
- this.enabled=true;
- calMgr.swapImg(this,'.imgUp',false);
- eval('document.'+this.formName+'.'+this.textBoxName).disabled=false;
- eval('document.'+this.formName+'.'+this.textBoxName).className = "cal-TextBox";
- if (scNN) {
- eval('document.'+this.formName+'.'+this.textBoxName).onFocus= null;
- }
-
- if (!calMgr.isDate(quote(this.getSelectedDate()),quote(this.dateFormat))) {
- eval('document.'+this.formName+'.'+this.textBoxName).className = "cal-TextBoxInvalid";
- }
- }
- this.enable=enable;
-
-
-
- // behavior Properties
- this.JStoRunOnSelect='';
- this.JStoRunOnClear='';
- this.JStoRunOnCancel='';
- this.hideCombos=true;
-
-
- /* METHODS ===============================================================
- *
- */
-
- function makeCalendar(intWhatMonth,intWhatYear,bViewOnly) {
- if (bViewOnly) {intWhatMonth-=1;}
- var strOutput = '';
- var intStartMonth=intWhatMonth;
- var intStartYear=intWhatYear;
- var intLoop;
- var strTemp='';
- var strDateColWidth;
- var isWE = false;
-
- dteCur.setMonth(intWhatMonth);
- dteCur.setFullYear(intWhatYear);
- dteCur.setDate(dteToday.getDate());
- dteCur.setHours(0);dteCur.setMinutes(0);dteCur.setSeconds(0);dteCur.setMilliseconds(0);
- if (!(bViewOnly)) {
- strTemp='<form name="spiffyCal">';
- }
- // special case for form not to be inside table in Netscape 6
- if (scNN6) {
- strOutput += strTemp +'<table width="185" border="3" class="cal-Table" cellspacing="0" cellpadding="0"><tr>';
- }
- else {
- strOutput += '<table width="185" border="3" class="cal-Table" cellspacing="0" cellpadding="0">'+strTemp+'<tr>';
- }
-
- if (!(bViewOnly)) {
- strOutput += '<td class="cal-HeadCell" align="center" width="100%"><a href="javascript:'+this.varName+'.clearDay();"><img name="calbtn1" src="'+strDefBtnImgPath+'btn_del_small.gif" border="0" width="12" height="10"></a>&nbsp;&nbsp;<a href="javascript:'+this.varName+'.scrollMonth(-1);" class="cal-DayLink">&lt;</a>&nbsp;<SELECT class="cal-ComboBox" NAME="cboMonth" onChange="'+this.varName+'.changeMonth();">';
-
-
- for (intLoop=0; intLoop<12; intLoop++) {
- if (intLoop == intWhatMonth) strOutput += '<OPTION VALUE="' + intLoop + '" SELECTED>' + msNames[intLoop] + '<\/OPTION>';
- else strOutput += '<OPTION VALUE="' + intLoop + '">' + msNames[intLoop] + '<\/OPTION>';
- }
-
-
- strOutput += '<\/SELECT><SELECT class="cal-ComboBox" NAME="cboYear" onChange="'+this.varName+'.changeYear();">';
-
- for (intLoop=this.minYearChoice; intLoop<this.maxYearChoice; intLoop++) {
- if (intLoop == intWhatYear) strOutput += '<OPTION VALUE="' + intLoop + '" SELECTED>' + intLoop + '<\/OPTION>';
- else strOutput += '<OPTION VALUE="' + intLoop + '">' + intLoop + '<\/OPTION>';
- }
-
- strOutput += '<\/SELECT>&nbsp;<a href="javascript:'+this.varName+'.scrollMonth(1);" class="cal-DayLink">&gt;</a>&nbsp;&nbsp;<a href="javascript:'+this.varName+'.hide();"><img name="calbtn2" src="'+strDefBtnImgPath+'btn_close_small.gif" border="0" width="12" height="10"></a><\/td><\/tr><tr><td width="100%" align="center">';
- }
- else {
- strOutput += '<td class="cal-HeadCell" align="center" width="100%">'+msNames[intWhatMonth]+'-'+intWhatYear+'<\/td><\/tr><tr><td width="100%" align="center">';
- }
-
-
- firstDay = new Date(intWhatYear,intWhatMonth,1);
- startDay = firstDay.getDay();
-
- if (((intWhatYear % 4 == 0) && (intWhatYear % 100 != 0)) || (intWhatYear % 400 == 0))
- msDays[1] = 29;
- else
- msDays[1] = 28;
-
- strOutput += '<table width="185" cellspacing="1" cellpadding="2" border="0"><tr>';
- // Header ROW showing days of week here
- for (intLoop=0; intLoop<7; intLoop++) {
- if (intLoop==0 || intLoop==6) {
- strDateColWidth="15%"
- }
- else
- {
- strDateColWidth="14%"
- }
- strOutput += '<td class="cal-HeadCell" width="' + strDateColWidth + '" align="center" valign="middle">'+ msDOW[intLoop] +'<\/td>';
- }
-
- strOutput += '<\/tr><tr>';
-
- var intColumn = 0;
- var intLastMonth = intWhatMonth - 1;
- var intLastYear = intWhatYear;
-
- if (intLastMonth == -1) { intLastMonth = 11; intLastYear=intLastYear-1;}
- // Show last month's days in first row
- for (intLoop=0; intLoop<startDay; intLoop++, intColumn++) {
- strOutput += this.getDayLink(true,(msDays[intLastMonth]-startDay+intLoop+1),intLastMonth,intLastYear,bViewOnly,isWE);
- }
- // Show this month's days
- for (intLoop=1; intLoop<=msDays[intWhatMonth]; intLoop++, intColumn++) {
- if ((intColumn % 6)==0) {isWE=true } else {isWE=false}
- strOutput += this.getDayLink(false,intLoop,intWhatMonth,intWhatYear,bViewOnly,isWE);
- if (intColumn == 6) {
- strOutput += '<\/tr><tr>';
- intColumn = -1;
- }
- }
-
- var intNextMonth = intWhatMonth+1;
- var intNextYear = intWhatYear;
-
- if (intNextMonth==12) { intNextMonth=0; intNextYear=intNextYear+1;}
- // Show next month's days in last row
- if (intColumn > 0) {
- for (intLoop=1; intColumn<7; intLoop++, intColumn++) {
- strOutput += this.getDayLink(true,intLoop,intNextMonth,intNextYear,bViewOnly);
- }
- strOutput += '<\/tr><\/table><\/td><\/tr>';
- }
- else {
- strOutput = strOutput.substr(0,strOutput.length-4); // remove the <tr> from the end if there's no last row
- strOutput += '<\/table><\/td><\/tr>';
- }
-
- if (scNN6) {
- strOutput += '<\/table><\/form>';
- }
- else {
- strOutput += '<\/form><\/table>';
- }
- dteCur.setDate(1);
- dteCur.setHours(0);dteCur.setMinutes(0);dteCur.setSeconds(0);dteCur.setMilliseconds(0);
-
- dteCur.setMonth(intStartMonth);
- dteCur.setFullYear(intStartYear);
-
- return strOutput;
- }
- this.makeCalendar=makeCalendar;
-
-
- // writeControl -------------------------------------
- //
- function writeControl() {
- var strHold='';
- var strTemp='';
- var strTempMinDate='';
- var strTempMaxDate='';
-
- // specify whether you can type in the date box and validate them as well
- // or whether you must use the calendar only to select a date
- if (this.readonly) {
- strTemp=' onFocus="this.blur();" readonly ';
- }
- if (this.focusClick) {
- strTemp=' onFocus="'+this.varName+'.show();" ';
- }
-
- if (!(this.useDateRange)) {
- strTemp+=' onChange="calMgr.validateDate(document.'+this.formName+'.'+this.textBoxName+','+this.varName+'.required);" onBlur="calMgr.formatDate(document.'+this.formName+'.'+this.textBoxName+','+this.varName+'.dateFormat);" ';
- }
- else {
- strTempMinDate=this.minDate.getDate()+'-'+msNames[this.minDate.getMonth()]+'-'+this.minDate.getFullYear();
- strTempMaxDate=this.maxDate.getDate()+'-'+msNames[this.maxDate.getMonth()]+'-'+this.maxDate.getFullYear();
- strTemp+=' onChange="calMgr.validateDate('+'document.'+this.formName+'.'+this.textBoxName+','+this.varName+'.required,'+this.varName+'.minDate,'+this.varName+'.maxDate);" onBlur="calMgr.formatDate(document.'+this.formName+'.'+this.textBoxName+','+this.varName+'.dateFormat);" ';
- }
-
- strHold='<input class="cal-TextBox" type="text" name="' + this.textBoxName + '"' + strTemp + 'size="12" value="' + this.getSelectedDate() + '">';
- if (!scIE) {
- strTemp=' href="javascript:calClick();return false;" ';
- }
- else {
- strTemp='';
- }
- if ((this.focusClick==false) || (this.focusClick==true && this.hideButton==false)) {
- strHold+='<a class="so-BtnLink"'+strTemp;
-
- strHold+=' onmouseover="calMgr.swapImg(' + this.varName + ',\'.imgOver\',false);" ';
-
- strHold+='onmouseout="calMgr.swapImg(' + this.varName + ',\'.imgUp\',false);" ';
-
- strHold+='onclick="calMgr.swapImg(' + this.varName + ',\'.imgDown\',true);';
-
- // strHold+=this.varName+'.show();return false;">';
- strHold+=this.varName+'.show();">';
-
- strHold+='<img align="absmiddle" border="0" name="' + this.btnName + '" src="' + strBtnImg +'" width="'+ strBtnW +'" height="'+ strBtnH +'"></a>';
- }
- document.write(strHold);
- }
- this.writeControl=writeControl;
-
-
- // show -------------------------------------
- //
- function show() {
- var strCurSelDate = calMgr.lastSelectedDate;
-
- if (!this.enabled) { return }
- calMgr.hideAllCalendars(this);
- if (this.visible) {
- this.hide();
- }
- else {
-// put these next 2 lines in when the tiny cal btns seem to randomly disappear
- if (document.images['calbtn1']!=null ) document.images['calbtn1'].src=img_Del.src;
- if (document.images['calbtn2']!=null ) document.images['calbtn2'].src=img_Close.src;
-
- if (this.focusClick==true && this.hideButton==true) {
- //if no dropdown button then use user-provided location for it
- scX=this.x;
- scY=this.y;
- }
- else {
- // get correct position of date btn
- if ( scIE ) {
- if (this.displayLeft) {
- scX = getOffsetLeft(document.images[this.btnName])-192+ document.images[this.btnName].width ;
- }
- else {
- scX = getOffsetLeft(document.images[this.btnName]);
- }
- if (this.displayTop) {
- scY = getOffsetTop(document.images[this.btnName]) -138 ;
- }
- else {
- scY = getOffsetTop(document.images[this.btnName]) + document.images[this.btnName].height + 2;
- }
- }
- else if (scNN){
- if (this.displayLeft) {
- scX = document.images[this.btnName].x - 192+ document.images[this.btnName].width;
- }
- else {
- scX = document.images[this.btnName].x;
- }
- if (this.displayTop) {
- scY = document.images[this.btnName].y -134;
- }
- else {
- scY = document.images[this.btnName].y + document.images[this.btnName].height + 2;
- }
- }
- }
- // hide all combos underneath it
- if (this.hideCombos) {toggleCombos('hidden');}
-
- // pop calendar up to the correct month and year if there's a date there
- // otherwise pop it up using today's month and year
- if (this.getSelectedDate()==''){
- if (!(dteCur)) {
- domlay('spiffycalendar',1,scX,scY,this.makeCalendar(dteToday.getMonth(),dteToday.getFullYear()));
- }
- else {
- domlay('spiffycalendar',1,scX,scY,this.makeCalendar(dteCur.getMonth(),dteCur.getFullYear()));
- }
- }
- else {
- if (calMgr.isDate(quote(this.getSelectedDate()),quote(this.dateFormat))) {
- dteCur = calMgr.getDateFromFormat(quote(this.getSelectedDate()),quote(this.dateFormat));
- dteCur.setHours(0);dteCur.setMinutes(0);dteCur.setSeconds(0);dteCur.setMilliseconds(0);
-
- }
- else {
- dteCur=calMgr.lastSelectedDate;
- }
- domlay('spiffycalendar',1,scX,scY,this.makeCalendar(dteCur.getMonth(),dteCur.getFullYear()));
- }
-
- this.visible=true;
- }
-
- }
- this.show=show;
-
-
- // hide -------------------------------------
- //
- function hide() {
-
- domlay('spiffycalendar',0,scX,scY);
- this.visible = false;
- calMgr.swapImg(this,'.imgUp',false);
- if (this.hideCombos) {toggleCombos('visible');}
- }
- this.hide=hide;
-
-
- // clearDay -------------------------------------
- //
- function clearDay() {
- eval('document.' + this.formName + '.' + this.textBoxName + '.value = \'\'');
- this.hide();
- if (this.JStoRunOnClear!=null)
- eval(unescape(this.JStoRunOnClear));
-
- eval('document.'+this.formName+'.'+this.textBoxName).className = "cal-TextBox";
- if (this.required) {
- eval('document.'+this.formName+'.'+this.textBoxName).className = "cal-TextBoxInvalid";
- }
- }
- this.clearDay=clearDay;
-
-
- // changeDay -------------------------------------
- //
- function changeDay(intWhatDay) {
- dteCur.setDate(intWhatDay);
- dteCur.setHours(0);dteCur.setMinutes(0);dteCur.setSeconds(0);dteCur.setMilliseconds(0);
-
- this.textBox().value=calMgr.scFormatDate(dteCur,this.dateFormat);
- this.hide();
- if (this.JStoRunOnSelect!=null)
- eval(unescape(this.JStoRunOnSelect));
-
- eval('document.'+this.formName+'.'+this.textBoxName).className = "cal-TextBox";
-
- }
- this.changeDay=changeDay;
-
- // scrollMonth -------------------------------------
- //
- function scrollMonth(intAmount) {
- var intMonthCheck;
- var intYearCheck;
-
- if (scIE) {
- intMonthCheck = document.forms["spiffyCal"].cboMonth.selectedIndex + intAmount;
- }
- else if (scNN) {
- intMonthCheck = document.spiffycalendar.document.forms["spiffyCal"].cboMonth.selectedIndex + intAmount;
- }
- if (intMonthCheck < 0) {
- intYearCheck = dteCur.getFullYear() - 1;
- if ( intYearCheck < this.minYearChoice ) {
- intYearCheck = this.minYearChoice;
- intMonthCheck = 0;
- }
- else {
- intMonthCheck = 11;
- }
- dteCur.setFullYear(intYearCheck);
- }
- else if (intMonthCheck >11) {
- intYearCheck = dteCur.getFullYear() + 1;
- if ( intYearCheck > this.maxYearChoice-1 ) {
- intYearCheck = this.maxYearChoice-1;
- intMonthCheck = 11;
- }
- else {
- intMonthCheck = 0;
- }
- dteCur.setFullYear(intYearCheck);
- }
-
- if (scIE) {
- dteCur.setMonth(document.forms["spiffyCal"].cboMonth.options[intMonthCheck].value);
- }
- else if (scNN) {
- dteCur.setMonth(document.spiffycalendar.document.forms["spiffyCal"].cboMonth.options[intMonthCheck].value );
- }
- domlay('spiffycalendar',1,scX,scY,this.makeCalendar(dteCur.getMonth(),dteCur.getFullYear()));
- }
- this.scrollMonth=scrollMonth;
-
-
- // changeMonth -------------------------------------
- //
- function changeMonth() {
- if (scIE) {
- dteCur.setMonth(document.forms["spiffyCal"].cboMonth.options[document.forms["spiffyCal"].cboMonth.selectedIndex].value);
- domlay('spiffycalendar',1,scX,scY,this.makeCalendar(dteCur.getMonth(),dteCur.getFullYear()));
- }
- else if (scNN) {
- dteCur.setMonth(document.spiffycalendar.document.forms["spiffyCal"].cboMonth.options[document.spiffycalendar.document.forms["spiffyCal"].cboMonth.selectedIndex].value);
- domlay('spiffycalendar',1,scX,scY,this.makeCalendar(dteCur.getMonth(),dteCur.getFullYear()));
- }
- }
- this.changeMonth=changeMonth;
-
-
- // changeYear -------------------------------------
- //
- function changeYear() {
- if (scIE) {
- dteCur.setFullYear(document.forms["spiffyCal"].cboYear.options[document.forms["spiffyCal"].cboYear.selectedIndex].value);
- domlay('spiffycalendar',1,scX,scY,this.makeCalendar(dteCur.getMonth(),dteCur.getFullYear()));
- }
- else if (scNN) {
- dteCur.setFullYear(document.spiffycalendar.document.forms["spiffyCal"].cboYear.options[document.spiffycalendar.document.forms["spiffyCal"].cboYear.selectedIndex].value);
- domlay('spiffycalendar',1,scX,scY,this.makeCalendar(dteCur.getMonth(),dteCur.getFullYear()));
- }
- }
- this.changeYear=changeYear;
-
- function getDayLink(blnIsGreyDate,intLinkDay,intLinkMonth,intLinkYear,bViewOnly,isWE) {
- var templink; var tempLinkClass='calDay-Link';
- var tempClass='cal-DayCell';
- var tempDt=''; var isHol=-1; var holTxt='';
- if (isWE==true && this.showWeekends==true) {tempClass='cal-WeekendCell';}
- tempDt=msNames[intLinkMonth]+'-'+intLinkDay;
- if (this.showHolidays) {isHol=calMgr.isHoliday(tempDt); if (isHol!=-1) {holTxt=' title="'+calMgr.HolidaysDesc[isHol]+'"'; tempClass='cal-HolidayCell';}}
- if (!(this.useDateRange)) {
- if (blnIsGreyDate) {
- templink='<td align="center" class="cal-GreyDate">' + intLinkDay + '<\/td>';
- }
- else {
- if (isDayToday(intLinkDay)) {
- if (!(bViewOnly)) {
- templink='<td align="center" class="'+tempClass+'">' + '<a class="cal-TodayLink" '+holTxt+' onmouseover="self.status=\' \';return true" href="javascript:'+this.varName+'.changeDay(' + intLinkDay + ');">' + intLinkDay + '<\/a><\/td>';
- }
- else {
- templink='<td align="center" class="'+tempClass+'"><span class="cal-Today">' + intLinkDay +'<\/span><\/td>';
- }
- }
- else {
- if (!(bViewOnly)) {
- templink='<td align="center" class="'+tempClass+'">' + '<a class="cal-DayLink" '+holTxt+' onmouseover="self.status=\' \';return true" href="javascript:'+this.varName+'.changeDay(' + intLinkDay + ');">' + intLinkDay + '<\/a>' +'<\/td>';
- }
- else {
- templink='<td align="center" class="'+tempClass+'"><span class="cal-Day">' + intLinkDay + '<\/span><\/td>';
- }
- }
- }
- }
- else {
- if (this.isDayValid(intLinkDay,intLinkMonth,intLinkYear)) {
-
- if (blnIsGreyDate){
- templink='<td align="center" class="cal-GreyDate">' + intLinkDay + '<\/td>';
- }
- else {
- if (isDayToday(intLinkDay)) {
- if (!(bViewOnly)) {
- templink='<td align="center" class="'+tempClass+'">' + '<a class="cal-TodayLink" '+holTxt+' onmouseover="self.status=\' \';return true" href="javascript:'+this.varName+'.changeDay(' + intLinkDay + ');">' + intLinkDay + '<\/a>' +'<\/td>';
- }
- else {
- templink='<td align="center" class="'+tempClass+'"><span class="cal-Today">' + intLinkDay + '<\/span><\/td>';
- }
- }
- else {
- if (!(bViewOnly)) {
- templink='<td align="center" class="'+tempClass+'">' + '<a class="cal-DayLink" '+holTxt+' onmouseover="self.status=\' \';return true" href="javascript:'+this.varName+'.changeDay(' + intLinkDay + ');">' + intLinkDay + '<\/a>' +'<\/td>';
- }
- else {
- templink='<td align="center" class="'+tempClass+'"><span class="cal-Day">' + intLinkDay +'<\/span><\/td>';
- }
- }
- }
- }
- else {
- templink='<td align="center" class="cal-GreyInvalidDate">'+ intLinkDay + '<\/td>';
- }
- }
- return templink;
- }
- this.getDayLink=getDayLink;
-
-
- // EXTRA Private FUNCTIONS ===============================================================
-
- function toggleCombos(showHow){
- var i; var j;
- var cboX; var cboY;
- for (i=0;i<document.forms.length;i++) {
- for (j=0;j<document.forms[i].elements.length;j++) {
- if (document.forms[i].elements[j].tagName == "SELECT") {
- if (document.forms[i].name != "spiffyCal") {
- cboX = getOffsetLeft(document.forms[i].elements[j]);
- cboY = getOffsetTop(document.forms[i].elements[j]);
- if ( ((cboX>=scX-15) && (cboX<=scX+200)) && ((cboY>=scY-15) && (cboY<=scY+145)) )
- document.forms[i].elements[j].style.visibility=showHow;
- //Check for right hand side overlapping.
- cboX = cboX + parseInt(document.forms[i].elements[j].style.width);
- cboY=cboY+15;//cbo height (default)
- if ( ((cboX>=scX+15) && (cboX<=scX+200)) && ((cboY>=scY-15) && (cboY<=scY+145)) )
- document.forms[i].elements[j].style.visibility=showHow;
- }
- }
- }
- }
- }
-
-
-
- function isDayToday(intWhatDay) {
- if ((dteCur.getFullYear() == dteToday.getFullYear()) && (dteCur.getMonth() == dteToday.getMonth()) && (intWhatDay == dteToday.getDate())) {
- return true;
- }
- else {
- return false;
- }
- }
-
-
- function isDayValid(intWhatDay, intWhatMonth, intWhatYear){
- dteCur.setDate(intWhatDay);
- dteCur.setMonth(intWhatMonth);
- dteCur.setFullYear(intWhatYear);
- dteCur.setHours(0);dteCur.setMinutes(0);dteCur.setSeconds(0);dteCur.setMilliseconds(0);
- if ((dteCur>=this.minDate) && (dteCur<=this.maxDate)) {
- return true;
- }
- else {
- return false;
- }
- }
- this.isDayValid=isDayValid;
-
- calMgr.addCalendar(this);
-
- blnInConstructor=false;
-}
-
-
-
-// Utility functions----------------------------------
-
-
-function quote(sWhat) {
- return '\''+sWhat+'\'';
-}
-
-
-function getOffsetLeft (el) {
- var ol = el.offsetLeft;
- while ((el = el.offsetParent) != null)
- ol += el.offsetLeft;
- return ol;
-}
-
-
-function getOffsetTop (el) {
- var ot = el.offsetTop;
- while((el = el.offsetParent) != null)
- ot += el.offsetTop;
- return ot;
-}
-
-function calClick() {
- window.focus();
-}
-
-function domlay(id,trigger,lax,lay,content) {
- /*
- * Cross browser Layer visibility / Placement Routine
- * Done by Chris Heilmann (mail-z5bSqGacJS/[email protected])
- * http://www.ichwill.net/mom/domlay/
- * Feel free to use with these lines included!
- * Created with help from Scott Andrews.
- * The marked part of the content change routine is taken
- * from a script by Reyn posted in the DHTML
- * Forum at Website Attraction and changed to work with
- * any layername. Cheers to that!
- * Welcome DOM-1, about time you got included... :)
- */
- // Layer visible
- if (trigger=="1"){
- if (document.layers) document.layers[''+id+''].visibility = "show"
- else if (document.all) document.all[''+id+''].style.visibility = "visible"
- else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "visible"
- }
- // Layer hidden
- else if (trigger=="0"){
- if (document.layers) document.layers[''+id+''].visibility = "hide"
- else if (document.all) document.all[''+id+''].style.visibility = "hidden"
- else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "hidden"
- }
- // Set horizontal position
- if (lax){
- if (document.layers){document.layers[''+id+''].left = lax}
- else if (document.all){document.all[''+id+''].style.left=lax}
- else if (document.getElementById){document.getElementById(''+id+'').style.left=lax+"px"}
- }
- // Set vertical position
- if (lay){
- if (document.layers){document.layers[''+id+''].top = lay}
- else if (document.all){document.all[''+id+''].style.top=lay}
- else if (document.getElementById){document.getElementById(''+id+'').style.top=lay+"px"}
- }
- // change content
-
- if (content){
- if (document.layers){
- sprite=document.layers[''+id+''].document;
- // add father layers if needed! document.layers[''+father+'']...
- sprite.open();
- sprite.write(content);
- sprite.close();
- }
- else if (document.all) document.all[''+id+''].innerHTML = content;
- else if (document.getElementById){
- //Thanx Reyn!
- rng = document.createRange();
- el = document.getElementById(''+id+'');
- rng.setStartBefore(el);
- htmlFrag = rng.createContextualFragment(content)
- while(el.hasChildNodes()) el.removeChild(el.lastChild);
- el.appendChild(htmlFrag);
- // end of Reyn ;)
- }
- }
-}
-
-
-function makeArray0() {
- for (i = 0; i<makeArray0.arguments.length; i++)
- this[i] = makeArray0.arguments[i];
-}
-
-//---------------------------------------
-
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.9</small></center>
</body></html>
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click