summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ccb9b3f)
raw | patch | inline | side by side (parent: ccb9b3f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 Jul 2008 10:51:06 +0000 (10:51 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 Jul 2008 10:51:06 +0000 (10:51 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11798 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-core/html/plugins/users/default.jpg b/gosa-core/html/plugins/users/default.jpg
new file mode 100644 (file)
index 0000000..c20b084
Binary files /dev/null and b/gosa-core/html/plugins/users/default.jpg differ
index 0000000..c20b084
Binary files /dev/null and b/gosa-core/html/plugins/users/default.jpg differ
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index dd60b93f0ac55987f0c884ea15c0622e80ed508f..1446d1f009bff740810bb5223626c5d859be73c2 100644 (file)
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{
function set_picture($filename ="")
{
if (!is_file($filename) || $filename =="" ){
- $filename= "./images/default.jpg";
+ $filename= "./plugins/users/images/default.jpg";
$this->jpegPhoto= "*removed*";
}
/* 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 c3bd485043c132baf6fe26545b5604679f3f0e2c..5706d15259b44ea5698e916c23e772a28cc3488c 100644 (file)
<tr>
<td width="147" height="200" bgcolor="gray">
{if !$userPicture_is_readable}
- <img class='center' border="0" width="100%" src="images/default.jpg" alt="{t}Personal picture{/t}">
+ <img class='center' border="0" width="100%" src="plugins/users/images/default.jpg" alt="{t}Personal picture{/t}">
{else}
<img class='center' border="0" width="100%" src="getbin.php?rand={$rand}" alt="{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 b1de93432540507d6e65a5e75660faa9ca845cb4..b29ea4a8ce3b0253e960476ee26d5b4f0d112cff 100644 (file)
<table>
<tr>
<td width="147" height="200" bgcolor="gray">
- <img class='center' border="0" width="100%" src="images/default.jpg" alt="{t}Personal picture{/t}">
+ <img class='center' border="0" width="100%" src="plugins/users/images/default.jpg" alt="{t}Personal picture{/t}">
</td>
</tr>
</table>