clean up footer stuff

This commit is contained in:
John Bintz 2009-07-01 20:55:55 -04:00
parent 56c56aaad8
commit c54de66315
2 changed files with 5 additions and 3 deletions

View File

@ -163,7 +163,7 @@ class PluginWonderful {
function show_view($view) {
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 id="icon-edit" class="icon32"><br /></div>';
@ -373,7 +373,9 @@ class PluginWonderful {
. '" '
. (($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 "<br />";
}

View File

@ -195,7 +195,7 @@ class PluginWonderfulTest extends PHPUnit_Framework_TestCase {
*/
function testShowView($class, $is_success) {
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**',
'Version' => '**version**',
'Author' => '**author**'