本文整理匯總了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;
?>