* streamline copyright statements; add Conclusion of included components; flip to...
authorWilfried Göesgens <willi@citadel.org>
Sun, 8 Mar 2009 13:46:58 +0000 (13:46 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 8 Mar 2009 13:46:58 +0000 (13:46 +0000)
22 files changed:
webcit/COPYING
webcit/static/BubbleTooltips.js
webcit/static/bt.css
webcit/static/ctdldragdrop.js
webcit/static/datepicker.css
webcit/static/iconbaricns.css
webcit/static/iconbarpiconly.css
webcit/static/instant_messenger.html
webcit/static/mobile.css
webcit/static/mobile.js
webcit/static/niftyCorners.css
webcit/static/niftycube.js
webcit/static/palette.htm
webcit/static/roomops.js
webcit/static/rss_browser.css
webcit/static/rte.css
webcit/static/summaryview.js
webcit/static/table.js
webcit/static/util.js
webcit/static/wclib.js
webcit/static/wcpref.js
webcit/static/webcit.css

index 14476fd9fb8a3866eca5b92c56bf555de01a2987..3c686734d907553fe1ede68ab9bc8fd7244ebfb9 100644 (file)
@@ -1,3 +1,18 @@
+Webcit Core is Copyright by the Citadel Development Team 1998 - 2009
+Webcit contains components under different Licenses, here their authors and list:
+
+Scriptaculus: Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, 
+  http://mir.aculo.us) MIT-style license.
+PrototypeJS: Copyright (c) 2005-2008 Sam Stephenson; http://www.prototypejs.org/; 
+  MIT License (http://dev.rubyonrails.org/browser/spinoffs/prototype/trunk/LICENSE?format=raw)
+strcmp: http://kevin.vanzonneveld.net; original by: Waldo Malqui Silva input by: Steve Hilder
+  improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) http://kevin.vanzonneveld.net
+DatePicker: widget using Prototype and Scriptaculous. (c) 2007 Mathieu Jondet <mathieu@eulerian.com> Eulerian Technologies
+  DatePicker is freely distributable under the same terms as Prototype. -> 
+NanoTree: Martin Mouritzen. (martin@nano.dk) LGPL V3
+Nifty Corners Cube: Alessandro Fulciniti (a.fulciniti@html.it); GPV V2 or Later
+StdExt: Copyright (c) 2005 Michael Schuerig http://www.schuerig.de/michael/javascript/stdext.js LGPL V2.1 or later
+TinyMCE: Moxiecode tinymce.org LGPL V2.1 or later
 
 * In addition, as a special exception, the copyright holders give
 * permission to link the code of portions of this program with the
index 74a174d1dfc8fa3f9878066654c4d248464f20b3..104863f2e3c81f8d83466e985ee83a2b023ca860 100644 (file)
@@ -6,7 +6,7 @@
  *
  * The original version of this module was released into the public
  * domain.  This version is distributed as part of the Citadel system
- * under the terms of the GNU General Public License v2.
+ * under the terms of the GNU General Public License v3.
  *
  */
 
index 1759de0717492f3ca8e563ea24c1a88e2a5a7d15..8f3b8d319ea328cb8df420e3c13dbc5d8aa21f67 100644 (file)
@@ -1,18 +1,22 @@
-.tooltip {\r
-       width: 300px;\r
-       color: #000;\r
-       font:lighter 11px/1.3 sans-serif;\r
-       text-decoration:none;\r
-       text-align:left;\r
-}\r
-\r
-.tooltip span.top {\r
-       padding: 30px 8px 0;\r
-       background: url(bt.gif) no-repeat top\r
-}\r
-\r
-.tooltip b.bottom {\r
-       padding:3px 8px 15px;\r
-       color: #548912;\r
-       background: url(bt.gif) no-repeat bottom\r
-}\r
+/*
+ * Copyright 2005 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ */
+.tooltip {
+       width: 300px;
+       color: #000;
+       font:lighter 11px/1.3 sans-serif;
+       text-decoration:none;
+       text-align:left;
+}
+
+.tooltip span.top {
+       padding: 30px 8px 0;
+       background: url(bt.gif) no-repeat top
+}
+
+.tooltip b.bottom {
+       padding:3px 8px 15px;
+       color: #548912;
+       background: url(bt.gif) no-repeat bottom
+}
index 9e253b3ddaf8fa79200ed3ac59bbfcc8b37cacd3..6e152fa1ad3fce85a8ea55c0741a6f600c2443fb 100644 (file)
@@ -1,6 +1,10 @@
-/** Because scriptaculous DnD sucks..
-    Written by Mathew McBride <matt@mcbridematt.dhs.org> / <matt@comalies>
-*/
+/** 
+ * Because scriptaculous DnD sucks..
+ * Written by Mathew McBride <matt@mcbridematt.dhs.org> / <matt@comalies>
+ * 
+ * Copyright 2009 The Citadel Team
+ * Licensed under the GPL V3
+ */
 var draggedElement = null;
 var currentDropTargets = null;
 var dropTarget = null;
index 43259516ba2031ed42a8c5fe1962b65d66473e77..53dc5d1d6656194e058cc3be4fabe4a5f4aa6e9f 100644 (file)
@@ -1,3 +1,12 @@
+/**
+ * DatePicker widget using Prototype and Scriptaculous.
+ * (c) 2007 Mathieu Jondet <mathieu@eulerian.com>
+ * Eulerian Technologies
+ *
+ * DatePicker is freely distributable under the same terms as Prototype.
+ *
+ */
+
 div.datepicker {
  position: absolute;
  text-align: center;
index e8e9407769187a01612631071632d7a603fbf4d3..c65dfd7d5c653e994681b057305d5e9b63d786c9 100644 (file)
@@ -1,3 +1,12 @@
+/*
+ * $Id: iconbaricns.css 7193 2009-03-07 17:24:58Z dothebart $
+ * Copyright 2005 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ *
+ * Styles for the WebCit Iconbar.
+ *
+ */
+
 .ib_button {
     min-height: 32px;
     background-repeat: no-repeat !important;
index 1577608b350165baab2db504f295331bd09bd841..3bee21a6570835f26ba0e20e8b7b7f50a9d8334e 100644 (file)
@@ -1,3 +1,12 @@
+/*
+ * $Id: iconbaricns.css 7193 2009-03-07 17:24:58Z dothebart $
+ * Copyright 2005 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ *
+ * Styles for the WebCit Iconbar in textonly mode.
+ *
+ */
+
 @import url("/static/iconbaricns.css");
 
 .ib_button {
index 0ecdcc772d6c99622e1266fa3cba86451e868a5d..4af6387be3f05416d679cb9c37114fcc6f913964 100644 (file)
 <div id="main" style="position:fixed;width:100%;height:85%;top:15%;left:0%;overflow:auto;background:#ffffff"></div>
 
 <script type="text/javascript">
+/*
+ * $Id: instant_messanger.html 7193 2009-03-07 17:24:58Z dothebart $
+ * Copyright 2000 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ *
+ * Chat window for Person 2 Person Chat
+ *
+ */
 
 var gexp_divs = new Array();
 var num_gexp_divs = 0;
index 9315005c97aa66a0debf13eb389b58acdb89bdf7..41da5599d6d3c2d0fb288a43d4a36c9cfd7f0623 100644 (file)
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2005 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ * styles for mobile clients
+ */
 body {
 }
 #button li {
index 76bc71c40b368a76e59e485bd9c564116cfb4d06..dd8f104b9db2763ca4c9fa05fbcdf2dd3726e99c 100644 (file)
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2005 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ */
+
 var currentMsgDisplay = null;
 function CtdlLoadMsgMouseDown(event, msgnum) {
   /*   if (currentMsgDisplay != null) {
index 6570f60ee5e61f6fcee78df0dca39840e33a8444..979993f77c5fab5f5434054ed84c2ae613e7e38a 100644 (file)
@@ -1,35 +1,37 @@
-/*Nifty Corners Cube CSS by Alessandro Fulciniti\r
-The following classes are added dinamically by javascript,\r
-and their use should be avoided in the markup */\r
-\r
-b.niftycorners,b.niftyfill{display:block}\r
-b.niftycorners *{display:block;height: 1px;line-height:1px;font-size: 1px;\r
-    overflow:hidden;border-style:solid;border-width: 0 1px}\r
-/*normal*/\r
-b.r1{margin: 0 3px;border-width: 0 2px}\r
-b.r2{margin: 0 2px}\r
-b.r3{margin: 0 1px}\r
-b.r4{height: 2px}\r
-b.rb1{margin: 0 8px;border-width:0 2px}\r
-b.rb2{margin: 0 6px;border-width:0 2px}\r
-b.rb3{margin: 0 5px}\r
-b.rb4{margin: 0 4px}\r
-b.rb5{margin: 0 3px}\r
-b.rb6{margin: 0 2px}\r
-b.rb7{margin: 0 1px;height:2px}\r
-b.rb8{margin: 0;height:2px}\r
-b.rs1{margin: 0 1px}\r
-/*transparent inside*/\r
-b.t1{border-width: 0 5px}\r
-b.t2{border-width: 0 3px}\r
-b.t3{border-width: 0 2px}\r
-b.t4{height: 2px}\r
-b.tb1{border-width: 0 10px}\r
-b.tb2{border-width: 0 8px}\r
-b.tb3{border-width: 0 6px}\r
-b.tb4{border-width: 0 5px}\r
-b.tb5{border-width: 0 4px}\r
-b.tb6{border-width: 0 3px}\r
-b.tb7{border-width: 0 2px;height:2px}\r
-b.tb8{border-width: 0 1px;height:2px}\r
+/*
+ * Nifty Corners Cube CSS by Alessandro Fulciniti
+ * The following classes are added dynamically by javascript,
+ * and their use should be avoided in the markup 
+ */
+
+b.niftycorners,b.niftyfill{display:block}
+b.niftycorners *{display:block;height: 1px;line-height:1px;font-size: 1px;
+    overflow:hidden;border-style:solid;border-width: 0 1px}
+/*normal*/
+b.r1{margin: 0 3px;border-width: 0 2px}
+b.r2{margin: 0 2px}
+b.r3{margin: 0 1px}
+b.r4{height: 2px}
+b.rb1{margin: 0 8px;border-width:0 2px}
+b.rb2{margin: 0 6px;border-width:0 2px}
+b.rb3{margin: 0 5px}
+b.rb4{margin: 0 4px}
+b.rb5{margin: 0 3px}
+b.rb6{margin: 0 2px}
+b.rb7{margin: 0 1px;height:2px}
+b.rb8{margin: 0;height:2px}
+b.rs1{margin: 0 1px}
+/*transparent inside*/
+b.t1{border-width: 0 5px}
+b.t2{border-width: 0 3px}
+b.t3{border-width: 0 2px}
+b.t4{height: 2px}
+b.tb1{border-width: 0 10px}
+b.tb2{border-width: 0 8px}
+b.tb3{border-width: 0 6px}
+b.tb4{border-width: 0 5px}
+b.tb5{border-width: 0 4px}
+b.tb6{border-width: 0 3px}
+b.tb7{border-width: 0 2px;height:2px}
+b.tb8{border-width: 0 1px;height:2px}
 b.ts1{border-width: 0 2px}
\ No newline at end of file
index ccaed31470e56b954e591345b9169a5c64774c23..593749008eb58ae4e5ee7a15033457b74dea7cd1 100644 (file)
-/* Nifty Corners Cube - rounded corners with CSS and Javascript\r
-Copyright 2006 Alessandro Fulciniti (a.fulciniti@html.it)\r
-\r
-This program is free software; you can redistribute it and/or modify\r
-it under the terms of the GNU General Public License as published by\r
-the Free Software Foundation; either version 2 of the License, or\r
-(at your option) any later version.\r
-\r
-This program is distributed in the hope that it will be useful,\r
-but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-GNU General Public License for more details.\r
-\r
-You should have received a copy of the GNU General Public License\r
-along with this program; if not, write to the Free Software\r
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\r
-*/\r
-\r
-var niftyOk=(document.getElementById && document.createElement && Array.prototype.push);\r
-var niftyCss=false;\r
-\r
-String.prototype.find=function(what){\r
-return(this.indexOf(what)>=0 ? true : false);\r
-}\r
-\r
-var oldonload=window.onload;\r
-if(typeof(NiftyLoad)!='function') NiftyLoad=function(){};\r
-if(typeof(oldonload)=='function')\r
-    window.onload=function(){oldonload();AddCss();NiftyLoad()};\r
-else window.onload=function(){AddCss();NiftyLoad()};\r
-\r
-function AddCss(){\r
-niftyCss=true;\r
-var l=CreateEl("link");\r
-l.setAttribute("type","text/css");\r
-l.setAttribute("rel","stylesheet");\r
-l.setAttribute("href","static/niftyCorners.css");\r
-l.setAttribute("media","screen");\r
-document.getElementsByTagName("head")[0].appendChild(l);\r
-}\r
-\r
-function Nifty(selector,options){\r
-if(niftyOk==false) return;\r
-if(niftyCss==false) AddCss();\r
-var i,v=selector.split(","),h=0;\r
-if(options==null) options="";\r
-if(options.find("fixed-height"))\r
-    h=getElementsBySelector(v[0])[0].offsetHeight;\r
-for(i=0;i<v.length;i++)\r
-    Rounded(v[i],options);\r
-if(options.find("height")) SameHeight(selector,h);\r
-}\r
-\r
-function Rounded(selector,options){\r
-var i,top="",bottom="",v=new Array();\r
-if(options!=""){\r
-    options=options.replace("left","tl bl");\r
-    options=options.replace("right","tr br");\r
-    options=options.replace("top","tr tl");\r
-    options=options.replace("bottom","br bl");\r
-    options=options.replace("transparent","alias");\r
-    if(options.find("tl")){\r
-        top="both";\r
-        if(!options.find("tr")) top="left";\r
-        }\r
-    else if(options.find("tr")) top="right";\r
-    if(options.find("bl")){\r
-        bottom="both";\r
-        if(!options.find("br")) bottom="left";\r
-        }\r
-    else if(options.find("br")) bottom="right";\r
-    }\r
-if(top=="" && bottom=="" && !options.find("none")){top="both";bottom="both";}\r
-v=getElementsBySelector(selector);\r
-for(i=0;i<v.length;i++){\r
-    FixIE(v[i]);\r
-    if(top!="") AddTop(v[i],top,options);\r
-    if(bottom!="") AddBottom(v[i],bottom,options);\r
-    }\r
-}\r
-\r
-function AddTop(el,side,options){\r
-var d=CreateEl("b"),lim=4,border="",p,i,btype="r",bk,color;\r
-d.style.marginLeft="-"+getPadding(el,"Left")+"px";\r
-d.style.marginRight="-"+getPadding(el,"Right")+"px";\r
-if(options.find("alias") || (color=getBk(el))=="transparent"){\r
-    color="transparent";bk="transparent"; border=getParentBk(el);btype="t";\r
-    }\r
-else{\r
-    bk=getParentBk(el); border=Mix(color,bk);\r
-    }\r
-d.style.background=bk;\r
-d.className="niftycorners";\r
-p=getPadding(el,"Top");\r
-if(options.find("small")){\r
-    d.style.marginBottom=(p-2)+"px";\r
-    btype+="s"; lim=2;\r
-    }\r
-else if(options.find("big")){\r
-    d.style.marginBottom=(p-10)+"px";\r
-    btype+="b"; lim=8;\r
-    }\r
-else d.style.marginBottom=(p-5)+"px";\r
-for(i=1;i<=lim;i++)\r
-    d.appendChild(CreateStrip(i,side,color,border,btype));\r
-el.style.paddingTop="0";\r
-el.insertBefore(d,el.firstChild);\r
-}\r
-\r
-function AddBottom(el,side,options){\r
-var d=CreateEl("b"),lim=4,border="",p,i,btype="r",bk,color;\r
-d.style.marginLeft="-"+getPadding(el,"Left")+"px";\r
-d.style.marginRight="-"+getPadding(el,"Right")+"px";\r
-if(options.find("alias") || (color=getBk(el))=="transparent"){\r
-    color="transparent";bk="transparent"; border=getParentBk(el);btype="t";\r
-    }\r
-else{\r
-    bk=getParentBk(el); border=Mix(color,bk);\r
-    }\r
-d.style.background=bk;\r
-d.className="niftycorners";\r
-p=getPadding(el,"Bottom");\r
-if(options.find("small")){\r
-    d.style.marginTop=(p-2)+"px";\r
-    btype+="s"; lim=2;\r
-    }\r
-else if(options.find("big")){\r
-    d.style.marginTop=(p-10)+"px";\r
-    btype+="b"; lim=8;\r
-    }\r
-else d.style.marginTop=(p-5)+"px";\r
-for(i=lim;i>0;i--)\r
-    d.appendChild(CreateStrip(i,side,color,border,btype));\r
-el.style.paddingBottom=0;\r
-el.appendChild(d);\r
-}\r
-\r
-function CreateStrip(index,side,color,border,btype){\r
-var x=CreateEl("b");\r
-x.className=btype+index;\r
-x.style.backgroundColor=color;\r
-x.style.borderColor=border;\r
-if(side=="left"){\r
-    x.style.borderRightWidth="0";\r
-    x.style.marginRight="0";\r
-    }\r
-else if(side=="right"){\r
-    x.style.borderLeftWidth="0";\r
-    x.style.marginLeft="0";\r
-    }\r
-return(x);\r
-}\r
-\r
-function CreateEl(x){\r
-return(document.createElement(x));\r
-}\r
-\r
-function FixIE(el){\r
-if(el.currentStyle!=null && el.currentStyle.hasLayout!=null && el.currentStyle.hasLayout==false)\r
-    el.style.display="inline-block";\r
-}\r
-\r
-function SameHeight(selector,maxh){\r
-var i,v=selector.split(","),t,j,els=[],gap;\r
-for(i=0;i<v.length;i++){\r
-    t=getElementsBySelector(v[i]);\r
-    els=els.concat(t);\r
-    }\r
-for(i=0;i<els.length;i++){\r
-    if(els[i].offsetHeight>maxh) maxh=els[i].offsetHeight;\r
-    els[i].style.height="auto";\r
-    }\r
-for(i=0;i<els.length;i++){\r
-    gap=maxh-els[i].offsetHeight;\r
-    if(gap>0){\r
-        t=CreateEl("b");t.className="niftyfill";t.style.height=gap+"px";\r
-        nc=els[i].lastChild;\r
-        if(nc.className=="niftycorners")\r
-            els[i].insertBefore(t,nc);\r
-        else els[i].appendChild(t);\r
-        }\r
-    }\r
-}\r
-\r
-function getElementsBySelector(selector){\r
-var i,j,selid="",selclass="",tag=selector,tag2="",v2,k,f,a,s=[],objlist=[],c;\r
-if(selector.find("#")){ //id selector like "tag#id"\r
-    if(selector.find(" ")){  //descendant selector like "tag#id tag"\r
-        s=selector.split(" ");\r
-        var fs=s[0].split("#");\r
-        if(fs.length==1) return(objlist);\r
-        f=document.getElementById(fs[1]);\r
-        if(f){\r
-            v=f.getElementsByTagName(s[1]);\r
-            for(i=0;i<v.length;i++) objlist.push(v[i]);\r
-            }\r
-        return(objlist);\r
-        }\r
-    else{\r
-        s=selector.split("#");\r
-        tag=s[0];\r
-        selid=s[1];\r
-        if(selid!=""){\r
-            f=document.getElementById(selid);\r
-            if(f) objlist.push(f);\r
-            return(objlist);\r
-            }\r
-        }\r
-    }\r
-if(selector.find(".")){      //class selector like "tag.class"\r
-    s=selector.split(".");\r
-    tag=s[0];\r
-    selclass=s[1];\r
-    if(selclass.find(" ")){   //descendant selector like tag1.classname tag2\r
-        s=selclass.split(" ");\r
-        selclass=s[0];\r
-        tag2=s[1];\r
-        }\r
-    }\r
-var v=document.getElementsByTagName(tag);  // tag selector like "tag"\r
-if(selclass==""){\r
-    for(i=0;i<v.length;i++) objlist.push(v[i]);\r
-    return(objlist);\r
-    }\r
-for(i=0;i<v.length;i++){\r
-    c=v[i].className.split(" ");\r
-    for(j=0;j<c.length;j++){\r
-        if(c[j]==selclass){\r
-            if(tag2=="") objlist.push(v[i]);\r
-            else{\r
-                v2=v[i].getElementsByTagName(tag2);\r
-                for(k=0;k<v2.length;k++) objlist.push(v2[k]);\r
-                }\r
-            }\r
-        }\r
-    }\r
-return(objlist);\r
-}\r
-\r
-function getParentBk(x){\r
-var el=x.parentNode,c;\r
-while(el.tagName.toUpperCase()!="HTML" && (c=getBk(el))=="transparent")\r
-    el=el.parentNode;\r
-if(c=="transparent") c="#FFFFFF";\r
-return(c);\r
-}\r
-\r
-function getBk(x){\r
-var c=getStyleProp(x,"backgroundColor");\r
-if(c==null || c=="transparent" || c.find("rgba(0, 0, 0, 0)"))\r
-    return("transparent");\r
-if(c.find("rgb")) c=rgb2hex(c);\r
-return(c);\r
-}\r
-\r
-function getPadding(x,side){\r
-var p=getStyleProp(x,"padding"+side);\r
-if(p==null || !p.find("px")) return(0);\r
-return(parseInt(p));\r
-}\r
-\r
-function getStyleProp(x,prop){\r
-if(x.currentStyle)\r
-    return(x.currentStyle[prop]);\r
-if(document.defaultView.getComputedStyle)\r
-    return(document.defaultView.getComputedStyle(x,'')[prop]);\r
-return(null);\r
-}\r
-\r
-function rgb2hex(value){\r
-var hex="",v,h,i;\r
-var regexp=/([0-9]+)[, ]+([0-9]+)[, ]+([0-9]+)/;\r
-var h=regexp.exec(value);\r
-for(i=1;i<4;i++){\r
-    v=parseInt(h[i]).toString(16);\r
-    if(v.length==1) hex+="0"+v;\r
-    else hex+=v;\r
-    }\r
-return("#"+hex);\r
-}\r
-\r
-function Mix(c1,c2){\r
-var i,step1,step2,x,y,r=new Array(3);\r
-if(c1.length==4)step1=1;\r
-else step1=2;\r
-if(c2.length==4) step2=1;\r
-else step2=2;\r
-for(i=0;i<3;i++){\r
-    x=parseInt(c1.substr(1+step1*i,step1),16);\r
-    if(step1==1) x=16*x+x;\r
-    y=parseInt(c2.substr(1+step2*i,step2),16);\r
-    if(step2==1) y=16*y+y;\r
-    r[i]=Math.floor((x*50+y*50)/100);\r
-    r[i]=r[i].toString(16);\r
-    if(r[i].length==1) r[i]="0"+r[i];\r
-    }\r
-return("#"+r[0]+r[1]+r[2]);\r
-}\r
+/* Nifty Corners Cube - rounded corners with CSS and Javascript
+Copyright 2006 Alessandro Fulciniti (a.fulciniti@html.it)
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+*/
+
+var niftyOk=(document.getElementById && document.createElement && Array.prototype.push);
+var niftyCss=false;
+
+String.prototype.find=function(what){
+return(this.indexOf(what)>=0 ? true : false);
+}
+
+var oldonload=window.onload;
+if(typeof(NiftyLoad)!='function') NiftyLoad=function(){};
+if(typeof(oldonload)=='function')
+    window.onload=function(){oldonload();AddCss();NiftyLoad()};
+else window.onload=function(){AddCss();NiftyLoad()};
+
+function AddCss(){
+niftyCss=true;
+var l=CreateEl("link");
+l.setAttribute("type","text/css");
+l.setAttribute("rel","stylesheet");
+l.setAttribute("href","static/niftyCorners.css");
+l.setAttribute("media","screen");
+document.getElementsByTagName("head")[0].appendChild(l);
+}
+
+function Nifty(selector,options){
+if(niftyOk==false) return;
+if(niftyCss==false) AddCss();
+var i,v=selector.split(","),h=0;
+if(options==null) options="";
+if(options.find("fixed-height"))
+    h=getElementsBySelector(v[0])[0].offsetHeight;
+for(i=0;i<v.length;i++)
+    Rounded(v[i],options);
+if(options.find("height")) SameHeight(selector,h);
+}
+
+function Rounded(selector,options){
+var i,top="",bottom="",v=new Array();
+if(options!=""){
+    options=options.replace("left","tl bl");
+    options=options.replace("right","tr br");
+    options=options.replace("top","tr tl");
+    options=options.replace("bottom","br bl");
+    options=options.replace("transparent","alias");
+    if(options.find("tl")){
+        top="both";
+        if(!options.find("tr")) top="left";
+        }
+    else if(options.find("tr")) top="right";
+    if(options.find("bl")){
+        bottom="both";
+        if(!options.find("br")) bottom="left";
+        }
+    else if(options.find("br")) bottom="right";
+    }
+if(top=="" && bottom=="" && !options.find("none")){top="both";bottom="both";}
+v=getElementsBySelector(selector);
+for(i=0;i<v.length;i++){
+    FixIE(v[i]);
+    if(top!="") AddTop(v[i],top,options);
+    if(bottom!="") AddBottom(v[i],bottom,options);
+    }
+}
+
+function AddTop(el,side,options){
+var d=CreateEl("b"),lim=4,border="",p,i,btype="r",bk,color;
+d.style.marginLeft="-"+getPadding(el,"Left")+"px";
+d.style.marginRight="-"+getPadding(el,"Right")+"px";
+if(options.find("alias") || (color=getBk(el))=="transparent"){
+    color="transparent";bk="transparent"; border=getParentBk(el);btype="t";
+    }
+else{
+    bk=getParentBk(el); border=Mix(color,bk);
+    }
+d.style.background=bk;
+d.className="niftycorners";
+p=getPadding(el,"Top");
+if(options.find("small")){
+    d.style.marginBottom=(p-2)+"px";
+    btype+="s"; lim=2;
+    }
+else if(options.find("big")){
+    d.style.marginBottom=(p-10)+"px";
+    btype+="b"; lim=8;
+    }
+else d.style.marginBottom=(p-5)+"px";
+for(i=1;i<=lim;i++)
+    d.appendChild(CreateStrip(i,side,color,border,btype));
+el.style.paddingTop="0";
+el.insertBefore(d,el.firstChild);
+}
+
+function AddBottom(el,side,options){
+var d=CreateEl("b"),lim=4,border="",p,i,btype="r",bk,color;
+d.style.marginLeft="-"+getPadding(el,"Left")+"px";
+d.style.marginRight="-"+getPadding(el,"Right")+"px";
+if(options.find("alias") || (color=getBk(el))=="transparent"){
+    color="transparent";bk="transparent"; border=getParentBk(el);btype="t";
+    }
+else{
+    bk=getParentBk(el); border=Mix(color,bk);
+    }
+d.style.background=bk;
+d.className="niftycorners";
+p=getPadding(el,"Bottom");
+if(options.find("small")){
+    d.style.marginTop=(p-2)+"px";
+    btype+="s"; lim=2;
+    }
+else if(options.find("big")){
+    d.style.marginTop=(p-10)+"px";
+    btype+="b"; lim=8;
+    }
+else d.style.marginTop=(p-5)+"px";
+for(i=lim;i>0;i--)
+    d.appendChild(CreateStrip(i,side,color,border,btype));
+el.style.paddingBottom=0;
+el.appendChild(d);
+}
+
+function CreateStrip(index,side,color,border,btype){
+var x=CreateEl("b");
+x.className=btype+index;
+x.style.backgroundColor=color;
+x.style.borderColor=border;
+if(side=="left"){
+    x.style.borderRightWidth="0";
+    x.style.marginRight="0";
+    }
+else if(side=="right"){
+    x.style.borderLeftWidth="0";
+    x.style.marginLeft="0";
+    }
+return(x);
+}
+
+function CreateEl(x){
+return(document.createElement(x));
+}
+
+function FixIE(el){
+if(el.currentStyle!=null && el.currentStyle.hasLayout!=null && el.currentStyle.hasLayout==false)
+    el.style.display="inline-block";
+}
+
+function SameHeight(selector,maxh){
+var i,v=selector.split(","),t,j,els=[],gap;
+for(i=0;i<v.length;i++){
+    t=getElementsBySelector(v[i]);
+    els=els.concat(t);
+    }
+for(i=0;i<els.length;i++){
+    if(els[i].offsetHeight>maxh) maxh=els[i].offsetHeight;
+    els[i].style.height="auto";
+    }
+for(i=0;i<els.length;i++){
+    gap=maxh-els[i].offsetHeight;
+    if(gap>0){
+        t=CreateEl("b");t.className="niftyfill";t.style.height=gap+"px";
+        nc=els[i].lastChild;
+        if(nc.className=="niftycorners")
+            els[i].insertBefore(t,nc);
+        else els[i].appendChild(t);
+        }
+    }
+}
+
+function getElementsBySelector(selector){
+var i,j,selid="",selclass="",tag=selector,tag2="",v2,k,f,a,s=[],objlist=[],c;
+if(selector.find("#")){ //id selector like "tag#id"
+    if(selector.find(" ")){  //descendant selector like "tag#id tag"
+        s=selector.split(" ");
+        var fs=s[0].split("#");
+        if(fs.length==1) return(objlist);
+        f=document.getElementById(fs[1]);
+        if(f){
+            v=f.getElementsByTagName(s[1]);
+            for(i=0;i<v.length;i++) objlist.push(v[i]);
+            }
+        return(objlist);
+        }
+    else{
+        s=selector.split("#");
+        tag=s[0];
+        selid=s[1];
+        if(selid!=""){
+            f=document.getElementById(selid);
+            if(f) objlist.push(f);
+            return(objlist);
+            }
+        }
+    }
+if(selector.find(".")){      //class selector like "tag.class"
+    s=selector.split(".");
+    tag=s[0];
+    selclass=s[1];
+    if(selclass.find(" ")){   //descendant selector like tag1.classname tag2
+        s=selclass.split(" ");
+        selclass=s[0];
+        tag2=s[1];
+        }
+    }
+var v=document.getElementsByTagName(tag);  // tag selector like "tag"
+if(selclass==""){
+    for(i=0;i<v.length;i++) objlist.push(v[i]);
+    return(objlist);
+    }
+for(i=0;i<v.length;i++){
+    c=v[i].className.split(" ");
+    for(j=0;j<c.length;j++){
+        if(c[j]==selclass){
+            if(tag2=="") objlist.push(v[i]);
+            else{
+                v2=v[i].getElementsByTagName(tag2);
+                for(k=0;k<v2.length;k++) objlist.push(v2[k]);
+                }
+            }
+        }
+    }
+return(objlist);
+}
+
+function getParentBk(x){
+var el=x.parentNode,c;
+while(el.tagName.toUpperCase()!="HTML" && (c=getBk(el))=="transparent")
+    el=el.parentNode;
+if(c=="transparent") c="#FFFFFF";
+return(c);
+}
+
+function getBk(x){
+var c=getStyleProp(x,"backgroundColor");
+if(c==null || c=="transparent" || c.find("rgba(0, 0, 0, 0)"))
+    return("transparent");
+if(c.find("rgb")) c=rgb2hex(c);
+return(c);
+}
+
+function getPadding(x,side){
+var p=getStyleProp(x,"padding"+side);
+if(p==null || !p.find("px")) return(0);
+return(parseInt(p));
+}
+
+function getStyleProp(x,prop){
+if(x.currentStyle)
+    return(x.currentStyle[prop]);
+if(document.defaultView.getComputedStyle)
+    return(document.defaultView.getComputedStyle(x,'')[prop]);
+return(null);
+}
+
+function rgb2hex(value){
+var hex="",v,h,i;
+var regexp=/([0-9]+)[, ]+([0-9]+)[, ]+([0-9]+)/;
+var h=regexp.exec(value);
+for(i=1;i<4;i++){
+    v=parseInt(h[i]).toString(16);
+    if(v.length==1) hex+="0"+v;
+    else hex+=v;
+    }
+return("#"+hex);
+}
+
+function Mix(c1,c2){
+var i,step1,step2,x,y,r=new Array(3);
+if(c1.length==4)step1=1;
+else step1=2;
+if(c2.length==4) step2=1;
+else step2=2;
+for(i=0;i<3;i++){
+    x=parseInt(c1.substr(1+step1*i,step1),16);
+    if(step1==1) x=16*x+x;
+    y=parseInt(c2.substr(1+step2*i,step2),16);
+    if(step2==1) y=16*y+y;
+    r[i]=Math.floor((x*50+y*50)/100);
+    r[i]=r[i].toString(16);
+    if(r[i].length==1) r[i]="0"+r[i];
+    }
+return("#"+r[0]+r[1]+r[2]);
+}
index 4572f81178c52a5e45cb86503cc423cc31a19480..0e723a5e0a52eaf88fe4f85016f0520d8d761ffd 100644 (file)
-<html>\r
-<head>\r
-       <title>Text Color</title>\r
-       <script type="text/javascript">\r
-       <!--\r
-       function selectColor(color) {\r
-               self.parent.setColor(color);\r
-       }\r
-       \r
-       function InitColorPalette() {\r
-               if (document.getElementsByTagName)\r
-                       var x = document.getElementsByTagName('TD');\r
-               else if (document.all)\r
-                       var x = document.all.tags('TD');\r
-               for (var i=0;i<x.length;i++) {\r
-                       x[i].onmouseover = over;\r
-                       x[i].onmouseout = out;\r
-                       x[i].onclick = click;\r
-               }\r
-       }\r
-       \r
-       function over() {\r
-               this.style.border='1px dotted white';\r
-       }\r
-       \r
-       function out() {\r
-               this.style.border='1px solid gray';\r
-       }\r
-       \r
-       function click() {\r
-               selectColor(this.id);\r
-       }\r
-       //-->\r
-       </script>\r
-</head>\r
-<body bgcolor="white" onLoad="InitColorPalette()" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0">\r
-<table width="150" height="100" cellpadding="0" cellspacing="1" border="1" align="center">\r
-       <tr>\r
-               <td id="#FFFFFF" bgcolor="#FFFFFF" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FFCCCC" bgcolor="#FFCCCC" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FFCC99" bgcolor="#FFCC99" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FFFF99" bgcolor="#FFFF99" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FFFFCC" bgcolor="#FFFFCC" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#99FF99" bgcolor="#99FF99" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#99FFFF" bgcolor="#99FFFF" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#CCFFFF" bgcolor="#CCFFFF" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#CCCCFF" bgcolor="#CCCCFF" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FFCCFF" bgcolor="#FFCCFF" width="10" height="10"><img width="1" height="1"></td>\r
-       </tr>\r
-       <tr>\r
-               <td id="#CCCCCC" bgcolor="#CCCCCC" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FF6666" bgcolor="#FF6666" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FF9966" bgcolor="#FF9966" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FFFF66" bgcolor="#FFFF66" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FFFF33" bgcolor="#FFFF33" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#66FF99" bgcolor="#66FF99" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#33FFFF" bgcolor="#33FFFF" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#66FFFF" bgcolor="#66FFFF" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#9999FF" bgcolor="#9999FF" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FF99FF" bgcolor="#FF99FF" width="10" height="10"><img width="1" height="1"></td>\r
-       </tr>\r
-       <tr>\r
-               <td id="#C0C0C0" bgcolor="#C0C0C0" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FF0000" bgcolor="#FF0000" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FF9900" bgcolor="#FF9900" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FFCC66" bgcolor="#FFCC66" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FFFF00" bgcolor="#FFFF00" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#33FF33" bgcolor="#33FF33" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#66CCCC" bgcolor="#66CCCC" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#33CCFF" bgcolor="#33CCFF" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#6666CC" bgcolor="#6666CC" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#CC66CC" bgcolor="#CC66CC" width="10" height="10"><img width="1" height="1"></td>\r
-       </tr>\r
-       <tr>\r
-               <td id="#999999" bgcolor="#999999" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#CC0000" bgcolor="#CC0000" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FF6600" bgcolor="#FF6600" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FFCC33" bgcolor="#FFCC33" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#FFCC00" bgcolor="#FFCC00" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#33CC00" bgcolor="#33CC00" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#00CCCC" bgcolor="#00CCCC" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#3366FF" bgcolor="#3366FF" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#6633FF" bgcolor="#6633FF" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#CC33CC" bgcolor="#CC33CC" width="10" height="10"><img width="1" height="1"></td>\r
-       </tr>\r
-       <tr>\r
-               <td id="#666666" bgcolor="#666666" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#990000" bgcolor="#990000" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#CC6600" bgcolor="#CC6600" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#CC9933" bgcolor="#CC9933" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#999900" bgcolor="#999900" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#009900" bgcolor="#009900" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#339999" bgcolor="#339999" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#3333FF" bgcolor="#3333FF" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#6600CC" bgcolor="#6600CC" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#993399" bgcolor="#993399" width="10" height="10"><img width="1" height="1"></td>\r
-       </tr>\r
-       <tr>\r
-               <td id="#333333" bgcolor="#333333" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#660000" bgcolor="#660000" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#993300" bgcolor="#993300" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#996633" bgcolor="#996633" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#666600" bgcolor="#666600" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#006600" bgcolor="#006600" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#336666" bgcolor="#336666" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#000099" bgcolor="#000099" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#333399" bgcolor="#333399" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#663366" bgcolor="#663366" width="10" height="10"><img width="1" height="1"></td>\r
-       </tr>\r
-       <tr>\r
-               <td id="#000000" bgcolor="#000000" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#330000" bgcolor="#330000" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#663300" bgcolor="#663300" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#663333" bgcolor="#663333" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#333300" bgcolor="#333300" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#003300" bgcolor="#003300" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#003333" bgcolor="#003333" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#000066" bgcolor="#000066" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#330099" bgcolor="#330099" width="10" height="10"><img width="1" height="1"></td>\r
-               <td id="#330033" bgcolor="#330033" width="10" height="10"><img width="1" height="1"></td>\r
-       </tr>\r
-</table>\r
-</body>\r
-</html>\r
+<html>
+<head>
+       <title>Text Color</title>
+       <script type="text/javascript">
+       <!--
+       function selectColor(color) {
+               self.parent.setColor(color);
+       }
+       
+       function InitColorPalette() {
+               if (document.getElementsByTagName)
+                       var x = document.getElementsByTagName('TD');
+               else if (document.all)
+                       var x = document.all.tags('TD');
+               for (var i=0;i<x.length;i++) {
+                       x[i].onmouseover = over;
+                       x[i].onmouseout = out;
+                       x[i].onclick = click;
+               }
+       }
+       
+       function over() {
+               this.style.border='1px dotted white';
+       }
+       
+       function out() {
+               this.style.border='1px solid gray';
+       }
+       
+       function click() {
+               selectColor(this.id);
+       }
+       //-->
+       </script>
+</head>
+<body bgcolor="white" onLoad="InitColorPalette()" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0">
+<table width="150" height="100" cellpadding="0" cellspacing="1" border="1" align="center">
+       <tr>
+               <td id="#FFFFFF" bgcolor="#FFFFFF" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FFCCCC" bgcolor="#FFCCCC" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FFCC99" bgcolor="#FFCC99" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FFFF99" bgcolor="#FFFF99" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FFFFCC" bgcolor="#FFFFCC" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#99FF99" bgcolor="#99FF99" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#99FFFF" bgcolor="#99FFFF" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#CCFFFF" bgcolor="#CCFFFF" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#CCCCFF" bgcolor="#CCCCFF" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FFCCFF" bgcolor="#FFCCFF" width="10" height="10"><img width="1" height="1"></td>
+       </tr>
+       <tr>
+               <td id="#CCCCCC" bgcolor="#CCCCCC" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FF6666" bgcolor="#FF6666" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FF9966" bgcolor="#FF9966" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FFFF66" bgcolor="#FFFF66" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FFFF33" bgcolor="#FFFF33" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#66FF99" bgcolor="#66FF99" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#33FFFF" bgcolor="#33FFFF" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#66FFFF" bgcolor="#66FFFF" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#9999FF" bgcolor="#9999FF" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FF99FF" bgcolor="#FF99FF" width="10" height="10"><img width="1" height="1"></td>
+       </tr>
+       <tr>
+               <td id="#C0C0C0" bgcolor="#C0C0C0" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FF0000" bgcolor="#FF0000" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FF9900" bgcolor="#FF9900" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FFCC66" bgcolor="#FFCC66" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FFFF00" bgcolor="#FFFF00" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#33FF33" bgcolor="#33FF33" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#66CCCC" bgcolor="#66CCCC" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#33CCFF" bgcolor="#33CCFF" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#6666CC" bgcolor="#6666CC" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#CC66CC" bgcolor="#CC66CC" width="10" height="10"><img width="1" height="1"></td>
+       </tr>
+       <tr>
+               <td id="#999999" bgcolor="#999999" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#CC0000" bgcolor="#CC0000" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FF6600" bgcolor="#FF6600" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FFCC33" bgcolor="#FFCC33" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#FFCC00" bgcolor="#FFCC00" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#33CC00" bgcolor="#33CC00" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#00CCCC" bgcolor="#00CCCC" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#3366FF" bgcolor="#3366FF" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#6633FF" bgcolor="#6633FF" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#CC33CC" bgcolor="#CC33CC" width="10" height="10"><img width="1" height="1"></td>
+       </tr>
+       <tr>
+               <td id="#666666" bgcolor="#666666" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#990000" bgcolor="#990000" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#CC6600" bgcolor="#CC6600" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#CC9933" bgcolor="#CC9933" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#999900" bgcolor="#999900" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#009900" bgcolor="#009900" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#339999" bgcolor="#339999" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#3333FF" bgcolor="#3333FF" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#6600CC" bgcolor="#6600CC" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#993399" bgcolor="#993399" width="10" height="10"><img width="1" height="1"></td>
+       </tr>
+       <tr>
+               <td id="#333333" bgcolor="#333333" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#660000" bgcolor="#660000" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#993300" bgcolor="#993300" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#996633" bgcolor="#996633" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#666600" bgcolor="#666600" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#006600" bgcolor="#006600" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#336666" bgcolor="#336666" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#000099" bgcolor="#000099" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#333399" bgcolor="#333399" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#663366" bgcolor="#663366" width="10" height="10"><img width="1" height="1"></td>
+       </tr>
+       <tr>
+               <td id="#000000" bgcolor="#000000" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#330000" bgcolor="#330000" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#663300" bgcolor="#663300" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#663333" bgcolor="#663333" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#333300" bgcolor="#333300" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#003300" bgcolor="#003300" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#003333" bgcolor="#003333" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#000066" bgcolor="#000066" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#330099" bgcolor="#330099" width="10" height="10"><img width="1" height="1"></td>
+               <td id="#330033" bgcolor="#330033" width="10" height="10"><img width="1" height="1"></td>
+       </tr>
+</table>
+</body>
+</html>
index d4f2dd4cbe19d6f4589eb45db497baf2e449d3bf..f3636fe708708f4b8e289e0a48f9710aec13787b 100644 (file)
@@ -1,3 +1,8 @@
+/*
+ * Copyright 1998 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ */
+
 // ROOM list vars:
 var rooms = null;
 
index f3867f135fcbd40a64576a9fa2d1683fd4c55a30..5858a02c46c3f86005c6fa78c63be05e8df0374a 100755 (executable)
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2005 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ */
+
 * {
 display: block;
 }
index b56d74bab16fcf86719990e2deda554c9e9e1a5f..40511e8ee4a46a480d4636ce19b22dae578c7e3b 100644 (file)
@@ -1,36 +1,41 @@
-.rteImage {\r
-       background: #D3D3D3;\r
-       border: 1px solid #D3D3D3;\r
-       cursor: pointer;\r
-       cursor: hand;\r
-}\r
-\r
-.rteImageRaised {\r
-       background: #D3D3D3;\r
-       border: 1px outset;\r
-       cursor: pointer;\r
-       cursor: hand;\r
-}\r
-\r
-.rteImageLowered {\r
-       background: #D3D3D3;\r
-       border: 1px inset;\r
-       cursor: pointer;\r
-       cursor: hand;\r
-}\r
-\r
-.rteVertSep {\r
-       margin: 0 4px 0 4px;\r
-}\r
-\r
-.rteBack {\r
-       background: #D3D3D3;\r
-       border: 1px outset;\r
-       letter-spacing: 0;\r
-       padding: 2px;\r
-}\r
-\r
-.rteBack tbody tr td, .rteBack tr td {\r
-       background: #D3D3D3;\r
-       padding: 0;\r
-}\r
+/*
+ * Copyright 2005 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ */
+
+.rteImage {
+       background: #D3D3D3;
+       border: 1px solid #D3D3D3;
+       cursor: pointer;
+       cursor: hand;
+}
+
+.rteImageRaised {
+       background: #D3D3D3;
+       border: 1px outset;
+       cursor: pointer;
+       cursor: hand;
+}
+
+.rteImageLowered {
+       background: #D3D3D3;
+       border: 1px inset;
+       cursor: pointer;
+       cursor: hand;
+}
+
+.rteVertSep {
+       margin: 0 4px 0 4px;
+}
+
+.rteBack {
+       background: #D3D3D3;
+       border: 1px outset;
+       letter-spacing: 0;
+       padding: 2px;
+}
+
+.rteBack tbody tr td, .rteBack tr td {
+       background: #D3D3D3;
+       padding: 0;
+}
index fd7b4f1abfd6010278a1dabf79209de9563c091f..b3ea8ba75084301c2bf37aa45ac103a4420074be 100644 (file)
@@ -1,7 +1,10 @@
-/** Webcit Summary View v2
-    All comments, flowers and death threats to Mathew McBride
-    <matt@mcbridematt.dhs.org> / <matt@comalies>
-*/
+/**
+ * Webcit Summary View v2
+ *   All comments, flowers and death threats to Mathew McBride
+ *   <matt@mcbridematt.dhs.org> / <matt@comalies>
+ * Copyright 2009 The Citadel Team
+ * Licensed under the GPL V3
+ */
 document.observe("dom:loaded", createMessageView);
 
 var message_view = null;
index 98321d9d93b16706845dc5229a28e89503ffbfdf..128c8ca31877b53dd22c538c496eb7e4683244b9 100644 (file)
@@ -1,6 +1,9 @@
 var categories;
-/** Task view table sorter
+/** 
+ * Task view table sorter
  * Written by Mathew McBride <matt@mcbridematt.dhs.org>
+ * Copyright 2009 The Citadel Team
+ * Licensed under the GPL V3
  */
 function gatherCategoriesFromTable() {
        var tbody = document.getElementById("taskview");
index 9170a95d3d5e623032ab3672a5b9a492935a7b04..20c08831b98a3d4c82c8755da34bb511b836ac98 100644 (file)
@@ -21,6 +21,12 @@ Object.inspect = function(obj) {
 
 // borrowed from http://www.schuerig.de/michael/javascript/stdext.js
 // Copyright (c) 2005, Michael Schuerig, michael@schuerig.de
+// License
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+// See http://www.gnu.org/copyleft/lesser.html
 
 Array.flatten = function(array, excludeUndefined) {
   if (excludeUndefined === undefined) {
index 622e92005dbc10d25094859a7580022f6e9d060b..79df4271ef8aa0aa572ce9ddb244c6b6d12d4f94 100644 (file)
@@ -1,9 +1,11 @@
-//
-// $Id$
-//
-// JavaScript function library for WebCit.
-//
-//
+/*
+ * $Id$
+ * Copyright 2005 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ *
+ * JavaScript function library for WebCit.
+ *
+ */
 
 
 var browserType;
index 7ae721f4866e3aa6c1ba01607e0d113fc1fb1c1b..26e945198061d72bb1ec174fcc688a0a91668675 100644 (file)
@@ -1,4 +1,8 @@
-/** Webcit preference code */
+/*
+ * Copyright 2005 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ * Webcit preference code 
+ */
 var persistentStorage = false;
 /* DOM5 storage disabled for now.. we want localStorage which isn't as widely available yet */
 //if (window.sessionStorage) {
index 46a3a6943e82540b3dfef12feb60d193a4c05061..9d96724cbebaafd8b360d4e92d84407dc7ce3931 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2005 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ */
 @import url("datepicker.css");
 @media print {
        input#toggler, .toolbar { display: none }