当前位置: 首页>>代码示例>>PHP>>正文


PHP ST::setUserJs方法代码示例

本文整理汇总了PHP中ST::setUserJs方法的典型用法代码示例。如果您正苦于以下问题:PHP ST::setUserJs方法的具体用法?PHP ST::setUserJs怎么用?PHP ST::setUserJs使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ST的用法示例。


在下文中一共展示了ST::setUserJs方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main.php";
ST::setUserJs('flot/jquery.flot.min.js');
ST::setUserJs('flot/jquery.flot.time.js');
ST::setUserJs('flot/jquery.flot.selection.js');
ST::setUserJs('flot/jquery.flot.threshold.js');
$plotTicks = array();
$randomData = array();
$threshold = array();
$thresholdCounter = 100;
$dateCur = date_create()->setTime(8, 0);
$dateEnd = date_create()->setTime(20, 0);
$c = 0;
while ($dateCur <= $dateEnd) {
    if (in_array($dateCur->format('i'), ['00', '30'])) {
        $plotTicks[] = array($c, $dateCur->format('H:i'));
    } else {
        $plotTicks[] = array($c, '');
    }
    $randomData[] = array($c, rand(0, 120));
    $threshold[] = array($c, $thresholdCounter);
    $c++;
    $dateCur->modify("+15 minutes");
}
?>



    <div class="demo-container"><button class="btn btn-default pull-right" id="reset" type="button">Сброс</button>
        <div id="placeholder" class="demo-placeholder" style="width:960px;height:450px"></div>
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:flot.php

示例2:

<?php

ST::setUserJs('attendance/v2/core-participants.js');
?>

<script>
    $(document).ready(function () {
        $(".nav-container").each(function () {
            $(this).hide();
        });
        $("#main-container").show();

        $("[name='in_place_participants_count_modal']").val($("[name='in_place_participants_count']").val());

    });

    $(function () {
        $('[data-toggle="tooltip"]').tooltip()
    })
</script>

<div class="container-response">
    <div class="errors-cnt-simple"></div>
    <div class="col-lg-12 navigation">
        <span class="col-md-9">
        <button class="btn btn-default btn-success active" id="nav-points" type="button"><span
                class="glyphicon glyphicon-camera"></span> Справочник
            точек
        </button>
        </span>
        <span class="col-md-3 text-right nopadding">
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:browse-participants.php

示例3: date_create

<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main-fluid.php";
ST::setVarPhptoJS($date, 'currentDate');
ST::setUserJs("vks/day_calendar.js");
?>
<script>
    $(document).ready(function () {
        $('#btn_another_date').click(function () {
            $('#dp_another_date').datepicker({
                'dateFormat': "yy-mm-dd"
            });

            $('#dp_another_date').datepicker("show");
        });
        $(document).on('change', '#dp_another_date', function () {
            location.href = '?route=Vks/day/' + $(this).val();
        })
        $('.fc-toolbar').remove();
    })

</script>
<div class="container100">
    <h3 class="text-center">
        <input class="hidden" id="dp_another_date" disabled/>
        <button type="button" class="btn btn-info btn-sm pull-left" id="btn_another_date">Другая дата</button>
        Список ВКС на <b><?php 
echo date_create($date)->format("d.m.Y");
?>
</b>
        <div class="btn-group pull-right btn-group-sm">
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:dayGraph.php

示例4: Select2Assert

<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main.php";
$p = new Select2Assert();
$p->init();
ST::setUserJs('users/search.js');
?>
<style>
    .li-hover:hover {
       color: #ff7800 !important;
    }
</style>
<div class="container">
    <div class="col-lg-1">
        <a class="btn btn-default" href="<?php 
echo ST::route("AttendanceNew/show/" . $attendance->parent_id);
?>
">Назад</a>
        </div>
    <div class="col-lg-8 left-border padding25">
        <h4>Параметры технической поддержки точки<br> <span
                class="text-success"><?php 
echo AttendanceNew_controller::makeFullPath($attendance->id);
?>
</span></h4>

        <?php 
if ($attendance->container) {
    ?>
            <div class="alert alert-danger">
                Вы выбрали контейнер, все нижестоящие точки будут наследовать эту тех. поддержку (если она включена)
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:edit.php

示例5:

<?php

//ST::deployTemplate('heads/ui_timepicker.inc');
ST::setUserJs('attendance/v3/RepositoryPoints.class.js');
ST::setUserJs('attendance/v3/RenderEngine.class.js');
ST::setUserJs('attendance/v3/actions-script.js');
ST::setUserJs('jquery/jquery.cookie.js');
?>
<style>
    .breadcrumbs {
        /*background-color: #f5f5f5;*/
        margin-bottom: 3px;
    }

    #points_container {
        /*background-color: #f5f5f5;*/
        min-height: 500px;
        max-height: 500px;
        overflow: auto;
        margin-top: 10px;

    }

    #points_container > li, #selected_points_container > li {
        font-size: 13px !important;
        /*padding: 1px;*/
        padding-left: 15px;
    }

    #selected_points_container > li {
        font-size: 12px !important;
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:attv3.php

示例6:

<?php

ST::deployTemplate('heads/ui_timepicker.inc');
ST::setUserJs('settings/users.js');
RenderEngine::MenuChanger();
//dump($data['users']);
?>
<div class="container">
    <div class="col-md-12">
        <h3>Пользователи системы</h3>
        <hr>
        <div class="col-md-12 form-inline search-block alert alert-info">
            <b><span class="glyphicon glyphicon-search"></span> Поиск пользователей (по логину):</b>
            <input class="form-control" id="user-search-field"/>
        </div>

        <table id="founded-table" class="table table-striped table-hover"></table>

        <table class="table table-striped table-hover" id="user-table">
            <th>#</th>
            <th><a href="<?php 
echo RenderEngine::makeOrderLink('id');
?>
">id</a></th>
            <th><a href="<?php 
echo RenderEngine::makeOrderLink('login');
?>
">Логин</a></th>
            <th><a href="<?php 
echo RenderEngine::makeOrderLink('role');
?>
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:index.php

示例7:

<?php

ST::setUserJs('attendance/autocomplete.js');
?>
<div class="search-form col-lg-12 no-left-padding" style="margin: 0 0 25px 0;">
        <span class="text-primary" style="width: 30%; padding-top: 5px; font-size: 14px;"><b>Поиск подразделения</b></span>
        <span class="" style="width: 70%;">
            <input style="padding: 7px; width: 100%;" id="search_attendance"/>
            <div id="result_search_attendance" class="hidden"
                 style="padding: 3px; z-index: 999; position: absolute; background-color: white; width: 100%;"></div>
        </span>
</div>
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:12,代码来源:_search_form.php

示例8:

            <!--                        onclick="document.getElementById('captcha').src = 'securimage/securimage_show.php?' + Math.random(); return false"><span-->
            <!--                            class="glyphicon glyphicon-refresh" title="обновить картинку"></span> </a>-->
            <!---->
            <!--                    <input type="text" class="form-control" name="captcha_code" size="10" maxlength="6"/>-->
            <!--                </div>-->
            <!---->
            <!--            </div>-->
            <?php 
ST::setUpErrorContainer();
?>
            <div class="form-group">
                <div class="col-md-5 col-lg-offset-4">
                    <button id="submit" type="button" class="btn btn-success btn-lg">Отправить</button>
                </div>
            </div>

            <!--    <block start -->


        </form>
    </div>
</div>
</body>
<?php 
ST::setUserJs('uf-2.js');
ST::setUserJs('vks/block_checker.js');
$p = new ParticipationsV3Assert();
$p->init();
?>

开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:29,代码来源:createSimple.php

示例9:

<?php

ST::deployTemplate('heads/ui_timepicker.inc');
RenderEngine::MenuChanger();
$backPack = ST::lookAtBackPack();
ST::setUserJs('settings/code_delivery/core.js');
?>
<div class="container">
    <div class="col-lg-2">
        <button type="button" class="btn btn-info" id="add">
            Добавить шаблон
        </button>
    </div>
    <div class="col-lg-9">
        <div class="alert alert-danger">
            <h4>Обратите внимание</h4>
            <ul>
                <li>
                    Диапазоны в которых больше 100 значений будут подвешивать интерфейс, желательно не превышать этого значения
                </li>
                <li>
                    Недостающие цифры в хвосте заполняются нулями
                </li>
            </ul>
        </div>
        <form class="form-horizontal" method='post' action="<?php 
echo ST::route("Settings/storeCodeDelivery");
?>
">
            <?php 
echo Token::castTokenField();
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:edit.php

示例10:

<?php

ST::deployTemplate('heads/ui_timepicker.inc');
RenderEngine::MenuChanger();
ST::setUserCss('render-vks.css');
ST::setUserJs('users/core.js');
ST::setUserCss('users/lk.css');
ST::setUserJs('users/core.js');
//dump($vksList);
ST::setVarPhptoJS(HTTP_PATH, 'core_http_path');
ST::setVarPhptoJS(HTTP_BASE_PATH, 'base_http_path');
?>
<div class="container-fluid">
    <div class="col-md-12">
        <h3 class="text-success">Мои видеоконференции</h3>

        <div class="lk-menu">
            <h4>
                <span class="text-muted">Показать:</span>
                <?php 
if ($filter != 'all') {
    ?>
                    <a href="<?php 
    echo ST::route("Lk/show/all");
    ?>
" class="lk-menu-item menu-span like-href">Все</a>
                <?php 
} else {
    ?>
                    <span class="lk-menu-item menu-span text-warning">Все</span>
                <?php 
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:index.php

示例11:

<html>
<?php 
ST::setUserJs('attendance/v3/init.js');
//
?>
<style>
    .breadcrumbs {
        /*background-color: #f5f5f5;*/
        margin-bottom: 3px;
    }

    #points_container {
        /*background-color: #f5f5f5;*/
        min-height: 500px;
        max-height: 500px;
        overflow: auto;
        margin-top: 10px;

    }

    .disabled {
        color: #ccc;
    }

    #points_container > li, #selected_points_container > li {
        font-size: 13px !important;
        /*padding: 1px;*/
        padding-left: 15px;
    }

    #selected_points_container > li {
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:participants.php

示例12: date_create

<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main-fluid.php";
RenderEngine::MenuChanger();
//timed_array
ST::setVarPhptoJS($date, 'date');
ST::setVarPhptoJS($attendance->id, 'requested_participant_id');
ST::setUserJs("vks/showAtParticipant_calendar.js");
?>
<script>
    $(document).ready(function () {
        $(".date-pick").datepicker({
            defaultDate: date,
            dateFormat: "yy-mm-dd",
            onSelect: function (date) {
                location.href = "<?php 
echo App::$instance->opt->appHttpPath;
?>
?route=test/test2/" + date + "/" + requested_participant_id;
            },
        });
    })
</script>

    <div class="pull-left">
        <h3 class="text-muted">ВКС в <?php 
echo AttendanceNew_controller::makeFullPath($attendance->id);
?>
            на <?php 
echo date_create($date)->format("d.m.Y");
?>
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:test2.php

示例13:

<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main.php";
ST::setUserJs('react/react.js');
ST::setUserJs('react/react-dom.js');
ST::setUserJs('react/react-with-addons.js');
ST::setUserJs('react/marked.min.js');
ST::setUserJs('react/browser-polyfill.js');
ST::setUserJs('react/browser.min.js');
?>
<div class='col-lg-6 col-lg-offset-3'>
<div id="content"></div>

<script type="text/babel" src="<?php 
echo CORE_REPOSITORY_HTTP_PATH;
?>
/js/react-tutorial-master/public/scripts/tutorial1.js"></script>

<script type="text/babel" src="<?php 
echo CORE_REPOSITORY_HTTP_PATH;
?>
/js/react-tutorial-master/public/scripts/tutorial2.js"></script>
    </div>
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:23,代码来源:react.php

示例14:

<?php

include_once CORE_REPOSITORY_REAL_PATH . "views/main.php";
ST::setVarPhptoJS(HTTP_PATH, 'core_http_path');
ST::setUserJs("vks/calendar.js");
?>
</div>
<div class="container-fluid">
    <?php 
include_once CORE_REPOSITORY_REAL_PATH . "views/pleaseEnter.php";
?>
</div>
<div class="container">

    <div class="clearfix"></div>
    <div id='calendar' style="min-height: 640px; margin-top: 25px;"></div>
    <div style='clear:both'></div>
    <div style="margin-top: 1.9em;">
        &nbsp
    </div>
    <?php 
ST::deployTemplate('footer/closeContainer.inc');
?>
    <div class="container100">
        <?php 
ST::deployTemplate('footer/mainFooter.inc');
?>
    </div>


    <script>
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:calendar.php

示例15: init

<?php

ST::deployTemplate('heads/ui_timepicker.inc');
RenderEngine::MenuChanger();
ST::setUserJs('dhtmlxScheduler/dhtmlxscheduler.js');
ST::setUserJs('dhtmlxScheduler/ext/dhtmlxscheduler_timeline.js');
?>
<link rel="stylesheet" type="text/css" href="<?php 
echo CORE_REPOSITORY_HTTP_PATH;
?>
js/dhtmlxScheduler/dhtmlxscheduler.css"/>
<link rel="stylesheet" type="text/css"
      href="<?php 
echo CORE_REPOSITORY_HTTP_PATH;
?>
js/dhtmlxScheduler/dhtmlxscheduler_classic.css"/>
<script type="text/javascript" charset="utf-8">
    function init() {

        scheduler.locale.labels.timeline_tab = "Timeline";
        scheduler.locale.labels.section_custom="Section";
        scheduler.config.details_on_create=true;
        scheduler.config.details_on_dblclick=true;
        scheduler.config.xml_date="%Y-%m-%d %H:%i";

        //===============
        //Configuration
        //===============
        var sections=[
            {key:1, label:"James Smith"},
            {key:2, label:"John Williams"},
开发者ID:inilotic,项目名称:vks_nodes_core,代码行数:31,代码来源:timeline.php


注:本文中的ST::setUserJs方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。