indexSuccess.php 1.42 KB
Newer Older
Яков's avatar
first  
Яков committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php use_helper('I18N', 'Date') ?>
<?php if (!$sf_request->isXmlHttpRequest()): ?>
<?php include_partial('page/assets') ?>

<span class="lui__h1"><?php echo __('Страницы', array(), 'messages') ?></span><sup
    class="lui__list_count">&nbsp;<?php echo ($sf_request->getParameter('q') ? 'найдено:&nbsp;' : '');?><?php echo isset($pager) ? $pager->getNbResults() : ''; ?>&nbsp;</sup>

<?php include_partial('page/flashes') ?>

<span class="br15"></span>
<div class="batch_form__class">
    <?php endif; ?>

    <?php if (isset($pager)): ?>

    <form id="batch_form" action="<?php echo url_for('page_collection', array('action' => 'batch')) ?>" method="post">


        <div id="lui_scroller" class="lui_scroller">
            <div class="lui__scroller_wrapper"><?php include_partial('page/list', array('pager' => $pager, 'sort' => $sort, 'helper' => $helper)) ?></div>
        </div>


        <input type="hidden" name="batch_action" id="batch_action_id"/>
        <?php $form = new BaseForm(); if ($form->isCSRFProtected()): ?>
        <input type="hidden" name="<?php echo $form->getCSRFFieldName() ?>" value="<?php echo $form->getCSRFToken() ?>"/>
        <?php endif; ?>

    </form>

    <?php endif; ?>

    <?php if (!$sf_request->isXmlHttpRequest()): ?>
</div>



<?php endif; ?>
<?php if (isset($replace_content) && $replace_content !== false): ?>
    <?php echo htmlspecialchars_decode($replace_content); ?>
<?php endif; ?>