本文整理汇总了PHP中application\core\utils\Ibos类的典型用法代码示例。如果您正苦于以下问题:PHP Ibos类的具体用法?PHP Ibos怎么用?PHP Ibos使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Ibos类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
',
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>
示例2: foreach
<label class="control-label"><?php
echo Ibos::lang('Category parent', 'category');
?>
</label>
<div class="controls">
<select class="input-small" name="pid">
<option value="0"><?php
echo Ibos::lang('None');
?>
</option>
<%= optionHtml %>
</select>
</div>
</div>
<?php
if (Ibos::app()->user->isadministrator) {
?>
<div class="control-group">
<label class="control-label">审批流程</label>
<div class="controls">
<select class="input-small" name="aid" id="approval_id">
<option value="0">无需审核</option>
<?php
foreach ($approvals as $approval) {
?>
<option value="<?php
echo $approval['id'];
?>
" <%= aid == "<?php
echo $approval['id'];
?>
示例3: array
if ($hasSub) {
?>
<li <?php
if ($inReview) {
?>
class="active"<?php
}
?>
>
<a href="<?php
echo Ibos::app()->createUrl('diary/stats/review');
?>
">
<i class="os-statistics"></i>
<?php
echo Ibos::lang('Review statistics');
?>
</a>
<?php
if ($inReview) {
?>
<?php
echo $this->getController()->widget('application\\modules\\diary\\widgets\\DiarySublist', array('stats' => true, 'fromController' => $fromController), true);
?>
<?php
}
?>
</li>
<?php
}
?>
示例4: 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
}
示例5: array
?>
>
</td>
<td>
<?php
if ($menu['iscustom']) {
?>
<a href="<?php
echo $this->createUrl('quicknav/edit', array('id' => $menu['id']));
?>
" class="cbtn o-edit" title="<?php
echo Ibos::lang('edit');
?>
"></a>
<a href="javascript:;" class="cbtn o-trash" title="<?php
echo Ibos::lang('delete');
?>
" data-action="removeQuicknav" data-param='{"id": <?php
echo $menu['id'];
?>
}'></a>
<?php
}
?>
</td>
</tr>
<?php
}
?>
</tbody>
<tfoot>
示例6: array
</li>
<?php
if ($this->getIsMe()) {
?>
<li><a href="<?php
echo Ibos::app()->urlManager->createUrl('user/home/credit');
?>
"><?php
echo $lang['Credit'];
?>
</a></li>
<?php
}
?>
<li><a href="<?php
echo Ibos::app()->urlManager->createUrl('user/home/personal', array('uid' => $this->getUid()));
?>
"><?php
echo $lang['Profile'];
?>
</a></li>
</ul>
</div>
<!--导航 E-->
</div>
<!--顶部 E-->
<div class="wb-fans-box">
<div class="wb-per-hd mpanel">
<ul class="nav nav-skid">
<li class="active">
<a class="active" href="<?php
示例7: intval
',
type: '<?php
echo $type;
?>
',
feedtype: '<?php
echo $feedtype;
?>
',
feedkey: '<?php
echo $feedkey;
?>
',
inHome: 0,
submitInterval: <?php
echo intval(Ibos::app()->setting->get('setting/wbpostfrequency')) * 1000;
?>
};
Ibos.app.setPageParam(params);
$("#mn_search").search(function(val) {
if ($.trim(val) !== '') {
window.location.href = Ibos.app.url('weibo/personal/index', {feedkey: val, uid: Ibos.app.g('uid'), type: Ibos.app.g("type"), feedtype: Ibos.app.g("feedtype")});
}
});
</script>
<script src="<?php
echo STATICURL;
?>
/js/src/emotion.js?<?php
echo VERHASH;
?>
示例8:
<option value="改进标点或格式">改进标点或格式</option>
</select>
</div>
<!-- Row 5 Button -->
<div id="submit_bar" class="clearfix">
<button type="button" onclick="history.go(-1);" class="btn btn-large btn-submit pull-left"><?php
echo Ibos::lang('Return');
?>
</button>
<div class="pull-right">
<button type="button" id="prewiew_submit" data-action="preview" class="btn btn-large btn-submit"><?php
echo Ibos::lang('Preview');
?>
</button>
<button type="submit" class="btn btn-large btn-submit btn-primary" id="edit_submit"><?php
echo Ibos::lang('Submit');
?>
</button>
</div>
</div>
</div>
<input type="hidden" name="docid" value="<?php
echo $data['docid'];
?>
">
<input type="hidden" name="version" value="<?php
echo $data['version'];
?>
">
<input type="hidden" name="relatedmodule" value="officialdoc" />
<input type="hidden" name="relatedid" value="<?php
示例9:
<?php
use application\core\utils\Ibos;
?>
<!doctype html>
<html lang="en">
<head>
<meta charset=<?php
echo CHARSET;
?>
/>
<title><?php
echo Ibos::app()->setting->get('title');
?>
</title>
<link rel="shortcut icon" href="<?php
echo STATICURL;
?>
/image/favicon.ico">
<meta name="generator" content="IBOS <?php
echo VERSION;
?>
" />
<meta name="author" content="IBOS Team" />
<meta name="copyright" content="2013 IBOS Inc." />
<!-- load css -->
<link rel="stylesheet" type="text/css" rev="stylesheet" href="<?php
echo STATICURL;
?>
/css/base.css?<?php
echo VERHASH;
示例10:
</a></div>
<?php
}
?>
</div>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
<div class="mbox-base">
<div class="fill-hn xac">
<a href="<?php
echo Ibos::app()->urlManager->createUrl('article/default/index');
?>
" class="link-more">
<i class="cbtn o-more"></i>
<span class="ilsep"><?php
echo $lang['See more news'];
?>
</span>
</a>
</div>
</div>
<?php
} else {
?>
<div class="in-art-empty"></div>
<?php
示例11:
echo $assetUrl;
?>
/css/home.css?<?php
echo VERHASH;
?>
">
<link href="<?php
echo $this->getAssetUrl();
?>
/css/weixin.css" type="text/css" rel="stylesheet" />
<div class="ct sp-ct">
<div class="clearfix">
<h1 class="mt">绑定微信企业号, 体验IBOS微办公!</h1>
</div>
<div class="ctb ps-type-title">
<h2 class="st">企业号绑定流程引导</h2>
</div>
<div class="conpamy-info-wrap binding-info-wrap">
<iframe src="<?php
echo Wx::getInstance()->getBindingSrc();
?>
" name="<?php
echo Ibos::app()->setting->get('siteurl') . '?r=dashboard';
?>
" class="setting-bind-iframe">
<div class="fill-nn step-tip-content" id="bind_apply_content">
</div>
</iframe>
</div>
</div>
示例12:
<div class="control-group">
<div class="controls">
<input type="hidden" name="formhash" value="<?php
echo FORMHASH;
?>
" />
<button class="btn btn-primary btn-large btn-submit" type="submit"><?php
echo $lang['Submit'];
?>
</button>
</div>
</div>
</div>
</form>
</div>
</div>
<script src="<?php
echo util\Ibos::app()->assetManager->getAssetsUrl('diary');
?>
/js/dbdiary.js?<?php
echo VERHASH;
?>
"></script>
<script>
Ibos.app.setPageParam({
AUTO_REVIEW: "<?php
echo $config['autoreview'];
?>
"
});
</script>
示例13: function
$.artDialog({
title: "<?php
echo Ibos::lang('Confirm action', 'message');
?>
",
content: '<?php
echo $lang['Confirm uninstall module'];
?>
',
id: 'confirm_module_act',
lock: true,
ok: function() {
$.post(url, {module: module}, function(data) {
if (data.IsSuccess) {
$.jGrowl('<?php
echo Ibos::lang('Operation succeed', 'message');
?>
', {theme: 'success'});
self.parent().parent().remove();
} else {
$.jGrowl('<?php
echo Ibos::lang('Operation failure', 'message');
?>
', {theme: 'danger'});
}
}, 'json');
}
});
});
});
</script>
示例14: function
});
if (id !== '') {
$('#sys_dbrestore_form').submit();
} else {
$.jGrowl('<?php
echo Ibos::lang('At least one record', 'error');
?>
', {theme: 'error'});
return false;
}
});
$('[data-act="decompress"]').on('click', function() {
var id = $(this).data('id'), url = 'data/restore.php?op=restorezip&id=' + id;
$.artDialog({
title: "<?php
echo Ibos::lang('Confirm action', 'message');
?>
",
lock: true,
content: '<?php
echo $lang['Confirm decompress'];
?>
',
id: 'confirm_import_act',
ok: function() {
window.location.href = url;
}
});
});
})();
</script>
示例15: array
</a>
<button type="button" id="quick_reply_send" class="btn btn-primary btn-widen" data-click="sendQuickReply" data-param="{"targetId": "quick_reply","formhash": "<?php
echo FORMHASH;
?>
","url": "<?php
echo $this->createUrl('content/add', array('op' => 'quickReply', 'id' => $email['bodyid']));
?>
"}"><?php
echo $lang['Send'];
?>
</button>
</div>
</div>
</div>
<?php
if ($email['isneedreceipt'] && !$email['isreceipt'] && $email['fromid'] != Ibos::app()->user->uid) {
?>
<div class="fill">
<div class="alert alert-main">
<p class="xac mbs"><?php
echo $email['fromName'];
echo $lang['Receipt tips'];
?>
</p>
<div class="xac">
<button type="button" class="btn btn-primary" data-click="receipt" data-param="{"id": "<?php
echo $email['emailid'];
?>
","url": "<?php
echo $this->createUrl('api/mark', array('op' => 'sendreceipt'));
?>