Пример #1
0
    ?>

            <?php 
    if ($props) {
        ?>
                <form action="" method="post" id="props-bind">
                    <div id="ctypes-props-toolbar">
                        <?php 
        echo LANG_CP_PROPS_BIND;
        ?>
 &mdash;
                        <?php 
        echo html_select('prop_id', array_collection_to_list($props, 'id', 'title'));
        ?>
                        <?php 
        echo html_submit('+');
        ?>
                        <label id="is_childs">
                            <?php 
        echo html_checkbox('is_childs', true);
        ?>
                            <?php 
        echo LANG_CP_PROPS_BIND_RECURSIVE;
        ?>
                        </label>
                    </div>
                </form>
                <div style="display:none">
                    <?php 
        echo html_select('props_list', array_collection_to_list($props, 'id', 'title'));
        ?>
Пример #2
0
                ?>
                                <?php 
            }
            ?>
                                </td>

                            </tr>
                        <?php 
        }
        ?>
                    </tbody>

                <?php 
    }
    ?>

            <?php 
}
?>

        </table>
    </div>

    <div class="buttons">
        <?php 
echo html_submit(LANG_SAVE);
?>
    </div>

</form>
Пример #3
0
:</label>
            <a href="<?php 
echo href_to('auth', 'restore');
?>
" tabindex="5"><?php 
echo LANG_FORGOT_PASS;
?>
</a>
            <?php 
echo html_input('password', 'login_password', '', array('required' => true, 'tabindex' => '2'));
?>
        </div>

        <div class="options">
            <input type="checkbox" id="remember" name="remember" value="1" tabindex="3" />
            <label for="remember">
                <?php 
echo LANG_REMEMBER_ME;
?>
            </label>
        </div>

        <div class="buttons">
            <?php 
echo html_submit(LANG_LOG_IN, 'submit', array('tabindex' => '4'));
?>
        </div>

    </form>
</div>
Пример #4
0
<div id="search_form">
    <form action="<?php 
echo href_to('search');
?>
" method="get">
        <?php 
echo html_input('text', 'q', $query, array('placeholder' => LANG_SEARCH_QUERY_INPUT));
?>
        <?php 
echo html_select('type', array('words' => LANG_SEARCH_TYPE_WORDS, 'exact' => LANG_SEARCH_TYPE_EXACT), $type);
?>
        <?php 
echo html_select('date', array('all' => LANG_SEARCH_DATES_ALL, 'w' => LANG_SEARCH_DATES_W, 'm' => LANG_SEARCH_DATES_M, 'y' => LANG_SEARCH_DATES_Y), $date);
?>
        <?php 
echo html_submit(LANG_FIND);
?>
    </form>
</div>

<?php 
if ($query && empty($search_data)) {
    ?>
    <p id="search_no_results"><?php 
    echo LANG_SEARCH_NO_RESULTS;
    ?>
</p>
<?php 
}
?>
Пример #5
0
:</label>
            <a href="<?php 
echo href_to('auth', 'restore');
?>
"><?php 
echo LANG_FORGOT_PASS;
?>
</a>
            <?php 
echo html_input('password', 'login_password');
?>
        </div>

        <div class="options">
            <input type="checkbox" id="remember" name="remember" value="1" />
            <label for="remember">
                <?php 
echo LANG_REMEMBER_ME;
?>
            </label>
        </div>
        
        <div class="buttons">
            <?php 
echo html_submit(LANG_LOG_IN);
?>
        </div>

    </form>
</div>
Пример #6
0
    ?>
        <?php 
    $hooks_html = cmsEventsManager::hookAll($attributes['hook']['event'], $param);
    ?>
        <?php 
    if ($hooks_html) {
        echo html_each($hooks_html);
    }
    ?>

    <?php 
}
?>

    <?php 
echo $append_html;
?>

    <div class="buttons">
        <?php 
echo html_submit($submit['title']);
?>
        <?php 
if ($cancel['show']) {
    echo html_button($cancel['title'], 'cancel', "location.href='{$cancel['href']}'");
}
?>
    </div>

</form>
Пример #7
0
    echo $this->href_to('invite_friends', $group_id);
    ?>
" method="post">

            <div class="list">

                <?php 
    $users_list_input = new fieldUsers('friends');
    echo $users_list_input->getInput($friends);
    ?>

            </div>

            <div class="buttons">
                <?php 
    echo html_submit(LANG_INVITE);
    ?>
            </div>

        </form>

    <?php 
} else {
    ?>

        <p><?php 
    echo LANG_GROUPS_INVITE_NO_FRIENDS;
    ?>
</p>

    <?php 
Пример #8
0
        ?>
                            </div>
                        </div>
                    <?php 
    }
    ?>
                <?php 
}
?>
            </div>
            <?php 
if ($fields_count) {
    ?>
                <div class="buttons">
                    <?php 
    echo html_submit(LANG_FILTER_APPLY);
    ?>
                    <?php 
    if (sizeof($filters)) {
        ?>
                        <div class="link">
                            <a href="<?php 
        echo is_array($page_url) ? $page_url['base'] : $page_url;
        ?>
"><?php 
        echo LANG_CANCEL;
        ?>
</a>
                        </div>
                        <div class="link">
                            # <a href="<?php 
Пример #9
0
                                </select>
                            <?php 
    }
    ?>

                        </td>
                        <td>
                            <?php 
    $attr = $field['handler']->filter_hint ? array('placeholder' => $field['handler']->filter_hint) : null;
    echo html_input('text', "filters[{$index}][value]", '', $attr);
    ?>
                        </td>
                    </tr>
                    <?php 
    $index++;
    ?>
                <?php 
}
?>
            </table>

        </fieldset>

        <?php 
echo html_submit(LANG_APPLY);
?>

    </form>

</div>
Пример #10
0
    if ($hooks_html) {
        echo html_each($hooks_html);
    }
    ?>

    <?php 
}
?>

    <?php 
echo $append_html;
?>

    <div class="buttons">
        <?php 
echo html_submit($submit['title'], 'submit', $submit);
?>
        <?php 
if ($cancel['show']) {
    echo html_button($cancel['title'], 'cancel', "location.href='{$cancel['href']}'");
}
?>
    </div>

</form>
<?php 
if ($is_ajax) {
    ?>
    <script type="text/javascript">
        $(function (){
            $('#<?php 
Пример #11
0
<?php

$this->setPageTitle(LANG_USERS_FRIENDS_DELETE);
$this->addBreadcrumb(LANG_USERS, href_to('users'));
$this->addBreadcrumb($friend['nickname'], $this->href_to($friend['id']));
$this->addBreadcrumb(LANG_USERS_FRIENDS_DELETE);
?>

<h1><?php 
echo LANG_USERS_FRIENDS_DELETE;
?>
</h1>

<h3><?php 
echo sprintf(LANG_USERS_FRIENDS_DELETE_CONFIRM, $friend['nickname']);
?>
</h3>

<form action="" method="post">
    <?php 
echo html_csrf_token();
?>
    <?php 
echo html_submit(LANG_CONFIRM);
?>
    <?php 
echo html_button(LANG_CANCEL, 'cancel', "window.history.go(-1)");
?>
</form>
Пример #12
0
if ($allowed_extensions) {
    ?>
			<div class="hint"><?php 
    printf(LANG_PARSER_FILE_EXTS_FIELD_HINT, implode(', ', array_map(function ($val) {
        return trim($val);
    }, explode(',', mb_strtoupper($allowed_extensions)))));
    ?>
</div>
		<?php 
}
?>
		<?php 
if ($max_size_mb) {
    ?>
			<div class="hint"><?php 
    printf(LANG_PARSER_FILE_SIZE_FIELD_HINT, files_format_bytes($max_size_mb));
    ?>
</div>
		<?php 
}
?>
		
		<div class="button">
			<?php 
echo html_submit(LANG_UPLOAD);
?>
		</div>
	</div>
	
</form>
Пример #13
0
        <fieldset>

            <legend><?php 
    echo LANG_CP_INSTALL_PACKAGE_FILE;
    ?>
</legend>

            <div class="field">
                <?php 
    echo html_file_input('package');
    ?>
                <div class="hint">
                    <?php 
    echo LANG_CP_INSTALL_PACKAGE_FILE_HINT;
    ?>
                </div>
            </div>

        </fieldset>

    <?php 
}
?>

    <?php 
echo html_submit(LANG_CONTINUE);
?>

</form>