Exemplo n.º 1
0
?>
</th>
                        <th><?php 
$FPCM_LANG->write('CATEGORIES_ROLLS');
?>
</th>
                        <th class="fpcm-td-select-row"></th>         
                    </tr>
                    <tr class="fpcm-td-spacer"><td></td></tr>
                    
                    <?php 
foreach ($categorieList as $cat) {
    ?>
                    <tr>
                        <td class="fpcm-ui-editbutton-col"><?php 
    \fpcm\model\view\helper::editButton($cat->getEditLink());
    ?>
</td>
                        <td><strong><?php 
    print \fpcm\model\view\helper::escapeVal($cat->getName());
    ?>
</strong></td>
                        <td><?php 
    if ($cat->getIconPath()) {
        ?>
 <img src="<?php 
        print $cat->getIconPath();
        ?>
" alt="<?php 
        print $cat->getName();
        ?>
Exemplo n.º 2
0
            <th class="fpcm-td-select-row"><?php 
    fpcm\model\view\helper::checkbox('fpcm-select-allsub', 'fpcm-select-allsub', '-draft' . $articleMonth, '', 'fpcm-select-allsub', false);
    ?>
</th>
        </tr>
        <tr class="fpcm-td-spacer"><td></td></tr>
        <?php 
    foreach ($articles as $articleId => $article) {
        ?>
            <tr>
                <td class="fpcm-ui-articlelist-open">
                    <?php 
        \fpcm\model\view\helper::linkButton($article->getArticleLink(), 'GLOBAL_FRONTEND_OPEN', '', 'fpcm-ui-button-blank fpcm-openlink-btn');
        ?>
                    <?php 
        \fpcm\model\view\helper::editButton($article->getEditLink(), $article->getEditPermission());
        ?>
                </td>
                <td><strong title="<?php 
        print substr(\fpcm\model\view\helper::escapeVal(strip_tags($article->getContent())), 0, 128);
        ?>
..."><?php 
        print \fpcm\model\view\helper::escapeVal(strip_tags($article->getTitle()));
        ?>
</strong></td>
                <td class="fpcm-td-articlelist-times"><?php 
        include dirname(__DIR__) . '/times.php';
        ?>
</td>
                <td class="fpcm-td-articlelist-meta"><?php 
        include dirname(__DIR__) . '/metainfo.php';
Exemplo n.º 3
0
    ?>
    <tr>
        <td <?php 
    if ($commentsMode == 1) {
        ?>
class="fpcm-ui-articlelist-open"<?php 
    }
    ?>
>
            <?php 
    if ($commentsMode == 1) {
        \fpcm\model\view\helper::linkButton($comment->getArticleLink(), 'GLOBAL_FRONTEND_OPEN', '', 'fpcm-ui-button-blank fpcm-openlink-btn', '_blank');
    }
    ?>
            <?php 
    \fpcm\model\view\helper::editButton($comment->getEditLink() . '&mode=' . $commentsMode, $comment->getEditPermission(), $commentsMode == 2 ? 'fpcm-ui-commentlist-link' : '');
    ?>
        </td>
        <td><strong title="<?php 
    print substr(\fpcm\model\view\helper::escapeVal($comment->getText()), 0, 100);
    ?>
..."><?php 
    print \fpcm\model\view\helper::escapeVal($comment->getName());
    ?>
</strong></td>
        <td><?php 
    print \fpcm\model\view\helper::escapeVal($comment->getEmail());
    ?>
</td>
        <td><?php 
    \fpcm\model\view\helper::dateText($comment->getCreatetime());
Exemplo n.º 4
0
                <table class="fpcm-ui-table fpcm-ui-users">
                    <tr>
                        <th></th>
                        <th><?php 
    $FPCM_LANG->write('USERS_ROLLS_NAME');
    ?>
</th>  
                        <th class="fpcm-th-select-row"></th>         
                    </tr>
                    <tr class="fpcm-td-spacer"><td></td></tr>
                    <?php 
    foreach ($usersRollList as $rollName => $rollid) {
        ?>
                    <tr>
                        <td class="fpcm-ui-editbutton-col"><?php 
        \fpcm\model\view\helper::editButton($FPCM_BASEMODULELINK . 'users/editroll&id=' . $rollid, $rollid <= 3 ? false : true);
        ?>
</td>
                        <td><strong><?php 
        print \fpcm\model\view\helper::escapeVal($rollName);
        ?>
</strong></td>
                        <td class="fpcm-td-select-row"><input type="radio" name="rollids" value="<?php 
        print $rollid;
        ?>
" <?php 
        if ($rollid <= 3) {
            ?>
disabled="disabled"<?php 
        }
        ?>