1*e8fc7594Sghi<h1> 2*e8fc7594Sghi <?php echo $bezlang['8d_report'] ?> 3*e8fc7594Sghi <span id="bez_8d_send_button">[<a href=" 4*e8fc7594Sghi <?php echo $helper->mailto($template['issue']['coordinator_email'], 5*e8fc7594Sghi $bezlang['8d_report'].': #'.$template['issue']['id'].' ['.$template['issue']['entity'].'] '.$template['issue']['title'], 6*e8fc7594Sghi $template['uri']) ?>"> 7*e8fc7594Sghi ✉ <?php echo $bezlang['send_mail'] ?> 8*e8fc7594Sghi </a>]</span> 9*e8fc7594Sghi</h1> 10f2f5b3feSghi 11f2f5b3feSghi<table> 12f2f5b3feSghi<tr> 13f2f5b3feSghi <td> 14f2f5b3feSghi <?php echo ucfirst($template['issue']['type']) ?> 15f2f5b3feSghi <strong>#<?php echo $template['issue']['id'] ?></strong> 16f2f5b3feSghi </td> 17f2f5b3feSghi <td> 18f2f5b3feSghi <strong><?php echo $bezlang['entity'] ?>:</strong> 19f2f5b3feSghi <?php echo $template['issue']['entity'] ?> 20f2f5b3feSghi </td> 21f2f5b3feSghi </tr> 22f2f5b3feSghi 23f2f5b3feSghi <tr> 24f2f5b3feSghi <td> 25f2f5b3feSghi <strong><?php echo $bezlang['open_date'] ?>:</strong> 26f2f5b3feSghi <?php echo $helper->time2date($template['issue']['date']) ?> 27f2f5b3feSghi </td> 28f2f5b3feSghi <td> 29f2f5b3feSghi <strong><?php echo $bezlang['reporter'] ?>:</strong> 30f2f5b3feSghi <?php echo $template['issue']['reporter'] ?> 31f2f5b3feSghi </td> 32f2f5b3feSghi </tr> 33f2f5b3feSghi 34f2f5b3feSghi <tr> 35f2f5b3feSghi <td colspan="2"> 36f2f5b3feSghi <strong><?php echo $bezlang['title'] ?>:</strong> 37f2f5b3feSghi <?php echo $template['issue']['title'] ?> 38f2f5b3feSghi </td> 39f2f5b3feSghi</tr> 40f2f5b3feSghi</table> 41f2f5b3feSghi 42f2f5b3feSghi<h2><?php echo $bezlang['2d'] ?></h2> 43f2f5b3feSghi<?php echo $helper->wiki_parse($template['issue']['description']) ?> 44f2f5b3feSghi 45f2f5b3feSghi<?php if (count($template['causes']) > 0): ?> 46f2f5b3feSghi <h2><?php echo $bezlang['3d'] ?></h2> 47f2f5b3feSghi 48f2f5b3feSghi <?php foreach ($template['causes'] as $rootcause => $cause): ?> 49f2f5b3feSghi <h3><?php echo $rootcause ?></h3> 50f2f5b3feSghi <ul> 51f2f5b3feSghi <?php foreach($cause as $value): ?> 52f2f5b3feSghi <li><?php echo $helper->wiki_parse($value['cause']) ?></li> 53f2f5b3feSghi <?php endforeach ?> 54f2f5b3feSghi </ul> 55f2f5b3feSghi <?php endforeach ?> 56f2f5b3feSghi<?php endif ?> 57f2f5b3feSghi 58f2f5b3feSghi<?php if (count($template['tasks']) > 0): ?> 59f2f5b3feSghi <?php foreach($template['tasks'] as $nd => $tasks): ?> 60f2f5b3feSghi <h2><?php echo $bezlang[$nd] ?></h2> 61f2f5b3feSghi <table> 62f2f5b3feSghi <tr> 63f2f5b3feSghi <th><?php echo $bezlang['id'] ?></th> 64f2f5b3feSghi <th><?php echo $bezlang['class'] ?></th> 65f2f5b3feSghi <th><?php echo $bezlang['date'] ?></th> 66f2f5b3feSghi <th><?php echo $bezlang['cost'] ?></th> 67f2f5b3feSghi </tr> 68f2f5b3feSghi <?php foreach($tasks as $task): ?> 69f2f5b3feSghi <tr> 70f2f5b3feSghi <td><?php echo $helper->html_task_link($task['issue'], $task['id']) ?></td> 71f2f5b3feSghi <td><?php echo $task['action'] ?></td> 72f2f5b3feSghi <td><?php echo $helper->string_time_to_now($task['date']) ?></td> 73f2f5b3feSghi <td> 74f2f5b3feSghi <?php if ($task['cost'] == ''): ?> 75f2f5b3feSghi <em><?php echo $bezlang['ns'] ?></em> 76f2f5b3feSghi <?php else: ?> 77f2f5b3feSghi <?php echo $task['cost'] ?> 78f2f5b3feSghi <?php endif ?> 79f2f5b3feSghi </td> 80f2f5b3feSghi </tr> 81f2f5b3feSghi <?php endforeach ?> 82f2f5b3feSghi </table> 83f2f5b3feSghi <?php endforeach ?> 84f2f5b3feSghi<?php endif ?> 85f2f5b3feSghi 86f2f5b3feSghi 87f2f5b3feSghi 88f2f5b3feSghi<?php if (strlen(trim($template['issue']['opinion'])) > 0): ?> 89f2f5b3feSghi <h2><?php echo $bezlang['7d'] ?></h2> 90f2f5b3feSghi <?php echo $helper->wiki_parse($template['issue']['opinion']) ?> 91f2f5b3feSghi 92f2f5b3feSghi<?php endif ?> 93f2f5b3feSghi 94f2f5b3feSghi<h2><?php echo $bezlang['8d'] ?></h2> 95f2f5b3feSghi<table> 96f2f5b3feSghi<tr> 97f2f5b3feSghi <td> 98f2f5b3feSghi <strong><?php echo $bezlang['true_date'] ?>:</strong> 99f2f5b3feSghi <?php echo $helper->time2date($template['issue']['last_mod']) ?> 100f2f5b3feSghi </td> 101f2f5b3feSghi <td> 102f2f5b3feSghi <strong><?php echo $bezlang['state'] ?>:</strong> 103f2f5b3feSghi <?php echo $template['issue']['state'] ?> 104f2f5b3feSghi </td> 105f2f5b3feSghi</tr> 106f2f5b3feSghi 107f2f5b3feSghi<tr> 108f2f5b3feSghi <td> 109f2f5b3feSghi <strong><?php echo $bezlang['cost_total'] ?>:</strong> 110f2f5b3feSghi <?php echo $template['cost_total'] ?> 111f2f5b3feSghi </td> 112f2f5b3feSghi <td> 113f2f5b3feSghi <strong><?php echo $bezlang['coordinator'] ?>:</strong> 114f2f5b3feSghi <?php echo $template['issue']['coordinator'] ?> 115f2f5b3feSghi </td> 116f2f5b3feSghi</tr> 117f2f5b3feSghi</table> 118