当前位置: 首页>>代码示例>>PHP>>正文


PHP ThemeHelper::getThemeSetting方法代码示例

本文整理汇总了PHP中ThemeHelper::getThemeSetting方法的典型用法代码示例。如果您正苦于以下问题:PHP ThemeHelper::getThemeSetting方法的具体用法?PHP ThemeHelper::getThemeSetting怎么用?PHP ThemeHelper::getThemeSetting使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ThemeHelper的用法示例。


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

示例1:

?>
		</div>

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

		<div id="comments">
			<div id="disqus_thread"></div>
		</div>
    
	</div>
	
		
	<script type="text/javascript">
        /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
        var disqus_shortname = '<?php 
echo ThemeHelper::getThemeSetting(@$theme_settings->disqus_shortname, 'hellovideo');
?>
';

        /* * * DON'T EDIT BELOW THIS LINE * * */
        (function() {
            var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
            dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
            (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
        })();
    </script>
    <noscript>Please enable JavaScript to view the comments</noscript> 

	<script src="<?php 
echo THEME_URL . '/assets/js/jquery.fitvid.js';
?>
开发者ID:rinodung,项目名称:hello-video-laravel,代码行数:31,代码来源:video.php

示例2:

			<h4><?php 
echo ThemeHelper::getThemeSetting(@$theme_settings->homepage_subheadline, 'A bit more details about your Online Video Subscription Service');
?>
</h4>
			<?php 
if (Auth::guest()) {
    ?>
				<button class="btn btn-primary" onClick="window.location='/signup'" href="/signup"><?php 
    echo ThemeHelper::getThemeSetting(@$theme_settings->home_button_text, 'Become a Member for just $7 a month');
    ?>
</button>
			<?php 
} else {
    ?>
				<button class="btn btn-primary" onClick="window.location='/videos'" href="/videos"><?php 
    echo ThemeHelper::getThemeSetting(@$theme_settings->home_button_text_logged_in, 'Start Watching Videos Now');
    ?>
</button>
			<?php 
}
?>
		</div>
	</div>
</div>

<div class="container">

	<div id="home-content">
		
		<h3>Checkout our Latest Videos Below</h3>
		<div class="row">
开发者ID:rinodung,项目名称:hello-video-laravel,代码行数:31,代码来源:home.php

示例3: dynamic_styles

 function dynamic_styles($theme_settings)
 {
     $hex_color = ThemeHelper::getThemeSetting(@$theme_settings->color, '');
     if (empty($hex_color)) {
         $hex_color = '#1C76B6';
     }
     $color = $hex_color;
     $lighter_color = adjustBrightness($hex_color, 20);
     $style = "";
     $style .= "#signup-form .panel-heading, .btn-primary, .navbar-default, .navbar-nav.navbar-right li.signup-desktop a, #home-hero, #subscribers_only button, .block-contents p.date .label.label-success, .post .post-img h3, .theme_color_background, .vjs-default-skin .vjs-play-progress, .vjs-default-skin .vjs-volume-level{ background:{$color}; }";
     $style .= ".form-control:focus, .btn-primary{ border-color:{$color}; }";
     $style .= "h3, .block .block-contents h2 a, footer ul li a, .page a, ul.pages li a, .home footer ul li a, .block.list .block-contents h2 a{ color:{$color}; }";
     $style .= ".btn-primary:hover, .btn-primary:active, .post .post-img h6{ background:{$lighter_color}; }";
     $style .= ".btn-primary:hover, .btn-primary:active{ border-color:{$lighter_color}; }";
     $style .= ".block .block-contents h2 a:hover, footer ul li a:hover, .page a:hover, ul.pages li a:hover, .home footer ul li a:hover{ color:{$lighter_color}; }";
     return $style;
 }
开发者ID:rinodung,项目名称:hello-video-laravel,代码行数:17,代码来源:functions.php

示例4: Date

		});

		/********** END LOGIN MODAL FUNCTIONALITY **********/

	</script>

	<?php 
if (isset($settings->google_tracking_id)) {
    ?>
	  <script>
	    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
	    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
	    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
	    })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
	    ga('create', '<?php 
    echo $settings->google_tracking_id;
    ?>
', 'auto');
	    ga('send', 'pageview');
	  </script>
	<?php 
}
?>

	<script><?php 
echo ThemeHelper::getThemeSetting(@$theme_settings->custom_js, '');
?>
</script>

</body>
</html>
开发者ID:rinodung,项目名称:hello-video-laravel,代码行数:31,代码来源:footer.php

示例5: csrf_token

?>
" class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1" id="payment-form">
    
    <input name="_token" type="hidden" value="<?php 
echo csrf_token();
?>
">
      
      <div class="panel panel-default registration">
        
        <div class="panel-heading">
          
          <div class="row">
                  
              <h1 class="panel-title col-lg-7 col-md-8 col-sm-6"><?php 
echo ThemeHelper::getThemeSetting(@$theme_settings->signup_message, 'Signup to Gain access to all content on the site for $7 a month.');
?>
</h1>

              <div class="cc-icons col-lg-5 col-md-4">
                  <img src="<?php 
echo THEME_URL;
?>
/assets/img/credit-cards.png" alt="All Credit Cards Supported" />
              </div>

          </div>

        </div><!-- .panel-heading -->

        <div class="panel-body">
开发者ID:rinodung,项目名称:hello-video-laravel,代码行数:31,代码来源:signup.php


注:本文中的ThemeHelper::getThemeSetting方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。