Code

Updated infoPage
[gosa.git] / gosa-core / ihtml / themes / default / infoPage.tpl
index f7f0b77edeb7fd97e5eb31b5568dd2754fc580f6..269135da0630da0c6c99e70999745a5b6619b1ee 100644 (file)
@@ -5,8 +5,12 @@
 
     <table width="100%">
         <tr>
-            <td>
-                    <img src="getbin.php?rand={$rand}" alt='' style='max-width:147px; max-height: 200px; vertical-align: middle;' >
+            <td style='width:147px; height:200px; background-color:gray; vertical-align: middle;' >
+                {if $jpegPhoto == ""}
+                    <img  src="plugins/users/images/default.jpg" alt=''>
+                {else}
+                    <img  src="getbin.php?rand={$rand}" alt='' style='max-width:147px; max-height: 200px; vertical-align: middle;' >
+                {/if}
             </td>
             <td style="width:33%">
                 <table>