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


PHP Ibos::lang方法代码示例

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


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

示例1: date

<?php

use application\core\utils\Ibos;
?>
<div style="width:493px; margin:0 auto; text-align:center">
    <span style=" color:#1180c6;font-size:14px;line-height:30px;font-weight:bold"><?php 
echo $doc['subject'];
?>
</span>
</div>
<div style="width:493px; margin:0 auto; text-align:center; padding-bottom:5px; border-bottom:1px dashed #e4e4e4;">
    <span style=" color:#818797; font-size:12px; line-height:30px"><?php 
echo $author;
?>
  <?php 
echo Ibos::lang('Posted on', 'officialdoc.default');
?>
 <?php 
echo date('Y-m-d H:i', $doc['addtime']);
?>
</span>
</div>
<?php 
echo strip_tags($doc['content'], '<a><p>');
开发者ID:allfineok,项目名称:php-sample,代码行数:24,代码来源:remindcontent.php

示例2: 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

示例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: foreach

echo User::model()->fetchRealnameByUid($run['beginuser']);
?>
</p>
				<p class="fss"><?php 
echo Ibos::lang("Begin time");
echo DateTime::getlunarCalendar($run['begintime']);
?>
</p>
			</div>
			<button class="button small wf-vsf-btn" -data-evt="viewSourceForm" data-param='{"runId": 1}'>
				<a href="javascript:void(0);" onclick="window.open('<?php 
echo 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . '?r=workflow/preview/print&key=' . $_REQUEST['key'];
?>
', '_blank', 'location=yes')"><i class="moicon mo-search-gray"></i>
				<?php 
echo Ibos::lang("Viewform");
?>
</a>
			</button>
		</li>
	<?php 
if (is_array($valueArr)) {
    foreach ($valueArr as $key => $value) {
        ?>
		<li class="control-group bggrl xca">
			<label><?php 
        echo $value['data-title'];
        ?>
</label>
			<div class="controls"><?php 
        echo $value['value'];
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:form.php

示例5: 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

示例6: 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

示例7:

						<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

示例8: foreach

    ?>
</caption>
							<tbody>
							<?php 
    foreach ($viewflow as $key => $val) {
        ?>
								<tr>
									<td>
										<strong>第 <?php 
        echo $key;
        ?>
 步</strong>
										<div>
											<?php 
        if (!isset($val['name'])) {
            echo Ibos::lang('Step', '', array('{step}' => $key));
        } else {
            ?>
[<?php 
            echo $val['name'];
            ?>
]<?php 
        }
        ?>
 
											<?php 
        echo $lang['From'];
        ?>
 [<?php 
        echo $val['opuser'];
        ?>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:export.php

示例9: date

<?php

use application\core\utils\Ibos;
?>
<div style="width:493px; margin:0 auto; text-align:center">
    <span style=" color:#1180c6;font-size:14px;line-height:30px;font-weight:bold"><?php 
echo $article['subject'];
?>
</span>
</div>
<div style="width:493px; margin:0 auto; text-align:center; padding-bottom:5px; border-bottom:1px dashed #e4e4e4;">
    <span style=" color:#818797; font-size:12px; line-height:30px"><?php 
echo $author;
?>
  <?php 
echo Ibos::lang('Posted on', 'article.default');
?>
 <?php 
echo date('Y-m-d H:i', $article['addtime']);
?>
</span>
</div>
<?php 
echo strip_tags($article['content'], '<a><p>');
开发者ID:allfineok,项目名称:php-sample,代码行数:24,代码来源:remindcontent.php

示例10: array

					if(typeof data === 'object'){
						var voteItemList = data.voteItemList,
							htmlStr = "";
                        for(var i = 0; i < voteItemList.length; i++){
                             var data = {
	                                picpath: voteItemList[i].picpath,
	                                content: voteItemList[i].content,
	                                percentage:voteItemList[i].percentage,
	                                number: voteItemList[i].number
	                            };

                            htmlStr += $.template('vote_pic_template', data);
                        }
                        $vote.html(htmlStr)
                        .parent().after("<p><?php 
echo Ibos::lang('Thank you for participating', 'vote.default');
?>
</p>");

                        $elem.remove();
                        // 已投过则禁止投票
                        vote.disable();
                    }
						
					window.setTimeout(function(){
						var url="<?php 
echo $this->createUrl('default/index', array('op' => 'getVoteCount'));
?>
";
						$.post(url, {relatedmodule: relatedmodule,relatedid:relatedid}, function(data) {
							$('.plate em').html(data);
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:articleImageView.php

示例11: array

<div class="cti bdbs">
	<!-- 点评 -->
	<h4><?php 
echo $lang['Review'];
?>
</h4>
	<div id="load_comment_<?php 
echo $diary['diaryid'];
?>
" data-id="<?php 
echo $diary['diaryid'];
?>
" >
		<?php 
$sourceUrl = Ibos::app()->urlManager->createUrl('diary/default/show', array('diaryid' => $diary['diaryid']));
$this->widget('application\\modules\\diary\\widgets\\DiaryComment', array('module' => 'diary', 'table' => 'diary', 'attributes' => array('rowid' => $diary['diaryid'], 'moduleuid' => Ibos::app()->user->uid, 'touid' => $diary['uid'], 'module_rowid' => $diary['diaryid'], 'module_table' => "diary", 'api' => "reviewSubordinate", 'allowComment' => $allowComment, 'showStamp' => $fromController == 'review' && $this->issetStamp(), 'url' => $sourceUrl, 'detail' => Ibos::lang('Comment my diray', '', array('{url}' => $sourceUrl, '{title}' => String::cutStr(String::filterCleanHtml($diary['content']), 50))))));
?>
	</div>
</div>
<div class="cti">
	<!-- 阅读人员 -->
	<?php 
if (!empty($readers)) {
    ?>
	<h4><?php 
    echo $lang['Read'];
    echo $lang['Personnel'];
    ?>
</h4>
	<div>
		<div class="da-reviews-count"><?php 
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:detail.php

示例12: function

<script>
    (function() {
        // 删除选中
        $('[data-act="del"]').on('click', function() {
            var id = '', url = '<?php 
echo $this->createUrl('announcement/del');
?>
';
            $('[data-check="id"]:checked').each(function() {
                id += this.value + ',';
            });
            if (id !== '') {
                $('#sys_announcement_form').attr('action', url).submit();
            } else {
                $.jGrowl('<?php 
echo Ibos::lang('At least one record', 'error');
?>
', {theme: 'error'});
                return false;
            }
        });
        // 排序
        $('[data-act="sort"]').on('click', function() {
            var url = '<?php 
echo $this->createUrl('announcement/setup');
?>
';
            $('#sys_announcement_form').attr('action', url).submit();
        });
    })();
</script>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:setup.php

示例13: array

												<i class="o-art-version"></i>
												<?php 
        echo $lang['History version'];
        ?>
											</a>
										</li>
									</ul>
									<div class="tab-content">
										<!-- 评论 -->
										<?php 
        if ($dashboardConfig['doccommentenable'] && $data['commentstatus']) {
            ?>
											<div id="comment" class="comment fill-zn tab-pane active">
											<?php 
            $sourceUrl = Ibos::app()->urlManager->createUrl('officialdoc/officialdoc/show', array('docid' => $data['docid']));
            $this->widget('application\\modules\\officialdoc\\core\\OfficialdocComment', array('module' => 'officialdoc', 'table' => 'officialdoc', 'attributes' => array('rowid' => $data['docid'], 'moduleuid' => Ibos::app()->user->uid, 'touid' => $data['author'], 'module_rowid' => $data['docid'], 'module_table' => 'officialdoc', 'url' => $sourceUrl, 'detail' => Ibos::lang('Comment my doc', '', array('{url}' => $sourceUrl, '{title}' => String::cutStr($data['subject'], 50))))));
            ?>
											</div>
										<?php 
        }
        ?>
										<!-- 签收人情况 -->
										<div id="issign" class="tab-pane">

										</div>
										<!-- 未签收情况 -->
										<div id="isnosign" class="tab-pane">

										</div>
										<!-- 历史版本 -->
										<div id="version" class="tab-pane"></div>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:show.php

示例14:

<!-- load css end-->

<!-- Mainer -->
	<div class="mc clearfix">
		<!-- Sidebar -->
        <div class="aside">
            <div class="sbbf">
                <ul class="nav nav-strip nav-stacked">
                    <li class="active">
                        <a href="<?php 
echo $this->createUrl('officialdoc/index');
?>
">
                            <i class="o-art-doc"></i>
                            <?php 
echo Ibos::lang('Officialdoc');
?>
                        </a>
                        <ul id="tree" class="ztree">
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
		<!-- Sidebar -->

		<!-- Mainer right -->
		<div class="mcr">
			<form action="" class="form-horizontal">
				<div class="ct ctview ctview-art">
					<!-- 文章 -->
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:prewiew.php

示例15: array

    <!-- 上传按钮 -->
    <span id="vote_pic_upload_<%=id%>"></span>
    <!-- 遮罩 -->
    <div class="img-upload-cover"></div>
    <!-- 进条 -->
    <div class="img-upload-progress"></div>
    <!-- 图片预览层 -->
    <div class="img-upload-imgwrap"></div>
    <input type="hidden" name="imageVote[picpath][<%=id%>]" data-picpath>
    </div>
    <div class="media-body">
    <input type="text" name="imageVote[voteItem][<%=id%>]" class="input-small" maxlength="20">
    </div>
    </div>
    <a href="javascript:;" title="<?php 
echo Ibos::lang('Delete', 'vote.default');
?>
" class="o-ra" data-item-remove="<%=id%>"></a>
    </div>
    </li>
</script>
<script>
    Ibos.app.setPageParam({
        voteUploadSettings: {
            upload_url: "<?php 
echo Ibos::app()->urlManager->createUrl('main/attach/upload', array('uid' => Ibos::app()->user->uid, 'hash' => $uploadConfig['hash'], 'type' => 'vote'));
?>
",
            file_size_limit: "<?php 
echo $uploadConfig['max'];
?>
开发者ID:allfineok,项目名称:php-sample,代码行数:31,代码来源:articleAdd.php


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