Exemplo n.º 1
0
                <?php 
    foreach ($list_levels['items'] as $row) {
        ?>
 
                <tr class="state-default<?php 
        if (in_array($row->level_group_id, $disallowed_edit_delete)) {
            ?>
 ui-state-disabled<?php 
        }
        ?>
" id="listItem_<?php 
        echo $row->level_group_id;
        ?>
">
                    <td class="check-column"><?php 
        echo \Extension\Form::checkbox('id[]', $row->level_group_id, array(in_array($row->level_group_id, $disallowed_edit_delete) ? 'disabled' : null, 'title' => $row->level_group_id));
        ?>
</td>
                    <td><span class="fa fa-sort cursor-n-resize sortable-cell<?php 
        if (in_array($row->level_group_id, $disallowed_edit_delete)) {
            ?>
 text-muted<?php 
        }
        ?>
"></span></td>
                    <td><?php 
        echo $row->level_priority;
        ?>
</td>
                    <td><?php 
        echo $row->level_name;
Exemplo n.º 2
0
</th>
					<th></th>
				</tr>
			</tfoot>
			<tbody>
				<?php 
if (isset($list_items['items']) && is_array($list_items['items']) && !empty($list_items['items'])) {
    ?>
 
				<?php 
    foreach ($list_items['items'] as $row) {
        ?>
 
				<tr>
					<td class="check-column"><?php 
        echo \Extension\Form::checkbox('id[]', $row->post_id);
        ?>
</td>
					<td><?php 
        echo $row->post_name;
        ?>
</td>
					<td></td>
					<td><?php 
        echo \Extension\Date::gmtDate('', $row->post_date);
        ?>
</td>
					<td>
						<?php 
        if (\Model_AccountLevelPermission::checkAdminPermission('blog_perm', 'blog_write_perm')) {
            echo \Extension\Html::anchor('blog/admin/index/edit/' . $row->post_id, '<span class="glyphicon glyphicon-pencil"></span> ' . \Lang::get('admin_edit'), array('class' => 'btn btn-default btn-xs'));
Exemplo n.º 3
0
?>
)</span>
                                </label>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <h2><?php 
echo __('config_account_avatar');
?>
</h2>
                        <div class="form-group">
                            <div class="col-sm-12">
                                <label class="checkbox-inline">
                                    <?php 
echo \Extension\Form::checkbox('allow_avatar', '1', isset($allow_avatar) && $allow_avatar == '1' ? true : false, array('id' => 'cfg-allow_avatar', 'class' => 'custom-checkbox'));
?>
 <?php 
echo __('config_account_allow_avatar');
?>
 
                                </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="cfg-avatar_size" class="col-sm-12"><?php 
echo __('config_account_avatar_size');
?>
:</label>
                            <div class="col-sm-5">
                                <div class="input-group">
Exemplo n.º 4
0
</th>
                    <th></th>
                </tr>
            </tfoot>
            <tbody>
                <?php 
if (isset($list_accounts['items']) && is_array($list_accounts['items']) && !empty($list_accounts['items'])) {
    ?>
 
                <?php 
    foreach ($list_accounts['items'] as $row) {
        ?>
 
                <tr>
                    <td class="check-column"><?php 
        echo \Extension\Form::checkbox('id[]', $row->account_id, array($row->account_id == '0' ? 'disabled' : null));
        ?>
</td>
                    <td><?php 
        echo $row->account_id;
        ?>
</td>
                    <td><?php 
        echo \Security::htmlentities($row->account_username);
        ?>
</td>
                    <td><?php 
        echo $row->account_email;
        ?>
</td>
                    <td>
Exemplo n.º 5
0
</th>
                    <th></th>
                </tr>
            </tfoot>
            <tbody>
                <?php 
if (isset($list_sites['items']) && is_array($list_sites['items']) && !empty($list_sites['items'])) {
    ?>
 
                <?php 
    foreach ($list_sites['items'] as $row) {
        ?>
 
                <tr>
                    <td class="check-column"><?php 
        echo \Extension\Form::checkbox('id[]', $row->site_id, array($row->site_id == '1' ? 'disabled' : null));
        ?>
</td>
                    <td><?php 
        echo $row->site_id;
        ?>
</td>
                    <td><?php 
        echo $row->site_name;
        ?>
</td>
                    <td><?php 
        echo $row->site_domain;
        ?>
</td>
                    <td><span class="glyphicon glyphicon-<?php