From 0904bd92532fbffe301dcafd49e000e39a41ad93 Mon Sep 17 00:00:00 2001 From: Matthew Dudley Date: Wed, 7 Oct 2015 11:30:34 -0600 Subject: [PATCH 01/18] First-Pass CSS Merge. Tabs have been replaced. I think git will take care of the CRs, so let's see --- admin.php | 11 +- ajax_htmldata.php | 2 +- css/style.css | 183 +++++++++++++++++++++++++-------- css/thickbox.css | 4 +- images/authpage.gif | Bin 7262 -> 6042 bytes images/authtitle.gif | Bin 6254 -> 4928 bytes images/bg-diagonal-stripes.png | Bin 0 -> 214 bytes images/bg-gray-texture.jpg | Bin 0 -> 44031 bytes images/favicon.ico | Bin 0 -> 1150 bytes images/login.gif | Bin 1417 -> 1487 bytes index.php | 7 +- 11 files changed, 154 insertions(+), 53 deletions(-) create mode 100644 images/bg-diagonal-stripes.png create mode 100644 images/bg-gray-texture.jpg create mode 100644 images/favicon.ico diff --git a/admin.php b/admin.php index 92ca9ce..a6f31bb 100644 --- a/admin.php +++ b/admin.php @@ -43,6 +43,7 @@ + @@ -56,24 +57,24 @@
-
+
-
+

-
Users
+
Users
* Login ID must match the login ID set up in the modules
-
+


Processing...
- + diff --git a/ajax_htmldata.php b/ajax_htmldata.php index 770798d..6ec2444 100644 --- a/ajax_htmldata.php +++ b/ajax_htmldata.php @@ -31,7 +31,7 @@ if (count($usersArray) > 0){ ?> - +
diff --git a/css/style.css b/css/style.css index 0225efc..8488d86 100644 --- a/css/style.css +++ b/css/style.css @@ -11,7 +11,9 @@ body { font-family: "arial"; font-size:0.99em; margin: 15px; - padding: 0 + padding: 0; + background-color: #f3f3f3; + background: #E7E8E8 url(../images/bg-gray-texture.jpg) repeat top left; } @@ -37,11 +39,21 @@ label{ input, select, multiple, textarea{ float: left; margin-top: 5px; + cursor: pointer; } +.submitButton { + color: #FFFFFF; + font-family: "Arial", sans-serif; + font-size: 11px; + font-weight: normal; + background: #1b76a9; + border: none; + padding: 5px 10px; + text-transform: capitalize; +} -.submitButton {color: #3D545D; font-family: "arial"; font-size: 95%; font-weight: medium;} textarea{ width: 250px; @@ -84,9 +96,21 @@ a.helpfulLink {color:#526972;} .smallerText{color:#3D545D;font-size:85%;} .redText{color:red} .smallRedText{font-size:85%;color:red;} -.darkRedText{color:#7a0026;} -.bigDarkRedText{font-size:125%; color:#7a0026;} -.smallDarkRedText{font-size:85%;color:#7a0026;} + +.darkRedText { + color: #CD0000; +} + +.bigDarkRedText { + font-size: 125%; + color: #CD0000; +} + +.smallDarkRedText { + font-size: 85%; + color: #CD0000; +} + .normalText{color:#3D545D} .smallBlueText{font-size:85%;font-weight:normal; color:#526972} .smallGreyText{font-size:85%;font-weight:normal; color:gray} @@ -105,13 +129,15 @@ select option { color: #3D545D; font-family: "arial"; font-size: 8pt; font-weigh div.formTitle { + width: auto !important; margin: 0; - padding: 2px 3px 2px 2px; + padding: 6px; border-width: 1px 0 0 0; border-style: solid; border-color: #e6e5e9; - background-color: #e9edf0; + background-color: #cad7e1; -moz-border-radius: 0px; + background: rgba(200, 200, 200, 0.5) url(../images/bg-diagonal-stripes.png) repeat top left !important; } @@ -131,6 +157,7 @@ table.surroundBox { border-collapse: collapse; border-spacing: 0; font-size:100%; + width: 100% !important; } table.surroundBox td { @@ -178,14 +205,14 @@ table.noBorder td { border:0; } div.bordered { -border-bottom: 1px solid #adc6de; -border-left: 1px solid #adc6de; -border-right: 1px solid #adc6de; -background: white; -margin:0px; -padding:0px; +border-bottom: 1px solid #5295ba ; +border-left: 1px solid #5295ba ; +border-right: 1px solid #5295ba ; +background: none; +margin: 0px; +padding: 0px; color: #3D545D; -border-spacing:0px; +border-spacing: 0px; } @@ -230,56 +257,126 @@ border-collapse: collapse; background: white; } +.adminRightHeader{font-size:115%; font-weight:bold; color:#3D545D; margin-bottom:5px; } +table.linedDataTable { + /*-*/border-width: 1px; + border-style: solid; + /*-*/border-color: #e6e5e9; + border-collapse: collapse; + border-spacing: 0; + font-size:95%; + margin-bottom:5px; +} +table.linedDataTable td { + margin: 0; + /*-*/padding: 6px; + /*-*/border-width: 1px; + border-style: solid; + border-color: #e6e5e9; + background-color: white; + -moz-border-radius: 0px; +} +table.linedDataTable td.complete { + background-color: #f4f4f4; +} -.adminRightHeader{font-size:115%; font-weight:bold; color:#3D545D; margin-bottom:5px; } +table.linedDataTable th { + margin: 0; + /*-*/padding: 6px; + border-width: 1px; + border-style: solid; + border-color: #e9edf0; + background-color: #e9edf0; + -moz-border-radius: 0px; + /*-*/background: rgba(200, 200, 200, 0.5) url(../images/bg-diagonal-stripes.png) repeat top left !important; +} +table.linedDataTable tr { + vertical-align:top; +} +/*--- Additional Custom CSS ---*/ -table.linedDataTable { - border-width: 0 1px 1px 1px; - border-style: solid; - border-color: #e6e5e9; - border-collapse: collapse; - border-spacing: 0; - font-size:95%; - margin-bottom:5px; +label:nth-of-type(3) { + margin-top: 5px; } -table.linedDataTable td { - margin: 0; - padding: 3px 3px 3px 3px; - border-width: 1px 0 0 0; - border-style: solid; - border-color: #e6e5e9; - background-color: white; - -moz-border-radius: 0px; +.smallerText a:hover { + color: #ccc; } -table.linedDataTable td.complete { - background-color: #f4f4f4; +/*--- New Custom CSS ---*/ + +#login-form { + margin-top: 20px; } +#login-form label:nth-of-type(1) { + margin: 110px 0 15px 0 !important; + text-align: center !important; +} -table.linedDataTable th { - margin: 0; - padding: 2px 3px 2px 2px; - border-width: 1px 0 0 0; - border-style: solid; - border-color: #e6e5e9; - background-color: #f6f8fa; - -moz-border-radius: 0px; +a#admin-link:before { + font-family: FontAwesome; + content: "\f023"; + font-size: 13px; + margin-right: 5px; } -table.linedDataTable tr { - vertical-align:top; +a#admin-link { + text-decoration: none; + text-transform: capitalize; + font-size: 14px; +} + +a#admin-link:hover { + color: #ccc; +} + +a#login-link:before { + font-family: FontAwesome; + content: "\f007"; + font-size: 13px; + margin-right: 5px; +} + +a#login-link { + text-decoration: none; + text-transform: capitalize; + font-size: 14px; } +a#login-link:hover { + color: #ccc; +} +#loginbutton { + margin-top: 13px !important; +} +/*--- Custom CSS ---*/ +a#addUser:before { + font-family: FontAwesome; + content: "\f055"; + font-size: 11px; + margin-right: 5px; +} +a#addUser { + text-decoration: none; + text-transform: capitalize; + font-size: 12px; +} +a#addUser:hover { + color: #ccc; +} + +.bordered .smallDarkRedText { + margin-bottom: 10px !important; +} diff --git a/css/thickbox.css b/css/thickbox.css index f3cff58..f47142b 100644 --- a/css/thickbox.css +++ b/css/thickbox.css @@ -114,7 +114,9 @@ margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = d } #TB_ajaxContent.TB_modal{ - padding:15px; + padding: 15px; + width: auto !important; + height: auto !important; } #TB_ajaxContent p{ diff --git a/images/authpage.gif b/images/authpage.gif index 5dd857117a7fb43b3c1e97a902cf380cba4525fe..de526e619ba0b283566f38dacbc3b6b81149de33 100644 GIT binary patch literal 6042 zcmV;L7iH*2Nk%w1VWI&u0r&p^b*#%$m%gIL+i|JMl)l!4wa~lP<+0D;E`qQid8_aB z`Kim_a;nPA;OvdM)VbB=V4uTOn7==Zwo#V7Du1tGpu<_4z+|GtH-@uZoxzN{(}J|n zQkA+(le_-@{{R2~#oXxh_W6UW$lmAgpuN+s#@Wl?>c!jWID)Uo*W||B=wg?=`1}0n z@AUWj{L{Um#={QdsQ-|BOr!o=I>`~3aN-s#8P z=q!M*_WJzE-s!{I=Zd-0_4)hz{rC48+Td#oIGsp#?ccdDJk*|pN*pvBsu#@f8r z+|?~ugyJ*wm65h+34_3mA%g4?84gT#@*>c zjkub^*~i`L(&X+Qc&b5-w|=qC-0JdQpTd&8)r+~)+v@Vq;_ZdD(Qc>6Xr#q$r^k1# z%xk8{Tb;o>iM45^#=+U&+((ePGJpE?)7h}$z!6#fwRwZs>#3D<*v@)ug>6@!PwvI^NP6A zm%!KF>+>{)vcK5o(d6!}&EJT((WJ=Ro5R_f!q}U`*q+4Np2gc*oWS$=`|M68OAh*YvgON|T~^M_xwGfZ zo9mOP`*!E>|W6cJ14MKu-+@BP4Hnw1r8VxOMEye zB8npnrg#{CL>;n#A>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$GHW>G3DOtm|m_m9{LC?Yw6 zfhMpls^y&MYPgQU{}x-d)i*{_M1dTgR#}VxA+`nvV37~fd_r-Tkhbd2wSJJ=UKN)_ zZ~I7!El9Lq>&=Mq3P7A$ABxdfyCfcXFnJApk@7EJY23J~)VaoV${nwaw=vytDM{aG f-G`;3pX#Kp{GF?7XPN$fh65tgbs`J}0N4K){N0ML diff --git a/images/authtitle.gif b/images/authtitle.gif index 2ce3fb8d0bbb809b11b1a384e4d8c668035befe9..9a9b15ca63328907abd59d16caa5fb1f00335a7b 100644 GIT binary patch literal 4928 zcmV-G6Tj?7Nk%w1VWI(90QUd@QkTA>#@lhJ$&|j+~{JLy!iY4>F@OS z`ux)0>AKF|`TPC;{{K&mwvx2Y{r>*?{QV?*to;4{%HQg9p~A%5=gQvc$KB{GfUoxY z{QLaB!yb_4)hz{r)Y1uym`+Mv%EYinUFYym_w7B6_Sjh_tWI;Vyx& zj=IwwcdCxN)FFDSzSrgG@%BTGxFdV4C48+McB#nT>gDhCD1NRogt52O{6G#z1QWFzSYLv=}wirLXEg4 zeXZ*A_c({Nyw~Q1w$WRi!9k6;X{E+)r^sKQ!jiq!cdg85q{Z9n@@uBY&*JTEr^k!A z(|)ne!P(}j%->IyyfuciFoUtN(Bi<^=j!tJ-0JeB$lN=LwdU~lk-XK=+*x*K+>A^8LV00000EC2ui0HOg|000R80R0IZNU)&6g9sBUT*$DY!-o(fN}Ncs zqQ#3CGiuz(vEjduAVZ2ANwTELlPFWFT*M68OAh*YvgON|T~^M_xwGfZ zo=<{P% ze-r_o0z`Bt-+7COzdF=1q~GNN_;n1 zk_jUWrg#{CL`|ZAAmE+R3MXKw1O_LqoB^I73QVHnkASf#lqR+O@SPv@u<=nPyZC~Q z9&P}!0}yWLfsHS_RPqrU_4x7K54C6lgsto|~rd z!7%z*@ecxjh*AWkKWvi-qOc<~MAkV_iD zfRm0Gg?xa+5X-ik!W)qw@edkstUxXi!kE|X!gN73#We{SY%m;6OnXNl%jzI%2_~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hf)6Vwn?QQztq(?G&VK2d~MEd;dJ~fw$IwS|5I#pdk6m& z+Y#Q+f5obX?{~K(V_-C5g5j2?JgPjMX@0kbV0lohKs&-y4 diff --git a/images/bg-diagonal-stripes.png b/images/bg-diagonal-stripes.png new file mode 100644 index 0000000000000000000000000000000000000000..e94c385caa72860a15b4c0fcc64d511332fc9ed7 GIT binary patch literal 214 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`Gjk|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*D5XDm+~rLn>}1r8%%3ayY|rWPhd#A6rZSYl!glLrN!oTnpLE zWb_tvSqKaKclsn`v|yTr*Aauu0Wx|gU7ZVmEmg|u>R+~K;)Jdv1raWyg#i(N*^}%P z{`IN3136m1+LXVoRJEJcW2dX00o}mh>FVdQ I&MBb@0DFr_TmS$7 literal 0 HcmV?d00001 diff --git a/images/bg-gray-texture.jpg b/images/bg-gray-texture.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ef0afea753467848066e42ed791927baebe5bd9a GIT binary patch literal 44031 zcmZU)cT^Kw7%e`@q|g$Iln{!sUZfd?&{P~$xQdj}0tV0s;-w{Y5CP37mWv=3nt&P$ z5E4RBNGM($KtVwifglo)CMXEl5V8OA%6f0T_51!vX3k17=VZ=&`#XE@^JnnSI6!hd z5_T8>_UthR6oCI5f93%7T?xSv$p8w#$eZZ^@Mi%aIvk1$3IPrw@)pz|8ITU3|4)GO zBM>8h1u;OFu#=xEzZ`8B|t@!Xf_Qa*}k2lv?-09uf z>NSD+6db4i|NFH+Lx76>LTGhR9oP>1NE(i9Da6!Zvl{c=6RAdnzBP-8TfDf4-^2nc zK>s@r#hCdJmEohQl%qM)V`{6Jr?Y0Hz~U)vTdpqSJxR;+Nm(c%12NECWuWXm%#KP0 z5AT_|!T8(`{^e=4?=-hD-KcU9fBSWl$>(r*2k){BV6So>tA`3jW&B~Y5ipluN3LXn zhMkB=dup{bDwFt^4iMRX0ek;_P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_Vr3VE^!@^Cdn>IhEP^%)X)LXT6e1)BM1vrv2!a|Uh}h)N z_yM8>v4}{}B+6-wS?5jMWj&AFgqNM0d2e=iW{E=l3x|pShiST>Xpo3T864tBH_i(Y z=Yni2J``iDF)kQQMw?M#WEjz2`d^OXwHH!;HCW>W=K=a_fTYZ`Uz6KSj45sHmdpC4{!~ZFDZ_)Nw6_@L6}^%;_Rw~gjT>%md0cfm-;&BM zjF>p<&{OnTV(0rw;k><6ZI1X(E}oHqE zV(3?py;kpRJ@&>KBz9BW6nX8TY;(k~Kiy02_H@V2;qK^x#LydU2dk5Y2Va|~f9O4C zV7U2}2~AaBpYH-4D5mEO4;t=K4DX2jlwAYn+a literal 0 HcmV?d00001 diff --git a/images/login.gif b/images/login.gif index ba12376810e21c1168add555aee56956d2e98e2d..7f55239aa2e4b4d16262c34783efc532f025710f 100644 GIT binary patch literal 1487 zcmZ?wbhEHbY-W&S*v!BX7Z-Q_{P~)in)U0~@7lF%`t<3KA3y%~?c33#M{nM|xp?v7 zyu7@wuCBLl-~Rvq-`Cey@jrKjZ-9bJVo4&9wz01$NKDR7Em25HP0!4;ReHaBzmh^` zimg((sjq==fpcm`rbks#YH*cbNODznvSo^ry`6$hg;hmvL2hbEqC!P(PF}H9g{@Lz zN`6wR6_5=Q)>l#hD=EpgRdNJLD1hvA&M!(;Fx4~FO*SwxR4}*HGc+}^G&IyvFfuSS z);BcJH?q_er{{GxPy zLrY6beFGzXBO_g)3fZE`@j@ zx4_pIZg5_)9@s;A$@#hZ6^RAz*Q}aqZU2K(rGI}YQDOPEg7DkpS$tk)? z$%!etCW%IAx=F@qCc36csmbQXMivI9i6$^}u<182Hg+>KGc|QFb+a%ubTx4@v@o?a zcQG|Hwlp^}H8Ftc^~@_SNz6-5h1s16v>U3|1g~Bz=c3falKi5O{QMkPDhSBPFUc>? z$S+WEc2>~vO-#NJFPuMj_RQ&1Cr=zdcJ#>MLkAD+-?w+q?p-@~Y~QwZ%jQiRH>_W`cFpQl z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?IQoMFKQNj>28w1d zff|bL@Es0{Lg2un4nV+Ys*$$p>Z^<*+Q6)|)@tjmxaLah2dQ4*tFKu!0KfzvG+;&% z4nQ$0uc>;9Y_ScPN^7dMQmgB=*k(&B9~>~??YH2DEAF`Derv*a=zeDc17=u&?gUxfo3l5-R z@x~l?Y;hfR#3Ay?B$sUR$tb6+GRbFzqRd zE#xr91QT2l^wLZ>y>uOS2q5*;R99{F)mUe(HPu|O@x>BL}|72SaSP z?e^Pn$1V5Vbk}Y7-FV0CM-49AG1lLJ2QK*Fgcol3;fN=$_~L}$;lcw!G=b>klvi%~ z<(Ox#`R1H=?)m4IHxWc8FB}5$>8Pi!`s%E=?)vMn$1eNqARqEVCW0iPfgHT|?)&e+ X2QU2a#20V;@yI7HhXzSx5(of0PV@*b diff --git a/index.php b/index.php index b9c2425..b7a449c 100644 --- a/index.php +++ b/index.php @@ -167,7 +167,8 @@ CORAL Authentication - + + @@ -181,7 +182,7 @@
-

+

@@ -198,7 +199,7 @@
-
+ From 4d8a955a39e272f89a7d9df8f7ab4b15d5aea960 Mon Sep 17 00:00:00 2001 From: "david.rappleye" Date: Tue, 10 Nov 2015 11:57:24 -0700 Subject: [PATCH 02/18] CAMP-786 Removed the fish icons --- images/clownfishfavicon.ico | Bin 1406 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 images/clownfishfavicon.ico diff --git a/images/clownfishfavicon.ico b/images/clownfishfavicon.ico deleted file mode 100644 index 2303b02166ad7db9ab192cdd315204602c73b315..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1406 zcmeH^do0yq7{|ZAL{#pPYpz8{NaPf9t3x%w8m=zs39hA$;I>VnQ^90-g|x7EBX=aSkOFZ_qU;03-S|%w0IJ44HyhI1gyqK|f{~>hu%{rxzfe97R$2 z1Jv;vVH`h$2$vEylya%EZb3P>AC4)*$jH8d%IZF7Moi&#TNmnupE2-p1~p9* z42u?!ev1Pq?+|cm$-8uSB0Hb==RH@{$_D;p1Ju7(#L<1rMs}>T&{Otu(xE&k~74od^q-5Ts<8-=}gn~zy0NCOiGP51puTa(;2(hf>JDd#Y6|q6@mwu$&}Ci1c!|A AIRF3v From 29b717f4ebd267c304320a1315c775a16270f5fd Mon Sep 17 00:00:00 2001 From: "david.rappleye" Date: Fri, 13 Nov 2015 09:51:59 -0700 Subject: [PATCH 03/18] CAMP-786 Updated the favicon links --- admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin.php b/admin.php index a6f31bb..46fe0f1 100644 --- a/admin.php +++ b/admin.php @@ -42,7 +42,7 @@ CORAL Authentication - + From 92d0f55962207127ff60f54439725df87c3a18e0 Mon Sep 17 00:00:00 2001 From: Bradley Droubay Date: Mon, 14 Mar 2016 11:03:09 -0600 Subject: [PATCH 04/18] Merged localization functionality (French) into our branch --- .gitignore | 2 +- .htaccess | 4 +- LangCodes.php | 22 + admin.php | 94 +- admin/.htaccess | 2 +- admin/classes/common/Configuration.php | 62 +- admin/classes/common/DBService.php | 197 ++-- admin/classes/common/DatabaseObject.php | 596 +++++------ admin/classes/common/DynamicObject.php | 92 +- admin/classes/common/Email.php | 182 ++-- admin/classes/common/LdapPerson.php | 126 +-- admin/classes/common/NamedArguments.php | 106 +- admin/classes/common/Object.php | 176 ++-- admin/classes/common/Utility.php | 314 +++--- admin/classes/domain/Session.php | 62 +- admin/classes/domain/User.php | 446 ++++---- admin/configuration_sample.ini | 40 +- ajax_forms.php | 48 +- ajax_htmldata.php | 10 +- ajax_processing.php | 4 +- css/style.css | 2 +- css/thickbox.css | 334 +++--- directory.php | 15 + index.php | 109 +- install/index.php | 133 ++- install/js/index.js | 7 + install/js/jquery.js | 5 + js/admin.js | 57 +- js/index.js | 7 +- js/plugins/Gettext.js | 1265 +++++++++++++++++++++++ js/plugins/jquery.js | 334 +++--- js/plugins/thickbox.js | 678 ++++++------ locale/fr_FR/LC_MESSAGES/messages.mo | Bin 0 -> 4937 bytes locale/fr_FR/LC_MESSAGES/messages.po | 264 +++++ 34 files changed, 3810 insertions(+), 1985 deletions(-) create mode 100644 LangCodes.php create mode 100644 install/js/index.js create mode 100644 install/js/jquery.js create mode 100644 js/plugins/Gettext.js create mode 100644 locale/fr_FR/LC_MESSAGES/messages.mo create mode 100644 locale/fr_FR/LC_MESSAGES/messages.po diff --git a/.gitignore b/.gitignore index d7aecb9..5f0a515 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -admin/configuration.ini +admin/configuration.ini diff --git a/.htaccess b/.htaccess index 6447bd2..5a5c87f 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,3 @@ -# Other restrictions -Order Allow,Deny +# Other restrictions +Order Allow,Deny Allow from all \ No newline at end of file diff --git a/LangCodes.php b/LangCodes.php new file mode 100644 index 0000000..1f51904 --- /dev/null +++ b/LangCodes.php @@ -0,0 +1,22 @@ +'fr_FR', + 'en'=>'en_US' + ); + return $all_lang[$code]; + } + public function getNameLang($code_lang){ + $name_lang=array( + 'fr'=>_('French'), + 'en'=>_('English') + ); + return $name_lang[$code_lang]; + } +} +?> \ No newline at end of file diff --git a/admin.php b/admin.php index 46fe0f1..bb2b792 100644 --- a/admin.php +++ b/admin.php @@ -24,12 +24,10 @@ if (isset($_SESSION['loginID'])){ $loginID=$_SESSION['loginID']; + $user = new User(new NamedArguments(array('primaryKey' => $loginID))); } -$user = new User(new NamedArguments(array('primaryKey' => $loginID))); - - -if (($user->isAdmin) && ($user->getOpenSession())){ +if (isset($user) && ($user->isAdmin) && ($user->getOpenSession())){ ?> @@ -47,9 +45,24 @@ + +getLanguage($str); + if($default_l==null || empty($default_l)){$default_l=$str;} + if(isset($_COOKIE["lang"])){ + if($_COOKIE["lang"]==$http_lang && $_COOKIE["lang"] != "en_US"){ + echo ""; + } + }else if($default_l==$http_lang && $default_l != "en_US"){ + echo ""; + } +?> - +
@@ -63,18 +76,59 @@

-
Users
-
* Login ID must match the login ID set up in the modules
+
+
*


- Processing... +
- - +
+

+ +
+
@@ -87,7 +141,23 @@


- + @@ -98,7 +168,7 @@ }else{ - if ($user->getOpenSession()){ + if (isset($user) && $user->getOpenSession()){ header('Location: index.php?service=admin.php&invalid'); }else{ header('Location: index.php?service=admin.php&admin'); diff --git a/admin/.htaccess b/admin/.htaccess index f239fe8..fb3b538 100644 --- a/admin/.htaccess +++ b/admin/.htaccess @@ -1,2 +1,2 @@ -order deny,allow +order deny,allow deny from all \ No newline at end of file diff --git a/admin/classes/common/Configuration.php b/admin/classes/common/Configuration.php index 71f46c9..28006a5 100644 --- a/admin/classes/common/Configuration.php +++ b/admin/classes/common/Configuration.php @@ -1,32 +1,32 @@ -. -** -************************************************************************************************************************** -*/ - - -class Configuration extends DynamicObject { - - public function init(NamedArguments $arguments) { - $arguments->setDefaultValueForArgumentName('filename', BASE_DIR . '/admin/configuration.ini'); - $config = parse_ini_file($arguments->filename, true); - foreach ($config as $section => $entries) { - $this->$section = Utility::objectFromArray($entries); - } - } - -} - +. +** +************************************************************************************************************************** +*/ + + +class Configuration extends DynamicObject { + + public function init(NamedArguments $arguments) { + $arguments->setDefaultValueForArgumentName('filename', BASE_DIR . '/admin/configuration.ini'); + $config = parse_ini_file($arguments->filename, true); + foreach ($config as $section => $entries) { + $this->$section = Utility::objectFromArray($entries); + } + } + +} + ?> \ No newline at end of file diff --git a/admin/classes/common/DBService.php b/admin/classes/common/DBService.php index 563e00b..9dbfe31 100644 --- a/admin/classes/common/DBService.php +++ b/admin/classes/common/DBService.php @@ -1,92 +1,105 @@ -. -** -************************************************************************************************************************** -*/ - - -class DBService extends Object { - - protected $db; - protected $config; - protected $error; - - protected function init(NamedArguments $arguments) { - parent::init($arguments); - $this->config = new Configuration; - $this->connect(); - } - - protected function dealloc() { - $this->disconnect(); - parent::dealloc(); - } - - protected function checkForError() { - if ($this->error = mysqli_error($this->db)) { - throw new Exception("There was a problem with the database: " . $this->error); - } - } - - protected function connect() { - $host = $this->config->database->host; - $username = $this->config->database->username; - $password = $this->config->database->password; - $databaseName = $this->config->database->name; - $this->db = mysqli_connect($host, $username, $password, $databaseName); - $this->checkForError(); - } - - - protected function disconnect() { - //mysqli_close($this->db); - } - - - public function changeDB($databaseName) { - //$databaseName='coral_reporting_pprd'; - mysqli_select_db($this->db, $databaseName); - $this->checkForError(); - } - - public function processQuery($sql, $type = NULL) { - //echo $sql. "
"; - $result = mysqli_query($this->db, $sql); - $this->checkForError(); - $data = array(); - - if ($result instanceof mysqli_result) { - $resultType = MYSQLI_NUM; - if ($type == 'assoc') { - $resultType = MYSQLI_ASSOC; - } - while ($row = mysqli_fetch_array($result, $resultType)) { - if (mysqli_affected_rows($this->db) > 1) { - array_push($data, $row); - } else { - $data = $row; - } - } - mysqli_free_result($result); - } else if ($result) { - $data = mysqli_insert_id($this->db); - } - - return $data; - } - -} - -?> +. +** +************************************************************************************************************************** +*/ + + +class DBService extends Object { + + protected $db; + protected $config; + protected $error; + + protected function init(NamedArguments $arguments) { + parent::init($arguments); + $this->config = new Configuration; + $this->connect(); + } + + protected function dealloc() { + $this->disconnect(); + parent::dealloc(); + } + + protected function checkForError() { + if ($this->error = mysqli_error($this->db)) { + throw new Exception(_("There was a problem with the database: ") . $this->error); + } + } + + protected function connect() { + $host = $this->config->database->host; + $username = $this->config->database->username; + $password = $this->config->database->password; + $databaseName = $this->config->database->name; + $this->db = mysqli_connect($host, $username, $password, $databaseName); + $this->checkForError(); + $this->db->set_charset('utf8'); + } + + protected function disconnect() { + //$this->db->close(); + } + + public function changeDB($databaseName) { + //$databaseName='coral_reporting_pprd'; + $this->db->select_db($databaseName); + $this->checkForError(); + } + + public function escapeString($value) { + return $this->db->escape_string($value); + } + + public function getDatabase() { + return $this->db; + } + + public function query($sql) { + $result = $this->db->query($sql); + $this->checkForError(); + return $result; + } + + public function processQuery($sql, $type = NULL) { + //echo $sql. "
"; + $result = $this->db->query($sql); + $this->checkForError(); + $data = array(); + + if ($result instanceof mysqli_result) { + $resultType = MYSQLI_NUM; + if ($type == 'assoc') { + $resultType = MYSQLI_ASSOC; + } + while ($row = $result->fetch_array($resultType)) { + if ($this->db->affected_rows > 1) { + array_push($data, $row); + } else { + $data = $row; + } + } + $result->free(); + } else if ($result) { + $data = $this->db->insert_id; + } + + return $data; + } + +} + +?> diff --git a/admin/classes/common/DatabaseObject.php b/admin/classes/common/DatabaseObject.php index 917d3bb..ef9b0de 100644 --- a/admin/classes/common/DatabaseObject.php +++ b/admin/classes/common/DatabaseObject.php @@ -1,299 +1,299 @@ -. -** -************************************************************************************************************************** -*/ - - -class DatabaseObject extends DynamicObject { - - protected $db; - - protected $tableName; - protected $collectiveName; - - protected $primaryKeyName; - protected $primaryKey; - - public $attributeNames = array(); - protected $attributes = array(); - - protected $childNames = array(); - protected $children = array(); - - protected $parentNames = array(); - protected $parents = array(); - - protected $peerNames = array(); - protected $peers = array(); - - protected function init(NamedArguments $arguments) { - $arguments->setDefaultValueForArgumentName('tableName', get_class($this)); - $this->tableName = $arguments->tableName; - - $defaultCollectiveName = lcfirst($arguments->tableName) . 's'; - $arguments->setDefaultValueForArgumentName('collectiveName', $defaultCollectiveName); - $this->collectiveName = $arguments->collectiveName; - - $defaultPrimaryKeyName = lcfirst($arguments->tableName) . 'ID'; - $arguments->setDefaultValueForArgumentName('primaryKeyName', $defaultPrimaryKeyName); - $this->primaryKeyName = $arguments->primaryKeyName; - - $this->primaryKey = $arguments->primaryKey; - $this->db = new DBService; - $this->defineRelationships(); - //$this->defineAttributes(); - $this->overridePrimaryKeyName(); - $this->load(); - - - } - - protected function defineRelationships() {} - protected function overridePrimaryKeyName() {} - - - protected function defineAttributes() { - // Figure out attributes from existing database - $query = "SELECT COLUMN_NAME FROM information_schema.`COLUMNS` WHERE table_schema = '"; - $query .= $this->db->config->database->name . "' AND table_name = '$this->tableName'";// MySQL-specific - foreach ($this->db->processQuery($query) as $result) { - $attributeName = $result[0]; - if ($attributeName != $this->primaryKeyName) { - $this->addAttribute($attributeName); - } - } - } - - protected function addAttribute($attributeName, $attributeType = NULL) { - $this->attributeNames[$attributeName] = $attributeType; - } - - protected function hasMany($relatedClassName) { - $exampleRelatedObject = new $relatedClassName; - $nameArrayName = 'childNames'; - // Check for many-to-many relationship. - if (array_key_exists($this->collectiveName, $exampleRelatedObject->childNames)) { - $nameArrayName = 'peerNames'; - } - $this->$nameArrayName[$exampleRelatedObject->collectiveName] = $relatedClassName; - } - - protected function hasOne($parentClassName, $parentName = NULL) { - if (!isset($parentName)) { - $parentName = lcfirst($parentClassName); - } - $this->parentNames[$parentName] = $parentClassName; - } - - public function valueForKey($key) { - if (array_key_exists($key, $this->attributeNames)) { - if (!array_key_exists($key, $this->attributes)) { - $query = "SELECT `$key` FROM `$this->tableName` WHERE `$this->primaryKeyName` = '$this->primaryKey' LIMIT 1"; - $result = $this->db->processQuery($query); - if (isset($result[0])) $this->attributes[$key] = stripslashes($result[0]); - } - return $this->attributes[$key]; - } else if (array_key_exists($key, $this->parentNames)) { - if (!array_key_exists($key, $this->parents)) { - $parentClassName = $this->parentNames[$key]; - $exampleParent = new $parentClassName; - $parentPrimaryKey = $this->valueForKey($exampleParent->primaryKeyName); - $this->parents[$key] = new $parentClassName(new NamedArguments(array('primaryKey' => $parentPrimaryKey))); - } - return $this->parents[$key]; - } else if (array_key_exists($key, $this->childNames)) { - if (!array_key_exists($key, $this->children)) { - $this->children[$key] = array(); - $childClassName = $this->childNames[$key]; - $exampleChild = new $childClassName; - $whereClause = "`$this->primaryKeyName`='$this->primaryKey'"; - $query = "SELECT `$exampleChild->primaryKeyName` FROM `$exampleChild->tableName` WHERE $whereClause"; - $results = $this->db->processQuery($query); - foreach ($results as $result) { - $id = $result[0]; - $child = new $childClassName(new NamedArguments(array('primaryKey' => $id))); - array_push($this->children[$key], $child); - } - } - return $this->children[$key]; - } else if (array_key_exists($key, $this->peerNames)) { - if (!array_key_exists($key, $this->peers)) { - $this->peers[$key] = array(); - $peerClassName = $this->peerNames[$key]; - $examplePeer = new $peerClassName; - $whereClause = "`$this->primaryKeyName`='$this->primaryKey'"; - $tableNames = array($this->tableName, $examplePeer->tableName); - $sortedTableNames = sort($tableNames); - $joinTableName = $sortedTableNames[0] . 'To' . $sortedTableNames[1]; - $query = "SELECT `$examplePeer->primaryKeyName` FROM `$joinTableName` WHERE $whereClause"; - $results = $this->db->processQuery($query); - foreach ($results as $result) { - $id = $result[0]; - $peer = new $peerClassName(new NamedArguments(array('primaryKey' => $id))); - array_push($this->peers[$key], $peer); - } - } - return $this->peers[$key]; - } else { - return parent::valueForKey($key); - } - } - - public function setValueForKey($key, $value) { - if (array_key_exists($key, $this->parentNames)) { - if (is_a($value, 'DatabaseObject')) { - $key = $value->primaryKeyName; - $value = $value->primaryKey; - } - } - if (array_key_exists($key, $this->attributeNames)) { - $this->attributes[$key] = $value; - } else if (array_key_exists($key, $this->childNames) && is_array($value)) { - if (!array_key_exists($key, $this->children)) { - $this->children[$key] = array(); - } - //Add new children - foreach ($value as $child) { - if (is_a($child, $this->childNames[$key]) && is_a($child, 'DatabaseObject')) { - if (!array_key_exists($child->primaryKey, $this->children[$key])) { - $this->children[$key][$child->primaryKey] = $child; - } - } - } - //Remove old children - foreach (array_keys($this->children[$key]) as $childPrimaryKey) { - if (!array_key_exists($childPrimaryKey, $value)) { - unset($this->children[$key][$childPrimaryKey]); - } - } - } else if (array_key_exists($key, $this->peerNames) && is_array($value)) { - if (!array_key_exists($key, $this->peers)) { - $this->peers[$key] = array(); - } - //Add new peers - foreach ($value as $peer) { - if (is_a($peer, $this->peerNames[$key]) && is_a($peer, 'DatabaseObject')) { - if (!array_key_exists($peer->primaryKey, $this->peers[$key])) { - $this->peers[$key][$peer->primaryKey] = $peer; - } - } - } - //Remove old peers - foreach (array_keys($this->peers[$key]) as $peerPrimaryKey) { - if (!array_key_exists($peerPrimaryKey, $value)) { - unset($this->peers[$key][$peerPrimaryKey]); - } - } - } else { - parent::setValueForKey($key, $value); - } - } - - public function delete() { - $query = "DELETE FROM `$this->tableName` WHERE `$this->primaryKeyName` = '$this->primaryKey'"; - return $this->db->processQuery($query); - } - - public function save() { - $pairs = array(); - foreach (array_keys($this->attributeNames) as $attributeName) { - $value = $this->attributes[$attributeName]; - if (!isset($value)) { - $value = "NULL"; - } else { - $value = addslashes($value); - $value = "'$value'"; - } - $pair = "`$attributeName`=$value"; - array_push($pairs, $pair); - } - $set = implode(', ', $pairs); - if (isset($this->primaryKey)) { - // Update object - $query = "UPDATE `$this->tableName` SET $set WHERE `$this->primaryKeyName` = '$this->primaryKey'"; - $this->db->processQuery($query); - } else { - // Insert object - $query = "INSERT INTO `$this->tableName` SET $set"; - $this->primaryKey = $this->db->processQuery($query); - } - } - - - public function all() { - $query = "SELECT * FROM `$this->tableName` ORDER BY 2, 1"; - $result = $this->db->processQuery($query); - $objects = array(); - foreach ($result as $row) { - $className = get_class($this); - $object = new $className(new NamedArguments(array('primaryKey' => $row[0]))); - array_push($objects, $object); - } - - return $objects; - } - - - public function allAsArray() { - $query = "SELECT * FROM `$this->tableName` ORDER BY 2, 1"; - $result = $this->db->processQuery($query, 'assoc'); - - $resultArray = array(); - $rowArray = array(); - - if (isset($result[lcfirst($this->tableName) . 'ID'])){ - foreach (array_keys($result) as $attributeName) { - $rowArray[$attributeName] = $result[$attributeName]; - } - array_push($resultArray, $rowArray); - }else{ - foreach ($result as $row) { - foreach (array_keys($this->attributeNames) as $attributeName) { - $rowArray[$attributeName] = $row[$attributeName]; - } - array_push($resultArray, $rowArray); - } - } - - return $resultArray; - } - - - public function load() { - //if exists in the database - if (isset($this->primaryKey)) { - $query = "SELECT * FROM `$this->tableName` WHERE `$this->primaryKeyName` = '$this->primaryKey'"; - $result = $this->db->processQuery($query, 'assoc'); - - foreach (array_keys($result) as $attributeName) { - $this->addAttribute($attributeName); - $this->attributes[$attributeName] = $result[$attributeName]; - } - }else{ - // Figure out attributes from existing database - $query = "SELECT COLUMN_NAME FROM information_schema.`COLUMNS` WHERE table_schema = '"; - $query .= $this->db->config->database->name . "' AND table_name = '$this->tableName'";// MySQL-specific - foreach ($this->db->processQuery($query) as $result) { - $attributeName = $result[0]; - $this->addAttribute($attributeName); - } - - } - } - -} - +. +** +************************************************************************************************************************** +*/ + + +class DatabaseObject extends DynamicObject { + + protected $db; + + protected $tableName; + protected $collectiveName; + + protected $primaryKeyName; + protected $primaryKey; + + public $attributeNames = array(); + protected $attributes = array(); + + protected $childNames = array(); + protected $children = array(); + + protected $parentNames = array(); + protected $parents = array(); + + protected $peerNames = array(); + protected $peers = array(); + + protected function init(NamedArguments $arguments) { + $arguments->setDefaultValueForArgumentName('tableName', get_class($this)); + $this->tableName = $arguments->tableName; + + $defaultCollectiveName = lcfirst($arguments->tableName) . 's'; + $arguments->setDefaultValueForArgumentName('collectiveName', $defaultCollectiveName); + $this->collectiveName = $arguments->collectiveName; + + $defaultPrimaryKeyName = lcfirst($arguments->tableName) . 'ID'; + $arguments->setDefaultValueForArgumentName('primaryKeyName', $defaultPrimaryKeyName); + $this->primaryKeyName = $arguments->primaryKeyName; + + $this->primaryKey = $arguments->primaryKey; + $this->db = new DBService; + $this->defineRelationships(); + //$this->defineAttributes(); + $this->overridePrimaryKeyName(); + $this->load(); + + + } + + protected function defineRelationships() {} + protected function overridePrimaryKeyName() {} + + + protected function defineAttributes() { + // Figure out attributes from existing database + $query = "SELECT COLUMN_NAME FROM information_schema.`COLUMNS` WHERE table_schema = '"; + $query .= $this->db->config->database->name . "' AND table_name = '$this->tableName'";// MySQL-specific + foreach ($this->db->processQuery($query) as $result) { + $attributeName = $result[0]; + if ($attributeName != $this->primaryKeyName) { + $this->addAttribute($attributeName); + } + } + } + + protected function addAttribute($attributeName, $attributeType = NULL) { + $this->attributeNames[$attributeName] = $attributeType; + } + + protected function hasMany($relatedClassName) { + $exampleRelatedObject = new $relatedClassName; + $nameArrayName = 'childNames'; + // Check for many-to-many relationship. + if (array_key_exists($this->collectiveName, $exampleRelatedObject->childNames)) { + $nameArrayName = 'peerNames'; + } + $this->$nameArrayName[$exampleRelatedObject->collectiveName] = $relatedClassName; + } + + protected function hasOne($parentClassName, $parentName = NULL) { + if (!isset($parentName)) { + $parentName = lcfirst($parentClassName); + } + $this->parentNames[$parentName] = $parentClassName; + } + + public function valueForKey($key) { + if (array_key_exists($key, $this->attributeNames)) { + if (!array_key_exists($key, $this->attributes)) { + $query = "SELECT `$key` FROM `$this->tableName` WHERE `$this->primaryKeyName` = '$this->primaryKey' LIMIT 1"; + $result = $this->db->processQuery($query); + if (isset($result[0])) $this->attributes[$key] = stripslashes($result[0]); + } + return $this->attributes[$key]; + } else if (array_key_exists($key, $this->parentNames)) { + if (!array_key_exists($key, $this->parents)) { + $parentClassName = $this->parentNames[$key]; + $exampleParent = new $parentClassName; + $parentPrimaryKey = $this->valueForKey($exampleParent->primaryKeyName); + $this->parents[$key] = new $parentClassName(new NamedArguments(array('primaryKey' => $parentPrimaryKey))); + } + return $this->parents[$key]; + } else if (array_key_exists($key, $this->childNames)) { + if (!array_key_exists($key, $this->children)) { + $this->children[$key] = array(); + $childClassName = $this->childNames[$key]; + $exampleChild = new $childClassName; + $whereClause = "`$this->primaryKeyName`='$this->primaryKey'"; + $query = "SELECT `$exampleChild->primaryKeyName` FROM `$exampleChild->tableName` WHERE $whereClause"; + $results = $this->db->processQuery($query); + foreach ($results as $result) { + $id = $result[0]; + $child = new $childClassName(new NamedArguments(array('primaryKey' => $id))); + array_push($this->children[$key], $child); + } + } + return $this->children[$key]; + } else if (array_key_exists($key, $this->peerNames)) { + if (!array_key_exists($key, $this->peers)) { + $this->peers[$key] = array(); + $peerClassName = $this->peerNames[$key]; + $examplePeer = new $peerClassName; + $whereClause = "`$this->primaryKeyName`='$this->primaryKey'"; + $tableNames = array($this->tableName, $examplePeer->tableName); + $sortedTableNames = sort($tableNames); + $joinTableName = $sortedTableNames[0] . 'To' . $sortedTableNames[1]; + $query = "SELECT `$examplePeer->primaryKeyName` FROM `$joinTableName` WHERE $whereClause"; + $results = $this->db->processQuery($query); + foreach ($results as $result) { + $id = $result[0]; + $peer = new $peerClassName(new NamedArguments(array('primaryKey' => $id))); + array_push($this->peers[$key], $peer); + } + } + return $this->peers[$key]; + } else { + return parent::valueForKey($key); + } + } + + public function setValueForKey($key, $value) { + if (array_key_exists($key, $this->parentNames)) { + if (is_a($value, 'DatabaseObject')) { + $key = $value->primaryKeyName; + $value = $value->primaryKey; + } + } + if (array_key_exists($key, $this->attributeNames)) { + $this->attributes[$key] = $value; + } else if (array_key_exists($key, $this->childNames) && is_array($value)) { + if (!array_key_exists($key, $this->children)) { + $this->children[$key] = array(); + } + //Add new children + foreach ($value as $child) { + if (is_a($child, $this->childNames[$key]) && is_a($child, 'DatabaseObject')) { + if (!array_key_exists($child->primaryKey, $this->children[$key])) { + $this->children[$key][$child->primaryKey] = $child; + } + } + } + //Remove old children + foreach (array_keys($this->children[$key]) as $childPrimaryKey) { + if (!array_key_exists($childPrimaryKey, $value)) { + unset($this->children[$key][$childPrimaryKey]); + } + } + } else if (array_key_exists($key, $this->peerNames) && is_array($value)) { + if (!array_key_exists($key, $this->peers)) { + $this->peers[$key] = array(); + } + //Add new peers + foreach ($value as $peer) { + if (is_a($peer, $this->peerNames[$key]) && is_a($peer, 'DatabaseObject')) { + if (!array_key_exists($peer->primaryKey, $this->peers[$key])) { + $this->peers[$key][$peer->primaryKey] = $peer; + } + } + } + //Remove old peers + foreach (array_keys($this->peers[$key]) as $peerPrimaryKey) { + if (!array_key_exists($peerPrimaryKey, $value)) { + unset($this->peers[$key][$peerPrimaryKey]); + } + } + } else { + parent::setValueForKey($key, $value); + } + } + + public function delete() { + $query = "DELETE FROM `$this->tableName` WHERE `$this->primaryKeyName` = '$this->primaryKey'"; + return $this->db->processQuery($query); + } + + public function save() { + $pairs = array(); + foreach (array_keys($this->attributeNames) as $attributeName) { + $value = $this->attributes[$attributeName]; + if (!isset($value)) { + $value = "NULL"; + } else { + $value = addslashes($value); + $value = "'$value'"; + } + $pair = "`$attributeName`=$value"; + array_push($pairs, $pair); + } + $set = implode(', ', $pairs); + if (isset($this->primaryKey)) { + // Update object + $query = "UPDATE `$this->tableName` SET $set WHERE `$this->primaryKeyName` = '$this->primaryKey'"; + $this->db->processQuery($query); + } else { + // Insert object + $query = "INSERT INTO `$this->tableName` SET $set"; + $this->primaryKey = $this->db->processQuery($query); + } + } + + + public function all() { + $query = "SELECT * FROM `$this->tableName` ORDER BY 2, 1"; + $result = $this->db->processQuery($query); + $objects = array(); + foreach ($result as $row) { + $className = get_class($this); + $object = new $className(new NamedArguments(array('primaryKey' => $row[0]))); + array_push($objects, $object); + } + + return $objects; + } + + + public function allAsArray() { + $query = "SELECT * FROM `$this->tableName` ORDER BY 2, 1"; + $result = $this->db->processQuery($query, 'assoc'); + + $resultArray = array(); + $rowArray = array(); + + if (isset($result[lcfirst($this->tableName) . 'ID'])){ + foreach (array_keys($result) as $attributeName) { + $rowArray[$attributeName] = $result[$attributeName]; + } + array_push($resultArray, $rowArray); + }else{ + foreach ($result as $row) { + foreach (array_keys($this->attributeNames) as $attributeName) { + $rowArray[$attributeName] = $row[$attributeName]; + } + array_push($resultArray, $rowArray); + } + } + + return $resultArray; + } + + + public function load() { + //if exists in the database + if (isset($this->primaryKey)) { + $query = "SELECT * FROM `$this->tableName` WHERE `$this->primaryKeyName` = '$this->primaryKey'"; + $result = $this->db->processQuery($query, 'assoc'); + + foreach (array_keys($result) as $attributeName) { + $this->addAttribute($attributeName); + $this->attributes[$attributeName] = $result[$attributeName]; + } + }else{ + // Figure out attributes from existing database + $query = "SELECT COLUMN_NAME FROM information_schema.`COLUMNS` WHERE table_schema = '"; + $query .= $this->db->config->database->name . "' AND table_name = '$this->tableName'";// MySQL-specific + foreach ($this->db->processQuery($query) as $result) { + $attributeName = $result[0]; + $this->addAttribute($attributeName); + } + + } + } + +} + ?> \ No newline at end of file diff --git a/admin/classes/common/DynamicObject.php b/admin/classes/common/DynamicObject.php index c71d222..2508b2e 100644 --- a/admin/classes/common/DynamicObject.php +++ b/admin/classes/common/DynamicObject.php @@ -1,46 +1,46 @@ -. -** -************************************************************************************************************************** -*/ - - -class DynamicObject extends Object { - - protected $properties = array(); - - public function valueForKey($key) { - if (property_exists($this, $key)) { - return parent::valueForKey($key); - } else { - if (array_key_exists($key, $this->properties)) { - return $this->properties[$key]; - } else { - return NULL; - } - } - } - - public function setValueForKey($key, $value) { - if (property_exists($this, $key)) { - parent::setValueForKey($key, $value); - } else { - $this->properties[$key] = $value; - } - } - -} - -?> +. +** +************************************************************************************************************************** +*/ + + +class DynamicObject extends Object { + + protected $properties = array(); + + public function valueForKey($key) { + if (property_exists($this, $key)) { + return parent::valueForKey($key); + } else { + if (array_key_exists($key, $this->properties)) { + return $this->properties[$key]; + } else { + return NULL; + } + } + } + + public function setValueForKey($key, $value) { + if (property_exists($this, $key)) { + parent::setValueForKey($key, $value); + } else { + $this->properties[$key] = $value; + } + } + +} + +?> diff --git a/admin/classes/common/Email.php b/admin/classes/common/Email.php index 73bcf6f..78d85ee 100644 --- a/admin/classes/common/Email.php +++ b/admin/classes/common/Email.php @@ -1,92 +1,92 @@ -. -** -************************************************************************************************************************** -*/ - - -class EmailHeader extends DynamicObject { - - protected $fieldName; - protected $fieldBody; - - const LINE_ENDING = "\n"; - - protected function init(NamedArguments $arguments) { - $this->fieldName = $this->fieldNameFromName($arguments->name); - $this->fieldBody = $arguments->body; - - } - - protected function fieldNameFromName($name) { - $headerName = ucfirst($name); - // Hypenate camelCase - $headerName = preg_replace('/([a-z])([A-Z])/', '\1-\2', $headerName); - return $headerName; - } - - public function text() { - return self::$this->fieldName . ': ' . $this->fieldBody . "\n"; - } - -} - - -class Email extends Object { - - protected $to; - protected $subject; - protected $message; - protected $headers = array(); - - protected $from = ""; - protected $replyTo = ""; - - protected function nameIsBasic($name) { - return preg_match('/^(to)|(subject)|(message)$/', $name); - } - - protected function getHeaders() { - $output = ''; - - foreach ($this->headers as $header) { - $output .= $header->text(); - } - //append from and reply to - $output .= "From: " . $this->from . "\r\n"; - $output .= "Reply-To: " . $this->replyTo . "\r\n"; - - return $output; - } - - public function setValueForKey($key, $value) { - if ($this->nameIsBasic($key)) { - parent::setValueForKey($key, $value); - } else { - $this->headers[$key] = new EmailHeader(new NamedArguments(array('name' => $key, 'body' => $value))); - } - } - - public function fullMessage() { - return $this->getHeaders() . "\n" . $this->to . "\n" . $this->subject . "\n" . $this->message; - } - - public function send(){ - return mail($this->to, $this->subject, $newMessage, rtrim($this->getHeaders())); - } - -} - +. +** +************************************************************************************************************************** +*/ + + +class EmailHeader extends DynamicObject { + + protected $fieldName; + protected $fieldBody; + + const LINE_ENDING = "\n"; + + protected function init(NamedArguments $arguments) { + $this->fieldName = $this->fieldNameFromName($arguments->name); + $this->fieldBody = $arguments->body; + + } + + protected function fieldNameFromName($name) { + $headerName = ucfirst($name); + // Hypenate camelCase + $headerName = preg_replace('/([a-z])([A-Z])/', '\1-\2', $headerName); + return $headerName; + } + + public function text() { + return self::$this->fieldName . ': ' . $this->fieldBody . "\n"; + } + +} + + +class Email extends Object { + + protected $to; + protected $subject; + protected $message; + protected $headers = array(); + + protected $from = ""; + protected $replyTo = ""; + + protected function nameIsBasic($name) { + return preg_match('/^(to)|(subject)|(message)$/', $name); + } + + protected function getHeaders() { + $output = ''; + + foreach ($this->headers as $header) { + $output .= $header->text(); + } + //append from and reply to + $output .= "From: " . $this->from . "\r\n"; + $output .= "Reply-To: " . $this->replyTo . "\r\n"; + + return $output; + } + + public function setValueForKey($key, $value) { + if ($this->nameIsBasic($key)) { + parent::setValueForKey($key, $value); + } else { + $this->headers[$key] = new EmailHeader(new NamedArguments(array('name' => $key, 'body' => $value))); + } + } + + public function fullMessage() { + return $this->getHeaders() . "\n" . $this->to . "\n" . $this->subject . "\n" . $this->message; + } + + public function send(){ + return mail($this->to, $this->subject, $newMessage, rtrim($this->getHeaders())); + } + +} + ?> \ No newline at end of file diff --git a/admin/classes/common/LdapPerson.php b/admin/classes/common/LdapPerson.php index 2205f10..7216696 100644 --- a/admin/classes/common/LdapPerson.php +++ b/admin/classes/common/LdapPerson.php @@ -1,64 +1,64 @@ -. -** -************************************************************************************************************************** -*/ - - -class LdapPerson extends DynamicObject { - - public function __construct($userKey) { - - $config = new Configuration; - - //try to connect to ldap if the settings are entered - if ($config->ldap->host) { - - //If you are using OpenLDAP 2.x.x you can specify a URL instead of the hostname. To use LDAP with SSL, compile OpenLDAP 2.x.x with SSL support, configure PHP with SSL, and set this parameter as ldaps://hostname/. - //note that connect happens regardless if host is valid - $ds = ldap_connect($config->ldap->host); - - //may need ldap_bind( $ds, $username, $password ) - $bd = ldap_bind($ds) or die("

Could not connect to " . $config->ldap->host . "

"); - - if ($bd){ - $filter = $config->ldap->search_key . "=" . $userKey; - - $sr = ldap_search($ds, $config->ldap->base_dn, $filter); - - if ($entries = ldap_get_entries($ds, $sr)) { - $entry = $entries[0]; - - $fieldNames = array('fname', 'lname', 'email', 'phone', 'department', 'title', 'address'); - - foreach ($fieldNames as $fieldName) { - $configName = $fieldName . '_field'; - - $this->$fieldName = $entry[$config->ldap->$configName][0]; - - } - $this->fullname = addslashes($this->fname . ' ' . $this->lname); - - } - - ldap_close($ds); - - } - } - } - -} - +. +** +************************************************************************************************************************** +*/ + + +class LdapPerson extends DynamicObject { + + public function __construct($userKey) { + + $config = new Configuration; + + //try to connect to ldap if the settings are entered + if ($config->ldap->host) { + + //If you are using OpenLDAP 2.x.x you can specify a URL instead of the hostname. To use LDAP with SSL, compile OpenLDAP 2.x.x with SSL support, configure PHP with SSL, and set this parameter as ldaps://hostname/. + //note that connect happens regardless if host is valid + $ds = ldap_connect($config->ldap->host); + + //may need ldap_bind( $ds, $username, $password ) + $bd = ldap_bind($ds) or die("

"._("Could not connect to ") . $config->ldap->host . "

"); + + if ($bd){ + $filter = $config->ldap->search_key . "=" . $userKey; + + $sr = ldap_search($ds, $config->ldap->base_dn, $filter); + + if ($entries = ldap_get_entries($ds, $sr)) { + $entry = $entries[0]; + + $fieldNames = array('fname', 'lname', 'email', 'phone', 'department', 'title', 'address'); + + foreach ($fieldNames as $fieldName) { + $configName = $fieldName . '_field'; + + $this->$fieldName = $entry[$config->ldap->$configName][0]; + + } + $this->fullname = addslashes($this->fname . ' ' . $this->lname); + + } + + ldap_close($ds); + + } + } + } + +} + ?> \ No newline at end of file diff --git a/admin/classes/common/NamedArguments.php b/admin/classes/common/NamedArguments.php index ad6e962..8fc99d5 100644 --- a/admin/classes/common/NamedArguments.php +++ b/admin/classes/common/NamedArguments.php @@ -1,54 +1,54 @@ -. -** -************************************************************************************************************************** -*/ - - -class NamedArguments { - - protected $arguments = array(); - - public function __construct($array) { - $this->arguments = $array; - } - - public function __get($name) { - if (array_key_exists($name, $this->arguments)) { - return $this->arguments[$name]; - } - } - - public function __set($name, $value) { - $this->arguments[$name] = $value; - } - - public function setDefaultValueForArgumentName($argumentName, $value) { - if (!array_key_exists($argumentName, $this->arguments)) { - $this->arguments[$argumentName] = $value; - } - } - - public function toJsonString() { - return json_encode($this->arguments); - } - - public function namedArgumentsFromJsonString($string) { - return new NamedAgruments(json_decode($string, true)); - } - -} - +. +** +************************************************************************************************************************** +*/ + + +class NamedArguments { + + protected $arguments = array(); + + public function __construct($array) { + $this->arguments = $array; + } + + public function __get($name) { + if (array_key_exists($name, $this->arguments)) { + return $this->arguments[$name]; + } + } + + public function __set($name, $value) { + $this->arguments[$name] = $value; + } + + public function setDefaultValueForArgumentName($argumentName, $value) { + if (!array_key_exists($argumentName, $this->arguments)) { + $this->arguments[$argumentName] = $value; + } + } + + public function toJsonString() { + return json_encode($this->arguments); + } + + public function namedArgumentsFromJsonString($string) { + return new NamedAgruments(json_decode($string, true)); + } + +} + ?> \ No newline at end of file diff --git a/admin/classes/common/Object.php b/admin/classes/common/Object.php index 653e9ce..ddcaa56 100644 --- a/admin/classes/common/Object.php +++ b/admin/classes/common/Object.php @@ -1,89 +1,89 @@ -. -** -************************************************************************************************************************** -*/ - - -class Object { - - public function __construct(NamedArguments $arguments = NULL) { - if (method_exists($this, 'init')) { - if (!is_a($arguments, 'NamedArguments')) { - $arguments = new NamedArguments(array()); - } - $this->init($arguments); - } - } - - // An optional initializer to use instead of |__construct()|. - protected function init(NamedArguments $arguments) { - - } - - public function __destruct() { - if (method_exists($this, 'dealloc')) { - $this->dealloc(); - } - } - - // An optional method called on deconstruction instead of |__deconstruct()|. - protected function dealloc() { - - } - - // Setters are functions called |$instance->setPropertyName($value)|. - public function __set($name, $value) { - $methodName = 'set' . ucfirst($name); - $this->$methodName($value); - } - - // Getters are functions called |$instance->propertyName()|. - public function __get($name) { - return $this->$name(); - } - - // Default setter uses declared properties. - protected function setValueForKey($key, $value) { - if (property_exists($this, $key)) { - $this->$key = $value; - } else { - throw new Exception("Cannot set value for undefined key ($key)."); - } - } - - // Default getter uses declared properties. - protected function valueForKey($key) { - if (property_exists($this, $key)) { - return $this->$key; - } else { - throw new Exception("Cannot get value for undefined key ($key)."); - } - } - - // Call |valueForKey| and |setValueForKey| as default setter and getter. - public function __call($name, $arguments) { - if (preg_match('/^set[A-Z]/', $name)) { - $key = preg_replace('/^set/', '\1', $name); - $key = lcfirst($key); - $this->setValueForKey($key, $arguments[0]); - } else { - return $this->valueForKey($name); - } - } - -} - +. +** +************************************************************************************************************************** +*/ + + +class Object { + + public function __construct(NamedArguments $arguments = NULL) { + if (method_exists($this, 'init')) { + if (!is_a($arguments, 'NamedArguments')) { + $arguments = new NamedArguments(array()); + } + $this->init($arguments); + } + } + + // An optional initializer to use instead of |__construct()|. + protected function init(NamedArguments $arguments) { + + } + + public function __destruct() { + if (method_exists($this, 'dealloc')) { + $this->dealloc(); + } + } + + // An optional method called on deconstruction instead of |__deconstruct()|. + protected function dealloc() { + + } + + // Setters are functions called |$instance->setPropertyName($value)|. + public function __set($name, $value) { + $methodName = 'set' . ucfirst($name); + $this->$methodName($value); + } + + // Getters are functions called |$instance->propertyName()|. + public function __get($name) { + return $this->$name(); + } + + // Default setter uses declared properties. + protected function setValueForKey($key, $value) { + if (property_exists($this, $key)) { + $this->$key = $value; + } else { + throw new Exception(_("Cannot set value for undefined key (")."$key)."); + } + } + + // Default getter uses declared properties. + protected function valueForKey($key) { + if (property_exists($this, $key)) { + return $this->$key; + } else { + throw new Exception(_("Cannot get value for undefined key (")."$key)."); + } + } + + // Call |valueForKey| and |setValueForKey| as default setter and getter. + public function __call($name, $arguments) { + if (preg_match('/^set[A-Z]/', $name)) { + $key = preg_replace('/^set/', '\1', $name); + $key = lcfirst($key); + $this->setValueForKey($key, $arguments[0]); + } else { + return $this->valueForKey($name); + } + } + +} + ?> \ No newline at end of file diff --git a/admin/classes/common/Utility.php b/admin/classes/common/Utility.php index 6cbc8dc..b6af77a 100644 --- a/admin/classes/common/Utility.php +++ b/admin/classes/common/Utility.php @@ -1,158 +1,158 @@ -. -** -************************************************************************************************************************** -*/ - - -class Utility { - - public function unixTimeFromMysqlTimestamp($timestamp) { - - // taken from Dan Green, and then modified to be correct - // http://www.weberdev.com/get_example-1427.html - - $year = substr($timestamp,0,4); - $month = substr($timestamp,5,2); - $day = substr($timestamp,8,2); - $hour = substr($timestamp,11,2); - $minute = substr($timestamp,14,2); - $second = substr($timestamp,17,2); - $newdate = mktime($hour,$minute,$second,$month,$day,$year); - - return $newdate; - - } - - public function secondsFromDays($days) { - return $days * 24 * 60 * 60; - } - - public function objectFromArray($array) { - $object = new DynamicObject; - foreach ($array as $key => $value) { - if (is_array($value)) { - $object->$key = Utility::objectFromArray($value); - } else { - $object->$key = $value; - } - } - return $object; - } - - //returns file path up to /coral/ - public function getCORALPath(){ - $pagePath = $_SERVER["DOCUMENT_ROOT"]; - - $currentFile = $_SERVER["SCRIPT_NAME"]; - $parts = Explode('/', $currentFile); - for($i=0; $igetCORALURL() . "auth/"; - } - - - - - public function hashString($hashAlgorithm, $string){ - - $hashedString = hash($hashAlgorithm, $string); - - return $hashedString; - - } - - public function randomString($stringLength){ - - $string = ''; - $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; - $charsLength = strlen($chars)-1; - - for ($i = 0; $i != $stringLength; $i++){ - $randInd = rand(0,$charsLength); - $string .= substr($chars, $randInd, 1); - } - - return $string; - } - - - public function setSessionCookie($sessionID, $time){ - - setcookie("CORALSessionID", $sessionID, $time, "/" ); - - } - - - public function setLoginCookie($loginID, $time){ - - setcookie("CORALLoginID", $loginID, $time, "/" ); - - } - - - public function setRememberLogin($loginID, $time){ - - setcookie("CORALRemember", $loginID, $time); - - } - - public function getSessionCookie(){ - - if(array_key_exists('CORALSessionID', $_COOKIE)){ - return $_COOKIE['CORALSessionID']; - } - - } - - public function getRememberLogin(){ - - if(array_key_exists('CORALRemember', $_COOKIE)){ - return $_COOKIE['CORALRemember']; - } - - } - - -} - +. +** +************************************************************************************************************************** +*/ + + +class Utility { + + public function unixTimeFromMysqlTimestamp($timestamp) { + + // taken from Dan Green, and then modified to be correct + // http://www.weberdev.com/get_example-1427.html + + $year = substr($timestamp,0,4); + $month = substr($timestamp,5,2); + $day = substr($timestamp,8,2); + $hour = substr($timestamp,11,2); + $minute = substr($timestamp,14,2); + $second = substr($timestamp,17,2); + $newdate = mktime($hour,$minute,$second,$month,$day,$year); + + return $newdate; + + } + + public function secondsFromDays($days) { + return $days * 24 * 60 * 60; + } + + public function objectFromArray($array) { + $object = new DynamicObject; + foreach ($array as $key => $value) { + if (is_array($value)) { + $object->$key = Utility::objectFromArray($value); + } else { + $object->$key = $value; + } + } + return $object; + } + + //returns file path up to /coral/ + public function getCORALPath(){ + $pagePath = $_SERVER["DOCUMENT_ROOT"]; + + $currentFile = $_SERVER["SCRIPT_NAME"]; + $parts = Explode('/', $currentFile); + for($i=0; $igetCORALURL() . "auth/"; + } + + + + + public function hashString($hashAlgorithm, $string){ + + $hashedString = hash($hashAlgorithm, $string); + + return $hashedString; + + } + + public function randomString($stringLength){ + + $string = ''; + $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; + $charsLength = strlen($chars)-1; + + for ($i = 0; $i != $stringLength; $i++){ + $randInd = rand(0,$charsLength); + $string .= substr($chars, $randInd, 1); + } + + return $string; + } + + + public function setSessionCookie($sessionID, $time){ + + setcookie("CORALSessionID", $sessionID, $time, "/" ); + + } + + + public function setLoginCookie($loginID, $time){ + + setcookie("CORALLoginID", $loginID, $time, "/" ); + + } + + + public function setRememberLogin($loginID, $time){ + + setcookie("CORALRemember", $loginID, $time); + + } + + public function getSessionCookie(){ + + if(array_key_exists('CORALSessionID', $_COOKIE)){ + return $_COOKIE['CORALSessionID']; + } + + } + + public function getRememberLogin(){ + + if(array_key_exists('CORALRemember', $_COOKIE)){ + return $_COOKIE['CORALRemember']; + } + + } + + +} + ?> \ No newline at end of file diff --git a/admin/classes/domain/Session.php b/admin/classes/domain/Session.php index 1c69234..6059990 100644 --- a/admin/classes/domain/Session.php +++ b/admin/classes/domain/Session.php @@ -1,32 +1,32 @@ -. -** -************************************************************************************************************************** -*/ - - -class Session extends DatabaseObject { - - protected function defineRelationships() {} - - protected function overridePrimaryKeyName() {} - - - - - -} - +. +** +************************************************************************************************************************** +*/ + + +class Session extends DatabaseObject { + + protected function defineRelationships() {} + + protected function overridePrimaryKeyName() {} + + + + + +} + ?> \ No newline at end of file diff --git a/admin/classes/domain/User.php b/admin/classes/domain/User.php index df72a08..0b29984 100644 --- a/admin/classes/domain/User.php +++ b/admin/classes/domain/User.php @@ -1,223 +1,223 @@ -. -** -************************************************************************************************************************** -*/ - - -class User extends DatabaseObject { - - protected function defineRelationships() {} - - protected function overridePrimaryKeyName() { - $this->primaryKeyName = 'loginID'; - } - - - //used only for allowing access to admin page - public function isAdmin(){ - if ($this->adminInd == 'Y' || $this->adminInd == '1'){ - return true; - }else{ - return false; - } - - } - - - public function allAsArray() { - $query = "SELECT * FROM User ORDER BY 1"; - $result = $this->db->processQuery($query, 'assoc'); - - $resultArray = array(); - $rowArray = array(); - - if ($result['loginID']){ - foreach (array_keys($result) as $attributeName) { - $rowArray[$attributeName] = $result[$attributeName]; - } - array_push($resultArray, $rowArray); - }else{ - foreach ($result as $row) { - foreach (array_keys($this->attributeNames) as $attributeName) { - $rowArray[$attributeName] = $row[$attributeName]; - } - array_push($resultArray, $rowArray); - } - } - - return $resultArray; - } - - - public function processLogin($password){ - - $util = new Utility(); - $config = new Configuration(); - - if($config->ldap->ldap_enabled=="Y"){ - $host = $config->ldap->host; - $ldaprdn = $config->ldap->base_dn; // ldap rdn or dn - $ldappass = $password; // associated password - $filter = "(".$config->ldap->search_key."=".$this->loginID.")"; //search filter - $ldapport = $config->ldap->port; //ldap server port - $bindAccount = $config->ldap->bindAccount; //bind account - $bindPass = $config->ldap->bindPass; //bind password - - // connect to ldap server - if($ldapport != ''){ - $ldapconn = ldap_connect($host, $ldapport) - or die("Could not connect to LDAP server."); - - ldap_set_option ($ldapconn, LDAP_OPT_REFERRALS, 0); - ldap_set_option($ldapconn, LDAP_OPT_PROTOCOL_VERSION, 3); - - }else{ - $ldapconn = ldap_connect($host) - or die("Could not connect to LDAP server."); - } - - - if ($ldapconn) { - if($bindAccount != ""){ - if($bindPass == ''){ - error_log("A bind password must be provided with a bind account"); - die("There is a problem with the LDAP configuration, contact your server administrator."); - } - //bind to ldap server - $ldapbind = ldap_bind($ldapconn, $bindAccount, $bindPass); - - }else{ - // binding to ldap server - //$ldapbind = ldap_bind($ldapconn, $ldaprdn, $ldappass); - $ldapbind = ldap_bind($ldapconn); - // verify binding - } - - if ($ldapbind) { - //echo "LDAP bind successful..."; - $ldapSearch = ldap_search($ldapconn, $ldaprdn, $filter); - - if($ldapSearch){ - $ldap_result = ldap_get_entries($ldapconn, $ldapSearch); - - $success = ldap_bind($ldapconn, $ldap_result[0]['dn'], $ldappass); - - if(!$success){ return false;} - } - else{ - return false; - } - }else{ - return false; - } - } - }else{ // built-in auth - //verify the password is correct - //get the hashed password - $pwh = $util->hashString('sha512', $this->passwordPrefix . $password); - - //password failed!! - if ($this->password != $pwh){ - return false; - } - } - //passed password test - - //create new session - $sessionID = $util->randomString(100); - - $session = new Session(); - $session->sessionID = $sessionID; - $session->loginID = $this->loginID; - $session->timestamp = date( 'Y-m-d H:i:s' ); - - $session->save(); - - //also set the cookie - $util->setSessionCookie($sessionID, time() + $config->settings->timeout); - $util->setLoginCookie($this->loginID, time() + $config->settings->timeout); - - //also set session variable - $_SESSION['loginID'] = $this->loginID; - - return true; - } - - - public function processLogout(){ - - $util = new Utility(); - $config = new Configuration(); - - //delete the session record in database - $sessionID = $util->getSessionCookie(); - - if ($sessionID){ - $session = new Session(new NamedArguments(array('primaryKey' => $sessionID))); - $session->delete(); - } - - //expire the cookie - $util->setSessionCookie($sessionID, time() - $config->settings->timeout); - - //unset the login session variable - unset($_SESSION['loginID']); - - - - } - - - - public function getOpenSession(){ - - $util = new Utility(); - - return $util->getSessionCookie(); - - } - - - public function getRememberLogin(){ - - $util = new Utility(); - - return $util->getRememberLogin(); - - } - - - public function setRememberLogin(){ - - $util = new Utility(); - - //expire in 180 days - return $util->setRememberLogin($this->loginID, time()+60*60*24*180); - - } - - - public function unsetRememberLogin(){ - - $util = new Utility(); - - return $util->setRememberLogin($this->loginID, time()-60); - - } - -} - -?> +. +** +************************************************************************************************************************** +*/ + + +class User extends DatabaseObject { + + protected function defineRelationships() {} + + protected function overridePrimaryKeyName() { + $this->primaryKeyName = 'loginID'; + } + + + //used only for allowing access to admin page + public function isAdmin(){ + if ($this->adminInd == 'Y' || $this->adminInd == '1'){ + return true; + }else{ + return false; + } + + } + + + public function allAsArray() { + $query = "SELECT * FROM User ORDER BY 1"; + $result = $this->db->processQuery($query, 'assoc'); + + $resultArray = array(); + $rowArray = array(); + + if ($result['loginID']){ + foreach (array_keys($result) as $attributeName) { + $rowArray[$attributeName] = $result[$attributeName]; + } + array_push($resultArray, $rowArray); + }else{ + foreach ($result as $row) { + foreach (array_keys($this->attributeNames) as $attributeName) { + $rowArray[$attributeName] = $row[$attributeName]; + } + array_push($resultArray, $rowArray); + } + } + + return $resultArray; + } + + + public function processLogin($password){ + + $util = new Utility(); + $config = new Configuration(); + + if($config->ldap->ldap_enabled=="Y"){ + $host = $config->ldap->host; + $ldaprdn = $config->ldap->base_dn; // ldap rdn or dn + $ldappass = $password; // associated password + $filter = "(".$config->ldap->search_key."=".$this->loginID.")"; //search filter + $ldapport = $config->ldap->port; //ldap server port + $bindAccount = $config->ldap->bindAccount; //bind account + $bindPass = $config->ldap->bindPass; //bind password + + // connect to ldap server + if($ldapport != ''){ + $ldapconn = ldap_connect($host, $ldapport) + or die(_("Could not connect to LDAP server.")); + + ldap_set_option ($ldapconn, LDAP_OPT_REFERRALS, 0); + ldap_set_option($ldapconn, LDAP_OPT_PROTOCOL_VERSION, 3); + + }else{ + $ldapconn = ldap_connect($host) + or die(_("Could not connect to LDAP server.")); + } + + + if ($ldapconn) { + if($bindAccount != ""){ + if($bindPass == ''){ + error_log("A bind password must be provided with a bind account"); + die(_("There is a problem with the LDAP configuration, contact your server administrator.")); + } + //bind to ldap server + $ldapbind = ldap_bind($ldapconn, $bindAccount, $bindPass); + + }else{ + // binding to ldap server + //$ldapbind = ldap_bind($ldapconn, $ldaprdn, $ldappass); + $ldapbind = ldap_bind($ldapconn); + // verify binding + } + + if ($ldapbind) { + //echo "LDAP bind successful..."; + $ldapSearch = ldap_search($ldapconn, $ldaprdn, $filter); + + if($ldapSearch){ + $ldap_result = ldap_get_entries($ldapconn, $ldapSearch); + + $success = ldap_bind($ldapconn, $ldap_result[0]['dn'], $ldappass); + + if(!$success){ return false;} + } + else{ + return false; + } + }else{ + return false; + } + } + }else{ // built-in auth + //verify the password is correct + //get the hashed password + $pwh = $util->hashString('sha512', $this->passwordPrefix . $password); + + //password failed!! + if ($this->password != $pwh){ + return false; + } + } + //passed password test + + //create new session + $sessionID = $util->randomString(100); + + $session = new Session(); + $session->sessionID = $sessionID; + $session->loginID = $this->loginID; + $session->timestamp = date( 'Y-m-d H:i:s' ); + + $session->save(); + + //also set the cookie + $util->setSessionCookie($sessionID, time() + $config->settings->timeout); + $util->setLoginCookie($this->loginID, time() + $config->settings->timeout); + + //also set session variable + $_SESSION['loginID'] = $this->loginID; + + return true; + } + + + public function processLogout(){ + + $util = new Utility(); + $config = new Configuration(); + + //delete the session record in database + $sessionID = $util->getSessionCookie(); + + if ($sessionID){ + $session = new Session(new NamedArguments(array('primaryKey' => $sessionID))); + $session->delete(); + } + + //expire the cookie + $util->setSessionCookie($sessionID, time() - $config->settings->timeout); + + //unset the login session variable + unset($_SESSION['loginID']); + + + + } + + + + public function getOpenSession(){ + + $util = new Utility(); + + return $util->getSessionCookie(); + + } + + + public function getRememberLogin(){ + + $util = new Utility(); + + return $util->getRememberLogin(); + + } + + + public function setRememberLogin(){ + + $util = new Utility(); + + //expire in 180 days + return $util->setRememberLogin($this->loginID, time()+60*60*24*180); + + } + + + public function unsetRememberLogin(){ + + $util = new Utility(); + + return $util->setRememberLogin($this->loginID, time()-60); + + } + +} + +?> diff --git a/admin/configuration_sample.ini b/admin/configuration_sample.ini index 51bfa4f..86c2846 100644 --- a/admin/configuration_sample.ini +++ b/admin/configuration_sample.ini @@ -1,20 +1,20 @@ -[settings] -timeout=3600 - -[ldap] -ldap_enabled = "N" -host = "ldap.example.edu" -port = "" -search_key = "" -base_dn = "" -fname_field = "" -lname_field = "" -bindAccount = "" -bindPass = "" - -[database] -type = "mysql" -host = "" -name = "" -username = "coral" -password = "" +[settings] +timeout=3600 + +[ldap] +ldap_enabled = "N" +host = "ldap.example.edu" +port = "" +search_key = "" +base_dn = "" +fname_field = "" +lname_field = "" +bindAccount = "" +bindPass = "" + +[database] +type = "mysql" +host = "" +name = "" +username = "coral" +password = "" diff --git a/ajax_forms.php b/ajax_forms.php index 0cb8361..e017082 100644 --- a/ajax_forms.php +++ b/ajax_forms.php @@ -40,7 +40,7 @@
-
+
@@ -53,16 +53,16 @@
- +   -
Enter password for changes only
"; } ?> - +
"; } ?> +  
- +  
- +   />
@@ -74,8 +74,8 @@
Login ID Admin?
- - + +
@@ -84,32 +84,26 @@ "; echo "" . $userArray['loginID'] . ""; echo "" . $isAdmin . ""; - echo "edit password or admin status"; - echo "remove"; + echo ""._("edit password or admin status").""; + echo ""._("remove").""; echo ""; } ?> - add new user + add new user"; + echo "(none found)
"._("add new user").""; } break; @@ -72,7 +72,7 @@ default: - echo "Action " . $action . " not set up!"; + echo _("Action ") . $action . _(" not set up!"); break; diff --git a/ajax_processing.php b/ajax_processing.php index 8e16020..44cdf43 100644 --- a/ajax_processing.php +++ b/ajax_processing.php @@ -74,7 +74,7 @@ try { $dUser->delete(); - echo "User successfully deleted."; + echo _("User successfully deleted."); } catch (Exception $e) { echo $e->getMessage(); } @@ -86,7 +86,7 @@ default: - echo "Action " . $action . " not set up!"; + echo _("Action ") . $action . _(" not set up!"); break; } diff --git a/css/style.css b/css/style.css index 8488d86..42c6d33 100644 --- a/css/style.css +++ b/css/style.css @@ -1,7 +1,7 @@ html { height: 100%; margin: 0; - padding: 0 + padding: 0; } body { diff --git a/css/thickbox.css b/css/thickbox.css index f47142b..81e5a14 100644 --- a/css/thickbox.css +++ b/css/thickbox.css @@ -1,167 +1,167 @@ -/* ----------------------------------------------------------------------------------------------------------------*/ -/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/ -/* ----------------------------------------------------------------------------------------------------------------*/ -*{padding: 0; margin: 0;} - -/* ----------------------------------------------------------------------------------------------------------------*/ -/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/ -/* ----------------------------------------------------------------------------------------------------------------*/ -#TB_window { - font: 12px Arial, Helvetica, sans-serif; - color: #2c3c42; -} - -#TB_secondLine { - font: 11px Arial, Helvetica, sans-serif; - color:#2c3c42; -} - -#TB_window a:link {color: #3D545D;} -#TB_window a:visited {color: #3D545D;} -#TB_window a:hover {color: #000;} -#TB_window a:active {color: #3D545D;} -#TB_window a:focus{color: #3D545D;} - -/* ----------------------------------------------------------------------------------------------------------------*/ -/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/ -/* ----------------------------------------------------------------------------------------------------------------*/ -#TB_overlay { - position: fixed; - z-index:100; - top: 0px; - left: 0px; - height:100%; - width:100%; -} - -.smallText{color:#3D545D;font-size:92%;} - -.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;} -.TB_overlayBG { - background-color:#000; - filter:alpha(opacity=75); - -moz-opacity: 0.75; - opacity: 0.75; -} - -* html #TB_overlay { /* ie6 hack */ - position: absolute; - height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); -} - -#TB_window { - position: fixed; - background: #ffffff; - z-index: 102; - color:#3D545D; - display:none; - border: 4px solid #525252; - text-align:left; - top:50%; - left:50%; -} - -* html #TB_window { /* ie6 hack */ -position: absolute; -margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); -} - -#TB_window img#TB_Image { - display:block; - margin: 15px 0 0 15px; - border-right: 1px solid #ccc; - border-bottom: 1px solid #ccc; - border-top: 1px solid #666; - border-left: 1px solid #666; -} - -#TB_caption{ - height:25px; - padding:7px 30px 10px 25px; - float:left; -} - -#TB_closeWindow{ - height:25px; - padding:11px 25px 10px 0; - float:right; -} - -#TB_closeAjaxWindow{ - padding:7px 10px 5px 0; - margin-bottom:1px; - text-align:right; - float:right; -} - -#TB_ajaxWindowTitle{ - float:left; - padding:7px 0 5px 10px; - margin-bottom:1px; -} - -#TB_title{ - background-color:#e8e8e8; - height:27px; -} - -#TB_ajaxContent{ - clear:both; - margin:3px 5px 5px 5px; - overflow:auto; - text-align:left; - line-height:1.4em; -} - -#TB_ajaxContent.TB_modal{ - padding: 15px; - width: auto !important; - height: auto !important; -} - -#TB_ajaxContent p{ - padding:5px 0px 5px 0px; -} - -#TB_load{ - position: fixed; - display:none; - height:13px; - width:208px; - z-index:103; - top: 50%; - left: 50%; - margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */ -} - -* html #TB_load { /* ie6 hack */ -position: absolute; -margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); -} - -#TB_HideSelect{ - z-index:99; - position:fixed; - top: 0; - left: 0; - background-color:#fff; - border:none; - filter:alpha(opacity=0); - -moz-opacity: 0; - opacity: 0; - height:100%; - width:100%; -} - -* html #TB_HideSelect { /* ie6 hack */ - position: absolute; - height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); -} - -#TB_iframeContent{ - clear:both; - border:none; - margin-bottom:-1px; - margin-top:1px; - _margin-bottom:1px; -} +/* ----------------------------------------------------------------------------------------------------------------*/ +/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/ +/* ----------------------------------------------------------------------------------------------------------------*/ +*{padding: 0; margin: 0;} + +/* ----------------------------------------------------------------------------------------------------------------*/ +/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/ +/* ----------------------------------------------------------------------------------------------------------------*/ +#TB_window { + font: 12px Arial, Helvetica, sans-serif; + color: #2c3c42; +} + +#TB_secondLine { + font: 11px Arial, Helvetica, sans-serif; + color:#2c3c42; +} + +#TB_window a:link {color: #3D545D;} +#TB_window a:visited {color: #3D545D;} +#TB_window a:hover {color: #000;} +#TB_window a:active {color: #3D545D;} +#TB_window a:focus{color: #3D545D;} + +/* ----------------------------------------------------------------------------------------------------------------*/ +/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/ +/* ----------------------------------------------------------------------------------------------------------------*/ +#TB_overlay { + position: fixed; + z-index:100; + top: 0px; + left: 0px; + height:100%; + width:100%; +} + +.smallText{color:#3D545D;font-size:92%;} + +.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;} +.TB_overlayBG { + background-color:#000; + filter:alpha(opacity=75); + -moz-opacity: 0.75; + opacity: 0.75; +} + +* html #TB_overlay { /* ie6 hack */ + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +#TB_window { + position: fixed; + background: #ffffff; + z-index: 102; + color:#3D545D; + display:none; + border: 4px solid #525252; + text-align:left; + top:50%; + left:50%; +} + +* html #TB_window { /* ie6 hack */ +position: absolute; +margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); +} + +#TB_window img#TB_Image { + display:block; + margin: 15px 0 0 15px; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ccc; + border-top: 1px solid #666; + border-left: 1px solid #666; +} + +#TB_caption{ + height:25px; + padding:7px 30px 10px 25px; + float:left; +} + +#TB_closeWindow{ + height:25px; + padding:11px 25px 10px 0; + float:right; +} + +#TB_closeAjaxWindow{ + padding:7px 10px 5px 0; + margin-bottom:1px; + text-align:right; + float:right; +} + +#TB_ajaxWindowTitle{ + float:left; + padding:7px 0 5px 10px; + margin-bottom:1px; +} + +#TB_title{ + background-color:#e8e8e8; + height:27px; +} + +#TB_ajaxContent{ + clear:both; + margin:3px 5px 5px 5px; + overflow:auto; + text-align:left; + line-height:1.4em; +} + +#TB_ajaxContent.TB_modal{ + padding: 15px; + width: auto !important; + height: auto !important; +} + +#TB_ajaxContent p{ + padding:5px 0px 5px 0px; +} + +#TB_load{ + position: fixed; + display:none; + height:13px; + width:208px; + z-index:103; + top: 50%; + left: 50%; + margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */ +} + +* html #TB_load { /* ie6 hack */ +position: absolute; +margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); +} + +#TB_HideSelect{ + z-index:99; + position:fixed; + top: 0; + left: 0; + background-color:#fff; + border:none; + filter:alpha(opacity=0); + -moz-opacity: 0; + opacity: 0; + height:100%; + width:100%; +} + +* html #TB_HideSelect { /* ie6 hack */ + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +#TB_iframeContent{ + clear:both; + border:none; + margin-bottom:-1px; + margin-top:1px; + _margin-bottom:1px; +} diff --git a/directory.php b/directory.php index c7ad949..9b21798 100644 --- a/directory.php +++ b/directory.php @@ -59,5 +59,20 @@ function lcfirst($string) { @date_default_timezone_set(@date_default_timezone_get()); } +// Include file of language codes +include_once 'LangCodes.php'; +$lang_name = new LangCodes(); +// Verify the language of the browser + global $http_lang; + if(isset($_COOKIE["lang"])){ + $http_lang = $_COOKIE["lang"]; + }else{ + $codeL = substr($_SERVER["HTTP_ACCEPT_LANGUAGE"],0,2); + $http_lang = $lang_name->getLanguage($codeL); + } + putenv("LC_ALL=$http_lang"); + setlocale(LC_ALL, $http_lang.".utf8"); + bindtextdomain("messages", "./locale"); + textdomain("messages"); ?> \ No newline at end of file diff --git a/index.php b/index.php index b7a449c..21dbb30 100644 --- a/index.php +++ b/index.php @@ -21,9 +21,10 @@ session_start(); include_once 'directory.php'; - $util = new Utility(); + + if (isset($_GET['service'])){ $service = $_GET['service']; }else{ @@ -51,7 +52,7 @@ $user->processLogout(); - $message = 'You are successfully logged out of the system.'; + $message = _('You are successfully logged out of the system.'); $user = new User(); @@ -63,7 +64,7 @@ } //the user is trying to log in -}else if ($_POST['loginID'] && $_POST['password']){ +}else if (isset($_POST['loginID']) && isset($_POST['password'])){ $loginID = $_POST['loginID']; $password = $_POST['password']; @@ -82,12 +83,12 @@ //perform login checks if ($user->loginID == ''){ - $errorMessage = "Invalid login ID. Please try again."; + $errorMessage = _("Invalid login ID. Please try again."); //perform login, if failed issue message }else{ if(!$user->processLogin($password)){ - $errorMessage = "Invalid password. Please try again."; + $errorMessage = _("Invalid password. Please try again."); $inputLoginID = $loginID; }else{ @@ -103,7 +104,7 @@ }else if(isset($_SESSION['loginID'])){ if ($user->getOpenSession()){ - $message = "You are already logged in as " . $loginID . ".
You may log in as another user below, return or logout."; + $message = _("You are already logged in as ") . $loginID . ".
" . _("You may log in as another user below,")." "._("return")." "._("or")." ". _("logout")."."; } $inputLoginID = $user->getRememberLogin(); @@ -124,7 +125,7 @@ $rememberChecked = 'checked'; } - $message = "Please enter login credentials to sign in."; + $message = _("Please enter login credentials to sign in."); } @@ -132,7 +133,7 @@ //user was just timed out if(array_key_exists('timeout', $_GET)){ - $errorMessage = "Your session has timed out."; + $errorMessage = _("Your session has timed out."); $message = ""; } @@ -141,7 +142,7 @@ //user does not have permissions to enter the module if(array_key_exists('invalid', $_GET)){ - $errorMessage = "You do not have permission to enter.
Please contact an administrator."; + $errorMessage = _("You do not have permission to enter.")."
"._("Please contact an administrator."); $message = ""; } @@ -151,7 +152,7 @@ //user needs to access admin page if(array_key_exists('admin', $_GET)){ - $errorMessage = "You must log in before accessing the admin page."; + $errorMessage = _("You must log in before accessing the admin page."); $message = ""; } @@ -172,9 +173,24 @@ + +getLanguage($str); + if($default_l==null || empty($default_l)){$default_l=$str;} + if(isset($_COOKIE["lang"])){ + if($_COOKIE["lang"]==$http_lang && $_COOKIE["lang"] != "en_US"){ + echo ""; + } + }else if($default_l==$http_lang && $default_l != "en_US"){ + echo ""; + } +?> - +
@@ -184,22 +200,63 @@

- +
- +
- /> Remember my login ID + /> 
- +
- - +
+

+ +
+
@@ -211,7 +268,23 @@


- + +
@@ -207,7 +229,7 @@
- +

Welcome to a new CORAL Auth installation!

This installation will: @@ -281,8 +303,10 @@ //second step - ask for DB info to run DDL } else if ($step == '2') { - if (!$database_host) $database_host='localhost'; - if (!$database_name) $database_name='coral_auth_prod'; + if (!isset($database_host)) $database_host='localhost'; + if (!isset($database_name)) $database_name='coral_auth_prod'; + if (!isset($database_username)) $database_username = ""; + if (!isset($database_password)) $database_password = ""; ?>

MySQL info with permissions to create tables

@@ -299,7 +323,7 @@  Database Host - + @@ -339,7 +363,26 @@ //third step - ask for DB info to log in from CORAL } else if ($step == '3') { - if (!$session_timeout) $session_timeout='3600'; + if (!isset($session_timeout)) $session_timeout='3600'; + + $ldap = array('host'=>'', 'port'=>'', 'search_key'=>'', 'base_dn'=>'', 'bindAccount'=>'','bindPass'=>''); + if (isset($_POST['ldap_enabled'])) { + $ldap['ldap_enabled'] = 'Y'; + if (isset($_POST['ldap_host'])) + $ldap['host'] = $_POST['ldap_host']; + if (isset($_POST['ldap_port'])) + $ldap['port'] = $_POST['ldap_port']; + if (isset($_POST['ldap_search_key'])) + $ldap['search_key'] = $_POST['ldap_search_key']; + if (isset($_POST['ldap_base_dn'])) + $ldap['base_dn'] = $_POST['ldap_base_dn']; + if (isset($_POST['ldap_bind_account'])) + $ldap['bindAccount'] = $_POST['ldap_bind_account']; + if (isset($_POST['ldap_bind_password'])) + $ldap['bindPass'] = $_POST['ldap_bind_password']; + } else { + $ldap['ldap_enabled'] = 'N'; + } ?> @@ -377,9 +420,63 @@ - + + +   + + + +  Enable LDAP + + onclick="ShowLDAP()"> + + + +  LDAP Host + + > + + + + +  LDAP Port + + > + + + + +  LDAP Search Key + + > + + + + +  LDAP Base DN + + > + + + + +  LDAP Bind Account + + > + + + + +  LDAP Bind Password + + > + + + +   +   @@ -389,9 +486,11 @@ -
+ a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b="length"in a&&a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,aa=/[+~]/,ba=/'|\\/g,ca=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),da=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ea=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fa){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(ba,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+ra(o[l]);w=aa.test(a)&&pa(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function pa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",ea,!1):e.attachEvent&&e.attachEvent("onunload",ea)),p=!f(g),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?la(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ca,da),a[3]=(a[3]||a[4]||a[5]||"").replace(ca,da),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ca,da).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(ca,da),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return W.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(ca,da).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:oa(function(){return[0]}),last:oa(function(a,b){return[b-1]}),eq:oa(function(a,b,c){return[0>c?c+b:c]}),even:oa(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:oa(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:oa(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:oa(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function sa(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function ta(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ua(a,b,c){for(var d=0,e=b.length;e>d;d++)ga(a,b[d],c);return c}function va(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wa(a,b,c,d,e,f){return d&&!d[u]&&(d=wa(d)),e&&!e[u]&&(e=wa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ua(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:va(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=va(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=va(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sa(function(a){return a===b},h,!0),l=sa(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sa(ta(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return wa(i>1&&ta(m),i>1&&ra(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xa(a.slice(i,e)),f>e&&xa(a=a.slice(e)),f>e&&ra(a))}m.push(c)}return ta(m)}function ya(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=va(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&ga.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,ya(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ca,da),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ca,da),aa.test(j[0].type)&&pa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&ra(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,aa.test(a)&&pa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ja(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1; + +return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML="
a",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function aa(){return!0}function ba(){return!1}function ca(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),ha=/^\s+/,ia=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ja=/<([\w:]+)/,ka=/\s*$/g,ra={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:k.htmlSerialize?[0,"",""]:[1,"X
","
"]},sa=da(y),ta=sa.appendChild(y.createElement("div"));ra.optgroup=ra.option,ra.tbody=ra.tfoot=ra.colgroup=ra.caption=ra.thead,ra.th=ra.td;function ua(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ua(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function va(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wa(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xa(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function ya(a){var b=pa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function za(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Aa(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Ba(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xa(b).text=a.text,ya(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!ga.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(ta.innerHTML=a.outerHTML,ta.removeChild(f=ta.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ua(f),h=ua(a),g=0;null!=(e=h[g]);++g)d[g]&&Ba(e,d[g]);if(b)if(c)for(h=h||ua(a),d=d||ua(f),g=0;null!=(e=h[g]);g++)Aa(e,d[g]);else Aa(a,f);return d=ua(f,"script"),d.length>0&&za(d,!i&&ua(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=da(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(la.test(f)){h=h||o.appendChild(b.createElement("div")),i=(ja.exec(f)||["",""])[1].toLowerCase(),l=ra[i]||ra._default,h.innerHTML=l[1]+f.replace(ia,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&ha.test(f)&&p.push(b.createTextNode(ha.exec(f)[0])),!k.tbody){f="table"!==i||ka.test(f)?""!==l[1]||ka.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ua(p,"input"),va),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ua(o.appendChild(f),"script"),g&&za(h),c)){e=0;while(f=h[e++])oa.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wa(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ua(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&za(ua(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ua(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fa,""):void 0;if(!("string"!=typeof a||ma.test(a)||!k.htmlSerialize&&ga.test(a)||!k.leadingWhitespace&&ha.test(a)||ra[(ja.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ia,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ua(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ua(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&na.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ua(i,"script"),xa),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ua(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,ya),j=0;f>j;j++)d=g[j],oa.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qa,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Ca,Da={};function Ea(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fa(a){var b=y,c=Da[a];return c||(c=Ea(a,b),"none"!==c&&c||(Ca=(Ca||m("
"); - $("#TB_overlay").click(tb_remove); - } - }else{//all others - if(document.getElementById("TB_overlay") === null){ - $("body").append("
"); - $("#TB_overlay").click(tb_remove); - } - } - - if(tb_detectMacXFF()){ - $("#TB_overlay").addClass("TB_overlayMacFFBGHack");//use png overlay so hide flash - }else{ - $("#TB_overlay").addClass("TB_overlayBG");//use background and opacity - } - - if(caption===null){caption="";} - $("body").append("
");//add loader to the page - $('#TB_load').show();//show loader - - var baseURL; - if(url.indexOf("?")!==-1){ //ff there is a query string involved - baseURL = url.substr(0, url.indexOf("?")); - }else{ - baseURL = url; - } - - var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/; - var urlType = baseURL.toLowerCase().match(urlString); - - if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images - - TB_PrevCaption = ""; - TB_PrevURL = ""; - TB_PrevHTML = ""; - TB_NextCaption = ""; - TB_NextURL = ""; - TB_NextHTML = ""; - TB_imageCount = ""; - TB_FoundURL = false; - if(imageGroup){ - TB_TempArray = $("a[@rel="+imageGroup+"]").get(); - for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) { - var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString); - if (!(TB_TempArray[TB_Counter].href == url)) { - if (TB_FoundURL) { - TB_NextCaption = TB_TempArray[TB_Counter].title; - TB_NextURL = TB_TempArray[TB_Counter].href; - TB_NextHTML = "  Next >"; - } else { - TB_PrevCaption = TB_TempArray[TB_Counter].title; - TB_PrevURL = TB_TempArray[TB_Counter].href; - TB_PrevHTML = "  < Prev"; - } - } else { - TB_FoundURL = true; - TB_imageCount = "Image " + (TB_Counter + 1) +" of "+ (TB_TempArray.length); - } - } - } - - imgPreloader = new Image(); - imgPreloader.onload = function(){ - imgPreloader.onload = null; - - // Resizing large images - orginal by Christian Montoya edited by me. - var pagesize = tb_getPageSize(); - var x = pagesize[0] - 150; - var y = pagesize[1] - 150; - - var imageWidth = imgPreloader.width; - var imageHeight = imgPreloader.height; - if (imageWidth > x) { - imageHeight = imageHeight * (x / imageWidth); - imageWidth = x; - if (imageHeight > y) { - imageWidth = imageWidth * (y / imageHeight); - imageHeight = y; - } - } else if (imageHeight > y) { - imageWidth = imageWidth * (y / imageHeight); - imageHeight = y; - if (imageWidth > x) { - imageHeight = imageHeight * (x / imageWidth); - imageWidth = x; - } - } - // End Resizing - - TB_WIDTH = imageWidth + 30; - TB_HEIGHT = imageHeight + 60; - $("#TB_window").append(""+caption+"" + "
"+caption+"
" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "
close or Esc Key
"); - - $("#TB_closeWindowButton").click(tb_remove); - $("#TB_cancelWindowButton").click(tb_remove); - - if (!(TB_PrevHTML === "")) { - function goPrev(){ - if($(document).unbind("click",goPrev)){$(document).unbind("click",goPrev);} - $("#TB_window").remove(); - $("body").append("
"); - tb_show(TB_PrevCaption, TB_PrevURL, imageGroup); - return false; - } - $("#TB_prev").click(goPrev); - } - - if (!(TB_NextHTML === "")) { - function goNext(){ - $("#TB_window").remove(); - $("body").append("
"); - tb_show(TB_NextCaption, TB_NextURL, imageGroup); - return false; - } - $("#TB_next").click(goNext); - - } - - document.onkeydown = function(e){ - if (e == null) { // ie - keycode = event.keyCode; - } else { // mozilla - keycode = e.which; - } - if(keycode == 27){ // close - tb_remove(); - } else if(keycode == 190){ // display previous image - if(!(TB_NextHTML == "")){ - document.onkeydown = ""; - goNext(); - } - } else if(keycode == 188){ // display next image - if(!(TB_PrevHTML == "")){ - document.onkeydown = ""; - goPrev(); - } - } - }; - - tb_position(); - $("#TB_load").remove(); - $("#TB_ImageOff").click(tb_remove); - $("#TB_window").css({display:"block"}); //for safari using css instead of show - }; - - imgPreloader.src = url; - }else{//code to show html - - var queryString = url.replace(/^[^\?]+\??/,''); - var params = tb_parseQuery( queryString ); - - TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL - TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL - - ajaxContentW = TB_WIDTH - 30; - ajaxContentH = TB_HEIGHT - 45; - - if(url.indexOf('TB_iframe') != -1){// either iframe or ajax window - urlNoQuery = url.split('TB_'); - $("#TB_iframeContent").remove(); - if(params['modal'] != "true"){//iframe no modal - $("#TB_window").append("
"+caption+"
close or Esc Key
"); - }else{//iframe modal - $("#TB_overlay").unbind(); - $("#TB_window").append(""); - } - }else{// not an iframe, ajax - if($("#TB_window").css("display") != "block"){ - if(params['modal'] != "true"){//ajax no modal - $("#TB_window").append("
"+caption+"
close or Esc Key
"); - }else{//ajax modal - $("#TB_overlay").unbind(); - $("#TB_window").append("
"); - } - }else{//this means the window is already up, we are just loading new content via ajax - $("#TB_ajaxContent")[0].style.width = ajaxContentW +"px"; - $("#TB_ajaxContent")[0].style.height = ajaxContentH +"px"; - $("#TB_ajaxContent")[0].scrollTop = 0; - $("#TB_ajaxWindowTitle").html(caption); - } - } - - $("#TB_closeWindowButton").click(tb_remove); - $("#TB_cancelWindowButton").click(tb_remove); - - if(url.indexOf('TB_inline') != -1){ - $("#TB_ajaxContent").append($('#' + params['inlineId']).children()); - $("#TB_window").unload(function () { - $('#' + params['inlineId']).append( $("#TB_ajaxContent").children() ); // move elements back when you're finished - }); - tb_position(); - $("#TB_load").remove(); - $("#TB_window").css({display:"block"}); - }else if(url.indexOf('TB_iframe') != -1){ - tb_position(); - if($.browser.safari){//safari needs help because it will not fire iframe onload - $("#TB_load").remove(); - $("#TB_window").css({display:"block"}); - } - }else{ - $("#TB_ajaxContent").load(url += "&random=" + (new Date().getTime()),function(){//to do a post change this load method - tb_position(); - $("#TB_load").remove(); - tb_init("#TB_ajaxContent a.thickbox"); - $("#TB_window").css({display:"block"}); - }); - } - - } - - if(!params['modal']){ - document.onkeyup = function(e){ - if (e == null) { // ie - keycode = event.keyCode; - } else { // mozilla - keycode = e.which; - } - if(keycode == 27){ // close - tb_remove(); - } - }; - } - - } catch(e) { - //nothing here - } -} - -//helper functions below -function tb_showIframe(){ - $("#TB_load").remove(); - $("#TB_window").css({display:"block"}); -} - -function tb_remove() { - $("#TB_imageOff").unbind("click"); - $("#TB_closeWindowButton").unbind("click"); - $("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();}); - $("#TB_load").remove(); - if (typeof document.body.style.maxHeight == "undefined") {//if IE 6 - $("body","html").css({height: "auto", width: "auto"}); - $("html").css("overflow",""); - } - document.onkeydown = ""; - document.onkeyup = ""; - return false; -} - -function tb_position() { -$("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); - if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6 - $("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'}); - } -} - -function tb_parseQuery ( query ) { - var Params = {}; - if ( ! query ) {return Params;}// return empty object - var Pairs = query.split(/[;&]/); - for ( var i = 0; i < Pairs.length; i++ ) { - var KeyVal = Pairs[i].split('='); - if ( ! KeyVal || KeyVal.length != 2 ) {continue;} - var key = unescape( KeyVal[0] ); - var val = unescape( KeyVal[1] ); - val = val.replace(/\+/g, ' '); - Params[key] = val; - } - return Params; -} - -function tb_getPageSize(){ - var de = document.documentElement; - var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth; - var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight; - arrayPageSize = [w,h]; - return arrayPageSize; -} - -function tb_detectMacXFF() { - var userAgent = navigator.userAgent.toLowerCase(); - if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) { - return true; - } -} - - - -function tb_resize(width1,height1){ - TB_WIDTH = parseInt(width1) + 30 || 630; //defaults to 630 if no paramaters were added to URL - TB_HEIGHT = (parseInt(height1)*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL - ajaxContentW = TB_WIDTH - 30; - ajaxContentH = TB_HEIGHT - 45; - - $("#TB_ajaxContent")[0].style.width=(ajaxContentW + 29)+'px'; - $("#TB_ajaxContent")[0].style.height=(ajaxContentH + 17)+'px'; - tb_position(); - +/* + * Thickbox 3.1 - One Box To Rule Them All. + * By Cody Lindley (http://www.codylindley.com) + * Copyright (c) 2007 cody lindley + * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php +*/ + +var tb_pathToImage = "images/loadingAnimation.gif"; + +/*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/ + +//on page load call tb_init +$(document).ready(function(){ + tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox + imgLoader = new Image();// preload image + imgLoader.src = tb_pathToImage; +}); + +function tb_reinit() { + $('a.thickbox, area.thickbox, input.thickbox').unbind("click"); + tb_init('a.thickbox, area.thickbox, input.thickbox'); +} + +//add thickbox to href & area elements that have a class of .thickbox +function tb_init(domChunk){ + $(domChunk).click(function(){ + var t = this.title || this.name || null; + var a = this.href || this.alt; + var g = this.rel || false; + tb_show(t,a,g); + this.blur(); + return false; + }); +} + +function tb_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link + + try { + if (typeof document.body.style.maxHeight === "undefined") {//if IE 6 + $("body","html").css({height: "100%", width: "100%"}); + $("html").css("overflow","hidden"); + if (document.getElementById("TB_HideSelect") === null) {//iframe to hide select elements in ie6 + $("body").append("
"); + $("#TB_overlay").click(tb_remove); + } + }else{//all others + if(document.getElementById("TB_overlay") === null){ + $("body").append("
"); + $("#TB_overlay").click(tb_remove); + } + } + + if(tb_detectMacXFF()){ + $("#TB_overlay").addClass("TB_overlayMacFFBGHack");//use png overlay so hide flash + }else{ + $("#TB_overlay").addClass("TB_overlayBG");//use background and opacity + } + + if(caption===null){caption="";} + $("body").append("
");//add loader to the page + $('#TB_load').show();//show loader + + var baseURL; + if(url.indexOf("?")!==-1){ //ff there is a query string involved + baseURL = url.substr(0, url.indexOf("?")); + }else{ + baseURL = url; + } + + var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/; + var urlType = baseURL.toLowerCase().match(urlString); + + if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images + + TB_PrevCaption = ""; + TB_PrevURL = ""; + TB_PrevHTML = ""; + TB_NextCaption = ""; + TB_NextURL = ""; + TB_NextHTML = ""; + TB_imageCount = ""; + TB_FoundURL = false; + if(imageGroup){ + TB_TempArray = $("a[@rel="+imageGroup+"]").get(); + for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) { + var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString); + if (!(TB_TempArray[TB_Counter].href == url)) { + if (TB_FoundURL) { + TB_NextCaption = TB_TempArray[TB_Counter].title; + TB_NextURL = TB_TempArray[TB_Counter].href; + TB_NextHTML = "  Next >"; + } else { + TB_PrevCaption = TB_TempArray[TB_Counter].title; + TB_PrevURL = TB_TempArray[TB_Counter].href; + TB_PrevHTML = "  < Prev"; + } + } else { + TB_FoundURL = true; + TB_imageCount = "Image " + (TB_Counter + 1) +" of "+ (TB_TempArray.length); + } + } + } + + imgPreloader = new Image(); + imgPreloader.onload = function(){ + imgPreloader.onload = null; + + // Resizing large images - orginal by Christian Montoya edited by me. + var pagesize = tb_getPageSize(); + var x = pagesize[0] - 150; + var y = pagesize[1] - 150; + + var imageWidth = imgPreloader.width; + var imageHeight = imgPreloader.height; + if (imageWidth > x) { + imageHeight = imageHeight * (x / imageWidth); + imageWidth = x; + if (imageHeight > y) { + imageWidth = imageWidth * (y / imageHeight); + imageHeight = y; + } + } else if (imageHeight > y) { + imageWidth = imageWidth * (y / imageHeight); + imageHeight = y; + if (imageWidth > x) { + imageHeight = imageHeight * (x / imageWidth); + imageWidth = x; + } + } + // End Resizing + + TB_WIDTH = imageWidth + 30; + TB_HEIGHT = imageHeight + 60; + $("#TB_window").append(""+caption+"" + "
"+caption+"
" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "
close or Esc Key
"); + + $("#TB_closeWindowButton").click(tb_remove); + $("#TB_cancelWindowButton").click(tb_remove); + + if (!(TB_PrevHTML === "")) { + function goPrev(){ + if($(document).unbind("click",goPrev)){$(document).unbind("click",goPrev);} + $("#TB_window").remove(); + $("body").append("
"); + tb_show(TB_PrevCaption, TB_PrevURL, imageGroup); + return false; + } + $("#TB_prev").click(goPrev); + } + + if (!(TB_NextHTML === "")) { + function goNext(){ + $("#TB_window").remove(); + $("body").append("
"); + tb_show(TB_NextCaption, TB_NextURL, imageGroup); + return false; + } + $("#TB_next").click(goNext); + + } + + document.onkeydown = function(e){ + if (e == null) { // ie + keycode = event.keyCode; + } else { // mozilla + keycode = e.which; + } + if(keycode == 27){ // close + tb_remove(); + } else if(keycode == 190){ // display previous image + if(!(TB_NextHTML == "")){ + document.onkeydown = ""; + goNext(); + } + } else if(keycode == 188){ // display next image + if(!(TB_PrevHTML == "")){ + document.onkeydown = ""; + goPrev(); + } + } + }; + + tb_position(); + $("#TB_load").remove(); + $("#TB_ImageOff").click(tb_remove); + $("#TB_window").css({display:"block"}); //for safari using css instead of show + }; + + imgPreloader.src = url; + }else{//code to show html + + var queryString = url.replace(/^[^\?]+\??/,''); + var params = tb_parseQuery( queryString ); + + TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL + TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL + + ajaxContentW = TB_WIDTH - 30; + ajaxContentH = TB_HEIGHT - 45; + + if(url.indexOf('TB_iframe') != -1){// either iframe or ajax window + urlNoQuery = url.split('TB_'); + $("#TB_iframeContent").remove(); + if(params['modal'] != "true"){//iframe no modal + $("#TB_window").append("
"+caption+"
close or Esc Key
"); + }else{//iframe modal + $("#TB_overlay").unbind(); + $("#TB_window").append(""); + } + }else{// not an iframe, ajax + if($("#TB_window").css("display") != "block"){ + if(params['modal'] != "true"){//ajax no modal + $("#TB_window").append("
"+caption+"
close or Esc Key
"); + }else{//ajax modal + $("#TB_overlay").unbind(); + $("#TB_window").append("
"); + } + }else{//this means the window is already up, we are just loading new content via ajax + $("#TB_ajaxContent")[0].style.width = ajaxContentW +"px"; + $("#TB_ajaxContent")[0].style.height = ajaxContentH +"px"; + $("#TB_ajaxContent")[0].scrollTop = 0; + $("#TB_ajaxWindowTitle").html(caption); + } + } + + $("#TB_closeWindowButton").click(tb_remove); + $("#TB_cancelWindowButton").click(tb_remove); + + if(url.indexOf('TB_inline') != -1){ + $("#TB_ajaxContent").append($('#' + params['inlineId']).children()); + $("#TB_window").unload(function () { + $('#' + params['inlineId']).append( $("#TB_ajaxContent").children() ); // move elements back when you're finished + }); + tb_position(); + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); + }else if(url.indexOf('TB_iframe') != -1){ + tb_position(); + if($.browser.safari){//safari needs help because it will not fire iframe onload + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); + } + }else{ + $("#TB_ajaxContent").load(url += "&random=" + (new Date().getTime()),function(){//to do a post change this load method + tb_position(); + $("#TB_load").remove(); + tb_init("#TB_ajaxContent a.thickbox"); + $("#TB_window").css({display:"block"}); + }); + } + + } + + if(!params['modal']){ + document.onkeyup = function(e){ + if (e == null) { // ie + keycode = event.keyCode; + } else { // mozilla + keycode = e.which; + } + if(keycode == 27){ // close + tb_remove(); + } + }; + } + + } catch(e) { + //nothing here + } +} + +//helper functions below +function tb_showIframe(){ + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); +} + +function tb_remove() { + $("#TB_imageOff").unbind("click"); + $("#TB_closeWindowButton").unbind("click"); + $("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();}); + $("#TB_load").remove(); + if (typeof document.body.style.maxHeight == "undefined") {//if IE 6 + $("body","html").css({height: "auto", width: "auto"}); + $("html").css("overflow",""); + } + document.onkeydown = ""; + document.onkeyup = ""; + return false; +} + +function tb_position() { +$("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); + if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6 + $("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'}); + } +} + +function tb_parseQuery ( query ) { + var Params = {}; + if ( ! query ) {return Params;}// return empty object + var Pairs = query.split(/[;&]/); + for ( var i = 0; i < Pairs.length; i++ ) { + var KeyVal = Pairs[i].split('='); + if ( ! KeyVal || KeyVal.length != 2 ) {continue;} + var key = unescape( KeyVal[0] ); + var val = unescape( KeyVal[1] ); + val = val.replace(/\+/g, ' '); + Params[key] = val; + } + return Params; +} + +function tb_getPageSize(){ + var de = document.documentElement; + var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth; + var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight; + arrayPageSize = [w,h]; + return arrayPageSize; +} + +function tb_detectMacXFF() { + var userAgent = navigator.userAgent.toLowerCase(); + if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) { + return true; + } +} + + + +function tb_resize(width1,height1){ + TB_WIDTH = parseInt(width1) + 30 || 630; //defaults to 630 if no paramaters were added to URL + TB_HEIGHT = (parseInt(height1)*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL + ajaxContentW = TB_WIDTH - 30; + ajaxContentH = TB_HEIGHT - 45; + + $("#TB_ajaxContent")[0].style.width=(ajaxContentW + 29)+'px'; + $("#TB_ajaxContent")[0].style.height=(ajaxContentH + 17)+'px'; + tb_position(); + } \ No newline at end of file diff --git a/locale/fr_FR/LC_MESSAGES/messages.mo b/locale/fr_FR/LC_MESSAGES/messages.mo new file mode 100644 index 0000000000000000000000000000000000000000..1d7e677b34cac84ef0fafbbddbda1bcb71d55cb8 GIT binary patch literal 4937 zcmaKvO^h5z6~`-y6JQ|_Lck$`PzK|5lAYO)#IZ9@VwUxqY*>3&>$M3SfST@_op$q<|n2QUn5t9FYhI_`T|$*;(63NxlEB z=~u7b`@fH>ef{1;FDb?;o{#bT`8K82!0+9`AI58klzJcdNAO+X-b>pdVT=Pe!l@f3I4wM{oi1V`GXia z3$B12a0irqehPjF{2eH~{1p`We}JOzFdrp;M?v{M4GRCW&HM?Fkf~=tN>M$|BfJaO zBG2}LA0Q0LDH) zb$rD~;X{VR_XN*JWzr0ZDWMHRcpMG!N#ZC&c$Oh~d4%T>&tp6?B$f|{H>FO3GdzSk z49VBgkXn&?mzq4qBef^|j)%^RQhQtKYH&m?MrBguS}n%0zF@cYC2t**EXno2Y}xwt zj9N0etlDDL(4>{sy~61#k8Ll>ZLD9gJNo!YNL0UrP~YTRR;T=}*r219iYkqRO;M5O zHY#;l=v)7~dUkOg%iYkrwmMtroubmtnl#aw4BT_Ji#Eyqb&yS1Ee zrHSvW<-D{G_q^XOTpV19f>mA@dAg&{Ih#j)wUXmS66>_sf{m54ZLQZ+YdqTBjy78+ z$=hS0k+ydfDxJxFY69b~s7iZ8J!gjIV&sxRsk6$Lx@)z~O*e&9HpM(F6|Tiqc)=yT zw6?Lh+Sbn&+ZG~bH12t8Gp{Ff;k`}DK8xeT*XmFb0$&XVg)7nD-4U%$cU`d!Q*FID zp?{_^V^S##0#8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W1FBF?3uDWlSI|u8z{N$#QX{Cy7G)N=+jjb5|E?FkruD zdYQs7t3|rV2Bn>;O_-1$B>\n" +"Language-Team: \n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.7.5\n" +"X-Poedit-Basepath: /var/www/Coral/auth\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-SearchPath-0: .\n" +"X-Poedit-SearchPathExcluded-0: /var/www/Coral/auth/js/plugins\n" + +#: LangCodes.php:16 +msgid "French" +msgstr "Français" + +#: LangCodes.php:17 +msgid "English" +msgstr "Anglais" + +#: admin.php:66 index.php:192 +msgid "" +"JavaScript must be enabled in order for you to use CORAL. However, it seems " +"JavaScript is either disabled or not supported by your browser. To use " +"CORAL, enable JavaScript by changing your browser options, then" +msgstr "" +"JavaScript doit être activé pour utiliser CORAL. Or JavaScript est " +"désactivé ou n'est pas supporté par votre navigateur. Pour utiliser CORAL, " +"activez JavaScript en modifiant la configuration de votre navigateur, puis" + +#: admin.php:66 index.php:192 +msgid "try again" +msgstr "réessayez" + +#: admin.php:80 +msgid "Users" +msgstr "Utilisateurs" + +#: admin.php:81 +msgid "Login ID must match the login ID set up in the modules" +msgstr "" +"Le nom d'utilisateur doit être identique au nom d'utilisateur utilisé dans " +"les modules" + +#: admin.php:87 +msgid "Processing..." +msgstr "En traitement ..." + +#: admin.php:91 index.php:217 +msgid "Change language:" +msgstr "Changer la langue:" + +#: admin.php:107 index.php:233 +msgid "Invalid translation route!" +msgstr "Le chemin vers les traductions n'est pas valide!" + +#: admin.php:132 +msgid "Login page" +msgstr "Page de connexion" + +#: admin/classes/common/DBService.php:39 +msgid "There was a problem with the database: " +msgstr "Il y a eu un problème avec la base de données : " + +#: admin/classes/common/LdapPerson.php:34 +msgid "Could not connect to " +msgstr "Impossible de se connecter à :" + +#: admin/classes/common/Object.php:63 +msgid "Cannot set value for undefined key (" +msgstr "Impossible d'assigner une clé indéfinie (" + +#: admin/classes/common/Object.php:72 +msgid "Cannot get value for undefined key (" +msgstr "Impossible de récupérer une clé indéfinie (" + +#: admin/classes/domain/User.php:82 admin/classes/domain/User.php:89 +msgid "Could not connect to LDAP server." +msgstr "Impossible de se connecter au serveur LDAP." + +#: admin/classes/domain/User.php:97 +msgid "" +"There is a problem with the LDAP configuration, contact your server " +"administrator." +msgstr "" +"Il y a un problème avec la configuration LDAP, contactez votre " +"administrateur." + +#: ajax_forms.php:43 +msgid "Edit User" +msgstr "Modifier utilisateur" + +#: ajax_forms.php:43 +msgid "Add New User" +msgstr "Nouvel utilisateur" + +#: ajax_forms.php:56 +msgid "Login ID" +msgstr "Nom d'utilisateur" + +#: ajax_forms.php:58 +msgid "Enter password for changes only" +msgstr "Entrez un mot de passe seulement pour le modifier" + +#: ajax_forms.php:59 +msgid "New " +msgstr "Nouveau " + +#: ajax_forms.php:59 +msgid "Password" +msgstr "Mot de passe" + +#: ajax_forms.php:62 +msgid "Reenter Password" +msgstr "Re-tapez le mot de passe" + +#: ajax_forms.php:65 +msgid "Admin?" +msgstr "Admin?" + +#: ajax_forms.php:77 +msgid "submit" +msgstr "Valider" + +#: ajax_forms.php:78 +msgid "cancel" +msgstr "Annuler" + +#: ajax_forms.php:114 ajax_htmldata.php:75 ajax_processing.php:89 +msgid "Action " +msgstr "Action " + +#: ajax_forms.php:114 ajax_htmldata.php:75 ajax_processing.php:89 +msgid " not set up!" +msgstr "Non établi" + +#: ajax_htmldata.php:53 +msgid "edit password or admin status" +msgstr "modifier le mot de passe ou le statut d`admin" + +#: ajax_htmldata.php:54 +msgid "remove" +msgstr "Effacer" + +#: ajax_htmldata.php:60 ajax_htmldata.php:64 +msgid "add new user" +msgstr "Ajouter utilisateur" + +#: ajax_processing.php:77 +msgid "User successfully deleted." +msgstr "L'utilisateur a été effacé." + +#: index.php:55 +msgid "You are successfully logged out of the system." +msgstr "Vous êtes déconnecté du système." + +#: index.php:86 +msgid "Invalid login ID. Please try again." +msgstr "Nom d'utilisateur incorrect, réessayez." + +#: index.php:91 +msgid "Invalid password. Please try again." +msgstr "Mot de passe incorrect, réessayez." + +#: index.php:107 +msgid "You are already logged in as " +msgstr "Vous êtes déjà connecté comme " + +#: index.php:107 +msgid "You may log in as another user below," +msgstr "Vous devez vous connecter sous un autre compte," + +#: index.php:107 +msgid "return" +msgstr "Retour" + +#: index.php:107 +msgid "or" +msgstr "ou" + +#: index.php:107 +msgid "logout" +msgstr "déconnecter" + +#: index.php:128 +msgid "Please enter login credentials to sign in." +msgstr "Merci de saisir vos identifiants" + +#: index.php:136 +msgid "Your session has timed out." +msgstr "Votre session a expiré." + +#: index.php:145 +msgid "You do not have permission to enter." +msgstr "Vous n'avez pas l'autorisation de faire cela." + +#: index.php:145 +msgid "Please contact an administrator." +msgstr "Merci de contacter l'administrateur." + +#: index.php:155 +msgid "You must log in before accessing the admin page." +msgstr "Vous devez vous identifier avant d'accéder à cette page." + +#: index.php:202 +msgid "Login ID:" +msgstr "Nom d'utilisateur:" + +#: index.php:205 +msgid "Password:" +msgstr "Mot de passe:" + +#: index.php:209 +msgid "Remember my login ID" +msgstr "Mémoriser mon nom d'utilisateur" + +#: index.php:213 +msgid "Login" +msgstr "Connexion" + +#: index.php:258 +msgid "Admin page" +msgstr "Page d'administration" + +#: js/admin.js:67 +msgid "Passwords do not match" +msgstr "Les mots de passe ne correspondent pas" + +#: js/admin.js:73 +msgid "Password is required" +msgstr "Le mot de passe est nécessaire" + +#: js/admin.js:78 +msgid "UserID is required" +msgstr "Le nom d'utilisateur est nécessaire" + +#: js/admin.js:89 +msgid "Do you really want to delete this user?" +msgstr "Voulez-vous vraiment supprimer cet utilisateur?" + +#: js/index.js:40 +msgid "Refreshing Contents..." +msgstr "Rechargements des contenus..." + +#~ msgid "Spanish" +#~ msgstr "Espagnol" + +#~ msgid "Italian" +#~ msgstr "Italien" + +#~ msgid "French, FR" +#~ msgstr "Français, FR" + +#~ msgid "English, US" +#~ msgstr "Anglais, US" + +#~ msgid "Spanish, MX" +#~ msgstr "Espagnol, MX" From 269f75335ee7a47120767f283dcec384b754bc1c Mon Sep 17 00:00:00 2001 From: Ryan Chisum Date: Mon, 14 Mar 2016 11:13:23 -0600 Subject: [PATCH 05/18] Language Selection Fixes for Login Screen --- .DS_Store | Bin 6148 -> 10244 bytes css/style.css | 8 ++++++++ 2 files changed, 8 insertions(+) diff --git a/.DS_Store b/.DS_Store index 1001fa5e7baa527d3eeff8ce227fcde59965fb16..7df5008615bb9b06f5038e226cc3e3895e97ffd9 100644 GIT binary patch literal 10244 zcmeHMU2GIp6h3EL+PP3;{aIR&I=eHpgR?X1&TO~X z5No2*2Q~fx!iy1JOo%2vh>5-!A2do#^Z^ry`eKZUPbTUEZ+Py#vt@U>eegvMnY)>L z?mhRM`}55=d-lu%0CpGk4uCiSD0FeDHc?fh@Ns_4DG^`ON)pK*4p>e$V>ub>t8=VF zMTkI%K!`wyK!`wy!2baOirKsiTv)av+i|eLfdUu-pKk&_jC>}* z0}ZnDF~9}4+5?XUJQk3x4mn!G4p`m{ShBm8v`U`V$ya+sP6j;gBahQ`O~DwP68q25 zj%xe<67X%V@Z~4Ufkpe&#Mx@j035%I75FW!m?2NtIb}rnSqahFvv5Q!XK92UI0F4J z0tes;=&L@lK(o@ij@FoqIY+XFRi@sa&nDv29qrq;C*nIhx1Bw! zC@b4K_a02!({G(Sf8p(mmp-C%Qb9jxK(p-6*4L=zBV@Ug{qpP)XYSeAqG+nMci)(* z7G2}0VQHQ@X{0pIpv^9E36KL>$M!d!&N@~xXVXY?Ro-Wi6~VJ;_nA zjG>aLdlMs?n>B3Rw8uy3PS~D#$}|eB8E>;eTgw^JYejS=Q?Dr}blT2gN9Q)W7>TZk zu2z)eT;EeLsFrFLkFI5^rVP5YH95t4*2Ywq4L(gbOS*1k2}RY}kfmh|OR64W9g2F8 zr6=Y7rE)9Vt~6tU9m_ho9PQAR>Rr*@iu#pulCOP8bG;*Z!=~jQ+p|}tU3JfQN<|sr z9$mU_=*qg}26;c%CEH~~CBREPAfDI*h1zv^M;1XPctMDOw3SYpN@HJeA zZ{a4~f*;^V_znJmKjAL~WVjHUa51*vD!d=p-~;#|Zo|L@S|>*ZFLkCakfX#%&SkY;j_zW_#Dh$2 zkfVE8QanE@$o~3RiYY4AAltlDyG%s;glKjhzJu@KC-@nDhucK122^o5uD}?PYc)QE zZTK*5!~|}`?YI+n;clWjXGkSLZWl4Xcw2A;wRdgU{m&_#(bU zlzRi;#B+Ea-wBXyf0<@d;(K?=HaSqREyo@w4X5T}ie@H{==8vNA~v3>9g##-t&AQG zt^HqPUFbv%mjC|YUDM6A=va;o<1JZhp+5j7iyhb!W&1y=R^K+#eB^v64QXeFMI zoDS}R$Hb}`8{jDPLKmdqF!WZ>hZGsBY{jHu6(SHK5F!vF5F&67Ay6mJ66f##d*}cE z{~kJVc$5%<5P={9Sf3h5b(6N7p#}~3yY@I;PtnB-x0{htxKJft$CDJVS{xecii^{+MXF!<$|HGG1Vg7%Q<^O*JAkrq_ delta 105 zcmZn(XfcprU|?W$DortDU=RQ@Ie-{Mvv5r;6q~50$SANeU^g?Pz-Ar+R;JCO65kjX rvvY6=G6R(WfdDs(44dP5<}d>QcdQTq diff --git a/css/style.css b/css/style.css index 42c6d33..a89438d 100644 --- a/css/style.css +++ b/css/style.css @@ -380,3 +380,11 @@ a#addUser:hover { .bordered .smallDarkRedText { margin-bottom: 10px !important; } + +p.fontText { + margin-top: 10px; +} + +.boxRight select#lang { + float: none; +} From 0d1da2dcebf7a9387a7f28b8f5b46fea6443c8be Mon Sep 17 00:00:00 2001 From: Bradley Droubay Date: Mon, 4 Apr 2016 14:33:18 -0600 Subject: [PATCH 06/18] Language Normalization in Drop-down --- LangCodes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LangCodes.php b/LangCodes.php index 1f51904..18b5eb2 100644 --- a/LangCodes.php +++ b/LangCodes.php @@ -13,8 +13,8 @@ public function getLanguage($code){ } public function getNameLang($code_lang){ $name_lang=array( - 'fr'=>_('French'), - 'en'=>_('English') + 'fr'=>'Français', + 'en'=>'English' ); return $name_lang[$code_lang]; } From f572ae651d123986c89ff3bdb22540220118af32 Mon Sep 17 00:00:00 2001 From: Bradley Droubay Date: Wed, 6 Apr 2016 08:03:01 -0600 Subject: [PATCH 07/18] New French Translations --- locale/fr_FR/LC_MESSAGES/messages.mo | Bin 4937 -> 5207 bytes locale/fr_FR/LC_MESSAGES/messages.po | 88 ++++++++++++++------------- 2 files changed, 45 insertions(+), 43 deletions(-) diff --git a/locale/fr_FR/LC_MESSAGES/messages.mo b/locale/fr_FR/LC_MESSAGES/messages.mo index 1d7e677b34cac84ef0fafbbddbda1bcb71d55cb8..bec110a70e34a0618db3a9751ddbabf72bd00aa8 100644 GIT binary patch delta 1470 zcmaizPiS049LJ|dXp(OBUu&y|*ojG#g4xYd+GLZ6CA1Y%t$z{?*dj9fc3P&qH}g7w zUSlqM(wiO}5ER6Eva6y}Tf8as9kd70gV2KqJ$NX1^eWneUtF+v^#SHLI0^I!vf z6FdZd4TiWsf=%!)I0BX-x&l60B%NO1O&rYN;4Sb^@FoZia=k=I1-u1b0KWtGgHz@H z`64)s{TdkVuY-rd*Fc0I9Wcaw8$1Hu0?&ZIfCs_JN{5h#v1mdiTznBc3T}bt!H>XW z;9uYrIA0}X8r%Sb;1(F}zX3MD&%ssjS1?pKiEN(%Uj>6s7Yq*H27@!dEn#sSi+dn6 z$OL?S0GtQIg=1i_Z2A8FG&qX=vj@Ix=%q zecw+}sbsC4cP|Pl=p4Vm4(Q>_~eCJbs&3{ukwEvuHi;DuE@F-^TlH=4bj!g{Z*QjrfT_{3h z_llGLgR!}elj4fw373|p3L-H#H0gzjSjg0nr!|xL$4nUVoJx>{vmzFT*^rWu$W63) zoo;d`;+St!op-r0>~&-TS*cvcnX5zB(l)0lGlma5oBY3br~Jv{_{fe9^_Pn$W>4{y z%Qlm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ator: Poedit 1.7.5\n" +"X-Generator: Poedit 1.8.7\n" "X-Poedit-Basepath: /var/www/Coral/auth\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Poedit-SourceCharset: UTF-8\n" @@ -30,9 +30,10 @@ msgid "" "JavaScript is either disabled or not supported by your browser. To use " "CORAL, enable JavaScript by changing your browser options, then" msgstr "" -"JavaScript doit être activé pour utiliser CORAL. Or JavaScript est " -"désactivé ou n'est pas supporté par votre navigateur. Pour utiliser CORAL, " -"activez JavaScript en modifiant la configuration de votre navigateur, puis" +"JavaScript doit être activé pour utiliser CORAL. Cependant, il semble que " +"JavaScript soit désactivé ou n'est pas supporté par votre navigateur web. " +"Pour utiliser CORAL, activez JavaScript en modifiant les options de votre " +"navigateur, puis" #: admin.php:66 index.php:192 msgid "try again" @@ -45,20 +46,20 @@ msgstr "Utilisateurs" #: admin.php:81 msgid "Login ID must match the login ID set up in the modules" msgstr "" -"Le nom d'utilisateur doit être identique au nom d'utilisateur utilisé dans " -"les modules" +"Le nom d'utilisateur doit être identique au nom d'utilisateur paramétré " +"dans les modules" #: admin.php:87 msgid "Processing..." -msgstr "En traitement ..." +msgstr "Traitement en cours..." #: admin.php:91 index.php:217 msgid "Change language:" -msgstr "Changer la langue:" +msgstr "Modifier la langue :" #: admin.php:107 index.php:233 msgid "Invalid translation route!" -msgstr "Le chemin vers les traductions n'est pas valide!" +msgstr "Chemin vers les traductions invalide !" #: admin.php:132 msgid "Login page" @@ -70,15 +71,15 @@ msgstr "Il y a eu un problème avec la base de données : " #: admin/classes/common/LdapPerson.php:34 msgid "Could not connect to " -msgstr "Impossible de se connecter à :" +msgstr "Impossible de se connecter à " #: admin/classes/common/Object.php:63 msgid "Cannot set value for undefined key (" -msgstr "Impossible d'assigner une clé indéfinie (" +msgstr "Impossible d'attribuer une valeur à une clé indéfinie (" #: admin/classes/common/Object.php:72 msgid "Cannot get value for undefined key (" -msgstr "Impossible de récupérer une clé indéfinie (" +msgstr "Impossible d'obtenir la valeur d'une clé indéfinie (" #: admin/classes/domain/User.php:82 admin/classes/domain/User.php:89 msgid "Could not connect to LDAP server." @@ -90,15 +91,15 @@ msgid "" "administrator." msgstr "" "Il y a un problème avec la configuration LDAP, contactez votre " -"administrateur." +"administrateur de serveur." #: ajax_forms.php:43 msgid "Edit User" -msgstr "Modifier utilisateur" +msgstr "Modifier un utilisateur" #: ajax_forms.php:43 msgid "Add New User" -msgstr "Nouvel utilisateur" +msgstr "Ajouter un nouvel utilisateur" #: ajax_forms.php:56 msgid "Login ID" @@ -106,7 +107,7 @@ msgstr "Nom d'utilisateur" #: ajax_forms.php:58 msgid "Enter password for changes only" -msgstr "Entrez un mot de passe seulement pour le modifier" +msgstr "Entrez un mot de passe uniquement pour les modifications" #: ajax_forms.php:59 msgid "New " @@ -122,11 +123,11 @@ msgstr "Re-tapez le mot de passe" #: ajax_forms.php:65 msgid "Admin?" -msgstr "Admin?" +msgstr "Admin ?" #: ajax_forms.php:77 msgid "submit" -msgstr "Valider" +msgstr "Envoyer" #: ajax_forms.php:78 msgid "cancel" @@ -138,47 +139,47 @@ msgstr "Action " #: ajax_forms.php:114 ajax_htmldata.php:75 ajax_processing.php:89 msgid " not set up!" -msgstr "Non établi" +msgstr " non-défini !" #: ajax_htmldata.php:53 msgid "edit password or admin status" -msgstr "modifier le mot de passe ou le statut d`admin" +msgstr "modifier le mot de passe ou le statut administrateur" #: ajax_htmldata.php:54 msgid "remove" -msgstr "Effacer" +msgstr "Retirer" #: ajax_htmldata.php:60 ajax_htmldata.php:64 msgid "add new user" -msgstr "Ajouter utilisateur" +msgstr "Ajouter un nouvel utilisateur" #: ajax_processing.php:77 msgid "User successfully deleted." -msgstr "L'utilisateur a été effacé." +msgstr "Utilisateur supprimé avec succès." #: index.php:55 msgid "You are successfully logged out of the system." -msgstr "Vous êtes déconnecté du système." +msgstr "Vous êtes à présent déconnecté du système." #: index.php:86 msgid "Invalid login ID. Please try again." -msgstr "Nom d'utilisateur incorrect, réessayez." +msgstr "Nom d'utilisateur invalide. Veuillez réessayer à nouveau." #: index.php:91 msgid "Invalid password. Please try again." -msgstr "Mot de passe incorrect, réessayez." +msgstr "Mot de passe invalide. Veuillez réessayer à nouveau." #: index.php:107 msgid "You are already logged in as " -msgstr "Vous êtes déjà connecté comme " +msgstr "Vous êtes déjà connecté en tant que " #: index.php:107 msgid "You may log in as another user below," -msgstr "Vous devez vous connecter sous un autre compte," +msgstr "Vous pouvez vous connecter sous un autre compte ci-dessous," #: index.php:107 msgid "return" -msgstr "Retour" +msgstr "Retourner" #: index.php:107 msgid "or" @@ -186,11 +187,11 @@ msgstr "ou" #: index.php:107 msgid "logout" -msgstr "déconnecter" +msgstr "Déconnectez-vous" #: index.php:128 msgid "Please enter login credentials to sign in." -msgstr "Merci de saisir vos identifiants" +msgstr "Merci d'entrer vos identifiants de connexion pour ouvrir une session." #: index.php:136 msgid "Your session has timed out." @@ -198,31 +199,32 @@ msgstr "Votre session a expiré." #: index.php:145 msgid "You do not have permission to enter." -msgstr "Vous n'avez pas l'autorisation de faire cela." +msgstr "Vous n'avez pas les autorisations requises pour accéder au site." #: index.php:145 msgid "Please contact an administrator." -msgstr "Merci de contacter l'administrateur." +msgstr "Merci de contacter un administrateur." #: index.php:155 msgid "You must log in before accessing the admin page." -msgstr "Vous devez vous identifier avant d'accéder à cette page." +msgstr "" +"Vous devez vous identifier avant d'accéder à cette page d'administration." #: index.php:202 msgid "Login ID:" -msgstr "Nom d'utilisateur:" +msgstr "Nom d'utilisateur :" #: index.php:205 msgid "Password:" -msgstr "Mot de passe:" +msgstr "Mot de passe :" #: index.php:209 msgid "Remember my login ID" -msgstr "Mémoriser mon nom d'utilisateur" +msgstr "Mémoriser mes identifiants de connexion" #: index.php:213 msgid "Login" -msgstr "Connexion" +msgstr "Se connecter" #: index.php:258 msgid "Admin page" @@ -234,19 +236,19 @@ msgstr "Les mots de passe ne correspondent pas" #: js/admin.js:73 msgid "Password is required" -msgstr "Le mot de passe est nécessaire" +msgstr "Le mot de passe est obligatoire" #: js/admin.js:78 msgid "UserID is required" -msgstr "Le nom d'utilisateur est nécessaire" +msgstr "Le nom d'utilisateur est obligatoire" #: js/admin.js:89 msgid "Do you really want to delete this user?" -msgstr "Voulez-vous vraiment supprimer cet utilisateur?" +msgstr "Voulez-vous vraiment supprimer cet utilisateur ?" #: js/index.js:40 msgid "Refreshing Contents..." -msgstr "Rechargements des contenus..." +msgstr "Actualisation des contenus en cours..." #~ msgid "Spanish" #~ msgstr "Espagnol" From 0cd80fb7396eaae892a2101531f8eb0cde1eba0d Mon Sep 17 00:00:00 2001 From: Bradley Droubay Date: Wed, 6 Apr 2016 09:53:14 -0600 Subject: [PATCH 08/18] Changes for additional languages --- LangCodes.php | 14 ++++++++++---- index.php | 8 ++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/LangCodes.php b/LangCodes.php index 18b5eb2..089ab77 100644 --- a/LangCodes.php +++ b/LangCodes.php @@ -6,15 +6,21 @@ class LangCodes{ public function getLanguage($code){ $all_lang=array( - 'fr'=>'fr_FR', - 'en'=>'en_US' + 'fr_FR'=>'fr_FR', + 'en_US'=>'en_US', + 'zh_CN'=>'zh_CN', + 'zh_TW'=>'zh_TW', + 'de_DE'=>'de_DE' ); return $all_lang[$code]; } public function getNameLang($code_lang){ $name_lang=array( - 'fr'=>'Français', - 'en'=>'English' + 'fr_FR'=>'Français', + 'en_US'=>'English', + 'zh_CN'=>'中文 (中国)', + 'zh_TW'=>'中文 (台灣)', + 'de_DE'=>'Deutsch' ); return $name_lang[$code_lang]; } diff --git a/index.php b/index.php index 21dbb30..21606c7 100644 --- a/index.php +++ b/index.php @@ -241,15 +241,15 @@ for($i=0; $i".$lang_name->getNameLang(substr($lang[$i],0,2)).""; + echo ""; }else{ - echo ""; + echo ""; } }else{ if($defLang==substr($lang[$i],0,2)){ - echo ""; + echo ""; }else{ - echo ""; + echo ""; } } } From d0e5fab50744590300523e40baf99ce27336fb68 Mon Sep 17 00:00:00 2001 From: Bradley Droubay Date: Thu, 7 Apr 2016 14:14:46 -0600 Subject: [PATCH 09/18] Fixed bindtextdomain path --- directory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/directory.php b/directory.php index 9b21798..6d1fb1d 100644 --- a/directory.php +++ b/directory.php @@ -73,6 +73,6 @@ function lcfirst($string) { } putenv("LC_ALL=$http_lang"); setlocale(LC_ALL, $http_lang.".utf8"); - bindtextdomain("messages", "./locale"); + bindtextdomain("messages", dirname(__FILE__) . "/locale"); textdomain("messages"); ?> \ No newline at end of file From 429baac73a5f69a322a530c464e574cce637ca47 Mon Sep 17 00:00:00 2001 From: Ryan Chisum Date: Fri, 8 Apr 2016 10:31:47 -0600 Subject: [PATCH 10/18] Adjusted Layout to Login Screen --- css/style.css | 44 +++++++++++++++++++++++++++++++++++++------- index.php | 17 ++++++++--------- 2 files changed, 45 insertions(+), 16 deletions(-) diff --git a/css/style.css b/css/style.css index a89438d..4a55304 100644 --- a/css/style.css +++ b/css/style.css @@ -36,10 +36,9 @@ label{ margin-top: 5px; } -input, select, multiple, textarea{ +input, select, multiple, textarea { float: left; margin-top: 5px; - cursor: pointer; } @@ -309,15 +308,45 @@ label:nth-of-type(3) { color: #ccc; } -/*--- New Custom CSS ---*/ - #login-form { margin-top: 20px; + text-align: center; +} + +#login-form label { + width: 100%; + margin: 0; + font-size: 14px; +} + +#login-form input { + float: none; + margin-bottom: 10px; +} + +#login-form .smallText { + font-size: 12px; +} + +#login-form #loginbutton { + color: #FFFFFF; + font-family: "Arial", sans-serif; + font-size: 11px; + font-weight: normal; + background: #1b76a9; + border: none; + padding: 5px 10px; + text-transform: capitalize; + min-width: 60px; + margin-top: 10px; +} + +#login-form #loginbutton:hover { + cursor: pointer; } #login-form label:nth-of-type(1) { - margin: 110px 0 15px 0 !important; - text-align: center !important; + margin-bottom: 15px !important; } a#admin-link:before { @@ -382,7 +411,8 @@ a#addUser:hover { } p.fontText { - margin-top: 10px; + margin-top: 15px; + font-size: 14px; } .boxRight select#lang { diff --git a/index.php b/index.php index 21dbb30..e56a004 100644 --- a/index.php +++ b/index.php @@ -198,19 +198,18 @@
-
-
- - +
+
+ +
- - + +
- - />  + + />
-
From 30af909d77c6e2b43df218c63d343d6700e4afc9 Mon Sep 17 00:00:00 2001 From: Bradley Droubay Date: Fri, 8 Apr 2016 11:00:34 -0600 Subject: [PATCH 11/18] Ryan Fixed Login Screen --- css/style.css | 44 +++++++++++++++++++++++++++++++++++++------- index.php | 17 ++++++++--------- 2 files changed, 45 insertions(+), 16 deletions(-) diff --git a/css/style.css b/css/style.css index a89438d..4a55304 100644 --- a/css/style.css +++ b/css/style.css @@ -36,10 +36,9 @@ label{ margin-top: 5px; } -input, select, multiple, textarea{ +input, select, multiple, textarea { float: left; margin-top: 5px; - cursor: pointer; } @@ -309,15 +308,45 @@ label:nth-of-type(3) { color: #ccc; } -/*--- New Custom CSS ---*/ - #login-form { margin-top: 20px; + text-align: center; +} + +#login-form label { + width: 100%; + margin: 0; + font-size: 14px; +} + +#login-form input { + float: none; + margin-bottom: 10px; +} + +#login-form .smallText { + font-size: 12px; +} + +#login-form #loginbutton { + color: #FFFFFF; + font-family: "Arial", sans-serif; + font-size: 11px; + font-weight: normal; + background: #1b76a9; + border: none; + padding: 5px 10px; + text-transform: capitalize; + min-width: 60px; + margin-top: 10px; +} + +#login-form #loginbutton:hover { + cursor: pointer; } #login-form label:nth-of-type(1) { - margin: 110px 0 15px 0 !important; - text-align: center !important; + margin-bottom: 15px !important; } a#admin-link:before { @@ -382,7 +411,8 @@ a#addUser:hover { } p.fontText { - margin-top: 10px; + margin-top: 15px; + font-size: 14px; } .boxRight select#lang { diff --git a/index.php b/index.php index 21606c7..f2f6323 100644 --- a/index.php +++ b/index.php @@ -198,19 +198,18 @@
-
-
- - +
+
+ +
- - + +
- - />  + + />
-
From df12777a66a98c68c85c63d3e558030af60c93bf Mon Sep 17 00:00:00 2001 From: Bradley Droubay Date: Mon, 11 Apr 2016 12:53:23 -0600 Subject: [PATCH 12/18] fixed changed default locale to get 5 characters instead of 2 --- LangCodes.php | 16 ++++++++-------- directory.php | 6 ++++-- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/LangCodes.php b/LangCodes.php index 089ab77..37b743c 100644 --- a/LangCodes.php +++ b/LangCodes.php @@ -7,20 +7,20 @@ class LangCodes{ public function getLanguage($code){ $all_lang=array( 'fr_FR'=>'fr_FR', - 'en_US'=>'en_US', - 'zh_CN'=>'zh_CN', - 'zh_TW'=>'zh_TW', - 'de_DE'=>'de_DE' + 'en_US'=>'en_US'//, + //'zh_CN'=>'zh_CN', + //'zh_TW'=>'zh_TW', + //'de_DE'=>'de_DE' ); return $all_lang[$code]; } public function getNameLang($code_lang){ $name_lang=array( 'fr_FR'=>'Français', - 'en_US'=>'English', - 'zh_CN'=>'中文 (中国)', - 'zh_TW'=>'中文 (台灣)', - 'de_DE'=>'Deutsch' + 'en_US'=>'English'//, + //'zh_CN'=>'中文 (中国)', + //'zh_TW'=>'中文 (台灣)', + //'de_DE'=>'Deutsch' ); return $name_lang[$code_lang]; } diff --git a/directory.php b/directory.php index 6d1fb1d..0c8e635 100644 --- a/directory.php +++ b/directory.php @@ -68,8 +68,10 @@ function lcfirst($string) { if(isset($_COOKIE["lang"])){ $http_lang = $_COOKIE["lang"]; }else{ - $codeL = substr($_SERVER["HTTP_ACCEPT_LANGUAGE"],0,2); - $http_lang = $lang_name->getLanguage($codeL); + $codeL = str_replace("-","_",substr($_SERVER["HTTP_ACCEPT_LANGUAGE"],0,5)); + $http_lang = $lang_name->getLanguage($codeL); + if($http_lang == "") + $http_lang = "en_US"; } putenv("LC_ALL=$http_lang"); setlocale(LC_ALL, $http_lang.".utf8"); From 556a5ec0bb6916b3cf2e2f6405626cdb81b1a9a8 Mon Sep 17 00:00:00 2001 From: Bradley Droubay Date: Wed, 4 May 2016 15:25:31 -0600 Subject: [PATCH 13/18] Patched Security Hole --- admin.php | 2 ++ index.php | 1 + 2 files changed, 3 insertions(+) diff --git a/admin.php b/admin.php index bb2b792..e4977a4 100644 --- a/admin.php +++ b/admin.php @@ -170,8 +170,10 @@ function setLanguage(lang) { if (isset($user) && $user->getOpenSession()){ header('Location: index.php?service=admin.php&invalid'); + exit; //PREVENT SECURITY HOLE }else{ header('Location: index.php?service=admin.php&admin'); + exit; //PREVENT SECURITY HOLE } } diff --git a/index.php b/index.php index f2f6323..1287a63 100644 --- a/index.php +++ b/index.php @@ -94,6 +94,7 @@ //login succeeded, perform redirect header('Location: ' . $service) ; + exit; //PREVENT SECURITY HOLE } } From 0d71fdbe35b4f7ceecf0acb7b74d6db3713a1fc1 Mon Sep 17 00:00:00 2001 From: Bradley Droubay Date: Mon, 13 Jun 2016 07:58:57 -0600 Subject: [PATCH 14/18] Fixed Language Code -- changed all references to look at 5 characters, not 2 --- admin.php | 14 +++++++------- index.php | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/admin.php b/admin.php index e4977a4..d1b6454 100644 --- a/admin.php +++ b/admin.php @@ -49,7 +49,7 @@ getLanguage($str); if($default_l==null || empty($default_l)){$default_l=$str;} if(isset($_COOKIE["lang"])){ @@ -106,22 +106,22 @@ echo "
"._("Invalid translation route!"); } // Get language of navigator - $defLang = substr($_SERVER["HTTP_ACCEPT_LANGUAGE"],0,2); + $defLang = substr($_SERVER["HTTP_ACCEPT_LANGUAGE"],0,5); // Show an ordered list sort($lang); for($i=0; $i".$lang_name->getNameLang(substr($lang[$i],0,2)).""; + echo ""; }else{ - echo ""; + echo ""; } }else{ - if($defLang==substr($lang[$i],0,2)){ - echo ""; + if($defLang==substr($lang[$i],0,5)){ + echo ""; }else{ - echo ""; + echo ""; } } } diff --git a/index.php b/index.php index 1287a63..6c9045b 100644 --- a/index.php +++ b/index.php @@ -178,7 +178,7 @@ getLanguage($str); if($default_l==null || empty($default_l)){$default_l=$str;} if(isset($_COOKIE["lang"])){ @@ -234,7 +234,7 @@ echo "
"._("Invalid translation route!"); } // Get language of navigator - $defLang = substr($_SERVER["HTTP_ACCEPT_LANGUAGE"],0,2); + $defLang = substr($_SERVER["HTTP_ACCEPT_LANGUAGE"],0,5); // Show an ordered list sort($lang); @@ -246,7 +246,7 @@ echo ""; } }else{ - if($defLang==substr($lang[$i],0,2)){ + if($defLang==substr($lang[$i],0,5)){ echo ""; }else{ echo ""; From 2379e77dbe07487b99db7377faabe179aa1c59aa Mon Sep 17 00:00:00 2001 From: Ryan Chisum Date: Mon, 13 Jun 2016 12:10:51 -0600 Subject: [PATCH 15/18] Changed Title Bar to Be Translatable --- .DS_Store | Bin 10244 -> 0 bytes .gitignore | 1 + admin.php | 9 ++++++--- css/style.css | 29 +++++++++++++++++++++++++++++ images/authtitle.gif | Bin 4928 -> 3428 bytes index.php | 36 ++++++++++++++++++++++-------------- 6 files changed, 58 insertions(+), 17 deletions(-) delete mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 7df5008615bb9b06f5038e226cc3e3895e97ffd9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10244 zcmeHMU2GIp6h3EL+PP3;{aIR&I=eHpgR?X1&TO~X z5No2*2Q~fx!iy1JOo%2vh>5-!A2do#^Z^ry`eKZUPbTUEZ+Py#vt@U>eegvMnY)>L z?mhRM`}55=d-lu%0CpGk4uCiSD0FeDHc?fh@Ns_4DG^`ON)pK*4p>e$V>ub>t8=VF zMTkI%K!`wyK!`wy!2baOirKsiTv)av+i|eLfdUu-pKk&_jC>}* z0}ZnDF~9}4+5?XUJQk3x4mn!G4p`m{ShBm8v`U`V$ya+sP6j;gBahQ`O~DwP68q25 zj%xe<67X%V@Z~4Ufkpe&#Mx@j035%I75FW!m?2NtIb}rnSqahFvv5Q!XK92UI0F4J z0tes;=&L@lK(o@ij@FoqIY+XFRi@sa&nDv29qrq;C*nIhx1Bw! zC@b4K_a02!({G(Sf8p(mmp-C%Qb9jxK(p-6*4L=zBV@Ug{qpP)XYSeAqG+nMci)(* z7G2}0VQHQ@X{0pIpv^9E36KL>$M!d!&N@~xXVXY?Ro-Wi6~VJ;_nA zjG>aLdlMs?n>B3Rw8uy3PS~D#$}|eB8E>;eTgw^JYejS=Q?Dr}blT2gN9Q)W7>TZk zu2z)eT;EeLsFrFLkFI5^rVP5YH95t4*2Ywq4L(gbOS*1k2}RY}kfmh|OR64W9g2F8 zr6=Y7rE)9Vt~6tU9m_ho9PQAR>Rr*@iu#pulCOP8bG;*Z!=~jQ+p|}tU3JfQN<|sr z9$mU_=*qg}26;c%CEH~~CBREPAfDI*h1zv^M;1XPctMDOw3SYpN@HJeA zZ{a4~f*;^V_znJmKjAL~WVjHUa51*vD!d=p-~;#|Zo|L@S|>*ZFLkCakfX#%&SkY;j_zW_#Dh$2 zkfVE8QanE@$o~3RiYY4AAltlDyG%s;glKjhzJu@KC-@nDhucK122^o5uD}?PYc)QE zZTK*5!~|}`?YI+n;clWjXGkSLZWl4Xcw2A;wRdgU{m&_#(bU zlzRi;#B+Ea-wBXyf0<@d;(K?=HaSqREyo@w4X5T}ie@H{==8vNA~v3>9g##-t&AQG zt^HqPUFbv%mjC|YUDM6A=va;o<1JZhp+5j7iyhb!W&1y=R^K+#eB^v64QXeFMI zoDS}R$Hb}`8{jDPLKmdqF!WZ>hZGsBY{jHu6(SHK5F!vF5F&67Ay6mJ66f##d*}cE z{~kJVc$5%<5P={9Sf3h5b(6N7p#}~3yY@I;PtnB-x0{htxKJft$CDJVS{xecii^{+MXF!<$|HGG1Vg7%Q<^O*JAkrq_ diff --git a/.gitignore b/.gitignore index 5f0a515..528428c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ admin/configuration.ini +.DS_Store diff --git a/admin.php b/admin.php index d1b6454..aeefc03 100644 --- a/admin.php +++ b/admin.php @@ -42,6 +42,7 @@ + @@ -69,9 +70,11 @@
- -
-
+
+
+
+
+
diff --git a/css/style.css b/css/style.css index 4a55304..2960f42 100644 --- a/css/style.css +++ b/css/style.css @@ -418,3 +418,32 @@ p.fontText { .boxRight select#lang { float: none; } + +/*--- Allow Browser to Scroll When Modal Appears ---*/ + +#TB_window { + position: absolute !important; + margin-top: 100px !important; + top: 0 !important; +} + +/*--- Modify Login/Admin Title to Allow for Changes to Language ---*/ + +#title-div { + background: #306d9c; + width: 418px; + color: #fff; + font-family: "Open Sans", sans-serif; + font-weight: 100; + padding: 20px 0; + font-size: 24px; +} + +#img-title { + margin-bottom: 5px; +} + +#login-content { + border: solid 1px #306d9c; + padding: 20px; +} diff --git a/images/authtitle.gif b/images/authtitle.gif index 9a9b15ca63328907abd59d16caa5fb1f00335a7b..5cdd84f6fe3163a69c7e95f4c56d96f57b793a9b 100644 GIT binary patch delta 1809 zcmV+s2k!X5Cgd8h4Fj_k17QPyEc)<3ksi|$HJ}c|7E1in2_$T1yhAKZjMRk$_efBq zNH)yDvA@i|QOZ9`YypFjHGoe1`Z^i^QV(AkSHud2{6k3}jkn7~2^ow83_Oqs1SA6R zh>={N1a@m&KPd5!d90ua9*DsgqQkxl+QfY>$%7A$^8-I9sTe?LoTwmw#}1JI18T*( z(=ZAck|v-+2(V+835xL#HuxcV9`HdPEXc!|V6Y`Y=*|uQaPf}_6vAkYLzz7G5fUSq zp>9Vj0W~HNk_qVHdnpi>4ssEJfBXW15ez~P$M}*Tu7nGc=uQnr@ectUEr}%{02V^> zh&LcGfjGc}Dnf#Ve0=YJaw!0U0RB-89L7Krw;`h+Ft zS)#&S35aopknrIH@xmlBP4IwIrm|nkG(kHA<^|-$;0U+Orbu#siIO0w$paerM<_%n zLzEGtlOLf&3UJUiWs%Yo&cvd>idKz(m;yO85TiEt$^XrhI6*+~_y++(s7$++AQ^QC zi6@q6v}NHy2iyn=0#5PAc4m?Q|Dc04ov=@S&Z;O{5Rj?b@J1xMa~U>M!$&^3gN!i? z2S9-5KU8XiY*aLVn9OR!KdfL)Ep$|y{WM7xyu*rr*rJ`6)4>jGF#s}rf(&aI0}qD4 zgQ`{)Sz~|#Eu8v^Fbn~A`7^*jSmB*2{4|?EEy)VJ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ff3cb9ff36f3b4cb47b9d Mon Sep 17 00:00:00 2001 From: Bradley Droubay Date: Mon, 13 Jun 2016 13:11:00 -0600 Subject: [PATCH 16/18] Updated French Language --- locale/fr_FR/LC_MESSAGES/messages.mo | Bin 5207 -> 5101 bytes locale/fr_FR/LC_MESSAGES/messages.po | 107 ++++++++++++++------------- 2 files changed, 54 insertions(+), 53 deletions(-) diff --git a/locale/fr_FR/LC_MESSAGES/messages.mo b/locale/fr_FR/LC_MESSAGES/messages.mo index bec110a70e34a0618db3a9751ddbabf72bd00aa8..f808bbff1fc5a0d7317821db851eba0a29ce1878 100644 GIT binary patch delta 1335 zcmX}sOGs2v9LMo9Iy2d*qod=iDVv;XoXL6l7|j+X5n1787C|pi!$<;cF+mVHt*hOo zRhyJnt&G_uL`0B;gp>+Wgjf)>8d}&!+VuThuO2*p&N-fY9{>OKu6LHBg^dRHGeha8 z9;B|hjJbeMEBQs4cNqG+2mFbLu!KqUu&XZCi^uQ^ zrm=t__BZo16yndQP<}%#xQSY5%NY-Fy$brRsCgmB4#yZW)ueHOG!CMl{@?1I)K#*H z)~iOPB!&epX-?BnD9_^{&Y*6*fbF=9C$Nk5xC0phRRtTCVsw^0vxiGLbXIE1698_wY++(2y<=kyBcSyUv)P?4L& zUYtReG(}YEKBDG*LZ#|U!5R3Dq|5w5QfC*1UT?B)rjpsgj*uQ!VY>aYYEhLAs#2xs zC;~cU8&&B_QdPRCeN=qf+Lj zhNy~eipslaVpK(mh;-W@ogO+-s&b+z5MASZf9#KjK2CZMRGNxk-IXruho`;h^0v4G zxsmYDz5MNosr=;4vHaxpl-2BeP@hetvx!VkIMXwjPSdt#eIei8NWZn{D^(?vDf`EI mUp-zNt(kUN>$NAXNPR=G%m3CB++FpSvu=1IH)53<@BRm#^ncp` delta 1435 zcmZwHNla5g9LMotDGG>!xF84?Q9!h`RLW8?gdjwNMg*ef(PkI6Av0q z)r7=@a#0fF1(&mUP)`~!xJ5mQ(da?FxE%cc9uH4WGX2c7^ZqmQpLzXKGE*9RyEOT- zq0~@UQ{N;QvkR{#@j-c!Y|J8ji3{+9)BlQT^nYUtrnrn*hZ&B3%%r~$mtzPEaSTiF z8m1Z(GmmK~@N-;)uTTMhp#mn*k;Ryct@s>|B123q4==<9tio+bU=u?v@GP=Ma|tzW z9GBq)rZT^|Ph$mNJU}$u4n1lIP zfaO?^+R$-a&-~^B4IkdaJe)T~J1r&+1z3k0u@kl6Gq@7(qXIug-J==Q0y3Gk z4s%g)_hK=g!|!-!G5Kc>b90F?S$G!@;3Le&BJ!^9tC6gl?WpnXsJn6)iDhD_z~^y2 z-o<8ojXJVIg5+QgYTRxt#nCMC-$~;-U-C3tk4jn4>2F1j&FnzlNc&->o~}J!L74kr zDR)}BFWNu})k9U5lo3Cbx$O(B*IdV@60=t^*S2q~R$b=w-AD%Q9Xo#q_AeEDYL{#6 z-dtt^v{yNOq0Q)MRFuj2qD|>2Rk%}1zA@=k{W<78-Aq-{Ic>08oIh@&axLtlOFLim z#^`eCoOSv13hKzr)MRo}f~z+Y9t_1NU4dDN2#~1Ka1l$#s z!OGf=zKZy%w7j%RkFUz@s}2Tg;}dDK+1?XY)H^aV;%(}WS`n``JQRvwOh2+^zo)Ig zr#n34>FBYdU7DAYXK6&ddC>Gt@7?*BaIJvQhahz$3J`v#}Jr4J-5Xzc5aSmD9A Yl@VOn61Dms-mt<`;~CFf@v-dwzmAocX8-^I diff --git a/locale/fr_FR/LC_MESSAGES/messages.po b/locale/fr_FR/LC_MESSAGES/messages.po index 2c118ed..9081847 100644 --- a/locale/fr_FR/LC_MESSAGES/messages.po +++ b/locale/fr_FR/LC_MESSAGES/messages.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: messages\n" -"POT-Creation-Date: 2015-05-15 14:49+0100\n" -"PO-Revision-Date: 2016-04-05 16:29+0100\n" +"POT-Creation-Date: 2016-06-13 13:00-0600\n" +"PO-Revision-Date: 2016-06-13 13:07-0600\n" "Last-Translator: Paul Poulain \n" "Language-Team: \n" "Language: fr_FR\n" @@ -10,21 +10,32 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.8.7\n" -"X-Poedit-Basepath: /var/www/Coral/auth\n" +"X-Poedit-Basepath: ../../..\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-SearchPath-0: .\n" -"X-Poedit-SearchPathExcluded-0: /var/www/Coral/auth/js/plugins\n" -#: LangCodes.php:16 -msgid "French" -msgstr "Français" +#: js/admin.js:67 +msgid "Passwords do not match" +msgstr "Les mots de passe ne correspondent pas" + +#: js/admin.js:73 +msgid "Password is required" +msgstr "Le mot de passe est obligatoire" -#: LangCodes.php:17 -msgid "English" -msgstr "Anglais" +#: js/admin.js:78 +msgid "UserID is required" +msgstr "Le nom d'utilisateur est obligatoire" -#: admin.php:66 index.php:192 +#: js/admin.js:89 +msgid "Do you really want to delete this user?" +msgstr "Voulez-vous vraiment supprimer cet utilisateur ?" + +#: js/index.js:40 +msgid "Refreshing Contents..." +msgstr "Actualisation des contenus en cours..." + +#: admin.php:66 index.php:195 msgid "" "JavaScript must be enabled in order for you to use CORAL. However, it seems " "JavaScript is either disabled or not supported by your browser. To use " @@ -35,33 +46,37 @@ msgstr "" "Pour utiliser CORAL, activez JavaScript en modifiant les options de votre " "navigateur, puis" -#: admin.php:66 index.php:192 +#: admin.php:66 index.php:195 msgid "try again" msgstr "réessayez" -#: admin.php:80 +#: admin.php:75 index.php:205 +msgid "eRM Authentication" +msgstr "Authentification eRM" + +#: admin.php:82 msgid "Users" msgstr "Utilisateurs" -#: admin.php:81 +#: admin.php:83 msgid "Login ID must match the login ID set up in the modules" msgstr "" -"Le nom d'utilisateur doit être identique au nom d'utilisateur paramétré " -"dans les modules" +"Le nom d'utilisateur doit être identique au nom d'utilisateur paramétré dans " +"les modules" -#: admin.php:87 +#: admin.php:89 msgid "Processing..." msgstr "Traitement en cours..." -#: admin.php:91 index.php:217 +#: admin.php:93 index.php:226 msgid "Change language:" msgstr "Modifier la langue :" -#: admin.php:107 index.php:233 +#: admin.php:109 index.php:242 msgid "Invalid translation route!" msgstr "Chemin vers les traductions invalide !" -#: admin.php:132 +#: admin.php:134 msgid "Login page" msgstr "Page de connexion" @@ -169,86 +184,72 @@ msgstr "Nom d'utilisateur invalide. Veuillez réessayer à nouveau." msgid "Invalid password. Please try again." msgstr "Mot de passe invalide. Veuillez réessayer à nouveau." -#: index.php:107 +#: index.php:108 msgid "You are already logged in as " msgstr "Vous êtes déjà connecté en tant que " -#: index.php:107 +#: index.php:108 msgid "You may log in as another user below," msgstr "Vous pouvez vous connecter sous un autre compte ci-dessous," -#: index.php:107 +#: index.php:108 msgid "return" msgstr "Retourner" -#: index.php:107 +#: index.php:108 msgid "or" msgstr "ou" -#: index.php:107 +#: index.php:108 msgid "logout" msgstr "Déconnectez-vous" -#: index.php:128 +#: index.php:129 msgid "Please enter login credentials to sign in." msgstr "Merci d'entrer vos identifiants de connexion pour ouvrir une session." -#: index.php:136 +#: index.php:137 msgid "Your session has timed out." msgstr "Votre session a expiré." -#: index.php:145 +#: index.php:146 msgid "You do not have permission to enter." msgstr "Vous n'avez pas les autorisations requises pour accéder au site." -#: index.php:145 +#: index.php:146 msgid "Please contact an administrator." msgstr "Merci de contacter un administrateur." -#: index.php:155 +#: index.php:156 msgid "You must log in before accessing the admin page." msgstr "" "Vous devez vous identifier avant d'accéder à cette page d'administration." -#: index.php:202 +#: index.php:211 msgid "Login ID:" msgstr "Nom d'utilisateur :" -#: index.php:205 +#: index.php:214 msgid "Password:" msgstr "Mot de passe :" -#: index.php:209 +#: index.php:218 msgid "Remember my login ID" msgstr "Mémoriser mes identifiants de connexion" -#: index.php:213 +#: index.php:221 msgid "Login" msgstr "Se connecter" -#: index.php:258 +#: index.php:267 msgid "Admin page" msgstr "Page d'administration" -#: js/admin.js:67 -msgid "Passwords do not match" -msgstr "Les mots de passe ne correspondent pas" - -#: js/admin.js:73 -msgid "Password is required" -msgstr "Le mot de passe est obligatoire" - -#: js/admin.js:78 -msgid "UserID is required" -msgstr "Le nom d'utilisateur est obligatoire" +#~ msgid "French" +#~ msgstr "Français" -#: js/admin.js:89 -msgid "Do you really want to delete this user?" -msgstr "Voulez-vous vraiment supprimer cet utilisateur ?" - -#: js/index.js:40 -msgid "Refreshing Contents..." -msgstr "Actualisation des contenus en cours..." +#~ msgid "English" +#~ msgstr "Anglais" #~ msgid "Spanish" #~ msgstr "Espagnol" From d161f3b2bc305b42712143325c39888055e70392 Mon Sep 17 00:00:00 2001 From: Ryan Chisum Date: Mon, 13 Jun 2016 13:24:59 -0600 Subject: [PATCH 17/18] New Image for Title Bar --- images/authtitle.png | Bin 0 -> 5131 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 images/authtitle.png diff --git a/images/authtitle.png b/images/authtitle.png new file mode 100644 index 0000000000000000000000000000000000000000..29b69c6418d3fbd8d0269549537953b8686841c7 GIT binary patch literal 5131 zcmbVQcTiJXw-2K9-Yf`&s(^uzP?AXRfq+z{NC`=(X^;p3K@g;)a6u7}UZjYHDn)u% zq$6FVX+#7m3WDXsd$0GsKkj_<=AD^y_TKBP-|B15niFebZp6uUiVXk&a3YQMtqxcC zubYMG@R@KTBJyxKNj0#eT9e$V0cbxQKnF{5!vT>5vS)iAySGU^B8F&eO{{ z$PZ^7WNw2A^1;Bd5?Y!-bsFMO00Bou18D?2k%FLUNc<@mak&3QR+Iq#$wKwfkoe0e zJ2MNQ9?1^}R8dd`VZf?tKsC66l8Ty|vf4Qy1gxZ@2!<*`!5|0}p$tYSLx6u@5{KIS zuoA#rHwUoH^HW@i5gCQ|+m)M3aJX=t*dk^)$fK=|d? zpWGCx74Cn`_*ZUDwqFNKEFwaHTi4%Pcs}I{%I#1@vw*d4x1&OUGEYA zz$1&)*Ri2Z_dELFZF&SXch{$VgfUCIj1d)qFjqG|QE}EA+UGKikX~bkCdOqJ;x$@v zWhTo;d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#j!jD zMMDKvu1d{kyH>%veK&tDwy^H_+enw9mgU@GkAAW%f%Lw)u(Slcy%?SSlMM`@+JZXb T5~t>V{hmV_nCm~%bq)Uy<^(6> literal 0 HcmV?d00001 From f60d951627e4394aa08c1f606d12eeebec0426af Mon Sep 17 00:00:00 2001 From: Bradley Droubay Date: Thu, 16 Jun 2016 06:41:01 -0600 Subject: [PATCH 18/18] Fix for locales missing in LangCodes.php arrays --- LangCodes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LangCodes.php b/LangCodes.php index 37b743c..8a2542f 100644 --- a/LangCodes.php +++ b/LangCodes.php @@ -12,7 +12,7 @@ public function getLanguage($code){ //'zh_TW'=>'zh_TW', //'de_DE'=>'de_DE' ); - return $all_lang[$code]; + return array_key_exists($code, $all_lang) ? $all_lang[$code] : "en_US"; } public function getNameLang($code_lang){ $name_lang=array( @@ -22,7 +22,7 @@ public function getNameLang($code_lang){ //'zh_TW'=>'中文 (台灣)', //'de_DE'=>'Deutsch' ); - return $name_lang[$code_lang]; + return array_key_exists($code_lang, $name_lang) ? $name_lang[$code_lang] : "English"; } } ?> \ No newline at end of file