本文整理汇总了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