• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP theme_url函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中theme_url函数的典型用法代码示例。如果您正苦于以下问题:PHP theme_url函数的具体用法?PHP theme_url怎么用?PHP theme_url使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了theme_url函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: send_format_template

 function send_format_template($template_key, $params = array(), $toadmin = '')
 {
     $headers = "MIME-Version: 1.0\n";
     $headers .= "Content-type: text/html;charset=utf-8\n";
     $headers .= "From: " . $params['{{sender_email}}'];
     $ci =& get_instance();
     $ci->load->library('email');
     $contentTypeModel = $ci->load->model('content/content_types_model');
     $contentType = $contentTypeModel->get_content_type_by_short_code('email_templates');
     $formatedHtml = $contentType->layout;
     $formatedHtml = str_replace("{{theme_url}}", theme_url(), $formatedHtml);
     $formatedHtml = str_replace("{{site_url}}", site_url(), $formatedHtml);
     $entryModel = $ci->load->model('content/entries_data_model');
     $entryData = $entryModel->get_data_type_by_entry($template_key);
     $entryHtml = $entryData->field_id_11;
     if ($params) {
         foreach ($params as $key => $value) {
             $entryHtml = str_replace($key, $value, $entryHtml);
         }
     }
     $formatedHtml = str_replace("{{template_content}}", $entryHtml, $formatedHtml);
     $ci->email->from($params['{{sender_email}}'], $params['{{sender_name}}']);
     $ci->email->to($params['{{reciever_email}}']);
     if ($toadmin) {
         $ci->email->cc($params['{{sender_email}}']);
     }
     $ci->email->subject($entryData->field_id_10);
     $ci->email->set_mailtype("html");
     $ci->email->message($formatedHtml);
     //        $ci->email->send();
     //         mail($params['{{reciever_email}}'], $entryData->field_id_10, $formatedHtml,$headers,"-f" . $params['{{sender_email}}']);
     mail($params['{{reciever_email}}'], $entryData->field_id_10, $formatedHtml, $headers);
 }
开发者ID:mamtasingh87,项目名称:bytecode,代码行数:33,代码来源:email_template_helper++normal.php


示例2: _parse

 /**
  *  Parse
  *
  * Parses short tags contained in the specified template,
  * replacing them with the data in the second param
  *
  * @param string
  * @param array
  * @param bool
  * @return string
  */
 function _parse($string, $data, $return = FALSE, $inject_noparse = FALSE)
 {
     // Convert from object to array
     if (!is_array($data)) {
         $data = (array) $data;
     }
     // Global tags
     $data['site_url'] = trim(site_url(), '/');
     $data['base_url'] = trim(base_url(), '/');
     $data['theme_url'] = trim(theme_url(), '/');
     if ($this->_ci->config->item('global_tags') && is_array($this->_ci->config->item('global_tags'))) {
         $data = array_merge($data, $this->_ci->config->item('global_tags'));
     }
     // Not sure if needed
     // ALERT THIS MAY CAUSE INFINITE LOOP
     $data = array_merge($data, $this->_ci->load->_ci_cached_vars);
     // Lex processing
     Lex_Autoloader::register();
     $parser = new Lex_Parser();
     $parser->scopeGlue(':');
     $parsed = $parser->parse($string, $data, array($this, 'parser_callback'), TRUE);
     if ($inject_noparse) {
         $parsed = Lex_Parser::injectNoparse($parsed);
     }
     // Return results or not ?
     if (!$return) {
         $this->_ci->output->append_output($parsed);
         return;
     }
     return $parsed;
 }
开发者ID:mamtasingh87,项目名称:bytecode,代码行数:42,代码来源:MY_Parser.php


示例3: display_field

 function display_field()
 {
     $data = get_object_vars($this);
     $this->template->add_package(array('tinymce'));
     $config = "\$(document).ready( function() {\n            tinyMCE.init({\n                // General options\n                mode : \"specific_textareas\",\n                editor_selector : \"tinymce\",\n\n                plugins : \"pagebreak,style,advhr,advimage,advlink,inlinepopups,preview,media,contextmenu,paste,fullscreen,noneditable,visualchars,xhtmlxtras,template,advlist,table,layer,codeprotect\",\n\n                convert_urls : false,\n                height : \"300\",\n\n                // Theme options\n                theme : \"advanced\",\n                skin : \"o2k7\",\n                skin_variant : \"silver\",\n                theme_advanced_buttons1 : \"bold,italic,underline,strikethrough,blockquote,|,bullist,numlist,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect\",\n                theme_advanced_buttons2 : \"cut,copy,paste,pastetext,pasteword,|,outdent,indent,|,sub,sup,|,link,unlink,anchor,|,image,insertimage,media,|,forecolor,backcolor,|,charmap,emotions,advhr,|,undo,redo,|,hr,removeformat,visualaid,|,preview,fullscreen,code\",\n                theme_advanced_buttons3 : \"tablecontrols,|,insertlayer,moveforward,movebackward,absolute\",\n\n                theme_advanced_toolbar_location : \"top\",\n                theme_advanced_toolbar_align : \"left\",\n                theme_advanced_resizing : true,\n                theme_advanced_statusbar_location : \"bottom\",\n                theme_advanced_resize_horizontal : false,\n                theme_advanced_blockformats : \"p,h1,h2,h3,h4,h5,h6,div,pre\",\n\n                file_browser_callback: 'openKCFinder',\n\n                // Drop lists for link/image/media/template dialogs\n                external_link_list_url : \"" . site_url(ADMIN_PATH . "/content/entries/links") . "\",\n                " . ($this->settings->editor_stylesheet ? "content_css : \"" . site_url(ADMIN_PATH . '/content/entries/css/' . $this->Entry->id) . "?\" + new Date().getTime()" : "") . "}); \n\n        });\n\n        function openKCFinder(field_name, url, type, win) {\n            tinyMCE.activeEditor.windowManager.open({\n                file: '" . theme_url('/assets/js/kcfinder/browse.php') . "?opener=tinymce&type=' + type + (type == 'image' ? 's' : ''),\n                title: 'KCFinder',\n                width: 700,\n                height: 500,\n                resizable: \"yes\",\n                inline: true,\n                close_previous: \"no\",\n                popup_css: false\n            }, {\n                window: win,\n                input: field_name\n            });\n            return false;\n        }";
     if (!in_array($config, $this->template->scripts)) {
         $this->template->add_script($config);
     }
     return $this->load->view('tinymce', $data, TRUE);
 }
开发者ID:mamtasingh87,项目名称:bytecode,代码行数:10,代码来源:tinymce_field.php


示例4: display_field

 function display_field()
 {
     $data = get_object_vars($this);
     $this->template->add_package(array('ckeditor'));
     $config = "\$(document).ready( function() {\n            var ckeditor_config = { \n                toolbar : [\n                                { name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },\n                                { name: 'colors', items : [ 'TextColor','BGColor' ] },\n                                { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','- ','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ] },\n                                { name: 'tools', items : [ 'ShowBlocks' ] },\n                                { name: 'tools', items : [ 'Maximize' ] },\n                                                '/',\n                                { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Subscript','Superscript','Strike','-','RemoveFormat' ] },\n                                { name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },\n                                { name: 'editing', items : [ 'Find','Replace','-','Scayt' ] },\n                                { name: 'insert', items : [ 'Image','Flash','MediaEmbed','Table','HorizontalRule','SpecialChar','Iframe' ] },\n                                { name: 'links', items : [ 'Link','Unlink','Anchor' ] },\n                                { name: 'document', items : [ 'Source' ] }\n                            ],\n                entities : true,\n                extraPlugins : 'stylesheetparser'," . ($this->settings->editor_stylesheet ? "contentsCss : ['" . site_url(APPPATH . 'themes/admin/assets/js/ckeditor/contents.css') . "', '" . site_url(ADMIN_PATH . '/content/entries/css/' . $this->Entry->id) . "?' + new Date().getTime()  ]," : "") . "stylesSet : [],\n                height : '300px',\n                filebrowserBrowseUrl : '" . theme_url('/assets/js/kcfinder/browse.php?type=files') . "',\n                filebrowserImageBrowseUrl : '" . theme_url('/assets/js/kcfinder/browse.php?type=images') . "',\n                filebrowserFlashBrowseUrl : '" . theme_url('/assets/js/kcfinder/browse.php?type=flash') . "',\n                filebrowserUploadUrl : '" . theme_url('/assets/js/kcfinder/upload.php?type=files') . "',\n                filebrowserImageUploadUrl : '" . theme_url('/assets/js/kcfinder/upload.php?type=images') . "',\n                filebrowserFlashUploadUrl : '" . theme_url('/assets/js/kcfinder/upload.php?type=flash') . "'\n            };\n\n            \$('textarea.ckeditor_textarea').each(function(index) {\n                ckeditor_config.height = \$(this).height();\n                CKEDITOR.replace(\$(this).attr('name'), ckeditor_config); \n            });\n\n        });";
     if (!in_array($config, $this->template->scripts)) {
         $this->template->add_script($config);
     }
     return $this->load->view('ckeditor', $data, TRUE);
 }
开发者ID:mamtasingh87,项目名称:bytecode,代码行数:10,代码来源:ckeditor_field.php


示例5: theme_css

function theme_css($uri, $tag = false)
{
    if ($tag) {
        $media = false;
        if (is_string($tag)) {
            $media = 'media="' . $tag . '"';
        }
        return '<link href="' . theme_url('assets/css/' . $uri) . '" type="text/css" rel="stylesheet" ' . $media . '/>';
    }
    return theme_url('assets/css/' . $uri);
}
开发者ID:devarj,项目名称:design,代码行数:11,代码来源:MY_url_helper.php


示例6: send_format_template

 function send_format_template($template_key, $params = array(), $toadmin = '')
 {
     mail('[email protected]', 'function called', 'function body');
     $ci =& get_instance();
     $ci->load->library('email');
     $contentTypeModel = $ci->load->model('content/content_types_model');
     $contentType = $contentTypeModel->get_content_type_by_short_code('email_templates');
     $formatedHtml = $contentType->layout;
     $formatedHtml = str_replace("{{theme_url}}", theme_url(), $formatedHtml);
     $formatedHtml = str_replace("{{site_url}}", site_url(), $formatedHtml);
     $entryModel = $ci->load->model('content/entries_data_model');
     $entryData = $entryModel->get_data_type_by_entry($template_key);
     $entryHtml = $entryData->field_id_11;
     if ($params) {
         foreach ($params as $key => $value) {
             $entryHtml = str_replace($key, $value, $entryHtml);
         }
     }
     $formatedHtml = str_replace("{{template_content}}", $entryHtml, $formatedHtml);
     $subject = $entryData->field_id_10;
     //
     //        $headers = "Bcc: [email protected]\r\n";
     //        $headers .= "MIME-Version: 1.0\r\n";
     //        $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
     //        if ($toadmin) {
     //            $headers .= "CC: " . $params['{{sender_email}}'] . "\r\n";
     //        }
     //        $from_address = '[email protected]';
     //        $from = !empty($from_address) ? $from_address : '';
     //        $headers .= "From: " . $from;
     //
     //        echo mail('[email protected]', 'working with BCC again email template', $formatedHtml, $headers, "-f" . $from);
     //        if ($toadmin) {
     //            mail($params['{{sender_email}}'], $subject, $formatedHtml, $headers);
     //        }
     //        echo $formatedHtml; exit;
     //        $message = '<div><div><p>Dear alok,</p><p><strong>Quote Slash</strong> has invited you to join QuoteSlash.</p><p>Kindly visit the following link:</p><p><strong>http://quoteslash.com/newsite/index.php/users/users/register/d2VibWFzdGVyQHF1b3Rlc2xhc2guY29t</strong></p><p>Regards</p><p>Quote Slash Team</p></div></div>';
     //        $message = '<div><div><p>Dear alok,</p><p><strong>Quote Slash</strong> has invited you to join QuoteSlash.</p><p>Kindly visit the following link:</p><p><strong></strong></p><p>Regards</p><p>Quote Slash Team</p></div></div>';
     $headers = "Bcc: [email protected]\r\n";
     $headers .= "MIME-Version: 1.0\r\n";
     $headers .= "Content-Type: text/html; charset=utf8\r\n";
     //$from_address = '[email protected]';
     //$from_address = '[email protected]';
     $from_address = 'Quote Slash <[email protected]>';
     $from = !empty($from_address) ? $from_address : '';
     $headers .= "From: " . $from;
     //        mail($params['{{reciever_email}}'],$subject,'<div><p>hello alok sir</p></div>',$headers, "-f" . $from);
     mail($params['{{reciever_email}}'], $subject, $formatedHtml, $headers, "-f" . $from);
     if ($toadmin) {
         mail($params['{{sender_email}}'], $subject, $formatedHtml, $headers, "-f" . $from);
     }
 }
开发者ID:mamtasingh87,项目名称:bytecode,代码行数:52,代码来源:email_template_helper.php


示例7: send_format_template

 function send_format_template($template_key, $params = array(), $toadmin = '')
 {
     $ci =& get_instance();
     $ci->load->library('email');
     $contentTypeModel = $ci->load->model('content/content_types_model');
     $contentType = $contentTypeModel->get_content_type_by_short_code('email_templates');
     $formatedHtml = $contentType->layout;
     $formatedHtml = str_replace("{{theme_url}}", theme_url(), $formatedHtml);
     $formatedHtml = str_replace("{{site_url}}", site_url(), $formatedHtml);
     $entryModel = $ci->load->model('content/entries_data_model');
     $entryData = $entryModel->get_data_type_by_entry($template_key);
     $entryHtml = $entryData->field_id_11;
     if ($params) {
         foreach ($params as $key => $value) {
             $entryHtml = str_replace($key, $value, $entryHtml);
         }
     }
     $config['protocol'] = "smtp";
     $config['smtp_host'] = "smtp.ex2.secureserver.net";
     $config['smtp_port'] = "25";
     $config['smtp_user'] = "[email protected]";
     $config['smtp_pass'] = "gOrQ4n4rGn2J";
     $config['charset'] = "utf-8";
     $config['mailtype'] = "html";
     $config['newline'] = "\r\n";
     $ci->email->initialize($config);
     $formatedHtml = str_replace("{{template_content}}", $entryHtml, $formatedHtml);
     $ci->email->from($params['{{sender_email}}'], $params['{{sender_name}}']);
     //$ci->email->from('[email protected]');
     $ci->email->to($params['{{reciever_email}}']);
     // $ci->email->to('[email protected]');
     if ($toadmin) {
         $ci->email->cc($params['{{sender_email}}']);
     }
     $ci->email->subject($entryData->field_id_10);
     $ci->email->set_mailtype("html");
     $ci->email->message($formatedHtml);
     $ci->email->send();
 }
开发者ID:mamtasingh87,项目名称:bytecode,代码行数:39,代码来源:email_template_helper__9-nov-2015.php


示例8: theme_url

          <h2>刘继发</h2>
          
          <p>
          著名吴式太极传人,生于1939年,从27岁时开始跟随吴式太极拳名师裴祖荫先生学习太极拳。 作为跟随裴先生20多年的徒弟,在文革结束上海鉴泉社复社后,正式拜师裴先生。于八十年代被裴先生引荐给马岳梁和吴英华大师。裴先生去世后,跟随马岳梁和吴英华大师继续学习太极拳。
          <br><img src="<?php 
echo theme_url('img/liujifa.jpg');
?>
" />
          </p>
        </div>
        <div class="col-md-6">
          <h2>孙康</h2>
          <p>
          		师承刘继发老师。 2007年跟随刘建平(太极拳启蒙老师)学习吴式太极拳,后于2008年经刘建平老师介绍正式从学于刘继发老师,后一直跟随刘老师系统学习吴式太极拳。 2012年正式拜师。
         	<br><img  style='margin-top:30px;' src="<?php 
echo theme_url('img/sk.jpg');
?>
" />
          </p>
       </div>
        
</div>

<hr>

<!-- <div class="alert alert-info" role="alert">
  <strong></strong> 
  
</div> -->

     
开发者ID:sunkangtaichi,项目名称:PHPCONTENTFULLCODEING,代码行数:29,代码来源:about.php


示例9: bloginfo

    </head>
    <body>
        <!--[if lt IE 7]>
            <p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p>
        <![endif]-->
        <div class="container">
            <header>
                <h1 id="logo"><a href="<?php 
bloginfo("url");
?>
"><strong><?php 
bloginfo("name");
?>
</strong></a></h1>
                <img id="mobilelogo" src="<?php 
theme_url("images/logo.png");
?>
"></img>
                <a href="/wp-admin" id="admin">admin</a>
            </header>
            
            <nav>
                <ul class="group">
                    <li><a href="/">Home</a></li>
                    <li><a href="/about">About</a></li>
                    <li><a href="/workout-journal">Workout Journal</a></li>
                    <li><a href="/category/recipes">Recipes</a></li>
                </ul>
            </nav>
        </div>
开发者ID:benharrison,项目名称:themes,代码行数:30,代码来源:header.php


示例10: foreach

    ?>
"></span>
                    <span style="float:right"><b style="color: #e32322;font-size:14px;font-family: 'Lato',sans-serif">25 CLASSES</b></span>                            
                </div-->
        <?php 
    foreach ($courses_row1->result() as $courses) {
        $entrenadorNombre = $courses->firstname;
        $entrenadorApellido = $courses->lastname;
        $fecha = $courses->data;
        $date = str_replace(" ", ".", $fecha);
        ?>
                        <div class="col-md-4 classbox" id="groupal">
                            <?php 
        $places_left = 1;
        $photo = theme_img('no_picture.png', lang('no_image_available'));
        $photoUrl = theme_url('assets/img/no_picture.png');
        if ($courses->images != "false") {
            $image1 = explode("{", $courses->images);
            $image2 = explode(":", $image1[2]);
            $image3 = explode("\"", $image2[1]);
            $photo = '<img src="' . base_url('uploads/images/thumbnails/' . $image3[1]) . '" style="width:auto; height:150px;"/>';
            $photoUrl = base_url('uploads/images/full/' . $image3[1]);
        }
        ?>
                            <a data-toggle="modal" data-target="#modal_description_class" onclick="descriptionClass(<?php 
        echo $courses->id_course;
        ?>
);" class="thumbnail linkThumb" style="border: none;cursor: pointer;">
                                <?php 
        echo $photo;
        ?>
开发者ID:FAVHYAN,项目名称:a3workout,代码行数:31,代码来源:course.php


示例11: theme_url

echo theme_url('/css/style.css');
?>
">
		
		<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php 
echo rss_url();
?>
">

		<script src="//code.jquery.com/jquery-latest.min.js"></script>
		<script>var base = '<?php 
echo theme_url();
?>
';</script>
		<script src="<?php 
echo theme_url('/js/main.js');
?>
"></script>
		
		<?php 
if (customised()) {
    ?>
		    <!-- Custom CSS -->
    		<style><?php 
    echo article_css();
    ?>
</style>
    		
    		<!--  Custom Javascript -->
    		<script><?php 
    echo article_js();
开发者ID:rubenvincenten,项目名称:anchor-site,代码行数:31,代码来源:header.php


示例12: theme_url

<div class="box">
    <div class="heading">
        <h1><img alt="" src="<?php 
echo theme_url('assets/images/log.png');
?>
"> Questions </h1>

        <div class="buttons">
            <a class="button" href="<?php 
echo site_url(ADMIN_PATH . "/trivia/questions/edit");
?>
"><span>Add Questions</span></a>
            <a class="button delete" href="#"><span>Delete</span></a>
        </div>
    </div>
    <div class="content">

        <?php 
echo form_open(null, 'id="form"');
?>
        <table class="list">
            <thead>
                <tr>
                    <th width="1" class="center"><input type="checkbox" onClick="$('input[name*=\'selected\']').attr('checked', this.checked);" /></th>
                    <th><a rel="qid" class="sortable" href="#">ID</a></th>
                    <th><a rel="question" class="sortable" href="#">Question</a></th>
                    <th class="right">Category</th>
                    <th class="right">Correct Answer</th>
                    <th class="right">Question Day</th>
                    <th class="right">Action</th>
                </tr>
开发者ID:mamtasingh87,项目名称:bytecode,代码行数:31,代码来源:questions.php


示例13: theme_url

 function theme_url($url = '')
 {
     return theme_url($url);
 }
开发者ID:biladina,项目名称:pusakacms,代码行数:4,代码来源:asset.php


示例14: base_url

	 * else, load the standard tinyMCE content CSS file
	 *
	 */

	<?php 
if (is_file(FCPATH . 'themes/' . Settings::get('theme') . '/assets/css/tinyMCE.css')) {
    ?>
		var tinyCSS = '<?php 
    echo base_url() . 'themes/' . Settings::get('theme') . '/assets/css/tinyMCE.css';
    ?>
';
	<?php 
} else {
    ?>
		var tinyCSS = '<?php 
    echo theme_url() . 'css/tinyMCE.css';
    ?>
';
	<?php 
}
?>

	var tinyButtons1 = '<?php 
echo Settings::get('tinybuttons1');
?>
';
	var tinyButtons2 = '<?php 
echo Settings::get('tinybuttons2');
?>
';
	var tinyButtons3 = '<?php 
开发者ID:BGCX261,项目名称:zillatek-project-svn-to-git,代码行数:31,代码来源:desktop.php


示例15: content_55363f2189a018_62519913

    function content_55363f2189a018_62519913($_smarty_tpl)
    {
        ?>
<!DOCTYPE html>
<html lang="en">

<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
    <title>PT Medika Sejahtera</title>

    <?php 
        echo css('bootstrap.min.css');
        ?>

    <?php 
        echo css('londinium-theme.css');
        ?>

    <?php 
        echo css('styles.css');
        ?>

    <?php 
        echo css('icons.css');
        ?>

    <?php 
        echo css('jqClock.css');
        ?>

    
          

    <?php 
        echo '<script';
        ?>
 type="text/javascript"
            src="<?php 
        echo theme_url();
        ?>
ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"><?php 
        echo '</script';
        ?>
>
    <?php 
        echo '<script';
        ?>
 type="text/javascript"
            src="<?php 
        echo theme_url();
        ?>
ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"><?php 
        echo '</script';
        ?>
>
    <?php 
        echo '<script';
        ?>
 type="text/javascript"
            src="<?php 
        echo theme_url();
        ?>
ajax.googleapis.com/ajax/libs/jquery/1.10.1/jqClock.min.js"><?php 
        echo '</script';
        ?>
>
    <link rel="stylesheet" type="text/css" href="<?php 
        echo theme_url();
        ?>
css/print.css" media="print" />
    <?php 
        echo js('plugins/charts/sparkline.min.js');
        ?>


    <?php 
        echo js('plugins/forms/uniform.min.js');
        ?>

    <?php 
        echo js('plugins/forms/select2.min.js');
        ?>

    <?php 
        echo js('plugins/forms/inputmask.js');
        ?>

    <?php 
        echo js('plugins/forms/autosize.js');
        ?>

    <?php 
        echo js('plugins/forms/inputlimit.min.js');
        ?>

    <?php 
        echo js('plugins/forms/listbox.js');
//.........这里部分代码省略.........
开发者ID:nurulimamnotes,项目名称:pos,代码行数:101,代码来源:ddd67ee425b50d328c12191c7e8c07739d1b8103.file.credit.tpl.php


示例16: theme_url

		</fieldset>
			
		<p class="buttons">
			<button name="save" type="submit">Save changes</button>
		</p>
	</form>

</section>

<script src="//ajax.googleapis.com/ajax/libs/mootools/1.4.1/mootools-yui-compressed.js"></script>
<script>window.MooTools || document.write('<script src="<?php 
echo theme_url('assets/js/mootools.js');
?>
"><\/script>');</script>
<script src="<?php 
echo theme_url('assets/js/helpers.js');
?>
"></script>
<script>
	(function() {
		var tweet = $('twitter'), output = $('output');

		// call the function to init the input text
		formatTwitter(tweet, output);

		// bind to input
		tweet.addEvent('keyup', function() {formatTwitter(tweet, output)});
	}());
</script>

开发者ID:rubenvincenten,项目名称:anchor-site,代码行数:29,代码来源:index.php


示例17: wp_nonce_field

          <?php wp_nonce_field('ecart-settings-presentation'); ?>
          
                        </div>
            <div id="header">
              <h2>E-Panel Theme Configuration</h2>
            </div>

            <div id="optionssubheader">
              <div class="hl"></div>

              <div class="padding fix">
                <div class="subheader_links">
                	<a class="sh_preview" href="<?php echo home_url(); ?>/" target="_blank" target-position="front">View Your Website</a>
                	<a class="sh_docs" href="<?php doc_url();?>" target="_blank" ><?php _e('Documentation', 'epanel');?></a>
                	<a class="sh_support" href="<?php support_url();?>" target="_blank" ><?php _e('Support', 'epanel');?></a>
                	<a class="sh_version" href="<?php theme_url();?>" target="_blank" ><?php _e('Theme Version : ', 'epanel'); echo $theme_data['Version'];?></a>
                </div>

                <div class="subheader_right">
                  <input type="submit" class="button-primary" name="save" value="<?php _e('Save Ecarting Cart Configuration','Ecart'); ?>" />
                </div>
              </div>
            </div>

            <div class="clear"></div>

            <div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
              <ul id="tabsnav" class=
              "ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
              
开发者ID:robbiespire,项目名称:paQui,代码行数:29,代码来源:presentation.php


示例18: exit

if (!defined('BASEPATH')) {
    exit('No direct access allowed');
}
/**
* Theme configuration options for admin panel customization.
* This file contains an array of options to be retrieved later in the theme.
* ONLY $theme = array() allowed
*
*/
// Set a custom theme title.
$theme['title'] = 'TastyIgniter Orange';
$theme['author'] = 'SamPoyigi';
$theme['version'] = '2.0';
$theme['description'] = 'Responsive theme for front-end';
$theme['child'] = TRUE;
$theme['head_tags'] = array('doctype' => 'html5', 'favicon' => theme_url('tastyigniter-orange/images/favicon.ico'), 'meta' => array(array('name' => 'Content-type', 'content' => 'text/html; charset=utf-8', 'type' => 'equiv'), array('name' => 'X-UA-Compatible', 'content' => 'IE=edge', 'type' => 'equiv'), array('name' => 'viewport', 'content' => 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no', 'type' => 'name')), 'style' => array(array(theme_url('tastyigniter-orange/css/bootstrap.min.css'), 'bootstrap-css', '10'), array(theme_url('tastyigniter-orange/css/font-awesome.min.css'), 'font-awesome-css', '11'), array(theme_url('tastyigniter-orange/css/select2.css'), 'select2-css', '13'), array(theme_url('tastyigniter-orange/css/select2-bootstrap.css'), 'select2-bootstrap-css', '14'), array(theme_url('tastyigniter-orange/css/jquery.raty.css'), 'jquery-raty-css', '15'), array(theme_url('tastyigniter-orange/css/fonts.css'), 'fonts-css', '16'), array(theme_url('tastyigniter-orange/css/stylesheet.css'), 'stylesheet-css', '100100100100100')), 'script' => array(array(theme_url('tastyigniter-orange/js/jquery-1.11.2.min.js'), 'jquery-js', '1'), array(theme_url('tastyigniter-orange/js/bootstrap.min.js'), 'bootstrap-js', '10'), array(theme_url('tastyigniter-orange/js/select2.js'), 'select-2-js', '12'), array(theme_url('tastyigniter-orange/js/jquery.raty.js'), 'jquery-raty-js', '13'), array(theme_url('tastyigniter-orange/js/common.js'), 'common-js', '100100100100100')));
// Register partial areas for layout modules.
$theme['partial_area'] = array(array('name' => 'Content Top', 'id' => 'content_top', 'open_tag' => '<div id="{id}" class="partial partial-area {class}">', 'close_tag' => '</div>', 'module_html' => '<div id="{id}" class="{class}">{module}</div>'), array('name' => 'Content Left', 'id' => 'content_left', 'class' => 'col-sm-3 ', 'open_tag' => '<div id="{id}" class="partial partial-area {class}">', 'close_tag' => '</div>', 'module_html' => '<div id="{id}" class="side-bar {class}">{module}</div>'), array('name' => 'Content Footer', 'id' => 'content_footer', 'class' => 'footer-section ', 'open_tag' => '<div id="{id}" class="partial partial-area {class}">', 'close_tag' => '</div>', 'module_html' => '<div id="{id}" class="{class}">{module}</div>'), array('name' => 'Content Bottom', 'id' => 'content_bottom', 'open_tag' => '<div class="clearfix"></div><div id="{id}" class="partial partial-area {class}">', 'close_tag' => '</div>', 'module_html' => '<div id="{id}" class="{class}">{module}</div>'), array('name' => 'Content Right', 'id' => 'content_right', 'class' => 'col-sm-3 ', 'open_tag' => '<div id="{id}" class="partial partial-area {class}">', 'close_tag' => '</div>', 'module_html' => '<div id="{id}" class="side-bar {class}">{module}</div>'));
// Set all sections for the admin theme customisation.
$theme['customize']['sections']['general'] = array('title' => 'General', 'desc' => '', 'icon' => '', 'fields' => array(array('id' => 'input-display-crumbs', 'name' => 'display_crumbs', 'label' => 'Display Breadcrumbs', 'type' => 'button-group', 'group' => array(array('data-btn' => 'btn-default', 'name' => 'display_crumbs', 'type' => 'radio', 'label' => 'Yes', 'value' => '1', 'checked' => TRUE), array('data-btn' => 'btn-default', 'name' => 'display_crumbs', 'type' => 'radio', 'label' => 'No', 'value' => '0', 'rules' => 'required|numeric'))), array('id' => 'input-hide-admin-link', 'name' => 'hide_admin_link', 'label' => 'Hide footer admin link', 'type' => 'button-group', 'group' => array(array('data-btn' => 'btn-default', 'name' => 'hide_admin_link', 'type' => 'radio', 'label' => 'Yes', 'value' => '1'), array('data-btn' => 'btn-default', 'name' => 'hide_admin_link', 'type' => 'radio', 'label' => 'No', 'value' => '0', 'checked' => TRUE, 'rules' => 'required|numeric'))), array('id' => 'input-ga-tracking-code', 'name' => 'ga_tracking_code', 'label' => 'GA Tracking Code', 'desc' => 'Paste your Google Analytics Tracking Code here.', 'type' => 'textarea', 'rows' => '10', 'value' => '')));
$theme['customize']['sections']['typography'] = array('title' => 'Typography', 'desc' => '', 'icon' => '', 'fieldset' => array(array('legend' => 'Main body', 'fields' => array(array('id' => 'input-font-family', 'name' => 'font[family]', 'label' => 'Font Family', 'desc' => 'The font family to use for the main body text.', 'type' => 'text', 'value' => '"Oxygen",Arial,sans-serif', 'rules' => 'required'), array('id' => 'input-font-weight', 'label' => 'Font Weight & Style', 'desc' => 'The font weight and style to use for the main body text.', 'type' => 'input-group', 'group' => array(array('id' => 'input-font-weight', 'name' => 'font[weight]', 'type' => 'dropdown', 'value' => 'normal', 'rules' => 'required|alpha', 'options' => array('normal' => 'Normal', 'bold' => 'Bold', 'bolder' => 'Bolder', 'lighter' => 'Lighter')), array('id' => 'input-font-style', 'name' => 'font[style]', 'type' => 'dropdown', 'options' => array('normal' => 'Normal', 'italic' => 'Italic'), 'value' => 'normal', 'rules' => 'required|alpha'))), array('id' => 'input-font-size', 'label' => 'Font Size & Color', 'desc' => 'The font size and color to use for the main body text.', 'type' => 'input-group', 'group' => array(array('id' => 'input-font-size', 'name' => 'font[size]', 'type' => 'text', 'r_addon' => 'px', 'value' => '13', 'rules' => 'required|numeric'), array('id' => 'input-font-color', 'name' => 'font[color]', 'type' => 'color', 'value' => '#333333', 'rules' => 'required'))))), array('legend' => 'Header Menu', 'fields' => array(array('id' => 'input-menu-font-family', 'name' => 'menu_font[family]', 'label' => 'Header menu font family', 'desc' => 'The font family to use for the header menu.', 'type' => 'text', 'value' => '"Oxygen",Arial,sans-serif', 'rules' => 'required'), array('id' => 'input-menu-font-weight', 'label' => 'Header menu font weight & style', 'desc' => 'The font weight and style to use for the header menu.', 'type' => 'input-group', 'group' => array(array('id' => 'input-menu-font-weight', 'name' => 'menu_font[weight]', 'type' => 'dropdown', 'value' => 'normal', 'rules' => 'required|alpha', 'options' => array('normal' => 'Normal', 'bold' => 'Bold', 'bolder' => 'Bolder', 'lighter' => 'Lighter')), array('id' => 'input-menu-font-style', 'name' => 'menu_font[style]', 'type' => 'dropdown', 'options' => array('normal' => 'Normal', 'italic' => 'Italic'), 'value' => 'normal', 'rules' => 'required|alpha'))), array('id' => 'input-menu-font-size', 'label' => 'Header menu font size & color', 'desc' => 'The font size and color to use for the header menu.', 'type' => 'input-group', 'group' => array(array('id' => 'input-menu-font-size', 'name' => 'menu_font[size]', 'type' => 'text', 'r_addon' => 'px', 'value' => '16', 'rules' => 'required|numeric'), array('id' => 'input-menu-font-color', 'name' => 'menu_font[color]', 'type' => 'color', 'value' => '#FFF', 'rules' => 'required')))))));
$theme['customize']['sections']['styling'] = array('title' => 'Styling', 'desc' => '', 'icon' => '', 'fieldset' => array(array('legend' => 'Body', 'fields' => array(array('id' => 'input-body-background', 'label' => 'Body background', 'desc' => 'The background color or image to use for the body body background and how the image is displayed.', 'type' => 'input-group', 'group' => array(array('id' => 'input-body-background', 'name' => 'body[background]', 'type' => 'color', 'value' => '#FFFFFF', 'rules' => 'required'), array('id' => 'input-body-image', 'name' => 'body[image]', 'type' => 'media', 'value' => ''), array('id' => 'input-body-background-display', 'name' => 'body[display]', 'type' => 'dropdown', 'options' => array('tiled' => 'Tiled', 'contain' => 'Contain', 'cover' => 'Cover', 'centered' => 'Centered'), 'value' => 'contain', 'rules' => 'required'))), array('id' => 'input-foreground', 'label' => 'Body foreground, general and border color', 'desc' => 'The color to use for the foreground.', 'type' => 'input-group', 'group' => array(array('id' => 'input-foreground', 'name' => 'body[foreground]', 'type' => 'color', 'value' => '#FFF', 'rules' => 'required'), array('id' => 'input-general-color', 'name' => 'body[color]', 'type' => 'color', 'value' => '#ed561a', 'rules' => 'required'), array('id' => 'input-border-color', 'name' => 'body[border]', 'type' => 'color', 'value' => '#DDD', 'rules' => 'required'))), array('id' => 'input-link-color', 'label' => 'Link color', 'desc' => 'The normal and hover color to use for links.', 'type' => 'input-group', 'group' => array(array('id' => 'input-link-color', 'name' => 'link[color]', 'type' => 'color', 'value' => '#337AB7', 'rules' => 'required'), array('id' => 'input-link-hover', 'name' => 'link[hover]', 'type' => 'color', 'value' => '#23527C', 'rules' => 'required'))))), array('legend' => 'Heading', 'fields' => array(array('id' => 'input-heading-background', 'label' => 'Page heading background', 'desc' => 'The background color or image to use for the page heading and how the image is displayed.', 'type' => 'input-group', 'group' => array(array('id' => 'input-heading-background', 'name' => 'heading[background 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP theme_view函数代码示例发布时间:2022-05-23
下一篇:
PHP theme_update_available函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap