function quote_scripts () {

	if ( function_exists('plugin_url') )
		$plugin_url = plugin_url();
	else
		$plugin_url = get_option('siteurl') . '/wp-content/plugins/' . plugin_basename(dirname(__FILE__));

	wp_register_script('quote_comments_js', ($plugin_url . '/quote-comments.js'), false, '1.0');
	wp_enqueue_script('quote_comments_js');

}
Exemple #2
0
    echo site_url('public/images_upload/big/' . $img['name']);
    ?>
"> 
				<img src="<?php 
    echo site_url('public/images_upload/mini/' . $img['name']);
    ?>
" />
			</a>
		<?php 
}
?>
		</div>

	</div>
</div>


<script src="<?php 
echo plugin_url('highslide/highslide.js');
?>
"></script>
<link rel="stylesheet" type="text/css" href="<?php 
echo plugin_url('highslide/highslide.css');
?>
" />
<script>
    hs.graphicsDir = '<?php 
echo base_url();
?>
public/plugins/highslide/graphics/';
</script>
Exemple #3
0
 /**
  * 检测模块插件菜单
  *
  * @access  public
  * @return  void
  */
 public function detect_plugin_menus()
 {
     $this->top_menus[$this->_current_menu]['sub_menus'] = $this->ci->plugin_manager->get_menus();
     $this->left_menus =& $this->top_menus[$this->_current_menu]['sub_menus'];
     foreach ($this->left_menus as $key => &$v) {
         if (isset($v['sub_menus']) and $v['sub_menus']) {
             foreach ($v['sub_menus'] as &$j) {
                 $j['extra'] = 'plugin=' . $key . '&action=' . $j['method_name'];
                 if ($key == $this->ci->input->get('plugin') and $j['class_name'] == $this->ci->input->get('c') and $j['method_name'] == $this->ci->input->get('m')) {
                     $j['current'] = TRUE;
                 }
                 if (!$this->_default_link) {
                     $this->_default_link = plugin_url($key, $j['class_name'], $j['method_name']);
                 }
             }
         } else {
             unset($this->left_menus[$key]);
         }
     }
 }
Exemple #4
0
<?php 
}
?>



<script src="<?php 
echo plugin_url('ckeditor/ckeditor.js');
?>
"></script>
<script src="<?php 
echo plugin_url('jcrop/js/jquery.Jcrop.min.js');
?>
"></script>
<link rel="stylesheet" href="<?php 
echo plugin_url('jcrop/css/jquery.Jcrop.min.css');
?>
" type="text/css" />

<form editor="1" method="post" action="<?php 
echo site_url('submitContent');
?>
">

	<div class="cadreParam">
		<h2>Paramètres du contenu</h2>
		<?php 
if (isset($infos['idCreation'])) {
    echo '<div title="Ces paramètres sont des données sensibles, merci de ne les modifier qu\'en cas de réelle nécessité." class="showSettingsAction">Modifier les paramètres du contenu</div>';
}
?>
Exemple #5
0
<link rel="stylesheet" href="<?php 
echo plugin_url('estroslider/js/pe.kenburns/themes/neutral_light/skin.min.css');
?>
" type="text/css" />
<script src="<?php 
echo plugin_url('estroslider/js/pe.kenburns/jquery.pixelentity.kenburnsSlider.min.js');
?>
"></script>
<style>
.peKenBurns 
{
	width: 670px;
	height: 300px;
}
/* set border size to 8px */
.peKenBurns .peKb_slides 
{
	padding: 7px;
	/* customize rounder border (not supported in ie 9) */
	border-radius: 4px;
}

/* outer border background */
.peKenBurns .peKb_slides {
background: rgb(191,191,191);
background: -moz-linear-gradient(top, rgba(191,191,191,1) 0%, rgba(216,216,216,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(191,191,191,1)), color-stop(100%,rgba(216,216,216,1)));
background: -webkit-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(216,216,216,1) 100%);
background: -o-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(216,216,216,1) 100%);
background: -ms-linear-gradient(top, rgba(191,191,191,1) 0%,rgba(216,216,216,1) 100%);
background: linear-gradient(to bottom, rgba(191,191,191,1) 0%,rgba(216,216,216,1) 100%);
Exemple #6
0
echo plugin_url();
?>
jvectormap/jquery-jvectormap-1.2.2.css">
        <!-- Date Picker -->
        <link rel="stylesheet" href="<?php 
echo plugin_url();
?>
datepicker/datepicker3.css">
        <!-- Daterange picker -->
        <link rel="stylesheet" href="<?php 
echo plugin_url();
?>
daterangepicker/daterangepicker-bs3.css">
        <!-- bootstrap wysihtml5 - text editor -->
        <link rel="stylesheet" href="<?php 
echo plugin_url();
?>
bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">

        <link rel="stylesheet" href="<?php 
echo dist_url();
?>
fonts/fonts-fa.css">
        <link rel="stylesheet" href="<?php 
echo dist_url();
?>
css/bootstrap-rtl.min.css">
        <link rel="stylesheet" href="<?php 
echo dist_url();
?>
css/style.css">
Exemple #7
0
	<meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta name="copyright" content="Copyright VikiFeed, All rights reserved.">
    <meta name="title" content="VikiFeed">
    <meta name="description" content="VikiFeed.com is a online charticle website for finding trending articles/stories on the Internet.">
	<meta property="fb:app_id" content="1115978998412237" /> 
	<meta property="fb:admins" content="1754730078142616" />
	<link href="<?php 
echo css_url('owl.carousel');
?>
" rel="stylesheet">
	<link href="<?php 
echo css_url('owl.carousel');
?>
" rel="stylesheet">
	<!--<script src="<?php 
echo plugin_url('unveil_lazy_load/jquery.unveil.js');
?>
"></script>-->
	
	<style>
	
	.post-preview > a > .post-title {
		font-size: 22px;
	}
	.social {
		display: table;
		margin: auto auto 50px;
	}
	
	.headcolor{
		color:#404040;
Exemple #8
0
 protected function plugin_url($controller, $method, $qs = array())
 {
     return plugin_url($this->name, $controller, $method, $qs);
 }
Exemple #9
0
	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
	<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>
	<script src="<?php 
echo js_url('form');
?>
"></script>
	<script src="<?php 
echo js_url('superfish');
?>
"></script>
	<script src="<?php 
echo js_url('hoverintent');
?>
"></script>
	<script src="<?php 
echo plugin_url('tiptip/jquery.tipTip.minified.js');
?>
"></script>
	
	<?php 
if (isset($noIndex)) {
    ?>
		<meta name="robots" content="noindex, nofollow">
	<?php 
}
?>

	
	<title><?php 
echo htmlspecialchars(isset($headTitle) ? $headTitle : $title);
?>
Exemple #10
0
<?php

/**
 * @Author Jonathon byrd
 * @link http://www.5twentystudios.com
 * @Package Importing
 * @Since 1.0.0
 * @copyright  Copyright (C) 2011 5Twenty Studios
 * 
 */
defined('ABSPATH') or _die("Cannot access pages directly.");
/**
 * Template Management
 * 
 * Declaring this folder as a folder that template files can be
 * located within.
 */
add_view_path(dirname(__FILE__));
/**
 * Pemalink Management
 * 
 * Defining exactly what 
 */
Router::connect('/import', array('controller' => 'import', 'action' => 'index', 'plugin' => 'import'));
/**
 * Stylesheets
 */
register_stylesheet(plugin_url(__FILE__, 'css/import.css'));