From: <var...@us...> - 2010-06-28 12:33:58
|
Revision: 7588 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7588&view=rev Author: vargenau Date: 2010-06-28 12:33:51 +0000 (Mon, 28 Jun 2010) Log Message: ----------- No border for <img> Modified Paths: -------------- trunk/lib/PageList.php trunk/lib/WikiPluginCached.php trunk/lib/WikiTheme.php trunk/lib/plugin/DynamicIncludePage.php trunk/lib/plugin/PhotoAlbum.php trunk/lib/plugin/RecentChanges.php trunk/lib/plugin/WhoIsOnline.php Modified: trunk/lib/PageList.php =================================================================== --- trunk/lib/PageList.php 2010-06-28 12:32:23 UTC (rev 7587) +++ trunk/lib/PageList.php 2010-06-28 12:33:51 UTC (rev 7588) @@ -148,7 +148,6 @@ $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 @@ $img->setAttr('alt', "."); } else { $img = HTML::img(array('src' => $src, - 'border' => 0, 'alt' => _("Click to reverse sort order"))); } $s = HTML::a(array('href' => Modified: trunk/lib/WikiPluginCached.php =================================================================== --- trunk/lib/WikiPluginCached.php 2010-06-28 12:32:23 UTC (rev 7587) +++ trunk/lib/WikiPluginCached.php 2010-06-28 12:33:51 UTC (rev 7588) @@ -417,7 +417,6 @@ 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 @@ function embedImg($url, $dbi, $argarray, $request) { return HTML::img( array( 'src' => $url, - 'border' => 0, 'alt' => htmlspecialchars($this->getAlt($dbi, $argarray, $request)) ) ); } Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2010-06-28 12:32:23 UTC (rev 7587) +++ trunk/lib/WikiTheme.php 2010-06-28 12:33:51 UTC (rev 7588) @@ -1715,7 +1715,6 @@ $img_attr['src'] = $img_url; $img_attr['alt'] = $text; $img_attr['class'] = 'wiki-button'; - $img_attr['border'] = 0; $this->pushContent(HTML::img($img_attr)); } }; Modified: trunk/lib/plugin/DynamicIncludePage.php =================================================================== --- trunk/lib/plugin/DynamicIncludePage.php 2010-06-28 12:32:23 UTC (rev 7587) +++ trunk/lib/plugin/DynamicIncludePage.php 2010-06-28 12:33:51 UTC (rev 7588) @@ -74,7 +74,6 @@ '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', Modified: trunk/lib/plugin/PhotoAlbum.php =================================================================== --- trunk/lib/plugin/PhotoAlbum.php 2010-06-28 12:32:23 UTC (rev 7587) +++ trunk/lib/plugin/PhotoAlbum.php 2010-06-28 12:33:51 UTC (rev 7588) @@ -251,7 +251,6 @@ // $params will be used for each <img > 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"])); Modified: trunk/lib/plugin/RecentChanges.php =================================================================== --- trunk/lib/plugin/RecentChanges.php 2010-06-28 12:32:23 UTC (rev 7587) +++ trunk/lib/plugin/RecentChanges.php 2010-06-28 12:33:51 UTC (rev 7588) @@ -605,7 +605,6 @@ //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' )); Modified: trunk/lib/plugin/WhoIsOnline.php =================================================================== --- trunk/lib/plugin/WhoIsOnline.php 2010-06-28 12:32:23 UTC (rev 7587) +++ trunk/lib/plugin/WhoIsOnline.php 2010-06-28 12:33:51 UTC (rev 7588) @@ -60,9 +60,7 @@ // 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; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |