From c6ab5b0ac512effa66ee0c07ae1578d9e14b2037 Mon Sep 17 00:00:00 2001 From: veselcraft Date: Wed, 1 Dec 2021 23:12:05 +0300 Subject: [PATCH] Xmas: Custom header and xmas is activated after 1 december --- Web/Presenters/OpenVKPresenter.php | 2 +- Web/static/img/xheader_custom.png | Bin 0 -> 10050 bytes 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 Web/Presenters/OpenVKPresenter.php create mode 100755 Web/static/img/xheader_custom.png diff --git a/Web/Presenters/OpenVKPresenter.php b/Web/Presenters/OpenVKPresenter.php old mode 100644 new mode 100755 index dad9f014..d53b23c8 --- a/Web/Presenters/OpenVKPresenter.php +++ b/Web/Presenters/OpenVKPresenter.php @@ -184,7 +184,7 @@ abstract class OpenVKPresenter extends SimplePresenter { $user = Authenticator::i()->getUser(); - $this->template->isXmas = intval(date('d')) >= 15 && date('m') == 12 || intval(date('d')) <= 15 && date('m') == 1 ? true : false; + $this->template->isXmas = intval(date('d')) >= 1 && date('m') == 12 || intval(date('d')) <= 15 && date('m') == 1 ? true : false; if(!is_null($user)) { $this->user = (object) []; diff --git a/Web/static/img/xheader_custom.png b/Web/static/img/xheader_custom.png new file mode 100755 index 0000000000000000000000000000000000000000..79fdcdf74c8169261972e2454089a42f2706da47 GIT binary patch literal 10050 zcmeHrc|6qX`}atT2xZBXXzW>LV=OZnWG5n2LNsOuW0}#+FqUkUeJfd#Ek!EXl4V3C zS;`WTWXlpl;ZQ{4`3#+NI?wO>oZs*JdYwRC>`&#bXM4BHn;O5-V z2?Bw*jSO`yKp=J@;2p}b9r)WXo9qe#ZB6yFvZh<$7!Xe?#fjujgwTCGi4dX>$q5AV z=`A?v_F6(_*Xk=->Q+gyt&PLE_xd4?W_2+&Sv6~}rDaHE-X#t(FRs>0Uthf!U3(T! z{cyRFmi?7KAA7HK%4vn=%x_O;cbbKBGgj)4 z?_0XKwsPZkUyv`24wpPE-q0#yc&9>Qc$#g1r#IodLvYC24{CFtiL?(lB@A=o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