本文整理汇总了PHP中okbox函数的典型用法代码示例。如果您正苦于以下问题:PHP okbox函数的具体用法?PHP okbox怎么用?PHP okbox使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了okbox函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: errorbox
echo $this->lang('admtitle_networkbranding');
?>
</h3>
</div>
</div>
<?php
if ($D->error) {
?>
<?php
echo errorbox($this->lang('admbrnd_frm_err'), $this->lang($D->errmsg), TRUE, 'margin-top:5px;margin-bottom:5px;');
?>
<?php
} elseif ($D->submit) {
?>
<?php
echo okbox($this->lang('admbrnd_frm_ok'), $this->lang('admbrnd_frm_ok_txt'), TRUE, 'margin-top:5px;margin-bottom:5px;');
?>
<?php
}
?>
<form method="post" action="<?php
echo $C->SITE_URL;
?>
admin/networkbranding" enctype="multipart/form-data">
<table id="setform" cellspacing="5">
<tr>
<td width="120" valign="top" class="setparam" nowrap="nowrap"><?php
echo $this->lang('admbrnd_frm_logo');
?>
</td>
<td>
示例2: okbox
</div>
</div>
<?php
if ($D->changetheme_flag) {
?>
<?php
if (!$D->changetheme_warn) {
?>
<?php
echo okbox($this->lang('admbrnd_th_theme_ok1'), $this->lang('admbrnd_th_theme_ok2'), TRUE, 'margin-top:5px; margin-bottom:5px;');
?>
<?php
} else {
?>
<?php
echo okbox($this->lang('admbrnd_th_theme_ok2'), $this->lang('admbrnd_th_theme_ok3', array('#A1#' => '<a href="' . $C->SITE_URL . 'admin/networkbranding">', '#A2#' => '</a>')), TRUE, 'margin-top:5px; margin-bottom:5px;');
?>
<?php
}
?>
<?php
}
?>
<form method="post" action="<?php
echo $C->SITE_URL;
?>
admin/themes">
<?php
foreach ($D->themes as $n => $t) {
?>
<div id="theme_<?php
示例3: okbox
<?php
$this->load_template('header.php');
?>
<div id="invcenter">
<h2><?php
echo $this->lang('groups_page_ttl2');
?>
</h2>
<?php
if ($this->param('msg') == 'deleted') {
?>
<?php
echo okbox($this->lang('groups_msgbox_deleted_ttl'), $this->lang('groups_msgbox_deleted_txt'));
?>
<?php
}
?>
<?php
if ($this->user->is_logged) {
?>
<div class="htabs" style="margin-bottom:6px; margin-top:0px;">
<?php
if ($D->tabnums['my'] == 0) {
?>
<a href="<?php
echo $C->SITE_URL;
?>
groups/tab:all" class="<?php
echo $D->tab == 'all' ? 'onhtab' : '';
示例4: if
d.addEventListener("load", tmpfnc, false);
w.addEventListener("load", tmpfnc, false);
}
else if( d.attachEvent ) {
d.attachEvent("onload", tmpfnc);
w.attachEvent("onload", tmpfnc);
}
</script>
<?php
}
?>
<?php
if ($this->param('msg') == 'deletedpost') {
?>
<?php
echo okbox($this->lang('msg_post_deleted_ttl'), $this->lang('msg_post_deleted_txt'), TRUE, 'margin-bottom:5px;');
?>
<?php
}
?>
<div id="posts_html">
<?php
echo $D->posts_html;
?>
</div>
</div>
<div id="home_right">
<?php
if ($C->MOBI_DISABLED == 0) {
?>
示例5: htmlspecialchars
} else {
?>
<div style="line-height:1.4; margin-bottom:5px;"><?php
echo $this->lang('m_signup_using_email');
?>
</div>
<?php
}
?>
<div id="loginbox">
<form method="post" name="lf" action="">
<?php
echo $this->lang('m_signup_email');
?>
<div class="loginputdiv"><input type="text" name="email" value="<?php
echo htmlspecialchars($D->email);
?>
" /></div>
<a href="javascript:;" id="loginbtn" onclick="document.lf.submit();"><strong><?php
echo $this->lang('m_signup_continue');
?>
</strong></a>
</form>
</div>
<?php
} else {
echo okbox($this->lang('signup_step1_ok_ttl'), $this->lang('os_signup_step1_ok_txt_nocompany', array('#EMAIL#' => $D->email)));
}
$this->load_template('mobile_iphone/footer.php');
?>
示例6: okbox
?>
settings/rssfeeds"><?php
echo $this->lang('settings_menu_rssfeeds');
?>
</a>
<?php
}
?>
</div>
</div>
<div id="settings_right">
<?php
if ($D->submit && !$D->error) {
?>
<?php
echo okbox($this->lang('st_password_ok'), $this->lang('st_password_okmsg'));
?>
<?php
} elseif ($D->error) {
?>
<?php
echo errorbox($this->lang('st_password_err'), $this->lang($D->errmsg));
?>
<?php
}
?>
<div class="ttl"><div class="ttl2"><h3><?php
echo $this->lang('settings_password_ttl2');
?>
</h3></div></div>
<form method="post" action="">
示例7: errorbox
if ($D->error) {
?>
<?php
echo errorbox($this->lang('st_avatat_err'), $this->lang($D->errmsg));
?>
<?php
} elseif ($D->submit) {
?>
<?php
echo okbox($this->lang('st_avatat_ok'), $this->lang('st_avatat_okmsg'));
?>
<?php
} elseif (isset($D->msg) && $D->msg == 'deleted') {
?>
<?php
echo okbox($this->lang('st_avatat_ok'), $this->lang('st_avatat_okdelmsg'));
?>
<?php
}
?>
<div class="ttl"><div class="ttl2">
<h3><?php
echo $this->lang('settings_avatar_ttl2');
?>
</h3>
<a class="ttlink" href="<?php
echo $C->SITE_URL;
echo $this->user->info->username;
?>
/tab:info"><?php
echo $this->lang('settings_viewprofile_link');
示例8: okbox
<tr>
<td style="padding:0px;"></td>
<td class="setparam" style="text-align:left; font-size:10px; padding-top:2px;"><?php
echo $this->lang('st_twit_feed_username_hint');
?>
</td>
</tr>
<tr>
<td></td>
<td><input type="submit" name="twitter_feed_submit" value="<?php
echo $this->lang('st_twit_feed_import');
?>
" style="padding:4px; font-weight:bold;" /></td>
</tr>
</table>
</form>
<?php
} else {
?>
<?php
echo okbox($this->lang('st_twit_feed_import_ok'), $this->lang('st_twit_feed_import_remove'), FALSE, 'margin-bottom:5px;');
?>
<?php
}
?>
</div>
</div>
<?php
$this->load_template('footer.php');
示例9: okbox
/imgs/loading.gif" alt="" style="margin-bottom:2px;" />
<a href="javascript:;" class="submitattachmentbtn" onclick="postform_attach_submit();" onfocus="this.blur();"><b><?php
echo $this->lang('pf_attachbtn_file');
?>
</b></a>
<div class="orcancel"><?php
echo $this->lang('pf_attachbtn_or');
?>
<a href="javascript:;" onclick="postform_attachbox_close();" onfocus="this.blur();"><?php
echo $this->lang('pf_attachbtn_orclose');
?>
</a></div>
</div>
</div>
</div>
<div id="attachboxftr"></div>
</div>
</form>
</div>
<?php
}
?>
<div id="pagebody">
<?php
if ($this->param('installed') == 'ok') {
?>
<?php
echo okbox($this->lang('sharetronix_install_ok_ttl'), $this->lang('sharetronix_install_ok_txt', array('#VER#' => $C->VERSION)));
?>
<?php
}
示例10: okbox
if(disp == 'none' || disp == '') document.getElementById(div_id).style.display = 'block';
else document.getElementById(div_id).style.display = 'none';
}
</script>
<div id="settings">
<div id="settings_left">
<?php
$this->load_template('settings_leftmenu.php');
?>
</div>
<div id="settings_right">
<?php
if ($D->submit) {
?>
<?php
echo okbox($this->lang('st_system_ok'), $this->lang('st_profile_okmsg'));
?>
<?php
}
?>
<div class="ttl"><div class="ttl2">
<h3><?php
echo $this->lang('settings_system_ttl2');
?>
</h3>
</div></div>
<form method="post" action="">
<table id="setform" cellspacing="5">
<tr>
<td class="setparam" valign="top"><?php
echo $this->lang('settings_opt_prof_name');
示例11: okbox
?>
settings/rssfeeds"><?php
echo $this->lang('settings_menu_rssfeeds');
?>
</a>
<?php
}
?>
</div>
</div>
<div id="settings_right">
<?php
if ($D->submit) {
?>
<?php
echo okbox($this->lang('os_st_notif_ok'), $this->lang('os_st_notif_okmsg'));
?>
<?php
}
?>
<form method="post" action="">
<div class="ttl"><div class="ttl2"><h3><?php
echo $this->lang('os_st_notif_title');
?>
</h3></div></div>
<table cellpadding="7" cellspacing="0" width="100%">
<tr>
<td><b><?php
echo $this->lang('os_st_notif_ttl1');
?>
</b></td>
示例12: elseif
?>
' method='post'>
<td>
<input style="padding:4px; font-weight:bold;" type='submit' name='delete' value='<?php
echo $this->lang('api_app_del_msg2');
?>
' />
</td>
</form>
</tr>
</table>
<?php
} elseif ($D->error) {
echo errorbox($this->lang('api_err_ttl'), $D->err_msg, FALSE);
} elseif (isset($D->complete)) {
echo okbox($this->lang('api_ok_ttl'), $D->msg, FALSE);
}
if (isset($_POST['delete'])) {
?>
<a href="<?php
echo $C->SITE_URL;
?>
api" class="ubluebtn"><b><?php
echo $this->lang('api_app_btn');
?>
</b></a>
<?php
}
?>
</div>
示例13: errorbox
echo $this->lang('admtitle_deleteuser');
?>
</h3>
</div>
</div>
<?php
if ($D->error) {
?>
<?php
echo errorbox($this->lang('admdelu_error'), $this->lang($D->errmsg), TRUE, 'margin-top:5px;margin-bottom:5px;');
?>
<?php
} elseif ($this->param('msg') == 'deleted') {
?>
<?php
echo okbox($this->lang('admdelu_ok'), $this->lang('admdelu_ok_txt'), TRUE, 'margin-top:5px; margin-bottom:4px;');
?>
<?php
}
?>
<div class="greygrad" style="margin-top:5px;">
<div class="greygrad2">
<div class="greygrad3">
<?php
echo $this->lang('admdelu_descr');
?>
<?php
echo $this->lang('admdelu_descr2', array('#A2#' => '</a>', '#A1#' => '<a href="' . $C->SITE_URL . 'admin/suspendusers">'));
?>
<form method="post" name="deluser" onsubmit="return confirm('<?php
示例14: elseif
} elseif ($D->submit == 1 && !$D->error) {
?>
<?php
echo okbox($this->lang('st_avatat_ok'), $D->okmsg);
?>
<?php
} elseif ($D->submit == 2 && $D->error) {
?>
<?php
echo errorbox($this->lang('st_avatat_err'), $D->errmsg);
?>
<?php
} elseif ($D->submit == 2 && !$D->error) {
?>
<?php
echo okbox($this->lang('st_avatat_ok'), $D->okmsg);
?>
<?php
}
?>
<div class="ttl"><div class="ttl2">
<h3><?php
echo $this->lang('settings_conn_ttl2');
?>
</h3>
<a class="ttlink" href="<?php
echo $C->SITE_URL;
?>
<?php
echo $this->user->info->username;
?>
示例15: okbox
<?php
$this->load_template('header.php');
?>
<div id="contacts_left">
<?php
if ($D->complete) {
echo okbox('Success', $D->msg, FALSE);
}
if ($D->user_apps && !$D->post_fields_error) {
?>
<div class="ttl"><div class="ttl2"><h3><?php
echo $this->lang('api_heading_1');
?>
</h3></div></div>
<?php
for ($j = 0; $j < count($D->user_apps_info); $j++) {
?>
<div class="app" style="border-bottom:0px;">
<a href="<?php
echo $C->SITE_URL;
?>
api/details?app_id=<?php
echo $D->user_apps_info[$j][2];
?>
" class="appavatar">
<img src="<?php
echo $C->IMG_URL;