Adding js and css resources.

This commit is contained in:
Jeremy Grelle
2008-04-05 00:37:41 +00:00
parent 7cb57d26fa
commit e504ba66a0
813 changed files with 32531 additions and 0 deletions

View File

@@ -0,0 +1,134 @@
/*
A CSS Framework by Mike Stenhouse of Content with Style
-------------------------------------------------------
Copyright (c) 2005, Mike Stenhouse of Content with Style
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of CSS Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/* FORM ELEMENTS */
form {
margin:0;
padding:0;
}
form div,
form p {
margin: 0 0 1em 0;
padding: 0;
font-size: 1em;
}
label {
font-weight: bold;
}
fieldset {
padding: 5px 10px;
margin: 0 0 1.5em 0;
border: 1px solid #eee;
}
fieldset legend {
margin: 0 0 0 0px;
padding: 0;
font-size: 1.1em;
font-weight: bold;
color: #666;
background-color: white;
}
* html fieldset legend {
margin: 0 0 10px -10px;
}
fieldset ul {
margin: 0 0 1.5em 0;
padding: 0;
list-style: none;
}
fieldset ul li {
margin: 0 0 0.5em 0;
padding: 0;
list-style: none;
}
input, select, textarea {
margin: 0;
padding: 2px;
font-size: 1em;
font-family: arial, helvetica, verdana, sans-serif;
}
input, select {
vertical-align: middle;
}
textarea {
width: 200px;
height: 8em;
}
input.check {
width: auto;
height: auto;
margin: 0;
border: none;
}
input.radio {
width: auto;
height: auto;
margin: 0;
border: none;
}
input.file {
width: 250px;
height: auto;
}
input.readonly {
background-color: transparent;
border: none;
}
input.button {
width: 10em;
background-color: #ddd;
border: 1px solid black;
}
input.image {
width: auto;
height: auto;
border: none;
}
form div.submit {
margin: 1em 0;
}
form div.submit input {
width: 15em;
height: 2em;
}
/* END FORM ELEMENTS */

View File

@@ -0,0 +1,52 @@
/*
A CSS Framework by Mike Stenhouse of Content with Style
-------------------------------------------------------
Copyright (c) 2005, Mike Stenhouse of Content with Style
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of CSS Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
@import url("nav-horizontal.css");
/* NAV BAR AT THE TOP AND ONE COLUMN OF CONTENT */
div#content {
position: relative;
width: 701px;
margin: 0 auto 20px auto;
padding: 0;
text-align: left;
}
div#main {
width: 100%;
}
div#local {
display: none;
}
div#sub {
display: none;
}
div#nav {
display: none;
}
/* END CONTENT */

View File

@@ -0,0 +1,56 @@
/*
A CSS Framework by Mike Stenhouse of Content with Style
-------------------------------------------------------
Copyright (c) 2005, Mike Stenhouse of Content with Style
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of CSS Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
@import url("nav-vertical.css");
/* NAV BAR ON THE LEFT AND ONE COLUMN OF CONTENT */
div#content {
position: relative;
width: 780px;
margin: 0 auto 20px auto;
padding: 0;
text-align: left;
}
div#main {
float: right;
width: 560px;
display: inline;
}
div#local {
display: none;
}
div#sub {
display: none;
}
div#nav {
float: left;
width: 200px;
display: inline;
}
/* END CONTENT */

View File

@@ -0,0 +1,64 @@
/*
A CSS Framework by Mike Stenhouse of Content with Style
-------------------------------------------------------
Copyright (c) 2005, Mike Stenhouse of Content with Style
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of CSS Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
@import url("nav-vertical.css");
/* NAV BAR ON THE LEFT AND TWO COLUMNS OF CONTENT */
div#content {
position: relative;
width: 780px;
margin: 0 auto 20px auto;
padding: 0;
text-align: left;
}
div#main {
float: right;
width: 340px;
display: inline;
margin-right: 220px;
margin-left: -220px;
}
div#local {
display: none;
}
div#sub {
float: right;
width: 200px;
display: inline;
margin-right: -340px;
margin-left: 200px;
}
div#nav {
float: left;
width: 200px;
display: inline;
}
/* END CONTENT */

View File

@@ -0,0 +1,57 @@
/*
A CSS Framework by Mike Stenhouse of Content with Style
-------------------------------------------------------
Copyright (c) 2005, Mike Stenhouse of Content with Style
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of CSS Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
@import url("nav-horizontal.css");
/* NAV BAR AT THE TOP AND ONE COLUMN OF CONTENT */
div#content {
position: relative;
width: 701px;
margin: 0 auto 20px auto;
padding: 0;
text-align: left;
}
div#main {
width: 100%;
}
div#local {
width: 100%;
}
div#sub {
width: 100%;
}
div#nav {
position: absolute;
top: -15px;
left: 0;
width: 100%;
text-align: left;
}
/* END CONTENT */

View File

@@ -0,0 +1,68 @@
/*
A CSS Framework by Mike Stenhouse of Content with Style
-------------------------------------------------------
Copyright (c) 2005, Mike Stenhouse of Content with Style
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of CSS Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
@import url("nav-horizontal.css");
/* NAV BAR AT THE TOP, LOCAL NAV ON THE LEFT AND TWO COLUMNS OF CONTENT */
div#content {
position: relative;
width: 701px;
margin: 0 auto 20px auto;
padding: 0;
text-align: left;
}
div#main {
float: left;
width: 300px;
display: inline;
margin-right: -200px;
margin-left: 200px;
}
div#sub {
float: right;
width: 180px;
display: inline;
}
div#local {
float: left;
width: 180px;
display: inline;
margin-left: -300px;
}
div#nav {
position: absolute;
top: -15px;
left: 0;
width: 701px;
text-align: left;
}
/* END CONTENT */

View File

@@ -0,0 +1,61 @@
/*
A CSS Framework by Mike Stenhouse of Content with Style
-------------------------------------------------------
Copyright (c) 2005, Mike Stenhouse of Content with Style
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of CSS Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
@import url("nav-horizontal.css");
/* NAV BAR AT THE TOP, LOCAL NAVIGATION ON THE LEFT AND ONE COLUMN OF CONTENT */
div#content {
position: relative;
width: 701px;
margin: 0 auto 20px auto;
padding: 0;
text-align: left;
}
div#main {
float: right;
width: 500px;
display: inline;
}
div#local {
float: left;
width: 200px;
display: inline;
}
div#sub {
display: none;
}
div#nav {
position: absolute;
top: -15px;
left: 0;
width: 100%;
text-align: left;
}
/* END CONTENT */

View File

@@ -0,0 +1,61 @@
/*
A CSS Framework by Mike Stenhouse of Content with Style
-------------------------------------------------------
Copyright (c) 2005, Mike Stenhouse of Content with Style
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of CSS Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
@import url("nav-horizontal.css");
/* NAV BAR AT THE TOP AND TWO COLUMNS OF CONTENT */
div#content {
position: relative;
width: 701px;
margin: 0 auto 20px auto;
padding: 0;
text-align: left;
}
div#main {
float: left;
width: 480px;
display: inline;
}
div#sub {
float: right;
width: 200px;
display: inline;
}
div#local {
display: none;
}
div#nav {
position: absolute;
top: -15px;
left: 0;
width: 100%;
text-align: left;
}
/* END CONTENT */

View File

@@ -0,0 +1,152 @@
/*
A CSS Framework by Mike Stenhouse of Content with Style
-------------------------------------------------------
Copyright (c) 2005, Mike Stenhouse of Content with Style
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of CSS Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/* SITE SPECIFIC LAYOUT */
body {
margin: 0;
padding: 0;
text-align: center;
background: white;
}
div#page {
width: 780px;
margin: 0 auto;
padding: 0;
text-align: center;
background: white;
}
/* HEADER */
div#header {
margin: 0 0 5em 0;
padding: 40px 20px;
color: white;
background: black;
text-align: left;
}
div#branding {
float: left;
width: 40%;
margin: 0;
padding: 10px 0 10px 20px;
text-align: left;
}
div#search {
float: right;
width: 49%;
margin: 0;
padding: 16px 20px 0 0;
text-align: right;
}
/* END HEADER */
/* CONTENT */
div#content {
}
/* MAIN */
div#main {
}
/* END MAIN */
/* SUB */
div#sub {
}
/* END SUB */
/* END CONTENT */
/* FOOTER */
div#footer {
color: white;
background-color: black;
}
div#footer p {
margin: 0;
padding: 15px;
font-size: 0.8em;
}
/* END FOOTER */
/* END LAYOUT */
/* UL.SUBNAV */
ul.subnav {
margin: 0;
padding: 0;
font-size: 0.8em;
list-style: none;
}
ul.subnav li {
margin: 0 0 1em 0;
padding: 0;
list-style: none;
}
ul.subnav li a,
ul.subnav li a:link,
ul.subnav li a:visited,
ul.subnav li a:active {
text-decoration: none;
font-weight: bold;
color: black;
}
ul.subnav li a:hover {
text-decoration: underline;
}
ul.subnav li strong {
padding: 0 0 0 12px;
background: url("../i/subnav-highlight.gif") left top no-repeat transparent;
}
ul.subnav li strong a,
ul.subnav li strong a:link,
ul.subnav li strong a:visited,
ul.subnav li strong a:active {
color: white;
background-color: black;
}
/* END UL.SUBNAV */

View File

@@ -0,0 +1,105 @@
/*
A CSS Framework by Mike Stenhouse of Content with Style
-------------------------------------------------------
Copyright (c) 2005, Mike Stenhouse of Content with Style
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of CSS Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/* NAV */
div#nav {
font-size: 0.8em;
}
* html div#nav {
/* hide ie/mac \*/
height: 1%;
/* end hide */
}
div#nav div.wrapper {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
}
div#nav ul {
width: 100%;
margin: 0;
padding: 0;
line-height: 1em;
list-style: none;
}
div#nav li {
float: left;
display: inline;
margin: 0;
padding: 0;
list-style: none;
line-height: 1em;
border-right: 1px solid #aaa;
}
div#nav li.last {
border-right: none;
}
div#nav a,
div#nav a:link,
div#nav a:active,
div#nav a:visited {
display: inline-block;
/* hide from ie/mac \*/
display: block;
/* end hide */
margin: 0;
padding: 5px 38px 5px 38px;
font-weight: bold;
text-decoration: none;
color: black;
background: #ddd;
}
div#nav a:hover {
text-decoration: underline;
}
div#nav strong {
display: inline-block;
/* hide from ie/mac \*/
display: block;
/* end hide */
color: white;
background: black;
}
div#nav strong a,
div#nav strong a:link,
div#nav strong a:active,
div#nav strong a:visited,
div#nav strong a:hover {
color: white;
background-color: black;
}
/* END NAV */

View File

@@ -0,0 +1,104 @@
/*
A CSS Framework by Mike Stenhouse of Content with Style
-------------------------------------------------------
Copyright (c) 2005, Mike Stenhouse of Content with Style
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of CSS Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/* NAV */
div#nav {
font-size: 0.8em;
}
* html div#nav {
/* hide ie/mac \*/
height: 1%;
/* end hide */
}
div#nav div.wrapper {
width: 100%;
background: #ddd;
}
div#nav ul {
width: 100%;
margin: 0;
padding: 0;
line-height: 1em;
list-style: none;
}
div#nav li {
display: block;
margin: 0;
padding: 0;
list-style: none;
line-height: 1em;
}
* html div#nav li {
/* hide ie/mac \*/
height: 1%;
/* end hide */
}
div#nav li.last {
}
div#nav a,
div#nav a:link,
div#nav a:active,
div#nav a:visited {
display: block;
font-weight: bold;
text-decoration: none;
margin: 0;
padding: 5px 10px 5px 10px;
color: black;
background: white;
}
div#nav a:hover {
text-decoration: underline;
color: white;
background: black;
}
div#nav strong {
display: block;
color: white;
background: black;
}
div#nav strong a,
div#nav strong a:link,
div#nav strong a:active,
div#nav strong a:visited,
div#nav strong a:hover {
color: white;
background-color: black;
}
/* END NAV */

View File

@@ -0,0 +1,64 @@
/*
A CSS Framework by Mike Stenhouse of Content with Style
-------------------------------------------------------
Copyright (c) 2005, Mike Stenhouse of Content with Style
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of CSS Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/* clearing */
.stretch,
.clear {
clear: both;
height: 1px;
margin: 0;
padding: 0;
font-size: 15px;
line-height: 1px;
}
.clearfix:after {
clear: both;
height: 0;
display: block;
visibility: hidden;
content: ".";
}
.clearfix {display:inline-block;}
/* Hide from IE Mac \*/
.clearfix {display:block;}
/* End hide from IE Mac */
/* end clearing */
/* accessibility */
span.accesskey {
text-decoration: none;
}
.accessibility {
position: absolute;
top: -999em;
left: -999em;
}
/* end accessibility */

View File

@@ -0,0 +1,228 @@
/*
A CSS Framework by Mike Stenhouse of Content with Style
-------------------------------------------------------
Copyright (c) 2005, Mike Stenhouse of Content with Style
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of CSS Framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/* TYPOGRAPHY */
body {
text-align: left;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 76%;
line-height: 1em;
color: #333;
}
div {
font-size: 1em;
}
img {
border: 0;
}
/* LINKS */
a,
a:link,
a:active {
text-decoration: underline;
color: blue;
background-color: white;
}
a:visited {
color: purple;
background-color: transparent;
}
a:hover {
text-decoration: none;
color: white;
background-color: black;
}
/* END LINKS */
/* HEADINGS */
h1 {
margin: 0 0 0.5em 0;
padding: 0;
font-size: 2em;
line-height: 1.5em;
color: black;
}
h2 {
margin: 0 0 0.5em 0;
padding: 0;
font-size: 1.5em;
line-height: 1.5em;
color: black;
}
h3 {
margin: 0 0 0.5em 0;
padding:0;
font-size: 1.3em;
line-height: 1.3em;
color: black;
}
h4 {
margin: 0 0 0.25em 0;
padding: 0;
font-size: 1.2em;
line-height: 1.3em;
color: black;
}
h5 {
margin: 0 0 0.25em 0;
padding: 0;
font-size: 1.1em;
line-height: 1.3em;
color: black;
}
h6 {
margin: 0 0 0.25em 0;
padding: 0;
font-size: 1em;
line-height: 1.3em;
color: black;
}
/* END HEADINGS */
/* TEXT */
p {
margin: 0 0 1.5em 0;
padding: 0;
font-size: 1em;
line-height:1.4em;
}
blockquote {
margin-left: 10px;
border-left: 10px solid #ddd;
}
pre {
font-family: monospace;
font-size: 1.0em;
}
strong, b {
font-weight: bold;
}
em, i {
font-style:italic;
}
code {
font-family: "Courier New", Courier, monospace;
font-size: 1em;
white-space: pre;
}
/* END TEXT */
/* LISTS */
ul {
margin: 0 0 1.5em 0;
padding: 0;
line-height:1.4em;
}
ul li {
margin: 0 0 0.25em 30px;
padding: 0;
}
ol {
margin: 0 0 1.5em 0;
padding: 0;
font-size: 1.0em;
line-height: 1.4em;
}
ol li {
margin: 0 0 0.25em 30px;
padding: 0;
font-size: 1.0em;
}
dl {
margin: 0 0 1.5em 0;
padding: 0;
line-height: 1.4em;
}
dl dt {
margin: 0.25em 0 0.25em 0;
padding: 0;
font-weight: bold;
}
dl dd {
margin: 0 0 0 30px;
padding: 0;
}
/* END LISTS */
/* TABLE */
table {
margin: 0 0 1.5em 0;
padding: 0;
font-size: 1em;
}
table caption {
margin: 0;
padding: 0 0 1.5em 0;
font-weight: bold;
}
th {
font-weight: bold;
text-align: left;
}
td {
font-size: 1em;
}
/* END TABLE */
hr {
display: none;
}
div.hr {
height: 1px;
margin: 1.5em 10px;
border-bottom: 1px dotted black;
}
/* END TYPOGRAPHY */

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit.Declaration"]){dojo._hasResource["dijit.Declaration"]=true;dojo.provide("dijit.Declaration");dojo.require("dijit._Widget");dojo.require("dijit._Templated");dojo.declare("dijit.Declaration",dijit._Widget,{_noScript:true,widgetClass:"",replaceVars:true,defaults:null,mixins:[],buildRendering:function(){var _1=this.srcNodeRef.parentNode.removeChild(this.srcNodeRef);var _2=dojo.query("> script[type='dojo/method'][event='preamble']",_1).orphan();var _3=dojo.query("> script[type^='dojo/']",_1).orphan();var _4=_1.nodeName;var _5=this.defaults||{};this.mixins=this.mixins.length?dojo.map(this.mixins,function(_6){return dojo.getObject(_6);}):[dijit._Widget,dijit._Templated];if(_2.length){_5.preamble=dojo.parser._functionFromScript(_2[0]);}var _7=dojo.map(_3,function(s){var _9=s.getAttribute("event")||"postscript";return {event:_9,func:dojo.parser._functionFromScript(s)};});this.mixins.push(function(){dojo.forEach(_7,function(s){dojo.connect(this,s.event,this,s.func);},this);});_5.widgetsInTemplate=true;_5._skipNodeCache=true;_5.templateString="<"+_4+" class='"+_1.className+"' dojoAttachPoint='"+(_1.getAttribute("dojoAttachPoint")||"")+"' dojoAttachEvent='"+(_1.getAttribute("dojoAttachEvent")||"")+"' >"+_1.innerHTML.replace(/\%7B/g,"{").replace(/\%7D/g,"}")+"</"+_4+">";dojo.query("[dojoType]",_1).forEach(function(_b){_b.removeAttribute("dojoType");});dojo.declare(this.widgetClass,this.mixins,_5);}});}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,195 @@
Dojo is available under *either* the terms of the modified BSD license *or* the
Academic Free License version 2.1. As a recipient of Dojo, you may choose which
license to receive this code under (except as noted in per-module LICENSE
files). Some modules may not be the copyright of the Dojo Foundation. These
modules contain explicit declarations of copyright in both the LICENSE files in
the directories in which they reside and in the code itself. No external
contributions are allowed under licenses which are fundamentally incompatible
with the AFL or BSD licenses that Dojo is distributed under.
The text of the AFL and BSD licenses is reproduced below.
-------------------------------------------------------------------------------
The "New" BSD License:
**********************
Copyright (c) 2005-2008, The Dojo Foundation
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the Dojo Foundation nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-------------------------------------------------------------------------------
The Academic Free License, v. 2.1:
**********************************
This Academic Free License (the "License") applies to any original work of
authorship (the "Original Work") whose owner (the "Licensor") has placed the
following notice immediately following the copyright notice for the Original
Work:
Licensed under the Academic Free License version 2.1
1) Grant of Copyright License. Licensor hereby grants You a world-wide,
royalty-free, non-exclusive, perpetual, sublicenseable license to do the
following:
a) to reproduce the Original Work in copies;
b) to prepare derivative works ("Derivative Works") based upon the Original
Work;
c) to distribute copies of the Original Work and Derivative Works to the
public;
d) to perform the Original Work publicly; and
e) to display the Original Work publicly.
2) Grant of Patent License. Licensor hereby grants You a world-wide,
royalty-free, non-exclusive, perpetual, sublicenseable license, under patent
claims owned or controlled by the Licensor that are embodied in the Original
Work as furnished by the Licensor, to make, use, sell and offer for sale the
Original Work and Derivative Works.
3) Grant of Source Code License. The term "Source Code" means the preferred
form of the Original Work for making modifications to it and all available
documentation describing how to modify the Original Work. Licensor hereby
agrees to provide a machine-readable copy of the Source Code of the Original
Work along with each copy of the Original Work that Licensor distributes.
Licensor reserves the right to satisfy this obligation by placing a
machine-readable copy of the Source Code in an information repository
reasonably calculated to permit inexpensive and convenient access by You for as
long as Licensor continues to distribute the Original Work, and by publishing
the address of that information repository in a notice immediately following
the copyright notice that applies to the Original Work.
4) Exclusions From License Grant. Neither the names of Licensor, nor the names
of any contributors to the Original Work, nor any of their trademarks or
service marks, may be used to endorse or promote products derived from this
Original Work without express prior written permission of the Licensor. Nothing
in this License shall be deemed to grant any rights to trademarks, copyrights,
patents, trade secrets or any other intellectual property of Licensor except as
expressly stated herein. No patent license is granted to make, use, sell or
offer to sell embodiments of any patent claims other than the licensed claims
defined in Section 2. No right is granted to the trademarks of Licensor even if
such marks are included in the Original Work. Nothing in this License shall be
interpreted to prohibit Licensor from licensing under different terms from this
License any Original Work that Licensor otherwise would have a right to
license.
5) This section intentionally omitted.
6) Attribution Rights. You must retain, in the Source Code of any Derivative
Works that You create, all copyright, patent or trademark notices from the
Source Code of the Original Work, as well as any notices of licensing and any
descriptive text identified therein as an "Attribution Notice." You must cause
the Source Code for any Derivative Works that You create to carry a prominent
Attribution Notice reasonably calculated to inform recipients that You have
modified the Original Work.
7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that
the copyright in and to the Original Work and the patent rights granted herein
by Licensor are owned by the Licensor or are sublicensed to You under the terms
of this License with the permission of the contributor(s) of those copyrights
and patent rights. Except as expressly stated in the immediately proceeding
sentence, the Original Work is provided under this License on an "AS IS" BASIS
and WITHOUT WARRANTY, either express or implied, including, without limitation,
the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU.
This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No
license to Original Work is granted hereunder except under this disclaimer.
8) Limitation of Liability. Under no circumstances and under no legal theory,
whether in tort (including negligence), contract, or otherwise, shall the
Licensor be liable to any person for any direct, indirect, special, incidental,
or consequential damages of any character arising as a result of this License
or the use of the Original Work including, without limitation, damages for loss
of goodwill, work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses. This limitation of liability shall not
apply to liability for death or personal injury resulting from Licensor's
negligence to the extent applicable law prohibits such limitation. Some
jurisdictions do not allow the exclusion or limitation of incidental or
consequential damages, so this exclusion and limitation may not apply to You.
9) Acceptance and Termination. If You distribute copies of the Original Work or
a Derivative Work, You must make a reasonable effort under the circumstances to
obtain the express assent of recipients to the terms of this License. Nothing
else but this License (or another written agreement between Licensor and You)
grants You permission to create Derivative Works based upon the Original Work
or to exercise any of the rights granted in Section 1 herein, and any attempt
to do so except under the terms of this License (or another written agreement
between Licensor and You) is expressly prohibited by U.S. copyright law, the
equivalent laws of other countries, and by international treaty. Therefore, by
exercising any of the rights granted to You in Section 1 herein, You indicate
Your acceptance of this License and all of its terms and conditions.
10) Termination for Patent Action. This License shall terminate automatically
and You may no longer exercise any of the rights granted to You by this License
as of the date You commence an action, including a cross-claim or counterclaim,
against Licensor or any licensee alleging that the Original Work infringes a
patent. This termination provision shall not apply for an action alleging
patent infringement by combinations of the Original Work with other software or
hardware.
11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this
License may be brought only in the courts of a jurisdiction wherein the
Licensor resides or in which Licensor conducts its primary business, and under
the laws of that jurisdiction excluding its conflict-of-law provisions. The
application of the United Nations Convention on Contracts for the International
Sale of Goods is expressly excluded. Any use of the Original Work outside the
scope of this License or after its termination shall be subject to the
requirements and penalties of the U.S. Copyright Act, 17 U.S.C. § 101 et
seq., the equivalent laws of other countries, and international treaty. This
section shall survive the termination of this License.
12) Attorneys Fees. In any action to enforce the terms of this License or
seeking damages relating thereto, the prevailing party shall be entitled to
recover its costs and expenses, including, without limitation, reasonable
attorneys' fees and costs incurred in connection with such action, including
any appeal of such action. This section shall survive the termination of this
License.
13) Miscellaneous. This License represents the complete agreement concerning
the subject matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent necessary to
make it enforceable.
14) Definition of "You" in This License. "You" throughout this License, whether
in upper or lower case, means an individual or a legal entity exercising rights
under, and complying with all of the terms of, this License. For legal
entities, "You" includes any entity that controls, is controlled by, or is
under common control with you. For purposes of this definition, "control" means
(i) the power, direct or indirect, to cause the direction or management of such
entity, whether by contract or otherwise, or (ii) ownership of fifty percent
(50%) or more of the outstanding shares, or (iii) beneficial ownership of such
entity.
15) Right to Use. You may use the Original Work in all ways not otherwise
restricted or conditioned by this License or by law, and Licensor promises not
to interfere with or be responsible for such uses by You.
This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved.
Permission is hereby granted to copy and distribute this license without
modification. This license may not be modified without the express written
permission of its copyright owner.

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit.ProgressBar"]){dojo._hasResource["dijit.ProgressBar"]=true;dojo.provide("dijit.ProgressBar");dojo.require("dojo.fx");dojo.require("dojo.number");dojo.require("dijit._Widget");dojo.require("dijit._Templated");dojo.declare("dijit.ProgressBar",[dijit._Widget,dijit._Templated],{progress:"0",maximum:100,places:0,indeterminate:false,templateString:"<div class=\"dijitProgressBar dijitProgressBarEmpty\"\n\t><div waiRole=\"progressbar\" tabindex=\"0\" dojoAttachPoint=\"internalProgress\" class=\"dijitProgressBarFull\"\n\t\t><div class=\"dijitProgressBarTile\"></div\n\t\t><span style=\"visibility:hidden\">&nbsp;</span\n\t></div\n\t><div dojoAttachPoint=\"label\" class=\"dijitProgressBarLabel\" id=\"${id}_label\">&nbsp;</div\n\t><img dojoAttachPoint=\"inteterminateHighContrastImage\" class=\"dijitProgressBarIndeterminateHighContrastImage\"\n\t></img\n></div>\n",_indeterminateHighContrastImagePath:dojo.moduleUrl("dijit","themes/a11y/indeterminate_progress.gif"),postCreate:function(){this.inherited("postCreate",arguments);this.inteterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath);this.update();},update:function(_1){dojo.mixin(this,_1||{});var _2=1,_3;if(this.indeterminate){_3="addClass";dijit.removeWaiState(this.internalProgress,"valuenow");dijit.removeWaiState(this.internalProgress,"valuemin");dijit.removeWaiState(this.internalProgress,"valuemax");}else{_3="removeClass";if(String(this.progress).indexOf("%")!=-1){_2=Math.min(parseFloat(this.progress)/100,1);this.progress=_2*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_2=this.progress/this.maximum;}var _4=this.report(_2);this.label.firstChild.nodeValue=_4;dijit.setWaiState(this.internalProgress,"describedby",this.label.id);dijit.setWaiState(this.internalProgress,"valuenow",this.progress);dijit.setWaiState(this.internalProgress,"valuemin",0);dijit.setWaiState(this.internalProgress,"valuemax",this.maximum);}dojo[_3](this.domNode,"dijitProgressBarIndeterminate");this.internalProgress.style.width=(_2*100)+"%";this.onChange();},report:function(_5){return dojo.number.format(_5,{type:"percent",places:this.places,locale:this.lang});},onChange:function(){}});}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit.TitlePane"]){dojo._hasResource["dijit.TitlePane"]=true;dojo.provide("dijit.TitlePane");dojo.require("dojo.fx");dojo.require("dijit._Templated");dojo.require("dijit.layout.ContentPane");dojo.declare("dijit.TitlePane",[dijit.layout.ContentPane,dijit._Templated],{title:"",open:true,duration:250,baseClass:"dijitTitlePane",templateString:"<div class=\"${baseClass}\">\n\t<div dojoAttachEvent=\"onclick:toggle,onkeypress: _onTitleKey,onfocus:_handleFocus,onblur:_handleFocus\" tabindex=\"0\"\n\t\t\twaiRole=\"button\" class=\"dijitTitlePaneTitle\" dojoAttachPoint=\"titleBarNode,focusNode\">\n\t\t<div dojoAttachPoint=\"arrowNode\" class=\"dijitInline dijitArrowNode\"><span dojoAttachPoint=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span></div>\n\t\t<div dojoAttachPoint=\"titleNode\" class=\"dijitTitlePaneTextNode\"></div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" dojoAttachPoint=\"hideNode\">\n\t\t<div class=\"dijitReset\" dojoAttachPoint=\"wipeNode\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" dojoAttachPoint=\"containerNode\" waiRole=\"region\" tabindex=\"-1\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc. Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n",postCreate:function(){this.setTitle(this.title);if(!this.open){this.hideNode.style.display=this.wipeNode.style.display="none";}this._setCss();dojo.setSelectable(this.titleNode,false);this.inherited(arguments);dijit.setWaiState(this.containerNode,"labelledby",this.titleNode.id);dijit.setWaiState(this.focusNode,"haspopup","true");var _1=this.hideNode,_2=this.wipeNode;this._wipeIn=dojo.fx.wipeIn({node:this.wipeNode,duration:this.duration,beforeBegin:function(){_1.style.display="";}});this._wipeOut=dojo.fx.wipeOut({node:this.wipeNode,duration:this.duration,onEnd:function(){_1.style.display="none";}});},setContent:function(_3){if(!this.open||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn.status()=="playing"){this._wipeIn.stop();}dojo.marginBox(this.wipeNode,{h:dojo.marginBox(this.wipeNode).h});this.inherited(arguments);this._wipeIn.play();}},toggle:function(){dojo.forEach([this._wipeIn,this._wipeOut],function(_4){if(_4.status()=="playing"){_4.stop();}});this[this.open?"_wipeOut":"_wipeIn"].play();this.open=!this.open;this._loadCheck();this._setCss();},_setCss:function(){var _5=["dijitClosed","dijitOpen"];var _6=this.open;var _7=this.titleBarNode||this.focusNode;dojo.removeClass(_7,_5[!_6+0]);_7.className+=" "+_5[_6+0];this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.keyCode==dojo.keys.ENTER||e.charCode==dojo.keys.SPACE){this.toggle();}else{if(e.keyCode==dojo.keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}}},_handleFocus:function(e){dojo[(e.type=="focus"?"addClass":"removeClass")](this.focusNode,this.baseClass+"Focused");},setTitle:function(_a){this.titleNode.innerHTML=_a;}});}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit.Toolbar"]){dojo._hasResource["dijit.Toolbar"]=true;dojo.provide("dijit.Toolbar");dojo.require("dijit._Widget");dojo.require("dijit._Container");dojo.require("dijit._Templated");dojo.declare("dijit.Toolbar",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{templateString:"<div class=\"dijit dijitToolbar\" waiRole=\"toolbar\" tabIndex=\"${tabIndex}\" dojoAttachPoint=\"containerNode\">"+"</div>",tabIndex:"0",postCreate:function(){this.connectKeyNavHandlers(this.isLeftToRight()?[dojo.keys.LEFT_ARROW]:[dojo.keys.RIGHT_ARROW],this.isLeftToRight()?[dojo.keys.RIGHT_ARROW]:[dojo.keys.LEFT_ARROW]);},startup:function(){if(this._started){return;}this.startupKeyNavChildren();this.inherited(arguments);}});dojo.declare("dijit.ToolbarSeparator",[dijit._Widget,dijit._Templated],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\"></div>",postCreate:function(){dojo.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit.Tooltip"]){dojo._hasResource["dijit.Tooltip"]=true;dojo.provide("dijit.Tooltip");dojo.require("dijit._Widget");dojo.require("dijit._Templated");dojo.declare("dijit._MasterTooltip",[dijit._Widget,dijit._Templated],{duration:200,templateString:"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\">\n\t<div class=\"dijitTooltipContainer dijitTooltipContents\" dojoAttachPoint=\"containerNode\" waiRole='alert'></div>\n\t<div class=\"dijitTooltipConnector\"></div>\n</div>\n",postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);this.fadeIn=dojo.fadeIn({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onShow")});this.fadeOut=dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onHide")});},show:function(_1,_2,_3){if(this.aroundNode&&this.aroundNode===_2){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_1;this.domNode.style.top=(this.domNode.offsetTop+1)+"px";var _4={};var _5=this.isLeftToRight();dojo.forEach((_3&&_3.length)?_3:dijit.Tooltip.defaultPosition,function(_6){switch(_6){case "after":_4[_5?"BR":"BL"]=_5?"BL":"BR";break;case "before":_4[_5?"BL":"BR"]=_5?"BR":"BL";break;case "below":_4[_5?"BL":"BR"]=_5?"TL":"TR";_4[_5?"BR":"BL"]=_5?"TR":"TL";break;case "above":default:_4[_5?"TL":"TR"]=_5?"BL":"BR";_4[_5?"TR":"TL"]=_5?"BR":"BL";break;}});var _7=dijit.placeOnScreenAroundElement(this.domNode,_2,_4,dojo.hitch(this,"orient"));dojo.style(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_2;},orient:function(_8,_9,_a){_8.className="dijitTooltip "+{"BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_9+"-"+_a];},_onShow:function(){if(dojo.isIE){this.domNode.style.filter="";}},hide:function(_b){if(!this.aroundNode||this.aroundNode!==_b){return;}if(this._onDeck){this._onDeck=null;return;}this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();},_onHide:function(){this.domNode.style.cssText="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});dijit.showTooltip=function(_c,_d,_e){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.show(_c,_d,_e);};dijit.hideTooltip=function(_f){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.hide(_f);};dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],position:[],postCreate:function(){if(this.srcNodeRef){this.srcNodeRef.style.display="none";}this._connectNodes=[];dojo.forEach(this.connectId,function(id){var _11=dojo.byId(id);if(_11){this._connectNodes.push(_11);dojo.forEach(["onMouseOver","onMouseOut","onFocus","onBlur","onHover","onUnHover"],function(_12){this.connect(_11,_12.toLowerCase(),"_"+_12);},this);if(dojo.isIE){_11.style.zoom=1;}}},this);},_onMouseOver:function(e){this._onHover(e);},_onMouseOut:function(e){if(dojo.isDescendant(e.relatedTarget,e.target)){return;}this._onUnHover(e);},_onFocus:function(e){this._focus=true;this._onHover(e);this.inherited(arguments);},_onBlur:function(e){this._focus=false;this._onUnHover(e);this.inherited(arguments);},_onHover:function(e){if(!this._showTimer){var _18=e.target;this._showTimer=setTimeout(dojo.hitch(this,function(){this.open(_18);}),this.showDelay);}},_onUnHover:function(e){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_1a){_1a=_1a||this._connectNodes[0];if(!_1a){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}dijit.showTooltip(this.label||this.domNode.innerHTML,_1a,this.position);this._connectNode=_1a;},close:function(){dijit.hideTooltip(this._connectNode);delete this._connectNode;if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},uninitialize:function(){this.close();}});dijit.Tooltip.defaultPosition=["after","before"];}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Contained",null,{getParent:function(){for(var p=this.domNode.parentNode;p;p=p.parentNode){var id=p.getAttribute&&p.getAttribute("widgetId");if(id){var _3=dijit.byId(id);return _3.isContainer?_3:null;}}return null;},_getSibling:function(_4){var _5=this.domNode;do{_5=_5[_4+"Sibling"];}while(_5&&_5.nodeType!=1);if(!_5){return null;}var id=_5.getAttribute("widgetId");return dijit.byId(id);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");}});dojo.declare("dijit._Container",null,{isContainer:true,addChild:function(_7,_8){if(_8===undefined){_8="last";}var _9=this.containerNode||this.domNode;if(_8&&typeof _8=="number"){var _a=dojo.query("> [widgetid]",_9);if(_a&&_a.length>=_8){_9=_a[_8-1];_8="after";}}dojo.place(_7.domNode,_9,_8);if(this._started&&!_7._started){_7.startup();}},removeChild:function(_b){var _c=_b.domNode;_c.parentNode.removeChild(_c);},_nextElement:function(_d){do{_d=_d.nextSibling;}while(_d&&_d.nodeType!=1);return _d;},_firstElement:function(_e){_e=_e.firstChild;if(_e&&_e.nodeType!=1){_e=this._nextElement(_e);}return _e;},getChildren:function(){return dojo.query("> [widgetId]",this.containerNode||this.domNode).map(dijit.byNode);},hasChildren:function(){var cn=this.containerNode||this.domNode;return !!this._firstElement(cn);},_getSiblingOfChild:function(_10,dir){var _12=_10.domNode;var _13=(dir>0?"nextSibling":"previousSibling");do{_12=_12[_13];}while(_12&&(_12.nodeType!=1||!dijit.byNode(_12)));return _12?dijit.byNode(_12):null;}});dojo.declare("dijit._KeyNavContainer",[dijit._Container],{_keyNavCodes:{},connectKeyNavHandlers:function(_14,_15){var _16=this._keyNavCodes={};var _17=dojo.hitch(this,this.focusPrev);var _18=dojo.hitch(this,this.focusNext);dojo.forEach(_14,function(_19){_16[_19]=_17;});dojo.forEach(_15,function(_1a){_16[_1a]=_18;});this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){dojo.forEach(this.getChildren(),dojo.hitch(this,"_startupChild"));},addChild:function(_1b,_1c){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._startupChild(_1b);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusNext:function(){if(this.focusedChild&&this.focusedChild.hasNextFocalNode&&this.focusedChild.hasNextFocalNode()){this.focusedChild.focusNext();return;}var _1d=this._getNextFocusableChild(this.focusedChild,1);if(_1d.getFocalNodes){this.focusChild(_1d,_1d.getFocalNodes()[0]);}else{this.focusChild(_1d);}},focusPrev:function(){if(this.focusedChild&&this.focusedChild.hasPrevFocalNode&&this.focusedChild.hasPrevFocalNode()){this.focusedChild.focusPrev();return;}var _1e=this._getNextFocusableChild(this.focusedChild,-1);if(_1e.getFocalNodes){var _1f=_1e.getFocalNodes();this.focusChild(_1e,_1f[_1f.length-1]);}else{this.focusChild(_1e);}},focusChild:function(_20,_21){if(_20){if(this.focusedChild&&_20!==this.focusedChild){this._onChildBlur(this.focusedChild);}this.focusedChild=_20;if(_21&&_20.focusFocalNode){_20.focusFocalNode(_21);}else{_20.focus();}}},_startupChild:function(_22){if(_22.getFocalNodes){dojo.forEach(_22.getFocalNodes(),function(_23){dojo.attr(_23,"tabindex",-1);this._connectNode(_23);},this);}else{var _24=_22.focusNode||_22.domNode;if(_22.isFocusable()){dojo.attr(_24,"tabindex",-1);}this._connectNode(_24);}},_connectNode:function(_25){this.connect(_25,"onfocus","_onNodeFocus");this.connect(_25,"onblur","_onNodeBlur");},_onContainerFocus:function(evt){if(evt.target===this.domNode){this.focusFirstChild();}},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var _28=this._keyNavCodes[evt.keyCode];if(_28){_28();dojo.stopEvent(evt);}},_onNodeFocus:function(evt){dojo.attr(this.domNode,"tabindex",-1);var _2a=dijit.getEnclosingWidget(evt.target);if(_2a&&_2a.isFocusable()){this.focusedChild=_2a;}dojo.stopEvent(evt);},_onNodeBlur:function(evt){if(this.tabIndex){dojo.attr(this.domNode,"tabindex",this.tabIndex);}dojo.stopEvent(evt);},_onChildBlur:function(_2c){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getNextFocusableChild:function(_2d,dir){if(_2d){_2d=this._getSiblingOfChild(_2d,dir);}var _2f=this.getChildren();for(var i=0;i<_2f.length;i++){if(!_2d){_2d=_2f[(dir>0)?0:(_2f.length-1)];}if(_2d.isFocusable()){return _2d;}_2d=this._getSiblingOfChild(_2d,dir);}return null;}});}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.require("dijit._Widget");dojo.require("dojo.string");dojo.require("dojo.parser");dojo.declare("dijit._Templated",null,{templateNode:null,templateString:null,templatePath:null,widgetsInTemplate:false,containerNode:null,_skipNodeCache:false,_stringRepl:function(_1){var _2=this.declaredClass,_3=this;return dojo.string.substitute(_1,this,function(_4,_5){if(_5.charAt(0)=="!"){_4=_3[_5.substr(1)];}if(typeof _4=="undefined"){throw new Error(_2+" template:"+_5);}if(!_4){return "";}return _5.charAt(0)=="!"?_4:_4.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _6=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var _7;if(dojo.isString(_6)){_7=dijit._Templated._createNodesFromText(this._stringRepl(_6))[0];}else{_7=_6.cloneNode(true);}this._attachTemplateNodes(_7);var _8=this.srcNodeRef;if(_8&&_8.parentNode){_8.parentNode.replaceChild(_7,_8);}this.domNode=_7;if(this.widgetsInTemplate){var cw=this._supportingWidgets=dojo.parser.parse(_7);this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(_8);},_fillContent:function(_c){var _d=this.containerNode;if(_c&&_d){while(_c.hasChildNodes()){_d.appendChild(_c.firstChild);}}},_attachTemplateNodes:function(_e,_f){_f=_f||function(n,p){return n.getAttribute(p);};var _12=dojo.isArray(_e)?_e:(_e.all||_e.getElementsByTagName("*"));var x=dojo.isArray(_e)?0:-1;for(;x<_12.length;x++){var _14=(x==-1)?_e:_12[x];if(this.widgetsInTemplate&&_f(_14,"dojoType")){continue;}var _15=_f(_14,"dojoAttachPoint");if(_15){var _16,_17=_15.split(/\s*,\s*/);while((_16=_17.shift())){if(dojo.isArray(this[_16])){this[_16].push(_14);}else{this[_16]=_14;}}}var _18=_f(_14,"dojoAttachEvent");if(_18){var _19,_1a=_18.split(/\s*,\s*/);var _1b=dojo.trim;while((_19=_1a.shift())){if(_19){var _1c=null;if(_19.indexOf(":")!=-1){var _1d=_19.split(":");_19=_1b(_1d[0]);_1c=_1b(_1d[1]);}else{_19=_1b(_19);}if(!_1c){_1c=_19;}this.connect(_14,_19,_1c);}}}var _1e=_f(_14,"waiRole");if(_1e){dijit.setWaiRole(_14,_1e);}var _1f=_f(_14,"waiState");if(_1f){dojo.forEach(_1f.split(/\s*,\s*/),function(_20){if(_20.indexOf("-")!=-1){var _21=_20.split("-");dijit.setWaiState(_14,_21[0],_21[1]);}});}}}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_22,_23,_24){var _25=dijit._Templated._templateCache;var key=_23||_22;var _27=_25[key];if(_27){return _27;}if(!_23){_23=dijit._Templated._sanitizeTemplateString(dojo._getText(_22));}_23=dojo.string.trim(_23);if(_24||_23.match(/\$\{([^\}]+)\}/g)){return (_25[key]=_23);}else{return (_25[key]=dijit._Templated._createNodesFromText(_23)[0]);}};dijit._Templated._sanitizeTemplateString=function(_28){if(_28){_28=_28.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _29=_28.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_29){_28=_29[1];}}else{_28="";}return _28;};if(dojo.isIE){dojo.addOnUnload(function(){var _2a=dijit._Templated._templateCache;for(var key in _2a){var _2c=_2a[key];if(!isNaN(_2c.nodeType)){dojo._destroyElement(_2c);}delete _2a[key];}});}(function(){var _2d={cell:{re:/^<t[dh][\s\r\n>]/i,pre:"<table><tbody><tr>",post:"</tr></tbody></table>"},row:{re:/^<tr[\s\r\n>]/i,pre:"<table><tbody>",post:"</tbody></table>"},section:{re:/^<(thead|tbody|tfoot)[\s\r\n>]/i,pre:"<table>",post:"</table>"}};var tn;dijit._Templated._createNodesFromText=function(_2f){if(!tn){tn=dojo.doc.createElement("div");tn.style.display="none";dojo.body().appendChild(tn);}var _30="none";var _31=_2f.replace(/^\s+/,"");for(var _32 in _2d){var map=_2d[_32];if(map.re.test(_31)){_30=_32;_2f=map.pre+_2f+map.post;break;}}tn.innerHTML=_2f;if(tn.normalize){tn.normalize();}var tag={cell:"tr",row:"tbody",section:"table"}[_30];var _35=(typeof tag!="undefined")?tn.getElementsByTagName(tag)[0]:tn;var _36=[];while(_35.firstChild){_36.push(_35.removeChild(_35.firstChild));}tn.innerHTML="";return _36;};})();dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._TimePicker"]){dojo._hasResource["dijit._TimePicker"]=true;dojo.provide("dijit._TimePicker");dojo.require("dijit.form._FormWidget");dojo.require("dojo.date.locale");dojo.declare("dijit._TimePicker",[dijit._Widget,dijit._Templated],{templateString:"<div id=\"widget_${id}\" class=\"dijitMenu\"\n ><div dojoAttachPoint=\"upArrow\" class=\"dijitButtonNode\"><span class=\"dijitTimePickerA11yText\">&#9650;</span></div\n ><div dojoAttachPoint=\"timeMenu,focusNode\" dojoAttachEvent=\"onclick:_onOptionSelected,onmouseover,onmouseout\"></div\n ><div dojoAttachPoint=\"downArrow\" class=\"dijitButtonNode\"><span class=\"dijitTimePickerA11yText\">&#9660;</span></div\n></div>\n",baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",visibleRange:"T05:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:dojo.date.stamp.toISOString,setValue:function(_1,_2){this.value=_1;this._showText();},isDisabledDate:function(_3,_4){return false;},_showText:function(){this.timeMenu.innerHTML="";var _5=dojo.date.stamp.fromISOString;this._clickableIncrementDate=_5(this.clickableIncrement);this._visibleIncrementDate=_5(this.visibleIncrement);this._visibleRangeDate=_5(this.visibleRange);var _6=function(_7){return _7.getHours()*60*60+_7.getMinutes()*60+_7.getSeconds();};var _8=_6(this._clickableIncrementDate);var _9=_6(this._visibleIncrementDate);var _a=_6(this._visibleRangeDate);var _b=this.value.getTime();this._refDate=new Date(_b-_b%(_9*1000));this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._totalIncrements=_a/_8;this._visibleIncrement=_9/_8;for(var i=-(this._totalIncrements>>1);i<(this._totalIncrements>>1);i+=this._clickableIncrement){this.timeMenu.appendChild(this._createOption(i));}},postCreate:function(){if(this.constraints===dijit._TimePicker.prototype.constraints){this.constraints={};}dojo.mixin(this,this.constraints);if(!this.constraints.locale){this.constraints.locale=this.lang;}this.connect(this.timeMenu,dojo.isIE?"onmousewheel":"DOMMouseScroll","_mouseWheeled");var _d=dijit.typematic.addMouseListener;_d(this.upArrow,this,this._onArrowUp,0.8,500);_d(this.downArrow,this,this._onArrowDown,0.8,500);this.inherited(arguments);this.setValue(this.value);},_createOption:function(_e){var _f=dojo.doc.createElement("div");var _10=(_f.date=new Date(this._refDate));_f.index=_e;var _11=this._clickableIncrementDate;_10.setHours(_10.getHours()+_11.getHours()*_e,_10.getMinutes()+_11.getMinutes()*_e,_10.getSeconds()+_11.getSeconds()*_e);var _12=dojo.doc.createElement("div");dojo.addClass(_f,this.baseClass+"Item");dojo.addClass(_12,this.baseClass+"ItemInner");_12.innerHTML=dojo.date.locale.format(_10,this.constraints);_f.appendChild(_12);if(_e%this._visibleIncrement<1&&_e%this._visibleIncrement>-1){dojo.addClass(_f,this.baseClass+"Marker");}else{if(!(_e%this._clickableIncrement)){dojo.addClass(_f,this.baseClass+"Tick");}}if(this.isDisabledDate(_10)){dojo.addClass(_f,this.baseClass+"ItemDisabled");}if(!dojo.date.compare(this.value,_10,this.constraints.selector)){_f.selected=true;dojo.addClass(_f,this.baseClass+"ItemSelected");}return _f;},_onOptionSelected:function(tgt){var _14=tgt.target.date||tgt.target.parentNode.date;if(!_14||this.isDisabledDate(_14)){return;}this.setValue(_14);this.onValueSelected(_14);},onValueSelected:function(_15){},onmouseover:function(e){var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;this._highlighted_option=tgr;dojo.addClass(tgr,this.baseClass+"ItemHover");},onmouseout:function(e){var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(this._highlighted_option===tgr){dojo.removeClass(tgr,this.baseClass+"ItemHover");}},_mouseWheeled:function(e){dojo.stopEvent(e);var _1b=(dojo.isIE?e.wheelDelta:-e.detail);this[(_1b>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(){var _1c=this.timeMenu.childNodes[0].index-1;var div=this._createOption(_1c);this.timeMenu.removeChild(this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);this.timeMenu.insertBefore(div,this.timeMenu.childNodes[0]);},_onArrowDown:function(){var _1e=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var div=this._createOption(_1e);this.timeMenu.removeChild(this.timeMenu.childNodes[0]);this.timeMenu.appendChild(div);}});}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.require("dijit._base");dojo.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",srcNodeRef:null,domNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},postscript:function(_1,_2){this.create(_1,_2);},create:function(_3,_4){this.srcNodeRef=dojo.byId(_4);this._connects=[];this._attaches=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_3){this.params=_3;dojo.mixin(this,_3);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){for(var _5 in this.attributeMap){var _6=this[_5];if(typeof _6!="object"&&((_6!==""&&_6!==false)||(_3&&_3[_5]))){this.setAttribute(_5,_6);}}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.doc.createElement("div");},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_7){this.destroyDescendants();this.destroy();},destroy:function(_8){this.uninitialize();dojo.forEach(this._connects,function(_9){dojo.forEach(_9,dojo.disconnect);});dojo.forEach(this._supportingWidgets||[],function(w){w.destroy();});this.destroyRendering(_8);dijit.registry.remove(this.id);},destroyRendering:function(_b){if(this.bgIframe){this.bgIframe.destroy();delete this.bgIframe;}if(this.domNode){dojo._destroyElement(this.domNode);delete this.domNode;}if(this.srcNodeRef){dojo._destroyElement(this.srcNodeRef);delete this.srcNodeRef;}},destroyDescendants:function(){dojo.forEach(this.getDescendants(),function(_c){_c.destroy();});},uninitialize:function(){return false;},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},setAttribute:function(_e,_f){var _10=this[this.attributeMap[_e]||"domNode"];this[_e]=_f;switch(_e){case "class":dojo.addClass(_10,_f);break;case "style":if(_10.style.cssText){_10.style.cssText+="; "+_f;}else{_10.style.cssText=_f;}break;default:if(/^on[A-Z]/.test(_e)){_e=_e.toLowerCase();}if(typeof _f=="function"){_f=dojo.hitch(this,_f);}dojo.attr(_10,_e,_f);}},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){if(this.containerNode){var _11=dojo.query("[widgetId]",this.containerNode);return _11.map(dijit.byNode);}else{return [];}},nodesWithKeyClick:["input","button"],connect:function(obj,_13,_14){var _15=[];if(_13=="ondijitclick"){if(!this.nodesWithKeyClick[obj.nodeName]){_15.push(dojo.connect(obj,"onkeydown",this,function(e){if(e.keyCode==dojo.keys.ENTER){return (dojo.isString(_14))?this[_14](e):_14.call(this,e);}else{if(e.keyCode==dojo.keys.SPACE){dojo.stopEvent(e);}}}));_15.push(dojo.connect(obj,"onkeyup",this,function(e){if(e.keyCode==dojo.keys.SPACE){return dojo.isString(_14)?this[_14](e):_14.call(this,e);}}));}_13="onclick";}_15.push(dojo.connect(obj,_13,this,_14));this._connects.push(_15);return _15;},disconnect:function(_18){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_18){dojo.forEach(_18,dojo.disconnect);this._connects.splice(i,1);return;}}},isLeftToRight:function(){if(!("_ltr" in this)){this._ltr=dojo.getComputedStyle(this.domNode).direction!="rtl";}return this._ltr;},isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");}});}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");dojo.require("dijit._base.focus");dojo.require("dijit._base.manager");dojo.require("dijit._base.place");dojo.require("dijit._base.popup");dojo.require("dijit._base.scroll");dojo.require("dijit._base.sniff");dojo.require("dijit._base.bidi");dojo.require("dijit._base.typematic");dojo.require("dijit._base.wai");dojo.require("dijit._base.window");if(dojo.isSafari){dojo.connect(window,"load",function(){window.resizeBy(1,0);setTimeout(function(){window.resizeBy(-1,0);},10);});}}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._base.bidi"]){dojo._hasResource["dijit._base.bidi"]=true;dojo.provide("dijit._base.bidi");dojo.addOnLoad(function(){if(!dojo._isBodyLtr()){dojo.addClass(dojo.body(),"dijitRtl");}});}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){var _1=dojo.global;var _2=dojo.doc;if(_2.selection){return !_2.selection.createRange().text;}else{var _3=_1.getSelection();if(dojo.isString(_3)){return !_3;}else{return _3.isCollapsed||!_3.toString();}}},getBookmark:function(){var _4,_5=dojo.doc.selection;if(_5){var _6=_5.createRange();if(_5.type.toUpperCase()=="CONTROL"){if(_6.length){_4=[];var i=0,_8=_6.length;while(i<_8){_4.push(_6.item(i++));}}else{_4=null;}}else{_4=_6.getBookmark();}}else{if(window.getSelection){_5=dojo.global.getSelection();if(_5){_6=_5.getRangeAt(0);_4=_6.cloneRange();}}else{console.warn("No idea how to store the current selection for this browser!");}}return _4;},moveToBookmark:function(_9){var _a=dojo.doc;if(_a.selection){var _b;if(dojo.isArray(_9)){_b=_a.body.createControlRange();dojo.forEach(_9,"range.addElement(item)");}else{_b=_a.selection.createRange();_b.moveToBookmark(_9);}_b.select();}else{var _c=dojo.global.getSelection&&dojo.global.getSelection();if(_c&&_c.removeAllRanges){_c.removeAllRanges();_c.addRange(_9);}else{console.warn("No idea how to restore selection for this browser!");}}},getFocus:function(_d,_e){return {node:_d&&dojo.isDescendant(dijit._curFocus,_d.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_e||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_e||dojo.global,dijit.getBookmark):null,openedForWindow:_e};},focus:function(_f){if(!_f){return;}var _10="node" in _f?_f.node:_f,_11=_f.bookmark,_12=_f.openedForWindow;if(_10){var _13=(_10.tagName.toLowerCase()=="iframe")?_10.contentWindow:_10;if(_13&&_13.focus){try{_13.focus();}catch(e){}}dijit._onFocusNode(_10);}if(_11&&dojo.withGlobal(_12||dojo.global,dijit.isCollapsed)){if(_12){_12.focus();}try{dojo.withGlobal(_12||dojo.global,dijit.moveToBookmark,null,[_11]);}catch(e){}}},_activeStack:[],registerWin:function(_14){if(!_14){_14=window;}dojo.connect(_14.document,"onmousedown",function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var _16=_14.document.body||_14.document.getElementsByTagName("body")[0];if(_16){if(dojo.isIE){_16.attachEvent("onactivate",function(evt){if(evt.srcElement.tagName.toLowerCase()!="body"){dijit._onFocusNode(evt.srcElement);}});_16.attachEvent("ondeactivate",function(evt){dijit._onBlurNode(evt.srcElement);});}else{_16.addEventListener("focus",function(evt){dijit._onFocusNode(evt.target);},true);_16.addEventListener("blur",function(evt){dijit._onBlurNode(evt.target);},true);}}_16=null;},_onBlurNode:function(_1b){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);dijit._prevFocus=null;},100);},_onTouchNode:function(_1c){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _1d=[];try{while(_1c){if(_1c.dijitPopupParent){_1c=dijit.byId(_1c.dijitPopupParent).domNode;}else{if(_1c.tagName&&_1c.tagName.toLowerCase()=="body"){if(_1c===dojo.body()){break;}_1c=dijit.getDocumentWindow(_1c.ownerDocument).frameElement;}else{var id=_1c.getAttribute&&_1c.getAttribute("widgetId");if(id){_1d.unshift(id);}_1c=_1c.parentNode;}}}}catch(e){}dijit._setStack(_1d);},_onFocusNode:function(_1f){if(_1f&&_1f.tagName&&_1f.tagName.toLowerCase()=="body"){return;}dijit._onTouchNode(_1f);if(_1f==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=_1f;dojo.publish("focusNode",[_1f]);},_setStack:function(_20){var _21=dijit._activeStack;dijit._activeStack=_20;for(var _22=0;_22<Math.min(_21.length,_20.length);_22++){if(_21[_22]!=_20[_22]){break;}}for(var i=_21.length-1;i>=_22;i--){var _24=dijit.byId(_21[i]);if(_24){_24._focused=false;_24._hasBeenBlurred=true;if(_24._onBlur){_24._onBlur();}if(_24._setStateClass){_24._setStateClass();}dojo.publish("widgetBlur",[_24]);}}for(i=_22;i<_20.length;i++){_24=dijit.byId(_20[i]);if(_24){_24._focused=true;if(_24._onFocus){_24._onFocus();}if(_24._setStateClass){_24._setStateClass();}dojo.publish("widgetFocus",[_24]);}}}});dojo.addOnLoad(dijit.registerWin);}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};},add:function(_1){if(this._hash[_1.id]){throw new Error("Tried to register widget with id=="+_1.id+" but that id is already registered");}this._hash[_1.id]=_1;},remove:function(id){delete this._hash[id];},forEach:function(_3){for(var id in this._hash){_3(this._hash[id]);}},filter:function(_5){var _6=new dijit.WidgetSet();this.forEach(function(_7){if(_5(_7)){_6.add(_7);}});return _6;},byId:function(id){return this._hash[id];},byClass:function(_9){return this.filter(function(_a){return _a.declaredClass==_9;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_b){var id;do{id=_b+"_"+(_b in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_b]:dijit._widgetTypeCtr[_b]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnUnload(function(){dijit.registry.forEach(function(_d){_d.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(_f){return dijit.registry.byId(_f.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(_10){while(_10){if(_10.getAttribute&&_10.getAttribute("widgetId")){return dijit.registry.byId(_10.getAttribute("widgetId"));}_10=_10.parentNode;}return null;};dijit._tabElements={area:true,button:true,input:true,object:true,select:true,textarea:true};dijit._isElementShown=function(_11){var _12=dojo.style(_11);return (_12.visibility!="hidden")&&(_12.visibility!="collapsed")&&(_12.display!="none");};dijit.isTabNavigable=function(_13){if(dojo.hasAttr(_13,"disabled")){return false;}var _14=dojo.hasAttr(_13,"tabindex");var _15=dojo.attr(_13,"tabindex");if(_14&&_15>=0){return true;}var _16=_13.nodeName.toLowerCase();if(((_16=="a"&&dojo.hasAttr(_13,"href"))||dijit._tabElements[_16])&&(!_14||_15>=0)){return true;}return false;};dijit._getTabNavigable=function(_17){var _18,_19,_1a,_1b,_1c,_1d;var _1e=function(_1f){dojo.query("> *",_1f).forEach(function(_20){var _21=dijit._isElementShown(_20);if(_21&&dijit.isTabNavigable(_20)){var _22=dojo.attr(_20,"tabindex");if(!dojo.hasAttr(_20,"tabindex")||_22==0){if(!_18){_18=_20;}_19=_20;}else{if(_22>0){if(!_1a||_22<_1b){_1b=_22;_1a=_20;}if(!_1c||_22>=_1d){_1d=_22;_1c=_20;}}}}if(_21){_1e(_20);}});};if(dijit._isElementShown(_17)){_1e(_17);}return {first:_18,last:_19,lowest:_1a,highest:_1c};};dijit.getFirstInTabbingOrder=function(_23){var _24=dijit._getTabNavigable(dojo.byId(_23));return _24.lowest?_24.lowest:_24.first;};dijit.getLastInTabbingOrder=function(_25){var _26=dijit._getTabNavigable(dojo.byId(_25));return _26.last?_26.last:_26.highest;};}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){var _1=dojo.global;var _2=dojo.doc;var w=0,h=0;var de=_2.documentElement;var _6=de.clientWidth,_7=de.clientHeight;if(dojo.isMozilla){var _8,_9,_a,_b;var _c=_2.body.clientWidth;if(_c>_6){_8=_6;_a=_c;}else{_a=_6;_8=_c;}var _d=_2.body.clientHeight;if(_d>_7){_9=_7;_b=_d;}else{_b=_7;_9=_d;}w=(_a>_1.innerWidth)?_8:_a;h=(_b>_1.innerHeight)?_9:_b;}else{if(!dojo.isOpera&&_1.innerWidth){w=_1.innerWidth;h=_1.innerHeight;}else{if(dojo.isIE&&de&&_7){w=_6;h=_7;}else{if(dojo.body().clientWidth){w=dojo.body().clientWidth;h=dojo.body().clientHeight;}}}}var _e=dojo._docScroll();return {w:w,h:h,l:_e.x,t:_e.y};};dijit.placeOnScreen=function(_f,pos,_11,_12){var _13=dojo.map(_11,function(_14){return {corner:_14,pos:pos};});return dijit._place(_f,_13);};dijit._place=function(_15,_16,_17){var _18=dijit.getViewport();if(!_15.parentNode||String(_15.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(_15);}var _19=null;dojo.some(_16,function(_1a){var _1b=_1a.corner;var pos=_1a.pos;if(_17){_17(_15,_1a.aroundCorner,_1b);}var _1d=_15.style;var _1e=_1d.display;var _1f=_1d.visibility;_1d.visibility="hidden";_1d.display="";var mb=dojo.marginBox(_15);_1d.display=_1e;_1d.visibility=_1f;var _21=(_1b.charAt(1)=="L"?pos.x:Math.max(_18.l,pos.x-mb.w)),_22=(_1b.charAt(0)=="T"?pos.y:Math.max(_18.t,pos.y-mb.h)),_23=(_1b.charAt(1)=="L"?Math.min(_18.l+_18.w,_21+mb.w):pos.x),_24=(_1b.charAt(0)=="T"?Math.min(_18.t+_18.h,_22+mb.h):pos.y),_25=_23-_21,_26=_24-_22,_27=(mb.w-_25)+(mb.h-_26);if(_19==null||_27<_19.overflow){_19={corner:_1b,aroundCorner:_1a.aroundCorner,x:_21,y:_22,w:_25,h:_26,overflow:_27};}return !_27;});_15.style.left=_19.x+"px";_15.style.top=_19.y+"px";if(_19.overflow&&_17){_17(_15,_19.aroundCorner,_19.corner);}return _19;};dijit.placeOnScreenAroundElement=function(_28,_29,_2a,_2b){_29=dojo.byId(_29);var _2c=_29.style.display;_29.style.display="";var _2d=_29.offsetWidth;var _2e=_29.offsetHeight;var _2f=dojo.coords(_29,true);_29.style.display=_2c;var _30=[];for(var _31 in _2a){_30.push({aroundCorner:_31,corner:_2a[_31],pos:{x:_2f.x+(_31.charAt(1)=="L"?0:_2d),y:_2f.y+(_31.charAt(0)=="T"?0:_2e)}});}return dijit._place(_28,_30,_2b);};}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dojo.require("dijit._base.focus");dojo.require("dijit._base.place");dojo.require("dijit._base.window");dijit.popup=new function(){var _1=[],_2=1000,_3=1;this.prepare=function(_4){dojo.body().appendChild(_4);var s=_4.style;if(s.display=="none"){s.display="";}s.visibility="hidden";s.position="absolute";s.top="-9999px";};this.open=function(_6){var _7=_6.popup,_8=_6.orient||{"BL":"TL","TL":"BL"},_9=_6.around,id=(_6.around&&_6.around.id)?(_6.around.id+"_dropdown"):("popup_"+_3++);var _b=dojo.doc.createElement("div");dijit.setWaiRole(_b,"presentation");_b.id=id;_b.className="dijitPopup";_b.style.zIndex=_2+_1.length;_b.style.visibility="hidden";if(_6.parent){_b.dijitPopupParent=_6.parent.id;}dojo.body().appendChild(_b);var s=_7.domNode.style;s.display="";s.visibility="";s.position="";_b.appendChild(_7.domNode);var _d=new dijit.BackgroundIframe(_b);var _e=_9?dijit.placeOnScreenAroundElement(_b,_9,_8,_7.orient?dojo.hitch(_7,"orient"):null):dijit.placeOnScreen(_b,_6,_8=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);_b.style.visibility="visible";var _f=[];var _10=function(){for(var pi=_1.length-1;pi>0&&_1[pi].parent===_1[pi-1].widget;pi--){}return _1[pi];};_f.push(dojo.connect(_b,"onkeypress",this,function(evt){if(evt.keyCode==dojo.keys.ESCAPE&&_6.onCancel){dojo.stopEvent(evt);_6.onCancel();}else{if(evt.keyCode==dojo.keys.TAB){dojo.stopEvent(evt);var _13=_10();if(_13&&_13.onCancel){_13.onCancel();}}}}));if(_7.onCancel){_f.push(dojo.connect(_7,"onCancel",null,_6.onCancel));}_f.push(dojo.connect(_7,_7.onExecute?"onExecute":"onChange",null,function(){var _14=_10();if(_14&&_14.onExecute){_14.onExecute();}}));_1.push({wrapper:_b,iframe:_d,widget:_7,parent:_6.parent,onExecute:_6.onExecute,onCancel:_6.onCancel,onClose:_6.onClose,handlers:_f});if(_7.onOpen){_7.onOpen(_e);}return _e;};this.close=function(_15){while(dojo.some(_1,function(_16){return _16.widget==_15;})){var top=_1.pop(),_18=top.wrapper,_19=top.iframe,_1a=top.widget,_1b=top.onClose;if(_1a.onClose){_1a.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_1a||!_1a.domNode){return;}this.prepare(_1a.domNode);_19.destroy();dojo._destroyElement(_18);if(_1b){_1b();}}};}();dijit._frames=new function(){var _1c=[];this.pop=function(){var _1d;if(_1c.length){_1d=_1c.pop();_1d.style.display="";}else{if(dojo.isIE){var _1e="<iframe src='javascript:\"\"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_1d=dojo.doc.createElement(_1e);}else{_1d=dojo.doc.createElement("iframe");_1d.src="javascript:\"\"";_1d.className="dijitBackgroundIframe";}_1d.tabIndex=-1;dojo.body().appendChild(_1d);}return _1d;};this.push=function(_1f){_1f.style.display="";if(dojo.isIE){_1f.style.removeExpression("width");_1f.style.removeExpression("height");}_1c.push(_1f);};}();if(dojo.isIE&&dojo.isIE<7){dojo.addOnLoad(function(){var f=dijit._frames;dojo.forEach([f.pop()],f.push);});}dijit.BackgroundIframe=function(_21){if(!_21.id){throw new Error("no id");}if((dojo.isIE&&dojo.isIE<7)||(dojo.isFF&&dojo.isFF<3&&dojo.hasClass(dojo.body(),"dijit_a11y"))){var _22=dijit._frames.pop();_21.appendChild(_22);if(dojo.isIE){_22.style.setExpression("width",dojo._scopeName+".doc.getElementById('"+_21.id+"').offsetWidth");_22.style.setExpression("height",dojo._scopeName+".doc.getElementById('"+_21.id+"').offsetHeight");}this.iframe=_22;}};dojo.extend(dijit.BackgroundIframe,{destroy:function(){if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(_1){if(dojo.isMozilla){_1.scrollIntoView(false);}else{var _2=_1.parentNode;var _3=_2.scrollTop+dojo.marginBox(_2).h;var _4=_1.offsetTop+dojo.marginBox(_1).h;if(_3<_4){_2.scrollTop+=(_4-_3);}else{if(_2.scrollTop>_1.offsetTop){_2.scrollTop-=(_2.scrollTop-_1.offsetTop);}}}};}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");(function(){var d=dojo;var ie=d.isIE;var _3=d.isOpera;var _4=Math.floor;var ff=d.isFF;var _6={dj_ie:ie,dj_ie6:_4(ie)==6,dj_ie7:_4(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_3,dj_opera8:_4(_3)==8,dj_opera9:_4(_3)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla,dj_ff2:_4(ff)==2};for(var p in _6){if(_6[p]){var _8=dojo.doc.documentElement;if(_8.className){_8.className+=" "+p;}else{_8.className=p;}}}})();}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=(this._currentTimeout<0)?this._initialDelay:((this._subsequentDelay>1)?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay));this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(_1,_2,_3,_4,_5,_6,_7){if(_5!=this._obj){this.stop();this._initialDelay=_7||500;this._subsequentDelay=_6||0.9;this._obj=_5;this._evt=_1;this._node=_3;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_2,_4);this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(_8,_9,_a,_b,_c,_d){return [dojo.connect(_8,"onkeypress",this,function(_e){if(_e.keyCode==_9.keyCode&&(!_9.charCode||_9.charCode==_e.charCode)&&(_9.ctrlKey===undefined||_9.ctrlKey==_e.ctrlKey)&&(_9.altKey===undefined||_9.altKey==_e.ctrlKey)&&(_9.shiftKey===undefined||_9.shiftKey==_e.ctrlKey)){dojo.stopEvent(_e);dijit.typematic.trigger(_9,_a,_8,_b,_9,_c,_d);}else{if(dijit.typematic._obj==_9){dijit.typematic.stop();}}}),dojo.connect(_8,"onkeyup",this,function(_f){if(dijit.typematic._obj==_9){dijit.typematic.stop();}})];},addMouseListener:function(_10,_11,_12,_13,_14){var dc=dojo.connect;return [dc(_10,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_11,_10,_12,_10,_13,_14);}),dc(_10,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(_10,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(_10,"mousemove",this,function(evt){dojo.stopEvent(evt);}),dc(_10,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_11,_10,_12,_10,_13,_14);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_1b,_1c,_1d,_1e,_1f,_20,_21){return this.addKeyListener(_1c,_1d,_1e,_1f,_20,_21).concat(this.addMouseListener(_1b,_1e,_1f,_20,_21));}};}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var _1=dojo.doc.createElement("div");_1.id="a11yTestNode";_1.style.cssText="border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+dojo.moduleUrl("dojo","resources/blank.gif")+"\");";dojo.body().appendChild(_1);var cs=dojo.getComputedStyle(_1);if(cs){var _3=cs.backgroundImage;var _4=(cs.borderTopColor==cs.borderRightColor)||(_3!=null&&(_3=="none"||_3=="url(invalid-url:)"));dojo[_4?"addClass":"removeClass"](dojo.body(),"dijit_a11y");dojo.body().removeChild(_1);}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{hasWaiRole:function(_5){return _5.hasAttribute?_5.hasAttribute("role"):!!_5.getAttribute("role");},getWaiRole:function(_6){var _7=_6.getAttribute("role");if(_7){var _8=_7.indexOf(":");return _8==-1?_7:_7.substring(_8+1);}else{return "";}},setWaiRole:function(_9,_a){_9.setAttribute("role",(dojo.isFF&&dojo.isFF<3)?"wairole:"+_a:_a);},removeWaiRole:function(_b){_b.removeAttribute("role");},hasWaiState:function(_c,_d){if(dojo.isFF&&dojo.isFF<3){return _c.hasAttributeNS("http://www.w3.org/2005/07/aaa",_d);}else{return _c.hasAttribute?_c.hasAttribute("aria-"+_d):!!_c.getAttribute("aria-"+_d);}},getWaiState:function(_e,_f){if(dojo.isFF&&dojo.isFF<3){return _e.getAttributeNS("http://www.w3.org/2005/07/aaa",_f);}else{var _10=_e.getAttribute("aria-"+_f);return _10?_10:"";}},setWaiState:function(_11,_12,_13){if(dojo.isFF&&dojo.isFF<3){_11.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_12,_13);}else{_11.setAttribute("aria-"+_12,_13);}},removeWaiState:function(_14,_15){if(dojo.isFF&&dojo.isFF<3){_14.removeAttributeNS("http://www.w3.org/2005/07/aaa",_15);}else{_14.removeAttribute("aria-"+_15);}}});}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(_1){if(dojo.isSafari&&!_1._parentWindow){var _2=function(_3){_3.document._parentWindow=_3;for(var i=0;i<_3.frames.length;i++){_2(_3.frames[i]);}};_2(window.top);}if(dojo.isIE&&window!==document.parentWindow&&!_1._parentWindow){_1.parentWindow.execScript("document._parentWindow = window;","Javascript");var _5=_1._parentWindow;_1._parentWindow=null;return _5;}return _1._parentWindow||_1.parentWindow||_1.defaultView;};}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._editor._Plugin"]){dojo._hasResource["dijit._editor._Plugin"]=true;dojo.provide("dijit._editor._Plugin");dojo.require("dijit._Widget");dojo.require("dijit.Editor");dojo.require("dijit.form.Button");dojo.declare("dijit._editor._Plugin",null,{constructor:function(_1,_2){if(_1){dojo.mixin(this,_1);}this._connects=[];},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,queryCommand:null,command:"",commandArg:null,useDefaultCommand:true,buttonClass:dijit.form.Button,getLabel:function(_3){return this.editor.commands[_3];},_initButton:function(_4){if(this.command.length){var _5=this.getLabel(this.command);var _6=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){_4=dojo.mixin({label:_5,showLabel:false,iconClass:_6,dropDown:this.dropDown,tabIndex:"-1"},_4||{});this.button=new this.buttonClass(_4);}}},destroy:function(f){dojo.forEach(this._connects,dojo.disconnect);},connect:function(o,f,tf){this._connects.push(dojo.connect(o,f,this,tf));},updateState:function(){var _e=this.editor;var _c=this.command;if(!_e){return;}if(!_e.isLoaded){return;}if(!_c.length){return;}if(this.button){try{var _d=_e.queryCommandEnabled(_c);this.button.setAttribute("disabled",!_d);if(typeof this.button.checked=="boolean"){this.button.setAttribute("checked",_e.queryCommandState(_c));}}catch(e){console.debug(e);}}},setEditor:function(_e){this.editor=_e;this._initButton();if(this.command.length&&!this.editor.queryCommandAvailable(this.command)){if(this.button){this.button.domNode.style.display="none";}}if(this.button&&this.useDefaultCommand){this.connect(this.button,"onClick",dojo.hitch(this.editor,"execCommand",this.command,this.commandArg));}this.connect(this.editor,"onNormalizedDisplayChanged","updateState");},setToolbar:function(_f){if(this.button){_f.addChild(this.button);}}});}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._editor.html"]){dojo._hasResource["dijit._editor.html"]=true;dojo.provide("dijit._editor.html");dijit._editor.escapeXml=function(_1,_2){_1=_1.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_2){_1=_1.replace(/'/gm,"&#39;");}return _1;};dijit._editor.getNodeHtml=function(_3){var _4;switch(_3.nodeType){case 1:_4="<"+_3.nodeName.toLowerCase();var _5=[];if(dojo.isIE&&_3.outerHTML){var s=_3.outerHTML;s=s.substr(0,s.indexOf(">"));s=s.replace(/(['"])[^"']*\1/g,"");var _7=/([^\s=]+)=/g;var m,_9;while((m=_7.exec(s))){_9=m[1];if(_9.substr(0,3)!="_dj"){if(_9=="src"||_9=="href"){if(_3.getAttribute("_djrealurl")){_5.push([_9,_3.getAttribute("_djrealurl")]);continue;}}if(_9=="style"){_5.push([_9,_3.style.cssText.toLowerCase()]);}else{_5.push([_9,_9=="class"?_3.className:_3.getAttribute(_9)]);}}}}else{var _a,i=0,_c=_3.attributes;while((_a=_c[i++])){var n=_a.name;if(n.substr(0,3)!="_dj"){var v=_a.value;if(n=="src"||n=="href"){if(_3.getAttribute("_djrealurl")){v=_3.getAttribute("_djrealurl");}}_5.push([n,v]);}}}_5.sort(function(a,b){return a[0]<b[0]?-1:(a[0]==b[0]?0:1);});i=0;while((_a=_5[i++])){_4+=" "+_a[0]+"=\""+dijit._editor.escapeXml(_a[1],true)+"\"";}if(_3.childNodes.length){_4+=">"+dijit._editor.getChildrenHtml(_3)+"</"+_3.nodeName.toLowerCase()+">";}else{_4+=" />";}break;case 3:_4=dijit._editor.escapeXml(_3.nodeValue,true);break;case 8:_4="<!--"+dijit._editor.escapeXml(_3.nodeValue,true)+"-->";break;default:_4="Element not recognized - Type: "+_3.nodeType+" Name: "+_3.nodeName;}return _4;};dijit._editor.getChildrenHtml=function(dom){var out="";if(!dom){return out;}var _13=dom["childNodes"]||dom;var i=0;var _15;while((_15=_13[i++])){out+=dijit._editor.getNodeHtml(_15);}return out;};}

View File

@@ -0,0 +1 @@
({"1":"xx-small","2":"x-small","formatBlock":"Format","3":"small","4":"medium","5":"large","6":"x-large","7":"xx-large","fantasy":"fantasy","serif":"serif","p":"Paragraph","pre":"Pre-formatted","sans-serif":"sans-serif","fontName":"Font","h1":"Heading","h2":"Subheading","h3":"Sub-subheading","monospace":"monospace","fontSize":"Size","cursive":"cursive"})

View File

@@ -0,0 +1 @@
({"set":"Set","text":"Description:","insertImageTitle":"Image Properties","url":"URL:","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"Remove Format","copy":"Copy","paste":"Paste","selectAll":"Select All","insertOrderedList":"Numbered List","insertTable":"Insert/Edit Table","underline":"Underline","foreColor":"Foreground Color","htmlToggle":"HTML Source","formatBlock":"Paragraph Style","insertHorizontalRule":"Horizontal Rule","delete":"Delete","appleKey":"⌘${0}","insertUnorderedList":"Bullet List","tableProp":"Table Property","insertImage":"Insert Image","superscript":"Superscript","subscript":"Subscript","createLink":"Create Link","undo":"Undo","italic":"Italic","fontName":"Font Name","justifyLeft":"Align Left","unlink":"Remove Link","toggleTableBorder":"Toggle Table Border","ctrlKey":"ctrl+${0}","fontSize":"Font Size","indent":"Indent","redo":"Redo","strikethrough":"Strikethrough","justifyFull":"Justify","justifyCenter":"Align Center","hiliteColor":"Background Color","deleteTable":"Delete Table","outdent":"Outdent","cut":"Cut","plainFormatBlock":"Paragraph Style","toggleDir":"Toggle Direction","bold":"Bold","systemShortcutFF":"The \"${0}\" action is only available in Mozilla Firefox using a keyboard shortcut. Use ${1}.","justifyRight":"Align Right"})

View File

@@ -0,0 +1 @@
({"set":"Nastavit","text":"Text:","title":"Adresa URL odkazu","url":"Adresa URL:","urlInvalidMessage":"Neplatná adresa URL. Zadejte úplnou adresu URL ve tvaru 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"Odebrat formát","copy":"Kopírovat","paste":"Vložit","selectAll":"Vybrat vše","insertOrderedList":"Číslovaný seznam","insertTable":"Vložit/upravit tabulku","underline":"Podtržení","foreColor":"Barva popředí","htmlToggle":"Zdroj HTML","formatBlock":"Styl odstavce","insertHorizontalRule":"Vodorovné pravítko","delete":"Odstranit","insertUnorderedList":"Seznam s odrážkami","tableProp":"Vlastnost tabulky","insertImage":"Vložit obraz","superscript":"Horní index","subscript":"Dolní index","createLink":"Vytvořit odkaz","undo":"Zpět","italic":"Kurzíva","fontName":"Název písma","justifyLeft":"Zarovnat vlevo","unlink":"Odebrat odkaz","toggleTableBorder":"Přepnout ohraničení tabulky","fontSize":"Velikost písma","indent":"Odsadit","redo":"Opakovat","strikethrough":"Přeškrtnutí","justifyFull":"Do bloku","justifyCenter":"Zarovnat na střed","hiliteColor":"Barva pozadí","deleteTable":"Odstranit tabulku","outdent":"Předsadit","cut":"Vyjmout","plainFormatBlock":"Styl odstavce","bold":"Tučné","systemShortcutFF":"Akce \"${0}\" je v prohlížeči Mozilla Firefox dostupná pouze prostřednictvím klávesové zkratky. Použijte klávesy ${1}.","justifyRight":"Zarovnat vpravo","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})

View File

@@ -0,0 +1 @@
({"set":"Festlegen","text":"Text:","title":"Link-URL","url":"URL:","urlInvalidMessage":"Ungültiger URL. Geben Sie einen vollständigen URL ein. Beispiel: 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"Formatierung entfernen","copy":"Kopieren","paste":"Einfügen","selectAll":"Alles auswählen","insertOrderedList":"Nummerierung","insertTable":"Tabelle einfügen/bearbeiten","underline":"Unterstrichen","foreColor":"Vordergrundfarbe","htmlToggle":"HTML-Quelltext","formatBlock":"Absatzstil","insertHorizontalRule":"Horizontaler Strich","delete":"Löschen","insertUnorderedList":"Aufzählungszeichen","tableProp":"Tabelleneigenschaft","insertImage":"Grafik einfügen","superscript":"Hochgestellt","subscript":"Tiefgestellt","createLink":"Link erstellen","undo":"Rückgängig","italic":"Kursiv","fontName":"Schriftartname","justifyLeft":"Linksbündig","unlink":"Link entfernen","toggleTableBorder":"Tabellenumrandung ein-/ausschalten","ctrlKey":"Strg+${0}","fontSize":"Schriftgröße","indent":"Einrücken","redo":"Wiederherstellen","strikethrough":"Durchgestrichen","justifyFull":"Blocksatz","justifyCenter":"Zentriert","hiliteColor":"Hintergrundfarbe","deleteTable":"Tabelle löschen","outdent":"Ausrücken","cut":"Ausschneiden","plainFormatBlock":"Absatzstil","bold":"Fett","systemShortcutFF":"Die Aktion \"${0}\" ist in Mozilla Firefox nur über einen Tastaturkurzbefehl verfügbar. Verwenden Sie ${1}.","justifyRight":"Rechtsbündig","appleKey":"⌘${0}","toggleDir":"Toggle Direction"})

View File

@@ -0,0 +1 @@
({"set":"Establecer","text":"Texto:","title":"Enlazar URL","url":"URL:","urlInvalidMessage":"URL no válido. Especifique un URL completo como 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"Eliminar formato","copy":"Copiar","paste":"Pegar","selectAll":"Seleccionar todo","insertOrderedList":"Lista numerada","insertTable":"Insertar/Editar tabla","underline":"Subrayado","foreColor":"Color de primer plano","htmlToggle":"Fuente HTML","formatBlock":"Estilo de párrafo","insertHorizontalRule":"Regla horizontal","delete":"Suprimir","insertUnorderedList":"Lista con viñetas","tableProp":"Propiedad de tabla","insertImage":"Insertar imagen","superscript":"Superíndice","subscript":"Subíndice","createLink":"Crear enlace","undo":"Deshacer","italic":"Cursiva","fontName":"Nombre de font","justifyLeft":"Alinear izquierda","unlink":"Eliminar enlace","toggleTableBorder":"Conmutar borde de tabla","ctrlKey":"Control+${0}","fontSize":"Tamaño de font","indent":"Sangría","redo":"Rehacer","strikethrough":"Tachado","justifyFull":"Justificar","justifyCenter":"Alinear centro","hiliteColor":"Color de segundo plano","deleteTable":"Suprimir tabla","outdent":"Anular sangría","cut":"Cortar","plainFormatBlock":"Estilo de párrafo","bold":"Negrita","systemShortcutFF":"La acción \"${0}\" sólo está disponible en Mozilla Firefox mediante un atajo de teclado. Utilice ${1}.","justifyRight":"Alinear derecha","appleKey":"⌘${0}","toggleDir":"Toggle Direction"})

View File

@@ -0,0 +1 @@
({"set":"Définir","text":"Texte :","title":"URL du lien","url":"URL :","urlInvalidMessage":"Adresse URL non valide. Entrez une adresse URL complète de type 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"Supprimer la mise en forme","copy":"Copier","paste":"Coller","selectAll":"Sélectionner tout","insertOrderedList":"Liste numérotée","insertTable":"Insérer/Modifier un tableau","underline":"Souligner","foreColor":"Couleur d'avant-plan","htmlToggle":"Source HTML","formatBlock":"Style de paragraphe","insertHorizontalRule":"Règle horizontale","delete":"Supprimer","insertUnorderedList":"Liste à puces","tableProp":"Propriété du tableau","insertImage":"Insérer une image","superscript":"Exposant","subscript":"Indice","createLink":"Créer un lien","undo":"Annuler","italic":"Italique","fontName":"Nom de police","justifyLeft":"Aligner à gauche","unlink":"Supprimer le lien","toggleTableBorder":"Afficher/Masquer la bordure du tableau","fontSize":"Taille de police","indent":"Retrait","redo":"Rétablir","strikethrough":"Barrer","justifyFull":"Justifier","justifyCenter":"Aligner au centre","hiliteColor":"Couleur d'arrière-plan","deleteTable":"Supprimer le tableau","outdent":"Retrait négatif","cut":"Couper","plainFormatBlock":"Style de paragraphe","bold":"Gras","systemShortcutFF":"L'action \"${0}\" est disponible dans Mozilla Firefox uniquement, par le biais d'un raccourci-clavier. Utilisez ${1}.","justifyRight":"Aligner à droite","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})

View File

@@ -0,0 +1 @@
({"1":"πάρα πολύ μικρά","2":"πολύ μικρά","formatBlock":"Μορφοποίηση","monospaced":"σταθερού πλάτους","3":"μικρά","4":"μεσαία","5":"μεγάλα","6":"πολύ μεγάλα","7":"πάρα πολύ μεγάλα","fantasy":"φανταζύ","serif":"πατούρα","p":"Παράγραφος","pre":"Προ-μορφοποιημένο","sans-serif":"χωρίς πατούρα","fontName":"Γραμματοσειρά","h1":"Επικεφαλίδα","h2":"Επικεφαλίδα 2ου επιπέδου","h3":"Επικεφαλίδα 3ου επιπέδου","fontSize":"Μέγεθος","cursive":"κυρτή γραφή","monospace":"monospace"})

View File

@@ -0,0 +1 @@
({"set":"Ρύθμιση","text":"Κείμενο:","title":"Διεύθυνση URL","url":"URL:","urlInvalidMessage":"Λάθος URL. Εισάγεται ένα πλήρες URL όπως το 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"Αφαίρεση Μορφοποίησης","copy":"Αντιγραφή","paste":"Επικόληση","selectAll":"Επιλογή Όλων","insertOrderedList":"Αριθμημένη Λίστα","insertTable":"Εισαγωγή/Τροποποίηση Πίνακα","underline":"Υπογράμμιση","foreColor":"Χρώμα Προσκήνιου","htmlToggle":"Πηγαίος Κώδικας HTML","formatBlock":"Μορφοποίηση Παραγράφου","insertHorizontalRule":"Οριζόντια Γραμμή","delete":"Διαγραφή","insertUnorderedList":"Λίστα με Κουκίδες","tableProp":"Ιδιότητα Πίνακα","insertImage":"Εισαγωγή Εικόνας","superscript":"Εκθέτης","subscript":"Υπόστιξη","createLink":"Δημιουργία Συνδέσμου","undo":"Αναίρεση","italic":"Πλάγια Γραφή","fontName":"Ονομασία Γραμματοσειράς","justifyLeft":"Στοίχηση Αριστερά","unlink":"Αφαίρεση Συνδέσμου","toggleTableBorder":"Εναλλαγή Πλαισίου Πίνακα","fontSize":"Μέγεθος Γραμματοσειράς","indent":"Εισαγωγή Εσοχής","redo":"Επανάληψη","strikethrough":"Διακριτή Διαγραφή","justifyFull":"Στοίχηση χωρίς περιθώριο","justifyCenter":"Στοίχηχη στο Κέντρο","hiliteColor":"Χρώμα Παρασκηνίου","deleteTable":"Διαγραφή Πίνακα","outdent":"Αφαίρεση Εσοχής","cut":"Αποκοπή","plainFormatBlock":"Μορφοποίηση Παραγράφου","bold":"Έντονη Γραφή","systemShortcutFF":"Η \"${0}\" ενέργεια είναι διαθέσιμη μόνο στον Mozilla Firefox με την χρήση συντόμευσης. Χρησιμοποιήστε ${1}.","justifyRight":"Στοίχιση Δεξιά","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})

View File

@@ -0,0 +1 @@
({"set":"Beállítás","text":"Szöveg:","title":"Hivatkozás URL címe","url":"URL:","urlInvalidMessage":"Érvénytelen URL cím. Adjon meg teljes URL címet, például: 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"Formázás eltávolítása","copy":"Másolás","paste":"Beillesztés","selectAll":"Összes kijelölése","insertOrderedList":"Számozott lista","insertTable":"Táblázat beszúrása/szerkesztése","underline":"Aláhúzott","foreColor":"Előtérszín","htmlToggle":"HTML forrás","formatBlock":"Bekezdés stílusa","insertHorizontalRule":"Vízszintes vonalzó","delete":"Törlés","insertUnorderedList":"Felsorolásjeles lista","tableProp":"Táblázat tulajdonságai","insertImage":"Kép beszúrása","superscript":"Felső index","subscript":"Alsó index","createLink":"Hivatkozás létrehozása","undo":"Visszavonás","italic":"Dőlt","fontName":"Betűtípus","justifyLeft":"Balra igazítás","unlink":"Hivatkozás eltávolítása","toggleTableBorder":"Táblázatszegély ki-/bekapcsolása","fontSize":"Betűméret","indent":"Behúzás","redo":"Újra","strikethrough":"Áthúzott","justifyFull":"Sorkizárás","justifyCenter":"Középre igazítás","hiliteColor":"Háttérszín","deleteTable":"Táblázat törlése","outdent":"Negatív behúzás","cut":"Kivágás","plainFormatBlock":"Bekezdés stílusa","bold":"Félkövér","systemShortcutFF":"A(z) \"${0}\" művelet csak Mozilla Firefox böngészőben érhető el billentyűparancs használatával. Használja a következőt: ${1}.","justifyRight":"Jobbra igazítás","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})

View File

@@ -0,0 +1 @@
({"set":"Imposta","text":"Testo:","title":"URL di collegamento","url":"URL:","urlInvalidMessage":"URL non valido. Immettere un URL completo come nel seguente esempio: 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"Rimuovi formato","copy":"Copia","paste":"Incolla","selectAll":"Seleziona tutto","insertOrderedList":"Elenco numerato","insertTable":"Inserisci/Modifica tabella","underline":"Sottolineato","foreColor":"Colore primo piano","htmlToggle":"Origine HTML","formatBlock":"Stile paragrafo","insertHorizontalRule":"Righello orizzontale","delete":"Elimina","insertUnorderedList":"Elenco puntato","tableProp":"Proprietà tabella","insertImage":"Inserisci immagine","superscript":"Apice","subscript":"Pedice","createLink":"Crea collegamento","undo":"Annulla","italic":"Corsivo","fontName":"Nome carattere","justifyLeft":"Allinea a sinistra","unlink":"Rimuovi collegamento","toggleTableBorder":"Mostra/Nascondi margine tabella","fontSize":"Dimensione carattere","indent":"Rientra","redo":"Ripristina","strikethrough":"Barrato","justifyFull":"Giustifica","justifyCenter":"Allinea al centro","hiliteColor":"Colore sfondo","deleteTable":"Elimina tabella","outdent":"Rimuovi rientro","cut":"Taglia","plainFormatBlock":"Stile paragrafo","bold":"Grassetto","systemShortcutFF":"L'azione \"${0}\" è disponibile solo in Mozilla Firefox tramite tasti di scelta rapida. Utilizzare ${1}.","justifyRight":"Allinea a destra","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})

View File

@@ -0,0 +1 @@
({"set":"設定","text":"テキスト:","title":"URL にリンク","url":"URL:","urlInvalidMessage":"無効な URL です。完全な URL (例えば、http://www.dojotoolkit.org) を入力してください。","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"形式の除去","copy":"コピー","paste":"貼り付け","selectAll":"すべて選択","insertOrderedList":"番号付きリスト","insertTable":"テーブルの挿入/編集","underline":"下線","foreColor":"前景色","htmlToggle":"HTML ソース","formatBlock":"段落スタイル","insertHorizontalRule":"水平罫線","delete":"削除","insertUnorderedList":"黒丸付きリスト","tableProp":"テーブル・プロパティー","insertImage":"イメージの挿入","superscript":"上付き文字","subscript":"下付き文字","createLink":"リンクの作成","undo":"元に戻す","italic":"イタリック","fontName":"フォント名","justifyLeft":"左揃え","unlink":"リンクの除去","toggleTableBorder":"テーブル・ボーダーの切り替え","fontSize":"フォント・サイズ","indent":"インデント","redo":"やり直し","strikethrough":"取り消し線","justifyFull":"両端揃え","justifyCenter":"中央揃え","hiliteColor":"背景色","deleteTable":"テーブルの削除","outdent":"アウトデント","cut":"切り取り","plainFormatBlock":"段落スタイル","bold":"太字","systemShortcutFF":"\"${0}\" アクションは、キーボード・ショートカットを使用して Mozilla Firefox でのみ使用できます。${1} を使用してください。","justifyRight":"右揃え","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})

View File

@@ -0,0 +1 @@
({"set":"설정","text":"텍스트:","title":"URL 링크","url":"URL:","urlInvalidMessage":"유효하지 않은 URL입니다. 'http://www.dojotoolkit.org'와 같이 전체 URL을 입력하십시오. ","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"형식 제거","copy":"복사","paste":"붙여넣기","selectAll":"모두 선택","insertOrderedList":"번호 목록","insertTable":"테이블 삽입/편집","underline":"밑줄","foreColor":"전경색","htmlToggle":"HTML 소스","formatBlock":"단락 양식","insertHorizontalRule":"수평 자","delete":"삭제","insertUnorderedList":"글머리표 목록","tableProp":"테이블 특성","insertImage":"이미지 삽입","superscript":"위첨자","subscript":"아래첨자","createLink":"링크 작성","undo":"실행 취소","italic":"이탤릭체","fontName":"글꼴 이름","justifyLeft":"왼쪽 맞춤","unlink":"링크 제거","toggleTableBorder":"토글 테이블 경계","fontSize":"글꼴 크기","indent":"들여쓰기","redo":"다시 실행","strikethrough":"취소선","justifyFull":"양쪽 맞춤","justifyCenter":"가운데 맞춤","hiliteColor":"배경색","deleteTable":"테이블 삭제","outdent":"내어쓰기","cut":"잘라내기","plainFormatBlock":"단락 양식","bold":"굵은체","systemShortcutFF":"\"${0}\" 조치는 키보드 바로 가기를 사용하는 Mozilla Firefox에서만 사용 가능합니다. ${1} 사용.","justifyRight":"오른쪽 맞춤","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})

View File

@@ -0,0 +1 @@
({"set":"Ustaw","text":"Tekst:","title":"Adres URL odsyłacza","url":"Adres URL:","urlInvalidMessage":"Nieprawidłowy adres URL. Wprowadź pełny adres URL, na przykład http://www.dojotoolkit.org.","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"Usuń formatowanie","copy":"Kopiuj","paste":"Wklej","selectAll":"Wybierz wszystko","insertOrderedList":"Lista numerowana","insertTable":"Wstaw/edytuj tabelę","underline":"Podkreślenie","foreColor":"Kolor pierwszego planu","htmlToggle":"Źródło HTML","formatBlock":"Styl akapitu","insertHorizontalRule":"Linia pozioma","delete":"Usuń","insertUnorderedList":"Lista wypunktowana","tableProp":"Właściwość tabeli","insertImage":"Wstaw obraz","superscript":"Indeks górny","subscript":"Indeks dolny","createLink":"Utwórz odsyłacz","undo":"Cofnij","italic":"Kursywa","fontName":"Nazwa czcionki","justifyLeft":"Wyrównaj do lewej","unlink":"Usuń odsyłacz","toggleTableBorder":"Przełącz ramkę tabeli","fontSize":"Wielkość czcionki","indent":"Wcięcie","redo":"Przywróć","strikethrough":"Przekreślenie","justifyFull":"Wyrównaj do lewej i prawej","justifyCenter":"Wyrównaj do środka","hiliteColor":"Kolor tła","deleteTable":"Usuń tabelę","outdent":"Usuń wcięcie","cut":"Wytnij","plainFormatBlock":"Styl akapitu","bold":"Pogrubienie","systemShortcutFF":"Działanie ${0} jest dostępne w przeglądarce Mozilla Firefox wyłącznie za pomocą skrótu klawiaturowego. Użyj ${1}.","justifyRight":"Wyrównaj do prawej","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})

View File

@@ -0,0 +1 @@
({"set":"Definir\n","text":"Texto:\n","title":"Vincular URL","url":"URL:","urlInvalidMessage":"URL inválida. Digite uma URL completa, como 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"Remover Formato","copy":"Copiar","paste":"Colar","selectAll":"Selecionar Todos","insertOrderedList":"Lista Numerada","insertTable":"Inserir/Editar Tabela","underline":"Sublinhado","foreColor":"Cor do Primeiro Plano","htmlToggle":"Origem HTML","formatBlock":"Estilo de Parágrafo","insertHorizontalRule":"Régua Horizontal","delete":"Excluir ","insertUnorderedList":"Lista com Marcadores","tableProp":"Propriedade da Tabela","insertImage":"Inserir Imagem","superscript":"Sobrescrito","subscript":"Subscrito","createLink":"Criar Link","undo":"Desfazer","italic":"Itálico","fontName":"Nome da Fonte","justifyLeft":"Alinhar pela Esquerda","unlink":"Remover Link","toggleTableBorder":"Alternar Moldura da Tabela","fontSize":"Tamanho da Fonte","indent":"Recuar","redo":"Refazer","strikethrough":"Tachado","justifyFull":"Justificar","justifyCenter":"Alinhar pelo Centro","hiliteColor":"Cor de segundo plano","deleteTable":"Excluir Tabela","outdent":"Avançar","cut":"Recortar","plainFormatBlock":"Estilo de Parágrafo","bold":"Negrito","systemShortcutFF":"A ação \"${0}\" está disponível apenas no Mozilla Firefox utilizando um atalho do teclado. Utilize ${1}.","justifyRight":"Alinhar pela Direita","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})

View File

@@ -0,0 +1 @@
({"set":"Задать","text":"Текст:","title":"URL ссылки","url":"URL:","urlInvalidMessage":"Недопустимый адрес URL. Укажите полный URL, например: 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"Удалить формат","copy":"Копировать","paste":"Вставить","selectAll":"Выбрать все","insertOrderedList":"Нумерованный список","insertTable":"Вставить/изменить таблицу","underline":"Подчеркивание","foreColor":"Цвет текста","htmlToggle":"Код HTML","formatBlock":"Стиль абзаца","insertHorizontalRule":"Горизонтальная линейка","delete":"Удалить","insertUnorderedList":"Список с маркерами","tableProp":"Свойства таблицы","insertImage":"Вставить изображение","superscript":"Верхний индекс","subscript":"Нижний индекс","createLink":"Создать ссылку","undo":"Отменить","italic":"Курсив","fontName":"Название шрифта","justifyLeft":"По левому краю","unlink":"Удалить ссылку","toggleTableBorder":"Переключить рамку таблицы","fontSize":"Размер шрифта","indent":"Отступ","redo":"Повторить","strikethrough":"Перечеркивание","justifyFull":"По ширине","justifyCenter":"По центру","hiliteColor":"Цвет фона","deleteTable":"Удалить таблицу","outdent":"Втяжка","cut":"Вырезать","plainFormatBlock":"Стиль абзаца","bold":"Полужирный","systemShortcutFF":"Действие \"${0}\" доступно в Mozilla Firefox только через сочетание клавиш. Используйте ${1}.","justifyRight":"По правому краю","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})

View File

@@ -0,0 +1 @@
({"set":"設定","text":"文字:","title":"鏈結 URL","url":"URL","urlInvalidMessage":"URL 無效。請輸入完整的 URL例如 'http://www.dojotoolkit.org'","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"移除格式","copy":"複製","paste":"貼上","selectAll":"全選","insertOrderedList":"編號清單","insertTable":"插入/編輯表格","underline":"底線","foreColor":"前景顏色","htmlToggle":"HTML 原始檔","formatBlock":"段落樣式","insertHorizontalRule":"水平尺規","delete":"刪除","insertUnorderedList":"項目符號清單","tableProp":"表格內容","insertImage":"插入影像","superscript":"上標","subscript":"下標","createLink":"建立鏈結","undo":"復原","italic":"斜體","fontName":"字型名稱","justifyLeft":"靠左對齊","unlink":"移除鏈結","toggleTableBorder":"切換表格邊框","fontSize":"字型大小","indent":"縮排","redo":"重做","strikethrough":"加刪除線","justifyFull":"對齊","justifyCenter":"置中對齊","hiliteColor":"背景顏色","deleteTable":"刪除表格","outdent":"凸排","cut":"剪下","plainFormatBlock":"段落樣式","bold":"粗體","systemShortcutFF":"\"${0}\" 動作在 Mozilla Firefox 中,只能使用鍵盤快速鍵。請使用 ${1}。","justifyRight":"靠右對齊","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})

View File

@@ -0,0 +1 @@
({"set":"设定","text":"文本:","title":"链接 URL","url":"URL","urlInvalidMessage":"URL 无效。请输入完整的 URL如“http://www.dojotoolkit.org”","insertImageTitle":"Image Properties","createLinkTitle":"Link Properties"})

View File

@@ -0,0 +1 @@
({"removeFormat":"除去格式","copy":"复制","paste":"粘贴","selectAll":"全选","insertOrderedList":"编号列表","insertTable":"插入/编辑表","underline":"下划线","foreColor":"前景色","htmlToggle":"HTML 源代码","formatBlock":"段落样式","insertHorizontalRule":"水平线","delete":"删除","insertUnorderedList":"符号列表","tableProp":"表属性","insertImage":"插入图像","superscript":"上标","subscript":"下标","createLink":"创建链接","undo":"撤销","italic":"斜体","fontName":"字体名称","justifyLeft":"左对齐","unlink":"除去链接","toggleTableBorder":"切换表边框","fontSize":"字体大小","indent":"增加缩进","redo":"重做","strikethrough":"删除线","justifyFull":"对齐","justifyCenter":"居中","hiliteColor":"背景色","deleteTable":"删除表","outdent":"减少缩进","cut":"剪切","plainFormatBlock":"段落样式","bold":"粗体","systemShortcutFF":"只能在 Mozilla Firefox 中通过键盘快捷方式执行“${0}”操作。请使用 ${1}。","justifyRight":"右对齐","appleKey":"⌘${0}","ctrlKey":"ctrl+${0}","toggleDir":"Toggle Direction"})

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._editor.plugins.AlwaysShowToolbar"]){dojo._hasResource["dijit._editor.plugins.AlwaysShowToolbar"]=true;dojo.provide("dijit._editor.plugins.AlwaysShowToolbar");dojo.declare("dijit._editor.plugins.AlwaysShowToolbar",dijit._editor._Plugin,{_handleScroll:true,setEditor:function(e){this.editor=e;e.onLoadDeferred.addCallback(dojo.hitch(this,this.enable));},enable:function(d){this._updateHeight();this.connect(window,"onscroll","globalOnScrollHandler");this.connect(this.editor,"onNormalizedDisplayChanged","_updateHeight");return d;},_updateHeight:function(){var e=this.editor;if(!e.isLoaded){return;}if(e.height){return;}var _4=dojo.marginBox(e.editNode).h;if(dojo.isOpera){_4=e.editNode.scrollHeight;}if(!_4){_4=dojo.marginBox(e.document.body).h;}if(_4==0){console.debug("Can not figure out the height of the editing area!");return;}if(_4!=this._lastHeight){this._lastHeight=_4;dojo.marginBox(e.iframe,{h:this._lastHeight});}},_lastHeight:0,globalOnScrollHandler:function(){var _5=dojo.isIE&&dojo.isIE<7;if(!this._handleScroll){return;}var _6=this.editor.toolbar.domNode;var db=dojo.body;if(!this._scrollSetUp){this._scrollSetUp=true;this._scrollThreshold=dojo._abs(_6,true).y;}var _8=dojo._docScroll().y;var s=_6.style;if(_8>this._scrollThreshold&&_8<this._scrollThreshold+this._lastHeight){if(!this._fixEnabled){var _a=dojo.marginBox(_6);this.editor.iframe.style.marginTop=_a.h+"px";if(_5){s.left=dojo._abs(_6).x;if(_6.previousSibling){this._IEOriginalPos=["after",_6.previousSibling];}else{if(_6.nextSibling){this._IEOriginalPos=["before",_6.nextSibling];}else{this._IEOriginalPos=["last",_6.parentNode];}}dojo.body().appendChild(_6);dojo.addClass(_6,"dijitIEFixedToolbar");}else{s.position="fixed";s.top="0px";}dojo.marginBox(_6,{w:_a.w});s.zIndex=2000;this._fixEnabled=true;}var _b=(this.height)?parseInt(this.editor.height):this.editor._lastHeight;s.display=(_8>this._scrollThreshold+_b)?"none":"";}else{if(this._fixEnabled){this.editor.iframe.style.marginTop="";s.position="";s.top="";s.zIndex="";s.display="";if(_5){s.left="";dojo.removeClass(_6,"dijitIEFixedToolbar");if(this._IEOriginalPos){dojo.place(_6,this._IEOriginalPos[1],this._IEOriginalPos[0]);this._IEOriginalPos=null;}else{dojo.place(_6,this.editor.iframe,"before");}}s.width="";this._fixEnabled=false;}}},destroy:function(){this._IEOriginalPos=null;this._handleScroll=false;dojo.forEach(this._connects,dojo.disconnect);if(dojo.isIE&&dojo.isIE<7){dojo.removeClass(this.editor.toolbar.domNode,"dijitIEFixedToolbar");}}});}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._editor.plugins.FontChoice"]){dojo._hasResource["dijit._editor.plugins.FontChoice"]=true;dojo.provide("dijit._editor.plugins.FontChoice");dojo.require("dijit._editor._Plugin");dojo.require("dijit.form.FilteringSelect");dojo.require("dojo.data.ItemFileReadStore");dojo.require("dojo.i18n");dojo.requireLocalization("dijit._editor","FontChoice",null,"ROOT,gr");dojo.declare("dijit._editor.plugins.FontChoice",dijit._editor._Plugin,{_uniqueId:0,buttonClass:dijit.form.FilteringSelect,_initButton:function(){var _1=this.command;var _2=this.custom||{fontName:this.generic?["serif","sans-serif","monospace","cursive","fantasy"]:["Arial","Times New Roman","Comic Sans MS","Courier New"],fontSize:[1,2,3,4,5,6,7],formatBlock:["p","h1","h2","h3","pre"]}[_1];var _3=dojo.i18n.getLocalization("dijit._editor","FontChoice");var _4=dojo.map(_2,function(_5){var _6=_3[_5]||_5;var _7=_6;switch(_1){case "fontName":_7="<div style='font-family: "+_5+"'>"+_6+"</div>";break;case "fontSize":_7="<font size="+_5+"'>"+_6+"</font>";break;case "formatBlock":_7="<"+_5+">"+_6+"</"+_5+">";}return {label:_7,name:_6,value:_5};});_4.push({label:"",name:"",value:""});dijit._editor.plugins.FontChoice.superclass._initButton.apply(this,[{labelType:"html",labelAttr:"label",searchAttr:"name",store:new dojo.data.ItemFileReadStore({data:{identifier:"value",items:_4}})}]);this.button.setValue("");this.connect(this.button,"onChange",function(_8){if(this.updating){return;}if(dojo.isIE&&"_savedSelection" in this){var b=this._savedSelection;delete this._savedSelection;this.editor.focus();this.editor._moveToBookmark(b);}else{dijit.focus(this._focusHandle);}if(this.command=="fontName"&&_8.indexOf(" ")!=-1){_8="'"+_8+"'";}this.editor.execCommand(this.editor._normalizeCommand(this.command),_8);});},updateState:function(){this.inherited(arguments);var _e=this.editor;var _c=this.command;if(!_e||!_e.isLoaded||!_c.length){return;}if(this.button){var _c=_e.queryCommandValue(this.editor._normalizeCommand(_c))||"";var _d=dojo.isString(_c)&&_c.match(/'([^']*)'/);if(_d){_c=_d[1];}if(this.generic&&_c=="fontName"){var _e={"Arial":"sans-serif","Helvetica":"sans-serif","Myriad":"sans-serif","Times":"serif","Times New Roman":"serif","Comic Sans MS":"cursive","Apple Chancery":"cursive","Courier":"monospace","Courier New":"monospace","Papyrus":"fantasy"};_c=_e[_c]||_c;}else{if(_c=="fontSize"&&_c.indexOf&&_c.indexOf("px")!=-1){var _f=parseInt(_c);_c={10:1,13:2,16:3,18:4,24:5,32:6,48:7}[_f]||_c;}}this.updating=true;this.button.setValue(_c);delete this.updating;}if(dojo.isIE){this._savedSelection=this.editor._getBookmark();}this._focusHandle=dijit.getFocus(this.editor.iframe);},setToolbar:function(){this.inherited(arguments);var _10=this.button;if(!_10.id){_10.id=dijit._scopeName+"EditorButton-"+this.command+(this._uniqueId++);}var _11=dojo.doc.createElement("label");dojo.addClass(_11,"dijit dijitReset dijitLeft dijitInline");_11.setAttribute("for",_10.id);var _12=dojo.i18n.getLocalization("dijit._editor","FontChoice");_11.appendChild(dojo.doc.createTextNode(_12[this.command]));dojo.place(_11,this.button.domNode,"before");}});dojo.subscribe(dijit._scopeName+".Editor.getPlugin",null,function(o){if(o.plugin){return;}switch(o.args.name){case "fontName":case "fontSize":case "formatBlock":o.plugin=new dijit._editor.plugins.FontChoice({command:o.args.name});}});}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._editor.plugins.TextColor"]){dojo._hasResource["dijit._editor.plugins.TextColor"]=true;dojo.provide("dijit._editor.plugins.TextColor");dojo.require("dijit._editor._Plugin");dojo.require("dijit.ColorPalette");dojo.declare("dijit._editor.plugins.TextColor",dijit._editor._Plugin,{buttonClass:dijit.form.DropDownButton,constructor:function(){this.dropDown=new dijit.ColorPalette();this.connect(this.dropDown,"onChange",function(_1){this.editor.execCommand(this.command,_1);});}});dojo.subscribe(dijit._scopeName+".Editor.getPlugin",null,function(o){if(o.plugin){return;}switch(o.args.name){case "foreColor":case "hiliteColor":o.plugin=new dijit._editor.plugins.TextColor({command:o.args.name});}});}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._editor.plugins.ToggleDir"]){dojo._hasResource["dijit._editor.plugins.ToggleDir"]=true;dojo.provide("dijit._editor.plugins.ToggleDir");dojo.experimental("dijit._editor.plugins.ToggleDir");dojo.require("dijit._editor._Plugin");dojo.declare("dijit._editor.plugins.ToggleDir",dijit._editor._Plugin,{useDefaultCommand:false,command:"toggleDir",_initButton:function(){this.inherited("_initButton",arguments);this.connect(this.button,"onClick",this._toggleDir);},updateState:function(){},_toggleDir:function(){var _1=this.editor.editorObject.contentWindow.document.documentElement;var _2=dojo.getComputedStyle(_1).direction=="ltr";_1.dir=_2?"rtl":"ltr";}});dojo.subscribe(dijit._scopeName+".Editor.getPlugin",null,function(o){if(o.plugin){return;}switch(o.args.name){case "toggleDir":o.plugin=new dijit._editor.plugins.ToggleDir({command:o.args.name});}});}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._editor.selection"]){dojo._hasResource["dijit._editor.selection"]=true;dojo.provide("dijit._editor.selection");dojo.mixin(dijit._editor.selection,{getType:function(){if(dojo.doc.selection){return dojo.doc.selection.type.toLowerCase();}else{var _1="text";var _2;try{_2=dojo.global.getSelection();}catch(e){}if(_2&&_2.rangeCount==1){var _3=_2.getRangeAt(0);if((_3.startContainer==_3.endContainer)&&((_3.endOffset-_3.startOffset)==1)&&(_3.startContainer.nodeType!=3)){_1="control";}}return _1;}},getSelectedText:function(){if(dojo.doc.selection){if(dijit._editor.selection.getType()=="control"){return null;}return dojo.doc.selection.createRange().text;}else{var _4=dojo.global.getSelection();if(_4){return _4.toString();}}return "";},getSelectedHtml:function(){if(dojo.doc.selection){if(dijit._editor.selection.getType()=="control"){return null;}return dojo.doc.selection.createRange().htmlText;}else{var _5=dojo.global.getSelection();if(_5&&_5.rangeCount){var _6=_5.getRangeAt(0).cloneContents();var _7=dojo.doc.createElement("div");_7.appendChild(_6);return _7.innerHTML;}return null;}},getSelectedElement:function(){if(this.getType()=="control"){if(dojo.doc.selection){var _8=dojo.doc.selection.createRange();if(_8&&_8.item){return dojo.doc.selection.createRange().item(0);}}else{var _9=dojo.global.getSelection();return _9.anchorNode.childNodes[_9.anchorOffset];}}return null;},getParentElement:function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(dojo.doc.selection){return dojo.doc.selection.createRange().parentElement();}else{var _b=dojo.global.getSelection();if(_b){var _c=_b.anchorNode;while(_c&&(_c.nodeType!=1)){_c=_c.parentNode;}return _c;}}}return null;},hasAncestorElement:function(_d){return this.getAncestorElement.apply(this,arguments)!=null;},getAncestorElement:function(_e){var _f=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(_f,arguments);},isTag:function(_10,_11){if(_10&&_10.tagName){var _12=_10.tagName.toLowerCase();for(var i=0;i<_11.length;i++){var _14=String(_11[i]).toLowerCase();if(_12==_14){return _14;}}}return "";},getParentOfType:function(_15,_16){while(_15){if(this.isTag(_15,_16).length){return _15;}_15=_15.parentNode;}return null;},collapse:function(_17){if(window["getSelection"]){var _18=dojo.global.getSelection();if(_18.removeAllRanges){if(_17){_18.collapseToStart();}else{_18.collapseToEnd();}}else{_18.collapse(_17);}}else{if(dojo.doc.selection){var _19=dojo.doc.selection.createRange();_19.collapse(_17);_19.select();}}},remove:function(){var _s=dojo.doc.selection;if(_s){if(_s.type.toLowerCase()!="none"){_s.clear();}return _s;}else{_s=dojo.global.getSelection();_s.deleteFromDocument();return _s;}},selectElementChildren:function(_1b,_1c){var _1d=dojo.global;var _1e=dojo.doc;_1b=dojo.byId(_1b);if(_1e.selection&&dojo.body().createTextRange){var _1f=_1b.ownerDocument.body.createTextRange();_1f.moveToElementText(_1b);if(!_1c){try{_1f.select();}catch(e){}}}else{if(_1d.getSelection){var _20=_1d.getSelection();if(_20.setBaseAndExtent){_20.setBaseAndExtent(_1b,0,_1b,_1b.innerText.length-1);}else{if(_20.selectAllChildren){_20.selectAllChildren(_1b);}}}}},selectElement:function(_21,_22){var _23,_24=dojo.doc;_21=dojo.byId(_21);if(_24.selection&&dojo.body().createTextRange){try{_23=dojo.body().createControlRange();_23.addElement(_21);if(!_22){_23.select();}}catch(e){this.selectElementChildren(_21,_22);}}else{if(dojo.global.getSelection){var _25=dojo.global.getSelection();if(_25.removeAllRanges){_23=_24.createRange();_23.selectNode(_21);_25.removeAllRanges();_25.addRange(_23);}}}}});}

View File

@@ -0,0 +1,12 @@
<div class="dijitTreeNode" waiRole="presentation"
><div dojoAttachPoint="rowNode" waiRole="presentation"
><span dojoAttachPoint="expandoNode" class="dijitTreeExpando" waiRole="presentation"
></span
><span dojoAttachPoint="expandoNodeText" class="dijitExpandoText" waiRole="presentation"
></span
><div dojoAttachPoint="contentNode" class="dijitTreeContent" waiRole="presentation">
<div dojoAttachPoint="iconNode" class="dijitInline dijitTreeIcon" waiRole="presentation"></div>
<span dojoAttachPoint="labelNode" class="dijitTreeLabel" wairole="treeitem" tabindex="-1" waiState="selected-false" dojoAttachEvent="onfocus:_onNodeFocus"></span>
</div
></div>
</div>

View File

@@ -0,0 +1,3 @@
<div class="dijitTreeContainer" waiRole="tree"
dojoAttachEvent="onclick:_onClick,onkeypress:_onKeyPress">
</div>

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._tree.dndContainer"]){dojo._hasResource["dijit._tree.dndContainer"]=true;dojo.provide("dijit._tree.dndContainer");dojo.require("dojo.dnd.common");dojo.require("dojo.dnd.Container");dojo.declare("dijit._tree.dndContainer",null,{constructor:function(_1,_2){this.tree=_1;this.node=_1.domNode;dojo.mixin(this,_2);this.map={};this.current=null;this.containerState="";dojo.addClass(this.node,"dojoDndContainer");if(!(_2&&_2._skipStartup)){this.startup();}this.events=[dojo.connect(this.node,"onmouseover",this,"onMouseOver"),dojo.connect(this.node,"onmouseout",this,"onMouseOut"),dojo.connect(this.node,"ondragstart",dojo,"stopEvent"),dojo.connect(this.node,"onselectstart",dojo,"stopEvent")];},getItem:function(_3){return this.selection[_3];},onMouseOver:function(e){var rt=e.relatedTarget;while(rt){if(rt==this.node){break;}try{rt=rt.parentNode;}catch(x){rt=null;}}if(!rt){this._changeState("Container","Over");this.onOverEvent();}var n=this._getChildByEvent(e);if(this.current==n){return;}if(this.current){this._removeItemClass(this.current,"Over");}if(n){this._addItemClass(n,"Over");}this.current=n;},onMouseOut:function(e){for(var n=e.relatedTarget;n;){if(n==this.node){return;}try{n=n.parentNode;}catch(x){n=null;}}if(this.current){this._removeItemClass(this.current,"Over");this.current=null;}this._changeState("Container","");this.onOutEvent();},_changeState:function(_9,_a){var _b="dojoDnd"+_9;var _c=_9.toLowerCase()+"State";dojo.removeClass(this.node,_b+this[_c]);dojo.addClass(this.node,_b+_a);this[_c]=_a;},_getChildByEvent:function(e){var _e=e.target;if(_e){for(var _f=_e.parentNode;_f;_e=_f,_f=_e.parentNode){if(dojo.hasClass(_e,"dijitTreeContent")){return _e;}}}return null;},markupFactory:function(_10,_11){_11._skipStartup=true;return new dijit._tree.dndContainer(_10,_11);},_addItemClass:function(_12,_13){dojo.addClass(_12,"dojoDndItem"+_13);},_removeItemClass:function(_14,_15){dojo.removeClass(_14,"dojoDndItem"+_15);},onOverEvent:function(){},onOutEvent:function(){}});}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit._tree.dndSelector"]){dojo._hasResource["dijit._tree.dndSelector"]=true;dojo.provide("dijit._tree.dndSelector");dojo.require("dojo.dnd.common");dojo.require("dijit._tree.dndContainer");dojo.declare("dijit._tree.dndSelector",dijit._tree.dndContainer,{constructor:function(_1,_2){this.selection={};this.anchor=null;this.simpleSelection=false;this.events.push(dojo.connect(this.tree.domNode,"onmousedown",this,"onMouseDown"),dojo.connect(this.tree.domNode,"onmouseup",this,"onMouseUp"));},singular:false,getSelectedItems:function(){var _3=[];for(var i in this.selection){_3.push(dijit.getEnclosingWidget(this.selection[i]).item);}return _3;},getSelectedNodes:function(){return this.selection;},selectNone:function(){return this._removeSelection()._removeAnchor();},insertItems:function(_5,_6){},destroy:function(){dojo.dnd.Selector.superclass.destroy.call(this);this.selection=this.anchor=null;},onMouseDown:function(e){if(!this.current){return;}var _8=dijit.getEnclosingWidget(this.current).item;var id=this.tree.model.getIdentity(_8);if(!this.current.id){this.current.id=id;}if(!this.current.type){this.current.type="data";}if(!this.singular&&!dojo.dnd.getCopyKeyState(e)&&!e.shiftKey&&(this.current.id in this.selection)){this.simpleSelection=true;dojo.stopEvent(e);return;}if(this.singular){if(this.anchor==this.current){if(dojo.dnd.getCopyKeyState(e)){this.selectNone();}}else{this.selectNone();this.anchor=this.current;this._addItemClass(this.anchor,"Anchor");this.selection[this.current.id]=this.current;}}else{if(!this.singular&&e.shiftKey){if(dojo.dnd.getCopyKeyState(e)){}else{}}else{if(dojo.dnd.getCopyKeyState(e)){if(this.anchor==this.current){delete this.selection[this.anchor.id];this._removeAnchor();}else{if(this.current.id in this.selection){this._removeItemClass(this.current,"Selected");delete this.selection[this.current.id];}else{if(this.anchor){this._removeItemClass(this.anchor,"Anchor");this._addItemClass(this.anchor,"Selected");}this.anchor=this.current;this._addItemClass(this.current,"Anchor");this.selection[this.current.id]=this.current;}}}else{var _8=dijit.getEnclosingWidget(this.current).item;var id=this.tree.model.getIdentity(_8);if(!(id in this.selection)){this.selectNone();this.anchor=this.current;this._addItemClass(this.current,"Anchor");this.selection[id]=this.current;}}}}dojo.stopEvent(e);},onMouseMove:function(){},onOverEvent:function(){this.onmousemoveEvent=dojo.connect(this.node,"onmousemove",this,"onMouseMove");},onMouseUp:function(e){if(!this.simpleSelection){return;}this.simpleSelection=false;this.selectNone();if(this.current){this.anchor=this.current;this._addItemClass(this.anchor,"Anchor");this.selection[this.current.id]=this.current;}},_removeSelection:function(){var e=dojo.dnd._empty;for(var i in this.selection){if(i in e){continue;}var _d=dojo.byId(i);if(_d){this._removeItemClass(_d,"Selected");}}this.selection={};return this;},_removeAnchor:function(){if(this.anchor){this._removeItemClass(this.anchor,"Anchor");this.anchor=null;}return this;}});}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
dojo.declare("dijit.tree.model",null,{destroy:function(){},getRoot:function(_1){},mayHaveChildren:function(_2){},getChildren:function(_3,_4){},getIdentity:function(_5){},getLabel:function(_6){},newItem:function(_7,_8){},pasteItem:function(_9,_a,_b,_c){},onChange:function(_d){},onChildrenChange:function(_e,_f){}});

View File

@@ -0,0 +1,129 @@
<?php
/*
benchReceive.php - example way to handle incoming benchmark data,
or how to use JSON php class to mangle data. No benchmark data
is stored currently.
--
-- Table structure for table `benchmarks`
--
CREATE TABLE `benchmarks` (
`id` int(11) NOT NULL auto_increment,
`useragent` varchar(242) NOT NULL default '',
`dojover` varchar(96) NOT NULL default '',
`testNum` int(11) NOT NULL default '0',
`dijit` varchar(64) NOT NULL default '',
`testCount` int(11) NOT NULL default '0',
`testAverage` float NOT NULL default '0',
`testMethod` varchar(10) NOT NULL default '',
`testTime` bigint(20) NOT NULL default '0',
`dataSet` varchar(64) NOT NULL default '',
PRIMARY KEY (`id`),
KEY `dijit` (`dijit`,`testAverage`),
KEY `dataSet` (`dataSet`)
) TYPE=MyISAM;
--
-- [end table struct] --
*/
if (is_array($_POST)) {
$username = '';
$password = '';
$dataBase = '';
$table = '';
mysql_connect("localhost",$username,$password);
mysql_select_db($dataBase);
require("../../dojo/tests/resources/JSON.php");
$json = new Services_JSON();
// see "escape()" call in benchTest.html
$string = $json->decode(urldecode($_POST['key']));
// $string = $json->decode($_POST['key']);
print "<h1>Thank YOU!</h1>";
print "
<p>Your results have been added to our database. No
personal information outside of what you see here
has been stored.
</p>
<p>You can <a href= \"javascript:history.back()\">go back</a>
and run more tests, or even better, load up another browser
and the submit your tests again!
</p>
<p>again ... thanks for your time.</p>
";
print "<h3>Results Submitted:</h3>";
print "<pre style=\"font:6pt Terminal,sans-serif; border:1px solid #cecece; background-color:#ededed; padding:20px; \">";
$ua = $string->clientNavigator;
$dojov = $string->dojoVersion;
print "Client: ".$ua."\n";
print "Dojo v".$dojov."\n";
if (is_array($string->dataSet)) {
print "\nTest Results:";
// should client serialize a key, or is this safer?
$dataSet = md5(serialize($string));
foreach ($string->dataSet as $test) {
$data = array(
'dataSet' => $dataSet,
'useragent' => $ua,
'dojover' => $dojov,
'testNum' => $test->testNum,
'testMethod' => $test->testMethod,
'testTime' => $test->testTime,
'testAverage' => $test->testAverage,
'testCount' => $test->testCount,
'dijit' => $test->dijit
);
print_r($data);
add_rec($table,$data);
}
}
if (is_array($string->errors)) {
// not saving errors at this point
print "\nErrors:";
foreach ($string->errors as $error) {
print_r($error);
}
}
print "</pre>";
}
function add_rec($table, $data) {
if (!is_array($data)) { return FALSE; }
$keys = array_keys($data);
$values = array_values($data);
$field=0;
for ($field;$field<sizeof($data);$field++) {
if (!ereg("^[0-9].*$",$keys[$field])) {
$sqlfields = $sqlfields.$keys[$field]."=\"".$values[$field]."\", ";
}
}
$sqlfields = (substr($sqlfields,0,(strlen($sqlfields)-2)));
if ($query = mysql_query("insert into $table set $sqlfields")) {
$id = mysql_insert_id();
return ($id);
}else{
return FALSE;
}
}
?>

View File

@@ -0,0 +1,189 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Dojo interactive benchmark tool</title>
<script type="text/javascript" src="../../dojo/dojo.js"></script>
<script type="text/javascript">
// FIXME:
// the url below points to dojo.inpdx.net/benchResults.php
// need to setup DB on dtk.org and change URL here to store
// results elsewhere ... work db structure in accompanying
// .php file
// basic stats are located at http://dojo.inpdx.net/benchmarks.html
dojo.require("dojo.fx");
// FIXME: this seems an excessive fix for IE6 issue ...
dojo.require("dijit.dijit");
// dojo.require("dijit.form.Button");
dojo.require("dijit.dijit-all");
dojo.require("dojo.parser");
// setup global variables
var masterResults = { clientNavigator: navigator.userAgent, dataSet: [], errors: [] }
var isRunning = false;
var theCount, theClass, runner = null;
var testCount = 0;
dojo.addOnLoad(function(){
theCount = dojo.byId('countNode');
theClass = dojo.byId('classNode');
runner = dojo.byId('runner');
masterResults.dojoVersion = dojo.version.toString();
});
function _toggleRunMsg(){
var newMsg = (isRunning) ? " Run Test " : " Running ..."
dojo.fx.chain([
dojo.fadeOut({
node:runner,
duration:200,
onEnd: function(){
runner.innerHTML = newMsg;
isRunning=!isRunning;
}
}),
dojo.fadeIn({ node:runner, duration: 200 })
]).play();
}
function runTest(){
if(isRunning){ return; }
_toggleRunMsg();
setTimeout(function(){_runRealTest();},1000);
}
function _runRealTest(){
var _error = false;
var count = theCount.value;
var aclass = theClass.value.toString();
var theMethod = (dojo.byId('parse').checked) ? "parse" : "create";
var tmpNode = document.createElement('div');
switch(theMethod){
case "parse" :
var tmpString = [];
for(var i=0; i<count; i++){
tmpString.push('<div dojoType="', aclass, '"></div>');
}
tmpNode.innerHTML = tmpString.join("");
var tmpTimer = new Date().getTime();
dojo.parser.parse(tmpNode);
var endTime = new Date().getTime() - tmpTimer;
break;
case "create" :
var construction = dojo.getObject(aclass);
var tmpTimer = new Date().getTime();
for(var i=0; i<count; i++){
var tmp = new construction({});
tmpNode.appendChild(tmp.domNode);
}
var endTime = new Date().getTime() - tmpTimer;
break;
}
var average = (endTime / count);
var msg = "It took: "+endTime+"ms to "+theMethod+" "+count+" "+aclass+" widgets"+
"<br>(average: "+average+" ms/widget)<br><br>";
masterResults.dataSet.push({
testNum: ++testCount,
dijit: aclass,
testCount: count,
testAverage: average,
testMethod: theMethod,
testTime: endTime
});
dojo.byId("results").innerHTML += msg;
setTimeout(function(){_toggleRunMsg();},250);
// Nodes have to be in the document for IE7 to GC them.
// Do this after generating the widgets to dispel
// notion that widget parents have to be in document
// a-priori.
dojo.byId("limbo").appendChild(tmpNode);
}
function doDebug(){
var key = escape(dojo.toJson(masterResults));
dojo.byId('hiddenHolder').value = key;
return true;
}
</script>
<style>
@import "../../dijit/themes/tundra/tundra.css";
@import "../../dijit/themes/dijit.css";
@import "../../dojo/resources/dojo.css";
@import "../../dijit/tests/css/dijitTests.css";
#limbo {
display: none;
}
#theContainer {
float:left;
display: block; padding:12px; padding-top:0;
width:420px; margin-left:20px;
background-color:#fff; -moz-border-radius:8pt 8pt;
border:2px solid #ededed;
}
#leftControl { float:left; width:300px; }
#testControl, #submitControl { border:2px solid #ededed; padding:12px; -moz-border-radius:8pt 8pt; background-color:#fff; }
#results { overflow:auto; height:300px; border:1px solid #ccc; color:darkred; padding:8px; }
#results li { list-style-type: none; }
#results ul { margin:0; padding:0; }
.runHolder, .submitButton {
border:1px solid #ccc; padding:3px; -moz-border-radius:8pt 8pt; text-align:center;
cursor:pointer; background-color:#ededed; display:block; width:125px;
}
</style>
</head>
<body class="tundra">
<div id="limbo"></div>
<h1 class="testTitle">Dojo Benchmark Tool</h1>
<div id="leftControl">
<div id="testControl">
Class: <input type="text" name="dijit" id="classNode" value="dijit.form.Button"><br><br>
Count: <input type="text" name="count" id="countNode" value="100" size="4" ><br><br>
Method: <label for="parse">
<input type="radio" name="theMethod" value="parse" id="parse" checked="on"> Parse
</label>
<label for="create">
<input type="radio" name="theMethod" value="create" id="create"> Create
</label>
<br><br>
<span onclick="runTest()" class="runHolder"><span id="runner"> Run Test </span></span>
</div>
<br>
<div id="submitControl">
<p>
* The results of these tests are important to us. Please feel free to submit your dataSet
to Dojotoolkit.org. Your privacy will be respected.
</p>
<div id="hiddenResults">
<form id="resultForm" action="http://dojo.inpdx.net/benchResults.php"
method="POST" onsubmit="doDebug()">
<input type="hidden" id="hiddenHolder" value="" name="key">
<input type="submit" value=" Submit Data " class="submitButton">
</form>
</div>
</div>
</div>
<div id="theContainer"><h3>Results:</h3><div id="results"></div></div>
</body>
</html>

View File

@@ -0,0 +1,73 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>PROGRAMMATIC - Dojo Widget Creation Test</title>
<script type="text/javascript" src="../../dojo/dojo.js"></script>
<script type="text/javascript" src="../dijit.js"></script>
<script type="text/javascript">
var queryCount = location.search.match(/count=(\d*)/);
var count = (queryCount ? parseInt(queryCount[1]) : 100);
var queryClass = location.search.match(/class=([a-zA-z.]*)/);
var className = (queryClass ? queryClass[1] : "form.Button");
dojo.require("dijit." + className);
dojo.require("dojo.parser");
logMessage = window.alert;
</script>
<style type="text/css">
@import "../themes/tundra/tundra.css";
/* group multiple buttons in a row */
.box {
display: block;
text-align: center;
}
.box .dojoButton {
width: 80px;
margin-right: 10px;
}
.dojoButtonContents {
font-size: 1.6em;
}
#buttonContainer {
border: 1px solid black;
width: 100%;
}
#results {
color: darkred;
}
</style>
</head>
<body class=tundra>
<script language='javascript'>
document.write("<h2>Currently Creating "+count+" "+className+" instances</h2>");
</script>
Pass <code>?count=<i><b>100</b></i></code> in the query string to change the number of widgets.<br>
Pass <code>?class=<i><b>form.Button</b></i></code> in the query string to change the widget class.
<h3 id="results"></h3>
<div id="buttonContainer" class='box'></div>
<br>
<script type="text/javascript">
// See if we can make a widget in script and attach it to the DOM ourselves.
var constructor = dojo.getObject("dijit."+className);
function makeEm(){
var container = dojo.byId("buttonContainer");
var t0 = new Date().getTime();
for (var i = 1; i <= count; i++) {
var it =
new constructor(
{label:"Button "+i, onclick:'logMessage("clicked simple")'}
);
container.appendChild(it.domNode);
it.domNode.style.display = '';
}
var t1 = new Date().getTime();
dojo.byId("results").innerHTML = "It took " + (t1 - t0) + " msec to create " + count + " "+className+" instances programmatically.";
}
dojo.addOnLoad(makeEm);
</script>
</body>
</html>

View File

@@ -0,0 +1,75 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>PROGRAMMATIC - Dojo Button 100 Test</title>
<script type="text/javascript" src="../../dojo/dojo.js" XdjConfig='isDebug: true, debugAtAllCosts: true'></script>
<script type="text/javascript">
dojo.require("dijit.form.Button");
dojo.require("dojo.parser");
logMessage = window.alert;
</script>
<style>
@import "../themes/tundra/tundra.css";
/* group multiple buttons in a row */
.box {
display: block;
text-align: center;
}
.box .dojoButton {
width:80px;
margin-right: 10px;
}
.dojoButtonContents {
font-size: 1.6em;
}
#buttonContainer {
border:1px solid black;
width:100%;
}
#results {
color:darkred;
}
</style>
</head>
<body class=tundra>
<h2>Creating dojot.form.buttons programmatically</h2>
<h3 id="results"></h3>
<div id="buttonContainer" class='box'></div>
<br>
Pass "?count=<i><b>n</b></i>" in the query string to change the number of buttons.
<script type="text/javascript">
// See if we can make a widget in script and attach it to the DOM ourselves.
function makeEm() {
var queryCount = location.search.match(/count=(\d*)/);
var count = (queryCount ? parseInt(queryCount[1]) : 100);
var container = dojo.byId("buttonContainer");
var t0 = new Date().getTime();
for (var i = 1; i <= count; i++) {
var it =
new dijit.form.Button(
{label:"Button "+i, onclick:'logMessage("clicked simple")'}
);
container.appendChild(it.domNode);
it.domNode.style.display = '';
}
var t1 = new Date().getTime();
dojo.byId("results").innerHTML = "It took " + (t1 - t0) + " msec to create " + count + " Buttons programmatically.";
}
dojo.addOnLoad(makeEm);
</script>
</body>
</html>

View File

@@ -0,0 +1,66 @@
<html>
<style>
th { vertical-align:bottom; }
td {
padding:10px;
text-align:right;
}
.computer { vertical-align:top; }
</style>
<body>
<h3>Widget instantiation timing test results</h3>
<table>
<tr><th rowspan=2>Computer/OS</th><th rowspan=2>Browser</th><th colspan=3>Parsing</th><th colspan=3>Programmatic</th></tr>
<tr> <th>100</th><th>500</th><th>1000</th><th>100</th><th>500</th><th>1000</th></tr>
<tr><td class='computer' rowspan=3>MacBook Pro 2.16<br> OS 10.4 2GB RAM</td>
<td>FF (2.0.0.3)</td>
<td>303</td><td>1724</td><td>3505</td>
<td>195</td><td>1006</td><td>2266</td>
</tr>
<tr><td>Safari (2.04)</td>
<td>192</td><td>1460</td><td>4463</td>
<td>142</td><td>895</td><td>2403</td>
</tr>
<tr><td>WebKit Nightly (21223)</td>
<td>110</td><td>540</td><td>1096</td>
<td>85</td><td>458</td><td>940</td>
</tr>
<tr><td class='computer' rowspan=2>Dell Precision 2.13 PPro<br> XP SP 2 - 2GB RAM</td>
<td>FF (2.0.0.3)</td>
<td>282</td><td>1266</td><td>2484</td>
<td>250</td><td>890</td><td>1766</td>
</tr>
<tr>
<td>IE7 (7.0.5730.11)</td>
<td>303</td><td>2079</td><td>5172</td>
<td>203</td><td>1140</td><td>2422</td>
</tr>
<tr><td><!--browser--></td>
<td><!--100 parse--></td><td><!--500 parse--></td><td><!--1000 parse--></td>
<td><!--100 code--></td><td><!--500 code--></td><td><!--1000 code--></td>
</tr>
</table>
<H3>If you want to play:</H3>
<p></p>
<ol>
<li> Run the following tests:
<ul>
<li><a href='http://dojotoolkit.org/~owen/bench/dojo/dijit/bench/test_Button-parse.php?count=100'>http://dojotoolkit.org/~owen/bench/dojo/dijit/bench/test_Button-parse.php?count=100</a></li>
<li><a href='http://dojotoolkit.org/~owen/bench/dojo/dijit/bench/test_Button-programmatic.html?count=100'>http://dojotoolkit.org/~owen/bench/dojo/dijit/bench/test_Button-programmatic.html?count=100</a></li>
</ul>
<br>
Change the "count=" to 100, 500, 1000 for each.
<br><br>
Restart the browser between each test/count. Run each test 3 times and record the smallest number.
</li>
<li>Record your tests in the copy of this file in SVN: <code>dijit/bench/test_Button-results.html</code> and check it in. Reference ticket #2968.</li>
</ol>
</body>

View File

@@ -0,0 +1,186 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>test of various synchronous page searching methods</title>
<style type="text/css">
@import "../../dojo/resources/dojo.css";
@import "../themes/tundra/tundra.css";
</style>
<script type="text/javascript" src="../../dojo/dojo.js"
djConfig="parseOnLoad: true, isDebug: true"></script>
<script type="text/javascript">
dojo.require("dojo.parser"); // scan page for widgets and instantiate them
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");
/* dummy widget for benchmarking purposes */
dojo.declare(
"SimpleButton",
[ dijit._Widget, dijit._Templated ],
function(){ },
{
label: "",
templateString: "<button dojoAttachEvent='onclick:onClick'>${label}</button>",
onClick: function(){
this.domNode.style.backgroundColor="green";
},
postCreate: function(){
}
}
);
</script>
</head>
<body>
<h1 style="font-size: 40px; line-height: 50px;">This page contains a huge number of nodes, most of which are "chaff".</h1>
<h3>Here's the relative timings for this page</h3>
<div id="profileOutputTable"></div>
<!--
<h3>And some comparison data</h3>
<table border=1>
<thead>
<tr>
<th>IE
<th>Safari
<th>Gecko (on PC)
<th>Gecko (on intel mac)
</tr>
</thead>
<tbody>
<tr>
<td>4890
<td>3242
<td>3094
<td>3782
</tr>
</tbody>
</table>
-->
<?
$containerDepth = 30;
$leadingChaff = 100;
$trailingChaff = 100;
$items = 100;
?>
<?
function generateChaff($iters){
for($i=0;$i<$iters;$i++){ ?>
<pre class="highlighted"><code><span class="hl-reserved">var </span><span class="hl-identifier">dlg</span><span class="hl-default"> = </span><span class="hl-reserved">new </span><span class="hl-identifier">blah</span><span class="hl-default">.</span><span class="hl-identifier">ext</span><span class="hl-default">.</span><span class="hl-identifier">LayoutDialog</span><span class="hl-brackets">(</span><span class="hl-identifier">config</span><span class="hl-code">.</span><span class="hl-identifier">id</span><span class="hl-code"> || </span><span class="hl-identifier">blah</span><span class="hl-code">.</span><span class="hl-identifier">util</span><span class="hl-code">.</span><span class="hl-identifier">Dom</span><span class="hl-code">.</span><span class="hl-identifier">generateId</span><span class="hl-brackets">()</span><span class="hl-code">, </span><span class="hl-brackets">{
</span><span title="autoCreate" class="hl-identifier">autoCreate</span><span class="hl-code"> : </span><span class="hl-reserved">true</span><span class="hl-code">,
</span><span title="minWidth" class="hl-identifier">minWidth</span><span class="hl-code">:</span><span class="hl-number">400</span><span class="hl-code">,
</span><span title="minHeight" class="hl-identifier">minHeight</span><span class="hl-code">:</span><span class="hl-number">300</span><span class="hl-code">,
</span>
<span title="syncHeightBeforeShow" class="hl-identifier">syncHeightBeforeShow</span><span class="hl-code">: </span><span class="hl-reserved">true</span><span class="hl-code">,
</span><span title="shadow" class="hl-identifier">shadow</span><span class="hl-code">:</span><span class="hl-reserved">true</span><span class="hl-code">,
</span><span title="fixedcenter" class="hl-identifier">fixedcenter</span><span class="hl-code">: </span><span class="hl-reserved">true</span><span class="hl-code">,
</span><span title="center" class="hl-identifier">center</span><span class="hl-code">:</span><span class="hl-brackets">{</span><span class="hl-identifier">autoScroll</span><span class="hl-code">:</span><span class="hl-reserved">false</span><span class="hl-brackets">}</span><span class="hl-code">,
</span><span title="east" class="hl-identifier">east</span><span class="hl-code">:</span><span class="hl-brackets">{</span><span class="hl-identifier">split</span><span class="hl-code">:</span><span class="hl-reserved">true</span><span class="hl-code">,</span><span class="hl-identifier">initialSize</span><span class="hl-code">:</span><span class="hl-number">150</span><span class="hl-code">,</span><span class="hl-identifier">minSize</span><span class="hl-code">:</span><span class="hl-number">150</span><span class="hl-code">,</span><span class="hl-identifier">maxSize</span><span class="hl-code">:</span><span class="hl-number">250</span><span class="hl-brackets">}
})</span><span class="hl-default">;
</span><span class="hl-identifier">dlg</span><span class="hl-default">.</span><span class="hl-identifier">setTitle</span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">Choose an Image</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-default">;
</span><span class="hl-identifier">dlg</span><span class="hl-default">.</span><span class="hl-identifier">getEl</span><span class="hl-brackets">()</span><span class="hl-default">.</span><span class="hl-identifier">addClass</span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">ychooser-dlg</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-default">;</span></code></pre><br />
<pre class="highlighted"><code><span class="hl-reserved">var </span><span class="hl-identifier">animated</span><span class="hl-default"> = </span><span class="hl-reserved">new </span><span class="hl-identifier">blah</span><span class="hl-default">.</span><span class="hl-identifier">ext</span><span class="hl-default">.</span><span class="hl-identifier">Resizable</span><span class="hl-brackets">(</span><span class="hl-quotes">'</span><span class="hl-string">animated</span><span class="hl-quotes">'</span><span class="hl-code">, </span><span class="hl-brackets">{
</span><span title="east" class="hl-identifier">width</span><span class="hl-code">: </span><span class="hl-number">200</span><span class="hl-code">,
</span><span title="east" class="hl-identifier">height</span><span class="hl-code">: </span><span class="hl-number">100</span><span class="hl-code">,
</span><span title="east" class="hl-identifier">minWidth</span><span class="hl-code">:</span><span class="hl-number">100</span><span class="hl-code">,
</span><span class="hl-identifier">minHeight</span><span class="hl-code">:</span><span class="hl-number">50</span><span class="hl-code">,
</span><span class="hl-identifier">animate</span><span class="hl-code">:</span><span class="hl-reserved">true</span><span class="hl-code">,
</span><span class="hl-identifier">easing</span><span class="hl-code">: </span><span class="hl-identifier">YAHOO</span><span class="hl-code">.</span><span class="hl-identifier">util</span><span class="hl-code">.</span><span class="hl-identifier">Easing</span><span class="hl-code">.</span><span class="hl-identifier">backIn</span><span class="hl-code">,
</span><span class="hl-identifier">duration</span><span class="hl-code">:</span><span class="hl-number">.6
</span><span class="hl-brackets">})</span><span class="hl-default">;</span></code></pre>
<h4>The standard Lorem Ipsum passage, used since the 1500s</h4>
<p>
"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum."
</p>
<h4>Section 1.10.32 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC</h4>
<p>
"Sed ut perspiciatis unde omnis iste natus error sit voluptatem
accusantium doloremque laudantium, totam rem aperiam, eaque ipsa
quae ab illo inventore veritatis et quasi architecto beatae vitae
dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit
aspernatur aut odit aut fugit, sed quia consequuntur magni dolores
eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam
est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci
velit, sed quia non numquam eius modi tempora incidunt ut labore et
dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam,
quis nostrum exercitationem ullam corporis suscipit laboriosam,
nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure
reprehenderit qui in ea voluptate velit esse quam nihil molestiae
consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla
pariatur?"
</p>
<h4>1914 translation by H. Rackham</h4>
<p>
"But I must explain to you how all this mistaken idea of denouncing
pleasure and praising pain was born and I will give you a complete
account of the system, and expound the actual teachings of the
great explorer of the truth, the master-builder of human happiness.
No one rejects, dislikes, or avoids pleasure itself, because it is
pleasure, but because those who do not know how to pursue pleasure
rationally encounter consequences that are extremely painful. Nor
again is there anyone who loves or pursues or desires to obtain
pain of itself, because it is pain, but because occasionally
circumstances occur in which toil and pain can procure him some
great pleasure. To take a trivial example, which of us ever
undertakes laborious physical exercise, except to obtain some
advantage from it? But who has any right to find fault with a man
who chooses to enjoy a pleasure that has no annoying consequences,
or one who avoids a pain that produces no resultant pleasure?"
</p>
<? }
} // end generateChaff
$widgetName = "SimpleButton";
?>
<? generateChaff($leadingChaff); ?>
<hr>
<? for($i=0;$i<$containerDepth;$i++){ ?>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<!--
<table>
-->
<tr>
<td>
<br>
chaff!
<br>
<? } ?>
<? for($i=0;$i<$items;$i++){ ?>
<div dojoType="<?= $widgetName ?>" label="item2 <?= $i ?>">item2 <?= $i ?></div>
<? } ?>
<? for($i=0;$i<$containerDepth;$i++){ ?>
</td>
</tr>
</table>
<? } ?>
<? generateChaff($trailingChaff); ?>
<? for($i=0;$i<$items;$i++){ ?>
<div dojoType="<?= $widgetName ?>" label="item2 <?= $i ?>"><span>item <?= $i ?></span></div>
<? } ?>
<script type="text/javascript">
oldTime = new Date();
dojo.addOnLoad(function(){
var time = new Date().getTime() - oldTime;
var p = document.createElement("p");
alert("Widgets loaded in " + time + "ms");
});
</script>
</body>
</html>

View File

@@ -0,0 +1,93 @@
Changes from Dojo 0.4 dojo.widgets to new dijit project
=======================================================
The widgets and widget infrastructure have been separated into separate project,
vastly streamlined and with a new directory structure. There are many other changes.
Markup
------
dojoType="button" replaced by dojoType="dijit.Button" Must use fully qualified class name,
and it's case-sensitive.
Need to manually dojo.require("dojo.parser") to get parsing
Widget namespaces and widget auto-loading are desupported.
onClick="foo" now overrides (ie, replaces) the default onClick() function rather than attaching to it,
so widget designers should make empty onClick() functions (when appropriate).
Programmatic creation
---------------------
Create widgets via
new dijit.Button(params, srcNodeRef)
createWidget() call removed since multiple renderers are no longer supported (see next section).
At least for the dijit widgets, all widgets are guaranteed to work programmatically, which in
effect means that all widgets must have templates, unless the default <div> works.
Renderers
---------
Removed support for multiple renderers (svg & vml & a11y) for a single widget.
If a widget wants to render differently on different platforms, there must be
branching code inside the widget, or it needs to call a library that branches
based on the browser type (like dojo.gfx or dojo.charting).
Templates
---------
"this." is no longer used within ${} substitution notation. See ticket #2905.
dojoRoot,buildScriptBase,dojoModuleUrl are no longer supported, but
any JavaScript properties on the widget's 'this' may be referenced with dotted notation.
The attributes dojoOn* are desupported (including dojoOnBuild);
also can't use id attribute to affect a dojoAttachPoint.
dojoAttachEvent is case sensitive, so capitalization matters. You will probably have
to change
dojoAttachEvent="onClick"
to
dojoAttachEvent="onclick: onClick"
(given that the event name is lowercase, and assuming that the method name is camel case)
lists within dojoAttachPoint, dojoAttachEvent, waiRole, and waiState are now comma-separated
(not separated by semi-colons)
Standard HTML attributes like 'id', 'name', 'lang', etc. are carried over programmatically
by the _Widget constructor and do not need to be declared in the template (see _Widget.attributeMap)
Parent/Child relationships
--------------------------
By default widgets exist as islands, not knowing about their parent widget or children widgets.
The exception is the destroy() function which will also delete all descendant widgets.
Some widgets like Tree and SplitContainer will know about their children, but those widgets
will use the special mixins in Container.js / Layout.js.
Widget.js base class
--------------------
- Widget.js, Domwidget.js, HtmlWidget.js combined into dijit.base.Widget, with TemplatedWidget mixin
for widgets with templates
- on widget creation, postMixInProperties(), buildRendering() and postCreate() is called.
fillInTemplate() is no longer called. In addition, those functions call signatures have changed.
No arguments are passed. To get the source dom Node, just reference this.srcDomNode.
When postCreate() is called the widget children don't yet exist.
- The TemplatedWidget mixin defines buildRendering(). widgetsInTemplate not ported yet.
- onResized() removed
- the whole parent/child relationship thing is gone
- extraArgs[] is gone
- postCreate() called but child widgets don't exist yet
- templateCssPath ignored. User must manually include tundra.css file

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit.dijit-all"]){dojo._hasResource["dijit.dijit-all"]=true;console.warn("dijit-all may include much more code than your application actually requires. We strongly recommend that you investigate a custom build or the web build tool");dojo.provide("dijit.dijit-all");dojo.require("dijit.dijit");dojo.require("dijit.ColorPalette");dojo.require("dijit.Declaration");dojo.require("dijit.Dialog");dojo.require("dijit.Editor");dojo.require("dijit.Menu");dojo.require("dijit.ProgressBar");dojo.require("dijit.TitlePane");dojo.require("dijit.Toolbar");dojo.require("dijit.Tooltip");dojo.require("dijit.Tree");dojo.require("dijit.InlineEditBox");dojo.require("dijit.form.Button");dojo.require("dijit.form.CheckBox");dojo.require("dijit.form.ComboBox");dojo.require("dijit.form.CurrencyTextBox");dojo.require("dijit.form.DateTextBox");dojo.require("dijit.form.FilteringSelect");dojo.require("dijit.form.NumberSpinner");dojo.require("dijit.form.NumberTextBox");dojo.require("dijit.form.Slider");dojo.require("dijit.form.Textarea");dojo.require("dijit.form.TextBox");dojo.require("dijit.form.ValidationTextBox");dojo.require("dijit.form._FormWidget");dojo.require("dijit.form._Spinner");dojo.require("dijit.layout.AccordionContainer");dojo.require("dijit.layout.ContentPane");dojo.require("dijit.layout.BorderContainer");dojo.require("dijit.layout.LayoutContainer");dojo.require("dijit.layout.LinkPane");dojo.require("dijit.layout.SplitContainer");dojo.require("dijit.layout.StackContainer");dojo.require("dijit.layout.TabContainer");dojo.require("dijit.layout._LayoutWidget");}

View File

@@ -0,0 +1,12 @@
/*
Copyright (c) 2004-2008, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/book/dojo-book-0-9/introduction/licensing
*/
if(!dojo._hasResource["dijit.dijit"]){dojo._hasResource["dijit.dijit"]=true;dojo.provide("dijit.dijit");dojo.require("dijit._base");dojo.require("dojo.parser");dojo.require("dijit._Widget");dojo.require("dijit._Templated");dojo.require("dijit._Container");dojo.require("dijit.layout._LayoutWidget");dojo.require("dijit.form._FormWidget");}

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More