Exemplo n.º 1
0
 /**
  * Sets a custom plugin path; required in non-standard plugin structures.
  */
 static function setpluginpath($path)
 {
     self::$pluginpath = $path;
 }
Exemplo n.º 2
0
<?php

/**
 * Represents the view for the administration dashboard.
 *
 * This includes the header, options, and other information that should
 * provide the user interface to the end user.
 *
 * @package   PixTypes
 * @author    Andrei Lupu <*****@*****.**>
 * @license   GPL-2.0+
 * @link      http://andrei-lupu.com
 * @copyright 2013 Pixel Grade Media
 */
$config = (include custom_body_class::pluginpath() . 'plugin-config' . EXT);
// invoke processor
$processor = custom_body_class::processor($config);
$status = $processor->status();
$errors = $processor->errors();
?>

<div class="wrap" id="custom_body_class_form">

	<div id="icon-options-general" class="icon32"><br></div>

	<h2><?php 
_e('Custom Body Class', 'custom_body_class_txtd');
?>
</h2>

	<?php