本文整理汇总了PHP中application\core\utils\Ibos类的典型用法代码示例。如果您正苦于以下问题:PHP Ibos类的具体用法?PHP Ibos怎么用?PHP Ibos使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Ibos类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:newPreview.php
示例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'];
?>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:sidebar.php
示例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
}
?>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:sidebar.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
}
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:show.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>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:index.php
示例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
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:following.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;
?>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:index.php
示例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
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:edit.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;
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:reset.php
示例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
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:article.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>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:index.php
示例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>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:index.php
示例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>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:moduleInstalled.php
示例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>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:restore.php
示例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'));
?>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:show.php
示例16: 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
示例17: array
</div>
</form>
</div>
<div class="page-list-mainer">
<?php
if (count($list) > 0) {
?>
<?php
if (!in_array($op, array('send', 'draft'))) {
?>
<div class="band band-primary">
<?php
if ($unreadCount > 0) {
?>
<?php
echo Ibos::lang('New unread messages', '', array('{count}' => $unreadCount));
?>
,<a href="javascript:;" data-param="{"url":"<?php
echo $this->createUrl('api/setAllRead');
?>
"}" data-click="markReadAll" class="anchor ilsep"><?php
echo $lang['Set all read'];
?>
</a>
<?php
} else {
?>
<?php
echo $lang['No unread mail'];
?>
<?php
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:index.php
示例18:
?>
</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
示例19:
</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
示例20: foreach
?>
</td>
</tr>
<?php
} else {
?>
<?php
foreach ($modules as $id => $module) {
?>
<tr>
<td>
<?php
if ($module['icon']) {
?>
<img src="<?php
echo Ibos::app()->assetManager->getAssetsUrl($id) . '/image/icon.png';
?>
">
<?php
} else {
?>
<?php
}
?>
</td>
<td><?php
echo $module['name'];
?>
</td>
<td><?php
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:moduleUninstalled.php
注:本文中的application\core\utils\Ibos类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论