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


PHP Ibos::app方法代码示例

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


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

示例1: function

echo $uploadConfig['max'];
?>
",
            file_types: "<?php 
echo $uploadConfig['attachexts']['ext'];
?>
",
            file_types_description: "<?php 
echo $uploadConfig['attachexts']['depict'];
?>
"
        }
    })
</script>
<script src="<?php 
echo Ibos::app()->assetManager->getAssetsUrl('vote');
?>
/js/vote.js?<?php 
echo VERHASH;
?>
"></script>
<script>

// @Todo: 图片与文字投票有大部分相似内容,此处考虑tab时只变更有区别的部分
// 上传组件最在打开图片投票时初始化,不要在一进入页面只初始化
    (function() {
        // 投票项数验证,至少两条有效数据
        $("#article_form").on("submit", function() {
            var isVoteEnabled = $("#voteStatus").prop("checked"),
                    $items;
            if (isVoteEnabled) {
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:articleAdd.php

示例2: array

        if ($run['focus']) {
            ?>
<span class="o-yw-attention"></span><?php 
        }
        ?>
					</td>
				</tr>
			<?php 
    }
    ?>
		</tbody>
	</table>
	<div class="mbox-base">
		<div class="fill-hn xac">
			<a href="<?php 
    echo Ibos::app()->createUrl('workflow/list/index', array('op' => 'list', 'type' => 'todo', 'sort' => 'all'));
    ?>
" class="link-more">
				<i class="cbtn o-more"></i>
				<span class="ilsep">查看更多待办工作</span>
			</a>
		</div>
	</div>
	<script>
		Ibos.evt.add({
			'viewFlow': function(param, $elem) {
				window.open(Ibos.app.url('workflow/preview/flow', param), "viewFlow");
			}
		});
	</script>
<?php 
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:workflow.php

示例3: date

        echo $lang['Posted on'];
        echo date('Y' . $lang['Year'] . 'n' . $lang['Month'] . 'j' . $lang['Day'] . 'H:i', $doc['addtime']);
        ?>
</span>
						</div>
					</td>
				</tr>
			<?php 
    }
    ?>
		</tbody>
	</table>
	<div class="mbox-base">
		<div class="fill-hn xac">
			<a href="<?php 
    echo Ibos::app()->urlManager->createUrl('officialdoc/officialdoc/index');
    ?>
" class="link-more">
				<i class="cbtn o-more"></i>
				<span class="ilsep"><?php 
    echo $lang['See more docs'];
    ?>
</span>
			</a>
		</div>
	</div>
<?php 
} else {
    ?>
	<div class="in-officialdoc-empty"></div>
<?php 
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:officialdoc.php

示例4:

?>
</button>
			</div>
			<div class="page-list-mainer">
				<div class="msg-pm-detail-header">
					<div class="band band-primary">
						<div class="avatar-box pull-right">
							<a target='_blank' data-toggle='usercard' data-param='uid=<?php 
echo Ibos::app()->user->uid;
?>
' href="<?php 
echo Ibos::app()->user->space_url;
?>
" class="avatar-circle">
								<img class="mbm" src="<?php 
echo Ibos::app()->user->avatar_middle;
?>
" >
							</a>
						</div>
						<div class="msg-pm-input msg-pm-input-fullmode" id="pm_input">
							<div class="msg-box msg-box-inverse mbs">
								<span class="msg-box-arrow"><i></i></span>
								<textarea name="" id="reply_content" placeholder="<?php 
echo $lang['Sending to...'];
foreach ($message['to'] as $k => $mb) {
    if ($k > 1) {
        echo '、';
    }
    echo $mb['user']['realname'];
}
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:detail.php

示例5: count

    echo $lang['View'];
    ?>
								<strong><?php 
    echo count($readers);
    ?>
</strong>
								<?php 
    echo $lang['People'];
    ?>
							</div>
							<div class="da-reviews-avatar">
								<?php 
    foreach ($readers as $reader) {
        ?>
									<a href="<?php 
        echo Ibos::app()->createUrl('user/home/index', array('uid' => $reader['uid']));
        ?>
">
										<img src="static.php?type=avatar&uid=<?php 
        echo $reader['uid'];
        ?>
&size=small&engine=<?php 
        echo ENGINE;
        ?>
" title="<?php 
        echo $reader['realname'];
        ?>
" class="img-rounded"/>
									</a>
								<?php 
    }
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:show.php

示例6: array

		<div>
			<ul class="nav nav-tabs nav-tabs-large nav-justified nav-special">
				<li>
					<a href="<?php 
echo $this->createUrl('home/index', array('uid' => $this->getUid()));
?>
"><?php 
echo $lang['Home page'];
?>
</a>
				</li>
				<?php 
if ($this->getIsWeiboEnabled()) {
    ?>
<li><a href="<?php 
    echo Ibos::app()->urlManager->createUrl('weibo/personal/index', array('uid' => $this->getUid()));
    ?>
"><?php 
    echo $lang['Weibo'];
    ?>
</a></li><?php 
}
?>
				<?php 
if ($this->getIsMe()) {
    ?>
					<li><a href="<?php 
    echo $this->createUrl('home/credit', array('uid' => $this->getUid()));
    ?>
"><?php 
    echo $lang['Credit'];
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:profile.php

示例7: array

							</a>
						</span>
					</div>
				</div>
			</div>
		<?php 
}
?>
		<div class="control-group remind-block">
			<label class="control-label"><?php 
echo $lang['Remind content'];
?>
</label>
			<div class="controls">
				<textarea name="message" rows="3" class="reminds"><?php 
echo Ibos::lang('Turn remind', '', array('{runname}' => $runName, '{me}' => Ibos::app()->user->realname));
?>
</textarea>
			</div>
		</div>
		<input type="hidden" name="op" value="<?php 
echo $op;
?>
" />
		<input type="hidden" name="key" value="<?php 
echo $key;
?>
" />
		<input type="hidden" name="topflagOld" value="<?php 
echo $topflag;
?>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:shownextfree.php

示例8: array

?>
"}'>
										<i class="o-wbi-frow"></i>
										评论( <?php 
echo $fd['commentcount'];
?>
 )
									</a>
								</div>
							</div>
						</div>
						<?php 
if ($fd['module'] == 'weibo') {
    ?>
							<?php 
    $sourceUrl = Ibos::app()->urlManager->createUrl('weibo/personal/feed', array('feedid' => $fd['feedid']));
    $this->widget('application\\modules\\weibo\\core\\WeiboComment', array('module' => $fd['module'], 'table' => 'feed', 'attributes' => array('rowid' => $fd['feedid'], 'moduleuid' => $fd['uid'], 'module_rowid' => $fd['rowid'], 'module_table' => $fd['table'], 'tocid' => 0, 'touid' => $fd['uid'], 'showlist' => 1, 'url' => $sourceUrl, 'detail' => Ibos::lang('Comment my weibo', '', array('{url}' => $sourceUrl, '{title}' => String::cutStr(preg_replace("/[\\s]{2,}/", "", String::filterCleanHtml($fd['body'])), 50))))));
    ?>
						<?php 
}
?>
					</div>
				</div>
			</div>
		</div>
		<!--微博模块 左  E-->
	</div>
	<!--微博模块 E-->
</div>
<!-- 赞过的人 -->
<div class="wb-digg-box popover fade bottom in" id="menu_digg_box" data-node-type="feedDiggBox" style="display: none; ">
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:detail.php

示例9:

?>
',
				STATIC_URL: '<?php 
echo STATICURL;
?>
',
				cookiePre: '<?php 
echo Ibos::app()->setting->get('config/cookie/cookiepre');
?>
',
				cookiePath: '<?php 
echo Ibos::app()->setting->get('config/cookie/cookiepath');
?>
',
				cookieDomain: '<?php 
echo Ibos::app()->setting->get('config/cookie/cookiedomain');
?>
',
				formHash: '<?php 
echo FORMHASH;
?>
'
			};
		</script>
		<script src="<?php 
echo STATICURL;
?>
/js/src/core.js?<?php 
echo VERHASH;
?>
"></script>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:newPreview.php

示例10: int

<?php

use application\core\utils\Ibos;
use application\core\utils\Module;
$isInstallCalendar = Module::getIsEnabled('calendar');
if ($isInstallCalendar) {
    $sql = "DROP TABLE IF EXISTS {{calendar_rep_record}};\r\n\t\t\tCREATE TABLE IF NOT EXISTS {{calendar_rep_record}} (\r\n\t\t\t`id` int(10) unsigned NOT NULL AUTO_INCREMENT,\r\n\t\t\t`cid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '日程的id',\r\n\t\t\t`rid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '来自日志的计划id',\r\n\t\t\t`repid` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '总结的id',\r\n\t\t\tPRIMARY KEY (`id`),\r\n\t\t\tKEY `cid` (`cid`) USING BTREE,\r\n\t\t\tKEY `rid` (`rid`) USING BTREE,\r\n\t\t\tKEY `repid` (`repid`) USING BTREE\r\n\t\t  ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;";
    Ibos::app()->db->createCommand($sql)->query();
}
开发者ID:allfineok,项目名称:php-sample,代码行数:9,代码来源:extention.php

示例11: array

										<?php 
    echo $lang['Now the situation'];
    ?>
									</a>
								</li>
							</ul>
							<div class="tab-content">
								<!-- 是否使用AJAX Tab -->
								<!-- 评论 -->
								<?php 
    if ($data['commentstatus'] && $dashboardConfig['articlecommentenable']) {
        ?>
									<div id="comment" class="comment fill-zn tab-pane active">
										<?php 
        $sourceUrl = Ibos::app()->urlManager->createUrl('article/default/index', array('op' => 'show', 'articleid' => $data['articleid']));
        $this->widget('application\\modules\\article\\core\\ArticleComment', array('module' => 'article', 'table' => 'article', 'attributes' => array('rowid' => $data['articleid'], 'moduleuid' => Ibos::app()->user->uid, 'touid' => $data['author'], 'module_rowid' => $data['articleid'], 'module_table' => 'article', 'url' => $sourceUrl, 'detail' => Ibos::lang('Comment my article', '', array('{url}' => $sourceUrl, '{title}' => String::cutStr($data['subject'], 50))))));
        ?>
									</div>
								<?php 
    }
    ?>
								<!-- 查阅情况 -->
								<div id="isread" class="tab-pane">
									<table class="table table-striped">
										<tbody>
											<tr>
												<td colspan="2"><img src='<?php 
    echo STATICURL;
    ?>
/image/common/loading.gif'/></td>
											</tr>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:show.php

示例12: elseif

">
		<!-- IE8 fixed -->
		<!--[if lt IE 9]>
			<link rel="stylesheet" href="<?php 
echo STATICURL;
?>
/css/iefix.css?<?php 
echo VERHASH;
?>
">
		<![endif]-->
	</head>
	<body>
		<div style="padding: 20px; width: 400px;">
			<form class="form-horizontal" method="post" action="<?php 
echo Ibos::app()->createUrl('dashboard/organizationApi/syncuser');
?>
">
				<div class="control-group">
					<label class="control-label">确认同步</label>
					<div class="controls">
						是否要<?php 
if ($flag == '1') {
    echo '增加';
} elseif ($flag == '2') {
    echo '启用';
} else {
    echo '禁用';
}
?>
用户【<?php 
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:qqsync.php

示例13:

</code> queries. 
					<?php 
}
?>
                </div>
            </div>
        </div>
        <!-- load script  -->
        <script>
			var G = {
				VERHASH: '<?php 
echo VERHASH;
?>
',
				SITE_URL: '<?php 
echo Ibos::app()->setting->get('siteurl');
?>
',
				STATIC_URL: '<?php 
echo STATICURL;
?>
',
				formHash: '<?php 
echo FORMHASH;
?>
',
				page: "login",
				"loginBg": [
<?php 
$image = '';
foreach ($loginBg as $bg) {
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:login.php

示例14:

 class="active" <?php 
}
?>
>
				<a href="<?php 
echo $this->createUrl('interview/index');
?>
">
					<i class="o-rct-backdrop"></i>
					<?php 
echo Ibos::lang('Interview management');
?>
				</a>
			</li>
			<li <?php 
if (Ibos::app()->controller->id == 'bgchecks') {
    ?>
 class="active" <?php 
}
?>
>
				<a href="<?php 
echo $this->createUrl('bgchecks/index');
?>
">
					<i class="o-rct-contact"></i>
					<?php 
echo Ibos::lang('Background investigation');
?>
				</a>
			</li>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:sidebar.php

示例15:

							</div>
							<div>
								<a href="javascript:;" data-type="unidirec" class="btn btn-success phone-call-btn" data-action="call">呼叫</a>
							</div>
						</div>
						<div data-type="bidirec" class="call-content-wrap call-type-bidirec" style="display:none;">
							<div class="call-type-tip mb">
								<i class="o-type-phone"></i>
								<span class="dib xwb mls">手机</span>
								<i class="o-call-point"></i>
								<span class="dib xwb mls">手机</span>
								<i class="o-type-phone mls"></i>
							</div>
							<div class="number-input-block mb">
								<input type="hidden" id="my_phone_select" value="<?php 
echo 'u_' . Ibos::app()->user->uid;
?>
" />
							</div>
							<div class="number-input-block mb">
								<div class="clearfix mbm">
									<div class="pull-left">
										<span>对方电话号码</span>
									</div>
									<div class="pull-right">
										<a href="javascript:;" data-toggle="dial">
											<i class="o-tip-down"></i>
											<span>拨号盘</span>
										</a>
									</div>
								</div>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:call.php


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