本文整理汇总了PHP中i18n_echo函数的典型用法代码示例。如果您正苦于以下问题:PHP i18n_echo函数的具体用法?PHP i18n_echo怎么用?PHP i18n_echo使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了i18n_echo函数的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: i18n_echo
</div>
<div class="checkbox">
<label>
<input name="remember" type="checkbox" value="Remeber me" <?php
if (isset($_POST['remember'])) {
?>
checked="checked"<?php
}
?>
><?php
i18n_echo(array('en' => 'Remember Me', 'zh' => '下次自动登录'));
?>
</label>
</div>
<!-- Change this to a button or input when using this as a form -->
<input type="submit" name="submit" class="btn btn-success btn-block disabled" value="<?php
i18n_echo(array('en' => 'Login', 'zh' => '登录'));
?>
" />
<?php
if (module_enabled('form')) {
?>
<?php
Form::loadSpamToken('#login', UID_BACKEND_LOGIN_FORM);
?>
<?php
}
?>
</fieldset>
</form>
示例2: i18n_echo
</div>
<div class='hr-line-dashed'></div>
<script type='text/javascript' src='/libraries/ckeditor/ckeditor.js'></script>
<script type='text/javascript'>CKEDITOR.replace('content', {
toolbar: [
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ], items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'align' ], items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ] },
{ name: 'links', items: [ 'Link', 'Unlink' ] },
{ name: 'insert', items: [ 'Image', 'Table', 'HorizontalRule', 'Iframe' ] },
'/',
{ name: 'styles', items: [ 'Format', 'Font', 'FontSize' ] },
{ name: 'colors', items: [ 'TextColor' ] },
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ], items: [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ] },
{ name: 'tools', items: [ 'Maximize' ] }
]
}
);</script>
<input type="submit" name="submit" value="<?php
i18n_echo(array('en' => 'Edit', 'zh' => '编辑'));
?>
" class="btn btn-default">
</form>
</div>
</div>
</div>
</div>
</div>
示例3: uri
');" class="btn btn-default btn-sm" href="<?php
echo uri('admin/course/delete/' . $object->getId(), false);
?>
"><i class="fa fa-remove"></i></a>
</div>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
<div class="row">
<div class="col-sm-12" style="text-align: right;">
<?php
i18n_echo(array('en' => 'Showing ' . $start_entry . ' to ' . $end_entry . ' of ' . $total . ' entries', 'zh' => '显示' . $start_entry . '到' . $end_entry . '条记录,共' . $total . '条记录'));
?>
</div>
<div class="col-sm-12" style="text-align: right;">
<?php
echo $pager;
?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
示例4: htmlentities
echo htmlentities(str_replace('\'', '"', $object->isNew() ? isset($_POST['button_link']) ? strip_tags($_POST['button_link']) : '' : $object->getButtonLink()));
?>
' type='text' class='form-control' id='button_link' name='button_link' required />
</div>
</div>
<div class='hr-line-dashed'></div>
<div class='form-group'>
<label class='col-sm-2 control-label' for='weight'>weight </label>
<div class='col-sm-10'>
<input value='<?php
echo htmlentities(str_replace('\'', '"', $object->isNew() ? isset($_POST['weight']) ? strip_tags($_POST['weight']) : '' : $object->getWeight()));
?>
' type='text' class='form-control' id='weight' name='weight' />
</div>
</div>
<div class='hr-line-dashed'></div>
<input type="submit" name="submit" value="<?php
i18n_echo(array('en' => 'Create', 'zh' => '创建'));
?>
" class="btn btn-default">
</form>
</div>
</div>
</div>
</div>
</div>
示例5: i18n_echo
<div id="page-wrapper">
<div class="row">
<div class="col-xs-12">
<h1 class="page-header"><?php
i18n_echo(array('en' => 'User', 'zh' => '用户'));
?>
</h1>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="panel panel-default">
<div class="panel-heading"><?php
i18n_echo(array('en' => 'Add user', 'zh' => '添加用户'));
?>
</div>
<div class="panel-body">
<?php
echo Message::renderMessages();
?>
<?php
echo SiteUser::renderUpdateFormBackend();
?>
</div>
</div>
</div>
</div>
示例6: i18n_echo
<div id="page-wrapper">
<div class="row">
<div class="col-xs-12">
<h1 class="page-header"><?php
i18n_echo(array('en' => 'User', 'zh' => '用户'));
?>
</h1>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div class="panel panel-default">
<div class="panel-heading"><?php
i18n_echo(array('en' => 'Edit user', 'zh' => '编辑用户'));
?>
- <i>'<?php
echo $user->getUsername();
?>
'</i></div>
<div class="panel-body">
<?php
echo Message::renderMessages();
?>
<?php
echo SiteUser::renderUpdateFormBackend($user);
?>
</div>
示例7: print_uri
<div class="input-group custom-search-form">
<input type="text" placeholder="Search..." class="form-control">
<span class="input-group-btn">
<button type="button" class="btn btn-default">
<i class="fa fa-search"></i>
</button>
</span>
</div>
<!-- /input-group -->
</li>
<li>
<a href="<?php
print_uri('admin/dashboard');
?>
"><i class="fa fa-dashboard fa-fw"></i> <?php
i18n_echo(array('en' => 'Dashboard', 'zh' => '面板'));
?>
</a>
</li>
<?php
echo Backend::renderSideNavRegistry();
?>
</ul>
<!-- /#side-menu -->
</div>
<!-- /.sidebar-collapse -->
</div>
<!-- /.navbar-static-side -->
</nav>
示例8: i18n_echo
?>
><?php
echo $country->getName();
?>
</option>
<?php
}
?>
</select>
</div>
</div>
<div class='hr-line-dashed'></div>
<input type="hidden" name="menu_id" value="<?php
echo $menu->getId();
?>
" />
<input type="submit" name="submit" value="<?php
i18n_echo(array('en' => 'Assign', 'zh' => '指派'));
?>
" class="btn btn-default">
</form>
<?php
}
?>
</div>
</div>
</div>
</div>
</div>
示例9: i18n_echo
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header"><?php
i18n_echo(array('en' => 'User', 'zh' => '用户'));
?>
</h1>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading"><?php
i18n_echo(array('en' => 'Manage permission', 'zh' => '管理权限'));
?>
</div>
<div class="panel-body">
<?php
echo Message::renderMessages();
?>
<form action="" method="POST">
<table class="table table-bordered table-hover dataTable no-footer">
<thead>
<tr role="row">
<th></th>
<?php
foreach ($roles as $role) {
?>
<th><?php
示例10: i18n_echo
<div class="row">
<div class="col-xs-12">
<h1 class="page-header"><?php
i18n_echo(array('en' => 'Maintenance mode', 'zh' => '系统维护模式'));
?>
</h1>
</div>
</div>
<?php
echo Message::renderMessages();
?>
<div class="row">
<div class="col-xs-12">
<div class="panel panel-default">
<div class="panel-heading"><?php
i18n_echo(array('en' => 'Turn on/off maintenance mode', 'zh' => '设置开启系统维护模式'));
?>
</div>
<div class="panel-body">
<form action="" method="POST">
<div class="checkbox">
<label>
<input type="checkbox" name="switch" value="1" <?php
if ($maintenance == 1) {
?>
checked="checked"<?php
}
?>
/> <?php
echo i18n(array('en' => 'Maintenance mode', 'zh' => '系统维护模式开关'));
?>
示例11: i18n_echo
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header"><?php
i18n_echo(array('en' => '404', 'zh' => '404'));
?>
</h1>
</div>
<div class="col-lg-12">
<p><?php
i18n_echo(array('en' => 'Page not found ...', 'zh' => '页面没有找到 ...'));
?>
</p>
</div>
</div>
</div>