From e6450000eca305b34ef5a14b7f2676c7ab241758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Thu, 21 Jun 2007 09:33:06 +0000 Subject: [PATCH] Datumsfelder haben nun einen Datepicker --- content/bindings.xml.php | 94 ++++- content/datepicker/calendar.png | Bin 0 -> 3533 bytes content/datepicker/date.png | Bin 0 -> 3637 bytes content/datepicker/datepicker.css | 254 ++++++++++++ content/datepicker/datepicker.xml | 366 ++++++++++++++++++ content/datepicker/navigation.png | Bin 0 -> 3620 bytes content/fas.xul.php | 2 +- content/student/studentdetailoverlay.xul.php | 6 +- content/student/studentkontoneudialog.xul.php | 5 +- 9 files changed, 706 insertions(+), 21 deletions(-) create mode 100644 content/datepicker/calendar.png create mode 100644 content/datepicker/date.png create mode 100644 content/datepicker/datepicker.css create mode 100644 content/datepicker/datepicker.xml create mode 100644 content/datepicker/navigation.png diff --git a/content/bindings.xml.php b/content/bindings.xml.php index b7c4690f9..f67959b8f 100644 --- a/content/bindings.xml.php +++ b/content/bindings.xml.php @@ -1,5 +1,24 @@ , + * Andreas Oesterreicher and + * Rudolf Hangl . + */ header("Content-type: application/vnd.mozilla.xul+xml"); echo ''; ?> @@ -9,51 +28,96 @@ xmlns:html="http://www.w3.org/1999/xhtml" > + - + + + + + + + + + + - + - + + - + - document.getAnonymousNodes(this)[0].disabled = val; + diff --git a/content/datepicker/calendar.png b/content/datepicker/calendar.png new file mode 100644 index 0000000000000000000000000000000000000000..870f3f0fe7d20c2930114032a4d939f1ae176eea GIT binary patch literal 3533 zcmV;;4KnhHP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|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`(rmM`lhOo2?)6o;&J_=j-Kkn;>IpihUZ6eoGV$O9sZ%9!M@cJ#8089bdxhQmD_G?| zWG^lJ^)nyRJAIMOldq!6F1b~vFeIi*F;z-QXj~QJiViwHU@PpP!=Ao%eI6NxLGXCy zbz*l6BZ)AyW<+;!(*V0vqUwNIc9Dg|bX+0@&Bev)XP{QdTRlE*Pe+!D{$4%6S~ARU)n zDNFVVzqj&vDA&?1pt{9gzf$PP!|QJDF}KI7zRQJ%7&nI`zCWg|Fqs%S-p3s z+5C0+L2ItlOO}8(fCQqQhpjb7r_-Kov9Y$w-KC|?g&Xs&tJmglEd0^9>PN{Uunp*c zY7qdY;OKjAymlqe^X%Ghw}08~1b2WfAbT38=Kt&bcYhB6eRpao1EL`g00000NkvXX Hu0mjf$84s1 literal 0 HcmV?d00001 diff --git a/content/datepicker/date.png b/content/datepicker/date.png new file mode 100644 index 0000000000000000000000000000000000000000..3ba2057cd9d9ae2236ef2296c569d684668c74a2 GIT binary patch literal 3637 zcmV-54$AR~P)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH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w!7CxphG@ zxjG#R1lSU-0mAtKl-O*bYz@eXBBc3wWC9bQ%%v#pIf&=Huh(j|+OmHL07zG_4gW?8 zc_1(2>7IkgoH-387(`8PFYLZCJk`|+qM_lmH&nK?H1EW}sjjZtzL;2$A_w*p|Fhf3 z5I};R?PRSW5s?rQJ=I6zzA+-nS@J{w_ZN#fsyL)lYq4iGZEk+v-r&e>(4q3f_fh#~ zHzZ1p)#U`@6a{}|3jII+1UJLfaUB039EpTfkGI%lwYrAJMs8ZSR2ftt7{7HJ6Fxs! zmPKgtKAIej*l0AOwbhMnTV1O!?tWzl^|&C-aZADR@wJ-Gl^t>}19p-{Utd3TdOcd* z3|`o^Q`u-Tg@#A2|NP}w-<*ssE{0Wj0^6D9W3RTio!GzcKsnC|h|Wj<9J_gI@Y3Zg zXQ!s7eE@{@Z^Zwg({0$&*7kBYm*$p6M}PlSDHN8TwD;Eln}LSv=X)ys00000NkvXX Hu0mjfxOvvb literal 0 HcmV?d00001 diff --git a/content/datepicker/datepicker.css b/content/datepicker/datepicker.css new file mode 100644 index 000000000..9d1036ccc --- /dev/null +++ b/content/datepicker/datepicker.css @@ -0,0 +1,254 @@ +/* ::::: datepicker ::::: */ +/* :::: declarations :::: */ +@IMPORT url("../spinbutton/spinbutton.css"); +datepicker {-moz-binding: url("datepicker.xml#datepicker");} +datepicker-month {-moz-binding: url("datepicker.xml#datepicker-month");} +datepicker-year {-moz-binding: url("datepicker.xml#datepicker-year");} +datepicker-day {-moz-binding: url("datepicker.xml#datepicker-day");} +datepicker-calendar {-moz-binding: url("datepicker.xml#datepicker-calendar");} +datepicker-view {-moz-binding: url("datepicker.xml#datepicker-view");} +datepicker-button {-moz-binding: url("datepicker.xml#datepicker-button");} + +/* :::: public style :::: */ +datepicker { + font-family:monospace, cursive, serif, sans-serif; + font-size:12px; +} +/* partie centrale */ +datepicker-calendar { + background-color:#E0EAFC; + color:black; +} +/* affichage des mois */ +datepicker-month { + color:black; +} +/* affichage des années */ +datepicker-year { + color:black; +} +/* afichage des jours */ +datepicker-day { + color:black; +} +/* buttons pour revenir au mois courant */ +datepicker-button.today { + list-style-image:url(date.png); +/* list-style-image:url(calendar.png); */ +} + +/* buttons pour changer de mois */ +datepicker-button.previous-month { +/* list-style-image:url(chrome://browser/skin/Toolbar-small.png); */ + list-style-image:url(navigation.png); + -moz-image-region:rect(0px 16px 16px 0px); +} +datepicker-button.next-month { +/* list-style-image:url(chrome://browser/skin/Toolbar-small.png); */ + list-style-image:url(navigation.png); + -moz-image-region:rect(0px 32px 16px 16px); +} + +/* jour selectionné */ +datepicker-calendar[isyear][ismonth][currentday="1"] datepicker-day[value="1"], +datepicker-calendar[isyear][ismonth][currentday="2"] datepicker-day[value="2"], +datepicker-calendar[isyear][ismonth][currentday="3"] datepicker-day[value="3"], +datepicker-calendar[isyear][ismonth][currentday="4"] datepicker-day[value="4"], +datepicker-calendar[isyear][ismonth][currentday="5"] datepicker-day[value="5"], +datepicker-calendar[isyear][ismonth][currentday="6"] datepicker-day[value="6"], +datepicker-calendar[isyear][ismonth][currentday="7"] datepicker-day[value="7"], +datepicker-calendar[isyear][ismonth][currentday="8"] datepicker-day[value="8"], +datepicker-calendar[isyear][ismonth][currentday="9"] datepicker-day[value="9"], +datepicker-calendar[isyear][ismonth][currentday="10"] datepicker-day[value="10"], +datepicker-calendar[isyear][ismonth][currentday="11"] datepicker-day[value="11"], +datepicker-calendar[isyear][ismonth][currentday="12"] datepicker-day[value="12"], +datepicker-calendar[isyear][ismonth][currentday="13"] datepicker-day[value="13"], +datepicker-calendar[isyear][ismonth][currentday="14"] datepicker-day[value="14"], +datepicker-calendar[isyear][ismonth][currentday="15"] datepicker-day[value="15"], +datepicker-calendar[isyear][ismonth][currentday="16"] datepicker-day[value="16"], +datepicker-calendar[isyear][ismonth][currentday="17"] datepicker-day[value="17"], +datepicker-calendar[isyear][ismonth][currentday="18"] datepicker-day[value="18"], +datepicker-calendar[isyear][ismonth][currentday="19"] datepicker-day[value="19"], +datepicker-calendar[isyear][ismonth][currentday="20"] datepicker-day[value="20"], +datepicker-calendar[isyear][ismonth][currentday="21"] datepicker-day[value="21"], +datepicker-calendar[isyear][ismonth][currentday="22"] datepicker-day[value="22"], +datepicker-calendar[isyear][ismonth][currentday="23"] datepicker-day[value="23"], +datepicker-calendar[isyear][ismonth][currentday="24"] datepicker-day[value="24"], +datepicker-calendar[isyear][ismonth][currentday="25"] datepicker-day[value="25"], +datepicker-calendar[isyear][ismonth][currentday="26"] datepicker-day[value="26"], +datepicker-calendar[isyear][ismonth][currentday="27"] datepicker-day[value="27"], +datepicker-calendar[isyear][ismonth][currentday="28"] datepicker-day[value="28"], +datepicker-calendar[isyear][ismonth][currentday="29"] datepicker-day[value="29"], +datepicker-calendar[isyear][ismonth][currentday="30"] datepicker-day[value="30"], +datepicker-calendar[isyear][ismonth][currentday="31"] datepicker-day[value="31"] { + color:white; + background-color:#005B90; +} +/* survol d'une date */ +datepicker-day:hover[value="1"], datepicker-day:hover[value="2"], datepicker-day:hover[value="3"], datepicker-day:hover[value="4"], datepicker-day:hover[value="5"], datepicker-day:hover[value="6"], datepicker-day:hover[value="7"], +datepicker-day:hover[value="8"], datepicker-day:hover[value="9"], datepicker-day:hover[value="10"], datepicker-day:hover[value="11"], datepicker-day:hover[value="12"], datepicker-day:hover[value="13"], datepicker-day:hover[value="14"], +datepicker-day:hover[value="15"], datepicker-day:hover[value="16"], datepicker-day:hover[value="17"], datepicker-day:hover[value="18"], datepicker-day:hover[value="19"], datepicker-day:hover[value="20"], datepicker-day:hover[value="21"], +datepicker-day:hover[value="22"], datepicker-day:hover[value="23"], datepicker-day:hover[value="24"], datepicker-day:hover[value="25"], datepicker-day:hover[value="26"], datepicker-day:hover[value="27"], datepicker-day:hover[value="28"], +datepicker-day:hover[value="29"], datepicker-day:hover[value="30"], datepicker-day:hover[value="31"] { + border:solid 1px lightcoral; + cursor:pointer; +} +/* jour d'aujourd'hui */ +datepicker-view[isyear][ismonth][today="1"] datepicker-day[value="1"], +datepicker-view[isyear][ismonth][today="2"] datepicker-day[value="2"], +datepicker-view[isyear][ismonth][today="3"] datepicker-day[value="3"], +datepicker-view[isyear][ismonth][today="4"] datepicker-day[value="4"], +datepicker-view[isyear][ismonth][today="5"] datepicker-day[value="5"], +datepicker-view[isyear][ismonth][today="6"] datepicker-day[value="6"], +datepicker-view[isyear][ismonth][today="7"] datepicker-day[value="7"], +datepicker-view[isyear][ismonth][today="8"] datepicker-day[value="8"], +datepicker-view[isyear][ismonth][today="9"] datepicker-day[value="9"], +datepicker-view[isyear][ismonth][today="10"] datepicker-day[value="10"], +datepicker-view[isyear][ismonth][today="11"] datepicker-day[value="11"], +datepicker-view[isyear][ismonth][today="12"] datepicker-day[value="12"], +datepicker-view[isyear][ismonth][today="13"] datepicker-day[value="13"], +datepicker-view[isyear][ismonth][today="14"] datepicker-day[value="14"], +datepicker-view[isyear][ismonth][today="15"] datepicker-day[value="15"], +datepicker-view[isyear][ismonth][today="16"] datepicker-day[value="16"], +datepicker-view[isyear][ismonth][today="17"] datepicker-day[value="17"], +datepicker-view[isyear][ismonth][today="18"] datepicker-day[value="18"], +datepicker-view[isyear][ismonth][today="19"] datepicker-day[value="19"], +datepicker-view[isyear][ismonth][today="20"] datepicker-day[value="20"], +datepicker-view[isyear][ismonth][today="21"] datepicker-day[value="21"], +datepicker-view[isyear][ismonth][today="22"] datepicker-day[value="22"], +datepicker-view[isyear][ismonth][today="23"] datepicker-day[value="23"], +datepicker-view[isyear][ismonth][today="24"] datepicker-day[value="24"], +datepicker-view[isyear][ismonth][today="25"] datepicker-day[value="25"], +datepicker-view[isyear][ismonth][today="26"] datepicker-day[value="26"], +datepicker-view[isyear][ismonth][today="27"] datepicker-day[value="27"], +datepicker-view[isyear][ismonth][today="28"] datepicker-day[value="28"], +datepicker-view[isyear][ismonth][today="29"] datepicker-day[value="29"], +datepicker-view[isyear][ismonth][today="30"] datepicker-day[value="30"], +datepicker-view[isyear][ismonth][today="31"] datepicker-day[value="31"] { + color:#E85C0B; +} +/* jour d'aujourd'hui selectionné */ +datepicker-view[isyear][ismonth][today="1"] datepicker-calendar[isyear][ismonth][currentday="1"] datepicker-day[value="1"], +datepicker-view[isyear][ismonth][today="2"] datepicker-calendar[isyear][ismonth][currentday="2"] datepicker-day[value="2"], +datepicker-view[isyear][ismonth][today="3"] datepicker-calendar[isyear][ismonth][currentday="3"] datepicker-day[value="3"], +datepicker-view[isyear][ismonth][today="4"] datepicker-calendar[isyear][ismonth][currentday="4"] datepicker-day[value="4"], +datepicker-view[isyear][ismonth][today="5"] datepicker-calendar[isyear][ismonth][currentday="5"] datepicker-day[value="5"], +datepicker-view[isyear][ismonth][today="6"] datepicker-calendar[isyear][ismonth][currentday="6"] datepicker-day[value="6"], +datepicker-view[isyear][ismonth][today="7"] datepicker-calendar[isyear][ismonth][currentday="7"] datepicker-day[value="7"], +datepicker-view[isyear][ismonth][today="8"] datepicker-calendar[isyear][ismonth][currentday="8"] datepicker-day[value="8"], +datepicker-view[isyear][ismonth][today="9"] datepicker-calendar[isyear][ismonth][currentday="9"] datepicker-day[value="9"], +datepicker-view[isyear][ismonth][today="10"] datepicker-calendar[isyear][ismonth][currentday="10"] datepicker-day[value="10"], +datepicker-view[isyear][ismonth][today="11"] datepicker-calendar[isyear][ismonth][currentday="11"] datepicker-day[value="11"], +datepicker-view[isyear][ismonth][today="12"] datepicker-calendar[isyear][ismonth][currentday="12"] datepicker-day[value="12"], +datepicker-view[isyear][ismonth][today="13"] datepicker-calendar[isyear][ismonth][currentday="13"] datepicker-day[value="13"], +datepicker-view[isyear][ismonth][today="14"] datepicker-calendar[isyear][ismonth][currentday="14"] datepicker-day[value="14"], +datepicker-view[isyear][ismonth][today="15"] datepicker-calendar[isyear][ismonth][currentday="15"] datepicker-day[value="15"], +datepicker-view[isyear][ismonth][today="16"] datepicker-calendar[isyear][ismonth][currentday="16"] datepicker-day[value="16"], +datepicker-view[isyear][ismonth][today="17"] datepicker-calendar[isyear][ismonth][currentday="17"] datepicker-day[value="17"], +datepicker-view[isyear][ismonth][today="18"] datepicker-calendar[isyear][ismonth][currentday="18"] datepicker-day[value="18"], +datepicker-view[isyear][ismonth][today="19"] datepicker-calendar[isyear][ismonth][currentday="19"] datepicker-day[value="19"], +datepicker-view[isyear][ismonth][today="20"] datepicker-calendar[isyear][ismonth][currentday="20"] datepicker-day[value="20"], +datepicker-view[isyear][ismonth][today="21"] datepicker-calendar[isyear][ismonth][currentday="21"] datepicker-day[value="21"], +datepicker-view[isyear][ismonth][today="22"] datepicker-calendar[isyear][ismonth][currentday="22"] datepicker-day[value="22"], +datepicker-view[isyear][ismonth][today="23"] datepicker-calendar[isyear][ismonth][currentday="23"] datepicker-day[value="23"], +datepicker-view[isyear][ismonth][today="24"] datepicker-calendar[isyear][ismonth][currentday="24"] datepicker-day[value="24"], +datepicker-view[isyear][ismonth][today="25"] datepicker-calendar[isyear][ismonth][currentday="25"] datepicker-day[value="25"], +datepicker-view[isyear][ismonth][today="26"] datepicker-calendar[isyear][ismonth][currentday="26"] datepicker-day[value="26"], +datepicker-view[isyear][ismonth][today="27"] datepicker-calendar[isyear][ismonth][currentday="27"] datepicker-day[value="27"], +datepicker-view[isyear][ismonth][today="28"] datepicker-calendar[isyear][ismonth][currentday="28"] datepicker-day[value="28"], +datepicker-view[isyear][ismonth][today="29"] datepicker-calendar[isyear][ismonth][currentday="29"] datepicker-day[value="29"], +datepicker-view[isyear][ismonth][today="30"] datepicker-calendar[isyear][ismonth][currentday="30"] datepicker-day[value="30"], +datepicker-view[isyear][ismonth][today="31"] datepicker-calendar[isyear][ismonth][currentday="31"] datepicker-day[value="31"] { + color:yellow; + background-color:#005B90; +} + + +/* moi courant */ +datepicker-view[isyear][ismonth] datepicker-month { + font-weight:bold; +} +/* année courante */ +datepicker-view[isyear] datepicker-year { + font-weight:bold; +} +/* colonne des dimanches */ +datepicker columns column:first-child { + background-color:gainsboro; + border-right:solid gray 1px; +} +/* colonne des lundi */ +datepicker columns column:first-child + column { +} +/* colonne des mardis */ +datepicker columns column:first-child + column + column { +} +/* colonne des mercredis */ +datepicker columns column:first-child + column + column + column { +} +/* colonne des jeudis */ +datepicker columns column:first-child + column + column + column + column { +} +/* colonne des vendredi */ +datepicker columns column:first-child + column + column + column + column + column { +} +/* colonne des samedis */ +datepicker columns column:first-child + column + column + column + column + column + column { + border-left:solid gray 1px; +} +/* affichage des jours */ +rows[anonid="datepicker-rows"] row:first-child { + font-weight:bold; + background-color:linen; + color:#005B90; +} + +/* :::: private style :::: */ +datepicker-button { + background-color:transparent; + -moz-appearance:toolbarbutton; + padding:3px; + -moz-box-pack:center; + -moz-box-align:center; + opacity:1.0 !important; +} + +datepicker { + margin:0px; + padding:0px; + text-align:center; + cursor:default; +} +datepicker-month { + text-align:right; + width:65px; + display:none; +} +datepicker-day { + border:solid 1px transparent; +} +rows[anonid="datepicker-rows"] row:first-child { + border-bottom:solid gray 1px; + height:25px; + padding-top:3px; +} +/* mois affiché */ +datepicker-view[currentmonth="0"] spacer:first-child + datepicker-month, +datepicker-view[currentmonth="1"] spacer:first-child + datepicker-month + datepicker-month, +datepicker-view[currentmonth="2"] spacer:first-child + datepicker-month + datepicker-month + datepicker-month, +datepicker-view[currentmonth="3"] spacer:first-child + datepicker-month + datepicker-month + datepicker-month + datepicker-month, +datepicker-view[currentmonth="4"] spacer:first-child + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month, +datepicker-view[currentmonth="5"] spacer:first-child + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month, +datepicker-view[currentmonth="6"] spacer:first-child + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month, +datepicker-view[currentmonth="7"] spacer:first-child + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month, +datepicker-view[currentmonth="8"] spacer:first-child + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month, +datepicker-view[currentmonth="9"] spacer:first-child + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month, +datepicker-view[currentmonth="10"] spacer:first-child + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month, +datepicker-view[currentmonth="11"] spacer:first-child + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month + datepicker-month { + display:-moz-box; +} + + + + + diff --git a/content/datepicker/datepicker.xml b/content/datepicker/datepicker.xml new file mode 100644 index 000000000..6ee92d66a --- /dev/null +++ b/content/datepicker/datepicker.xml @@ -0,0 +1,366 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + null + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + null + + + + + + 11) {val = 0; this.currentYear++;} + if(val<0) {val = 11; this.currentYear--;} + this.setAttribute("currentmonth", val); + if(val==this.datepicker.view.currentMonth) this.setAttribute("ismonth", true); + else this.removeAttribute("ismonth"); + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 11) {val = 0; this.currentYear++;} + if(val<0) {val = 11; this.currentYear--;} + this.setAttribute("currentmonth", val); + this.datepicker.updateCalendar(); + if(val==today.getMonth()) this.setAttribute("ismonth", true); + else this.removeAttribute("ismonth"); + if(val==this.datepicker.selection.currentMonth) this.datepicker.selection.setAttribute("ismonth", true); + else this.datepicker.selection.removeAttribute("ismonth"); + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + null + 400 + + + + + + + + + + 50) this._delay = this._delay*0.8; + ]]> + + + + \ No newline at end of file diff --git a/content/datepicker/navigation.png b/content/datepicker/navigation.png new file mode 100644 index 0000000000000000000000000000000000000000..7a438e991beb50b02a72c61e68654738a3ca5f08 GIT binary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@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=00004XF*Lt006O$eEU(80000WV@Og>004R=004l4008;_004mL004C` z008P>0026e000+nl3&F}0009&Nkl9^BBgcQLzzg zEgD~%7Sp(4(N^7oOA`|pbmgC+c0sf&qlrmLH!f_VOJMy7;-y-p2ws*V(%#gxX8|y^e0f{}As7-DWok-S{Ejoz?C7iE7|wINNb7EX9@k z_H%nI^j(zQa$SdBHh{ZQ4SA*IkO5qOsNXiu#3q1T=+*5lUN!JCeE9tF(o%WV!uo&b zkAG~UIC8fOd^-B|=KE*ak9J~kzx?a6nJ&(vog^uxP2hEGfzSZ*`MbJ3(^d_<45$60 z<$PF-0US|GEX|m2ZvKQ7$0$)K0U_p-&JWU!TbQq`#5ap`B?UO*@NZ>>%Xi1o%Aqyo zk_2L)P+l;B=Wjx2fV%jZ;PrB`WFjF(5Moh$KmQxrNpjFpGzp{?I5>or!j`tLRhH~p zWf>(xDXMZM{|8DnS);e_t>j{ zo3;eBCNy$u(fwg2+BRQz)*pRP8^6QoIH|_$6!7MY4*ubciK`K>J+sQCYieEm+v$_m z+OhkNp*RTn>H zm&?OD`oIRnRS`Ln8(1$daX{|x}~p@NK&iDl#f0000loadVariables($user)) echo ''; echo ''; echo ''; +echo ''; ?> @@ -225,7 +226,6 @@ echo ''; - diff --git a/content/student/studentdetailoverlay.xul.php b/content/student/studentdetailoverlay.xul.php index ae7b94105..3af600021 100644 --- a/content/student/studentdetailoverlay.xul.php +++ b/content/student/studentdetailoverlay.xul.php @@ -358,7 +358,7 @@ echo '';