From f74e67917275bc4bf56fdea7e85b48729c4f2dd0 Mon Sep 17 00:00:00 2001 From: vargenau Date: Mon, 28 Jun 2010 12:33:51 +0000 Subject: [PATCH] No border for git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@7588 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/PageList.php | 2 -- lib/WikiPluginCached.php | 2 -- lib/WikiTheme.php | 1 - lib/plugin/DynamicIncludePage.php | 1 - lib/plugin/PhotoAlbum.php | 1 - lib/plugin/RecentChanges.php | 1 - lib/plugin/WhoIsOnline.php | 4 +--- 7 files changed, 1 insertion(+), 11 deletions(-) diff --git a/lib/PageList.php b/lib/PageList.php index 2698e6be6..18014068b 100644 --- a/lib/PageList.php +++ b/lib/PageList.php @@ -148,7 +148,6 @@ class _PageList_Column_base { $noimg_src = $WikiTheme->getButtonURL('no_order'); if ($noimg_src) $noimg = HTML::img(array('src' => $noimg_src, - 'border' => 0, 'alt' => '.')); else $noimg = $nbsp; @@ -167,7 +166,6 @@ class _PageList_Column_base { $img->setAttr('alt', "."); } else { $img = HTML::img(array('src' => $src, - 'border' => 0, 'alt' => _("Click to reverse sort order"))); } $s = HTML::a(array('href' => diff --git a/lib/WikiPluginCached.php b/lib/WikiPluginCached.php index 5117dd286..b5e7b9886 100644 --- a/lib/WikiPluginCached.php +++ b/lib/WikiPluginCached.php @@ -417,7 +417,6 @@ class WikiPluginCached extends WikiPlugin return HTML(HTML::map(array( 'name' => $key ), $map ), HTML::img( array( 'src' => $url, - 'border' => 0, // 'alt' => htmlspecialchars($this->getAlt($dbi,$argarray,$request)) 'usemap' => '#'.$key )) ); @@ -442,7 +441,6 @@ class WikiPluginCached extends WikiPlugin function embedImg($url, $dbi, $argarray, $request) { return HTML::img( array( 'src' => $url, - 'border' => 0, 'alt' => htmlspecialchars($this->getAlt($dbi, $argarray, $request)) ) ); } diff --git a/lib/WikiTheme.php b/lib/WikiTheme.php index 164bbe30d..25cd14131 100644 --- a/lib/WikiTheme.php +++ b/lib/WikiTheme.php @@ -1715,7 +1715,6 @@ class ImageButton extends Button { $img_attr['src'] = $img_url; $img_attr['alt'] = $text; $img_attr['class'] = 'wiki-button'; - $img_attr['border'] = 0; $this->pushContent(HTML::img($img_attr)); } }; diff --git a/lib/plugin/DynamicIncludePage.php b/lib/plugin/DynamicIncludePage.php index f61df2816..292119494 100644 --- a/lib/plugin/DynamicIncludePage.php +++ b/lib/plugin/DynamicIncludePage.php @@ -74,7 +74,6 @@ extends WikiPlugin_IncludePage 'onclick' => ENABLE_AJAX ? "showHideAsync('".$ajaxuri."','$id')" : "showHideFolder('$id')", - 'border' => 0, 'alt' => _("Click to hide/show"), 'title' => _("Click to hide/show"))); $header = HTML::p(array('class' => 'transclusion-title', diff --git a/lib/plugin/PhotoAlbum.php b/lib/plugin/PhotoAlbum.php index 784b0ddbe..e3f40d0da 100644 --- a/lib/plugin/PhotoAlbum.php +++ b/lib/plugin/PhotoAlbum.php @@ -251,7 +251,6 @@ display_slides();")); // $params will be used for each tag $params = array('src' => $value["name"], 'src_tile' => $value["name_tile"], - 'border' => "0", 'alt' => ($value["desc"] != "" and in_array("alt", $attributes)) ? $value["desc"] : basename($value["name"])); diff --git a/lib/plugin/RecentChanges.php b/lib/plugin/RecentChanges.php index 1608f6dba..b00de66b9 100644 --- a/lib/plugin/RecentChanges.php +++ b/lib/plugin/RecentChanges.php @@ -605,7 +605,6 @@ extends _RecentChanges_HtmlFormatter //logo click opens the HomePage in the main browser frame global $WikiTheme; $img = HTML::img(array('src' => $WikiTheme->getImageURL('logo'), - 'border' => 0, 'align' => 'right', 'style' => 'height:2.5ex' )); diff --git a/lib/plugin/WhoIsOnline.php b/lib/plugin/WhoIsOnline.php index f0178f0fc..2cc1b681c 100644 --- a/lib/plugin/WhoIsOnline.php +++ b/lib/plugin/WhoIsOnline.php @@ -60,9 +60,7 @@ extends WikiPlugin // todo: check which arguments are really needed in the template. $stats = $this->getStats($dbi,$request,$args['mode']); if ($src = $WikiTheme->getImageURL("whosonline")) - $img = HTML::img(array('src' => $src, - 'alt' => $this->getName(), - 'border' => 0)); + $img = HTML::img(array('src' => $src, 'alt' => $this->getName())); else $img = ''; $other = array(); $other['ONLINE_ICON'] = $img; -- 2.45.0