Esempio n. 1
0
                <div class="inform">
                    <fieldset>
                        <legend><?php 
        printf(__('Zapped subhead'), Utils::format_time($report['zapped']), $report['zapped_by'] != '' ? '<a href="' . Router::pathFor('userProfile', ['id' => $report['zapped_by_id']]) . '">' . Utils::escape($report['zapped_by']) . '</a>' : __('NA'));
        ?>
</legend>
                        <div class="infldset">
                            <table class="aligntop">
                                <tr>
                                    <th scope="row"><?php 
        printf(__('Reported by'), $report['reporter'] != '' ? '<a href="' . Router::pathFor('userProfile', ['id' => $report['reported_by']]) . '">' . Utils::escape($report['reporter']) . '</a>' : __('Deleted user'));
        ?>
</th>
                                    <td class="location">
                                        <?php 
        echo AdminUtils::breadcrumbs_admin(array($report['forum_name'] => Router::pathFor('Forum', ['id' => $report['forum_id'], 'name' => Url::url_friendly($report['forum_name'])]), $report['subject'] => Router::pathFor('Forum', ['id' => $report['topic_id'], 'name' => Url::url_friendly($report['subject'])]), sprintf(__('Post ID'), $report['pid']) => Router::pathFor('viewPost', ['pid' => $report['pid']]) . '#p' . $report['pid']));
        ?>
                                    </td>
                                </tr>
                                <tr>
                                    <th scope="row"><?php 
        _e('Reason');
        ?>
</th>
                                    <td><?php 
        echo str_replace("\n", '<br />', Utils::escape($report['message']));
        ?>
</td>
                                </tr>
                            </table>
                        </div>