?> <?php if ($props) { ?> <form action="" method="post" id="props-bind"> <div id="ctypes-props-toolbar"> <?php echo LANG_CP_PROPS_BIND; ?> — <?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')); ?>
?> <?php } ?> </td> </tr> <?php } ?> </tbody> <?php } ?> <?php } ?> </table> </div> <div class="buttons"> <?php echo html_submit(LANG_SAVE); ?> </div> </form>
:</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>
<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 } ?>
:</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>
?> <?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>
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
?> </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
</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>
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
<?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>
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>
<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>