From 0c7b19ca51c1e756f71fb927465ea12ec8df26e5 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 23 Jul 2008 10:51:06 +0000 Subject: [PATCH] Moved default.JPG intop plugins/users/images. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11798 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/plugins/users/default.jpg | Bin 0 -> 2502 bytes .../plugins/personal/generic/class_user.inc | 6 +++--- gosa-core/plugins/personal/generic/generic.tpl | 2 +- .../personal/generic/multiple_generic.tpl | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 gosa-core/html/plugins/users/default.jpg diff --git a/gosa-core/html/plugins/users/default.jpg b/gosa-core/html/plugins/users/default.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c20b08440cd4b96fa92a99e6b3a922f841151145 GIT binary patch literal 2502 zcmd5-dozqR)7v%cTY{(krOv-aL! zS%<6_taZT?@BjjV0B89JWS@YhV@yauTu87!EiCSsKJi$Hz7yfVAz3GI1j;a&5^ROC zl9G~&itSYa zJOV5C?u*HO*fJ(xtp0V(FN+tfh_5pJX%z!F6e8ae6albc(hk{J8-D%!L?%=Gu=FYg zl|N1}Ry-KnRf!>yNOc^}$cs_Ty5`reYc4tREe?)a-gGJXP;dx>W#uKWJVL*-DSHtx zQvQm@6aXSWs@-j*^4UqH7ZvBzyZdXU#CxqSU&Q!o-VT83{XkkmWFl!>4L_x@((bog zJo8K9usvUqK0_D)klVvcTBv<6q2;xgcziry`rl0O0Dzs#ITcRVza1A(a{R+eHUb6W&{1={KNEioV{f+s}Og?tw zrMYypd(Znb?T?1q_)Kn2{)CpK!B;YCZZ?%i-Y4`zcICRW?s{!Ad^x1!?_)pu9p%NJ zOntK_v#NY7ENITbcbBtTO}j&E42BjtW+4|3d{aRM*sQOhl(C`M$Lz`^-6I((Y4MoO z;Dy9WH%*6kkGJ$7y-BAmiDL>%l3k>5W_)o2d)~Rs>$G2bu*c)H-jVZG8Rz&uTVi8f zLXpGS@mt$ZcQ;Jg{kC4SEf8@B9h*ZyHE2E#+~Sl;cP)=RULO(VJV5Xkee$FTo9tBa zlER28g;Q&vSiyaZgj#8lI3kxKoN&JB-!<)MU&FuUZA|yT#8Nx@!^=d6W>OqHo=@L6 zB=Y&8+tZQ+=ba&ABPzE2y)L=F=bm8x$2pJGX{z`qrb~Ut`Q}7qzte__sW*5oCFpgO z4hEkiDaoG9m=uq!=Ny}FLAax4A<~_zI7Vr~bFLn^V#d=t>Ftk~6phcj?W?w^B+N*) zL%S{O-X2ctSddT)09eoRadzwY<<<9ox%)@Z*W}K`AWs>%-}o|dpEpG=C%%P=I-%p+0zpT#}nKMHU?Pf5CiSKNxMdY+*sI=%&(c_X+Ui~D`&?e34(5`XfY;w>j zQfCMI2s^yaox*A_O$g!bypo}^Ue`}+(Dllo0p^c$cl`EGL2cUIo6h!Wph+sl7<+EI zR5HNbKc8h=5=~ht;M8-5sFD8+;lv6jY+okYzCHYgfpi+!ifS%M7h2v5i=oy~1aTQR zK5`QvLXifdZO-(OXk{^Wl|_rI;8PMNKAB^?IyjnMwx8Kgq}=AdCyC<)f@!?Ucg8Ti zvyM2$=7=nO9Z7e%3b&8cOv`@2F1vAt*K*w#o`$ZD=`To-0X`%wsO70ha&<$GI4Y;J zFsmOY1A&sW6`kvtx4cQU(WMNB9U~ZeW6FZq-+W8|O@2N3^AG+=4$P$o-Wq()>7l)4`eIH7?!IONQCesv+d79}optN|xpJe20yGFeoU zEL=xcph2yD^=_-q8sg;3Gr9LotfirslW`M{x4{Wa+bd0fLnB7+`D{)`R$xe-+uiL2 zag31M8wIx3C_M9zq>F8X%&Tlt^sOy;ggekR%cmD0BBDg9rIIq5iqm_0E{P^^Gco2N<6a&QXq>l PiWb5DIaoaaSefWQi77f4 literal 0 HcmV?d00001 diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc index dd60b93f0..1446d1f00 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -1267,7 +1267,7 @@ class user extends plugin if((!$data) || ($data == "*removed*")){ /* In case we don't get an entry, load a default picture */ - $this->set_picture ();//"./images/default.jpg"); + $this->set_picture (); $this->jpegPhoto= "*removed*"; }else{ @@ -1320,7 +1320,7 @@ class user extends plugin function set_picture($filename ="") { if (!is_file($filename) || $filename =="" ){ - $filename= "./images/default.jpg"; + $filename= "./plugins/users/images/default.jpg"; $this->jpegPhoto= "*removed*"; } @@ -1445,7 +1445,7 @@ class user extends plugin /* Remove picture? */ if (isset($_POST['picture_remove'])){ $this->jpegPhoto= "*removed*"; - $this->set_picture ("./images/default.jpg"); + $this->set_picture ("./plugins/users/images/default.jpg"); $this->is_modified= TRUE; } diff --git a/gosa-core/plugins/personal/generic/generic.tpl b/gosa-core/plugins/personal/generic/generic.tpl index c3bd48504..5706d1525 100644 --- a/gosa-core/plugins/personal/generic/generic.tpl +++ b/gosa-core/plugins/personal/generic/generic.tpl @@ -17,7 +17,7 @@ {if !$userPicture_is_readable} - {t}Personal picture{/t} + {t}Personal picture{/t} {else} {t}Personal picture{/t} {/if} diff --git a/gosa-core/plugins/personal/generic/multiple_generic.tpl b/gosa-core/plugins/personal/generic/multiple_generic.tpl index b1de93432..b29ea4a8c 100644 --- a/gosa-core/plugins/personal/generic/multiple_generic.tpl +++ b/gosa-core/plugins/personal/generic/multiple_generic.tpl @@ -10,7 +10,7 @@
- {t}Personal picture{/t} + {t}Personal picture{/t}
-- 2.30.2