本文整理汇总了PHP中UserForm::location_javascript方法的典型用法代码示例。如果您正苦于以下问题:PHP UserForm::location_javascript方法的具体用法?PHP UserForm::location_javascript怎么用?PHP UserForm::location_javascript使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类UserForm
的用法示例。
在下文中一共展示了UserForm::location_javascript方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: customHead
function customHead() {
$user = __get('user');
if(isset($user['pk_i_id'])) {
UserForm::js_validation_edit();
} else {
UserForm::js_validation();
}?>
<?php UserForm::location_javascript("admin"); ?>
<?php
}
示例2: customHead
function customHead()
{
$user = __get('user');
?>
<script type="text/javascript" src="<?php
echo osc_current_admin_theme_js_url('jquery.validate.min.js');
?>
"></script>
<?php
if (isset($user['pk_i_id'])) {
UserForm::js_validation_edit();
} else {
UserForm::js_validation();
}
?>
<?php
UserForm::location_javascript("admin");
?>
<?php
}
示例3: osc_current_web_theme_path
osc_current_web_theme_path('header.php');
$osc_user = osc_user();
?>
<div class="row">
<?php
osc_current_web_theme_path('user-sidebar.php');
?>
<div class="col-sm-8 col-md-9">
<h1 class="title">
<?php
_e('Update account', OSCLASSWIZARDS_THEME_FOLDER);
?>
</h1>
<?php
UserForm::location_javascript();
?>
<div class="dashboard_form">
<ul id="error_list">
</ul>
<form action="<?php
echo osc_base_url(true);
?>
" method="post">
<input type="hidden" name="page" value="user" />
<input type="hidden" name="action" value="profile_post" />
<div class="form-group">
<label class="control-label" for="name">
<?php
_e('Name', OSCLASSWIZARDS_THEME_FOLDER);
?>
示例4: osc_current_admin_theme_path
<?php
osc_current_admin_theme_path('header.php');
?>
<div id="update_version" style="display:none;"></div>
<script type="text/javascript">
document.write('<style type="text/css">.tabber{display:none;}<\/style>');
$(document).ready(function(){
if (typeof $.uniform != 'undefined') {
$('textarea, button,select, input:file').uniform();
}
});
</script>
<div id="content">
<div id="separator"></div>
<?php
UserForm::location_javascript("admin");
?>
<?php
osc_current_admin_theme_path('include/backoffice_menu.php');
?>
<div id="right_column">
<div id="content_header" class="content_header">
<div style="float: left;">
<img src="<?php
echo osc_current_admin_theme_url('images/user-group-icon.png');
?>
" title="" alt=""/>
</div>
<div id="content_header_arrow">» <?php
echo $title;
?>