Пример #1
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   customify
 * @author    Pixelgrade <*****@*****.**>
 * @license   GPL-2.0+
 * @link      http://pixelgrade.com
 * @copyright 2013 Pixel Grade Media
 */
$config = (include pixcustomify::pluginpath() . 'plugin-config' . EXT);
// invoke processor
$processor = pixcustomify::processor($config);
$status = $processor->status();
$errors = $processor->errors();
?>

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

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

	<h2><?php 
_e('PixCustomify', 'pixcustomify_txtd');
?>
</h2>

	<?php 
Пример #2
0
 /**
  * Sets a custom plugin path; required in non-standard plugin structures.
  */
 static function setpluginpath($path)
 {
     self::$pluginpath = $path;
 }