clean up footer stuff
This commit is contained in:
parent
56c56aaad8
commit
c54de66315
@ -163,7 +163,7 @@ class PluginWonderful {
|
|||||||
|
|
||||||
function show_view($view) {
|
function show_view($view) {
|
||||||
if (is_object($view) && method_exists($view, 'render')) {
|
if (is_object($view) && method_exists($view, 'render')) {
|
||||||
$info = get_plugin_data(dirname(__FILE__) . '/../plugin-wonderful.php');
|
$info = get_plugin_data(realpath(dirname(__FILE__) . '/../plugin-wonderful.php'));
|
||||||
|
|
||||||
echo '<div class="wrap">';
|
echo '<div class="wrap">';
|
||||||
echo '<div id="icon-edit" class="icon32"><br /></div>';
|
echo '<div id="icon-edit" class="icon32"><br /></div>';
|
||||||
@ -373,7 +373,9 @@ class PluginWonderful {
|
|||||||
. '" '
|
. '" '
|
||||||
. (($instance['adboxid'] == $box->adboxid) ? 'checked="checked"' : "")
|
. (($instance['adboxid'] == $box->adboxid) ? 'checked="checked"' : "")
|
||||||
. ' />';
|
. ' />';
|
||||||
echo $box->adtype . " " . $box->dimensions . " (" . $box->adboxid . ")";
|
echo '<acronym title="' . $box->sitename . '">';
|
||||||
|
echo $box->adtype . " " . $box->dimensions . " (" . $box->adboxid . ")";
|
||||||
|
echo '</acronym>';
|
||||||
echo "</label>";
|
echo "</label>";
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
}
|
}
|
||||||
|
@ -195,7 +195,7 @@ class PluginWonderfulTest extends PHPUnit_Framework_TestCase {
|
|||||||
*/
|
*/
|
||||||
function testShowView($class, $is_success) {
|
function testShowView($class, $is_success) {
|
||||||
global $wp_test_expectations;
|
global $wp_test_expectations;
|
||||||
$wp_test_expectations['plugin_data'][realpath(dirname(__FILE__) . '/../classes/PluginWonderful.php')] = array(
|
$wp_test_expectations['plugin_data'][realpath(dirname(__FILE__) . '/../plugin-wonderful.php')] = array(
|
||||||
'Title' => '**title**',
|
'Title' => '**title**',
|
||||||
'Version' => '**version**',
|
'Version' => '**version**',
|
||||||
'Author' => '**author**'
|
'Author' => '**author**'
|
||||||
|
Loading…
Reference in New Issue
Block a user