本文整理匯總了PHP中prep_app_title函數的典型用法代碼示例。如果您正苦於以下問題:PHP prep_app_title函數的具體用法?PHP prep_app_title怎麽用?PHP prep_app_title使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了prep_app_title函數的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: base_url
<form class="widget-app-element-form" id="widget-form-<?php
echo $wgetId;
?>
" method="post" action="<?php
echo base_url() . ($idItem ? "{$appController}/{$appFunction}/element/{$idItem}" . ($quickOpen ? "/quick" : "") : "{$appController}/{$appFunction}/element/new");
?>
" role="form">
<input type="hidden" value="0" name="goback" class="form-post-goback" />
<div class="row page-title-row">
<div class="col-xs-12 col-sm-10 col-md-10 col-lg-10">
<h1 class="page-title txt-color-blueDark"><i class="page-title-ico <?php
echo $appTitleIco;
?>
"></i> <?php
echo prep_app_title($appTitle);
?>
</h1>
</div>
</div>
<section class="widget-form-content">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-5 col-lg-5">
<div class="onoffswitch-container">
<span class="onoffswitch-title"><?php
echo $this->lang->line("Estado");
?>
</span>
<span class="onoffswitch">
<input name="active" value="1" type="checkbox" <?php
if ($dataItem['active'] == 1 || !$idItem && !$this->input->post()) {
示例2: prep_app_title
<?php
$lang = $this->config->item('lang', 'app');
$layoutversion = $this->config->item('layout-version', 'app');
$title = prep_app_title($appTitle, false);
$title = $title ? $title . ' | ' . $this->config->item('client', 'app') : $this->config->item('client', 'app');
$dataSess = $this->session->all_userdata();
if (!isset($dataSess['udata-chat-active'])) {
$this->session->set_userdata('udata-chat-active', 1);
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php
echo $lang;
?>
" lang="<?php
echo $lang;
?>
">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="author" content="<?php
echo $this->config->item('copyright', 'app');
?>
" />
<meta name="copyright" content="<?php
echo $this->config->item('copyright', 'app');
?>
- <?php