Exemple #1
0
        echo !$row->isOpen() ? ' (' . $this->escape($row->get('resolved')) . ')' : '';
        ?>
										</span>
									</span>
								</td>
								<td colspan="6">
									<p>
										<span class="ticket-author">
											<?php 
        echo $this->escape($row->get('name'));
        echo $row->submitter()->get('id') ? ' (<a href="' . Route::url('index.php?option=com_members&id=' . $row->submitter()->get('id')) . '">' . $this->escape($row->get('login')) . '</a>)' : ($row->get('login') ? ' (' . $this->escape($row->get('login')) . ')' : '');
        ?>
										</span>
										<span class="ticket-datetime">
											@ <time datetime="<?php 
        echo $row->created();
        ?>
"><?php 
        echo $row->created('local');
        ?>
</time>
										</span>
										<?php 
        if ($lastcomment && $lastcomment != '0000-00-00 00:00:00') {
            ?>
											<span class="ticket-activity">
												<time datetime="<?php 
            echo $lastcomment;
            ?>
"><?php 
            echo Date::of($lastcomment)->relative();
Exemple #2
0
</time>
										</span>
									<?php 
        }
        ?>
								</p>
								<p>
									<span class="ticket-author">
										<?php 
        echo $row->get('name');
        echo $row->get('login') ? ' (<a href="' . Route::url('index.php?option=com_members&task=edit&id=' . $this->escape($row->get('login'))) . '">' . $this->escape($row->get('login')) . '</a>)' : '';
        ?>
									</span>
									<span class="ticket-datetime">
										@ <time datetime="<?php 
        echo $row->created();
        ?>
"><?php 
        echo $row->created();
        ?>
</time>
									</span>
								</p>
								<p>
									<a class="ticket-content" href="<?php 
        echo Route::url('index.php?option=' . $this->option . '&controller=' . $this->controller . '&task=edit&id=' . $row->get('id'));
        ?>
">
										<?php 
        echo $this->escape($row->get('summary', Lang::txt('COM_SUPPORT_TICKET_NO_CONTENT')));
        ?>