Ejemplo n.º 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   PixLikes
 * @author    Pixelgrade <*****@*****.**>
 * @license   GPL-2.0+
 * @link      http://pixelgrade.com
 * @copyright 2013 Pixelgrade Media
 */
$config = (include pixlikes::pluginpath() . 'plugin-config' . EXT);
// invoke processor
$processor = pixlikes::processor($config);
$status = $processor->status();
$errors = $processor->errors();
?>

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

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

	<h2>Pixlikes</h2>

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