From: <var...@us...> - 2008-09-09 16:43:17
|
Revision: 6255 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6255&view=rev Author: vargenau Date: 2008-09-09 16:43:26 +0000 (Tue, 09 Sep 2008) Log Message: ----------- One "up" is enough Modified Paths: -------------- trunk/lib/plugin/PrevNext.php Modified: trunk/lib/plugin/PrevNext.php =================================================================== --- trunk/lib/plugin/PrevNext.php 2008-09-09 16:42:17 UTC (rev 6254) +++ trunk/lib/plugin/PrevNext.php 2008-09-09 16:43:26 UTC (rev 6255) @@ -45,7 +45,6 @@ return array( 'prev' => '', 'next' => '', - 'up' => '', 'contents' => '', 'index' => '', 'up' => '', @@ -128,16 +127,6 @@ } } -// $Log: not supported by cvs2svn $ -// Revision 1.3 2004/02/17 12:11:36 rurban -// added missing 4th basepage arg at plugin->run() to almost all plugins. This caused no harm so far, because it was silently dropped on normal usage. However on plugin internal ->run invocations it failed. (InterWikiSearch, IncludeSiteMap, ...) -// -// Revision 1.2 2003/01/18 22:01:43 carstenklapp -// Code cleanup: -// Reformatting & tabs to spaces; -// Added copyleft, getVersion, getDescription, rcs_id. -// - // Local Variables: // mode: php // tab-width: 8 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-06-13 15:31:39
|
Revision: 8913 http://sourceforge.net/p/phpwiki/code/8913 Author: vargenau Date: 2014-06-13 15:31:36 +0000 (Fri, 13 Jun 2014) Log Message: ----------- Use CSS Modified Paths: -------------- trunk/lib/plugin/PrevNext.php Modified: trunk/lib/plugin/PrevNext.php =================================================================== --- trunk/lib/plugin/PrevNext.php 2014-06-13 15:15:35 UTC (rev 8912) +++ trunk/lib/plugin/PrevNext.php 2014-06-13 15:31:36 UTC (rev 8913) @@ -79,7 +79,7 @@ $tr = HTML::tr(); $links = HTML::table(array('class' => 'fullwidth'), $tr); } elseif ($align == 'right') { - $td = HTML::td(array('align' => $align)); + $td = HTML::td(array('class' => 'align-'.$align)); $links = HTML::table(array('class' => 'fullwidth'), HTML::tr($td)); } else { $links = HTML(); @@ -90,7 +90,7 @@ $sep = " | "; // force some kind of separator } if ($align == 'center') { - $tr->pushContent(HTML::td(array('align' => $align), " [ ")); + $tr->pushContent(HTML::td(array('class' => 'align-'.$align), " [ ")); } elseif ($align == 'right') { $td->pushcontent(" [ "); } else { @@ -108,7 +108,7 @@ if ($imgurl = $WikiTheme->getButtonURL($label)) { if ($last_is_text) { if ($align == 'center') { - $tr->pushContent(HTML::td(array('align' => $align), $sep)); + $tr->pushContent(HTML::td(array('class' => 'align-'.$align), $sep)); } elseif ($align == 'right') { $td->pushcontent($sep); } else { @@ -116,7 +116,7 @@ } } if ($align == 'center') { - $tr->pushContent(HTML::td(array('align' => $align), new ImageButton($label, $url, false, $imgurl))); + $tr->pushContent(HTML::td(array('class' => 'align-'.$align), new ImageButton($label, $url, false, $imgurl))); } elseif ($align == 'right') { $td->pushContent(new ImageButton($label, $url, false, $imgurl)); } else { @@ -127,7 +127,7 @@ } elseif ($imgurl = $WikiTheme->getButtonURL($dir)) { if ($last_is_text) { if ($align == 'center') { - $tr->pushContent(HTML::td(array('align' => $align), $sep)); + $tr->pushContent(HTML::td(array('class' => 'align-'.$align), $sep)); } elseif ($align == 'right') { $td->pushcontent($sep); } else { @@ -135,7 +135,7 @@ } } if ($align == 'center') { - $tr->pushContent(HTML::td(array('align' => $align), new ImageButton($label, $url, false, $imgurl))); + $tr->pushContent(HTML::td(array('class' => 'align-'.$align), new ImageButton($label, $url, false, $imgurl))); } elseif ($align == 'right') { $td->pushContent(new ImageButton($label, $url, false, $imgurl)); } else { @@ -145,7 +145,7 @@ } else { // text only if (!$this_is_first) { if ($align == 'center') { - $tr->pushContent(HTML::td(array('align' => $align), $sep)); + $tr->pushContent(HTML::td(array('class' => 'align-'.$align), $sep)); } elseif ($align == 'right') { $td->pushcontent($sep); } else { @@ -153,7 +153,7 @@ } } if ($align == 'center') { - $tr->pushContent(HTML::td(array('align' => $align), new Button($label, $url, $class))); + $tr->pushContent(HTML::td(array('class' => 'align-'.$align), new Button($label, $url, $class))); } elseif ($align == 'right') { $td->pushContent(new Button($label, $url, $class)); } else { @@ -164,7 +164,7 @@ } else { if (!$this_is_first) { if ($align == 'center') { - $tr->pushContent(HTML::td(array('align' => $align), $sep)); + $tr->pushContent(HTML::td(array('class' => 'align-'.$align), $sep)); } elseif ($align == 'right') { $td->pushcontent($sep); } else { @@ -172,7 +172,7 @@ } } if ($align == 'center') { - $tr->pushContent(HTML::td(array('align' => $align), new Button($label, $url, $class))); + $tr->pushContent(HTML::td(array('class' => 'align-'.$align), new Button($label, $url, $class))); } elseif ($align == 'right') { $td->pushContent(new Button($label, $url, $class)); } else { @@ -185,7 +185,7 @@ } if ($style == 'text') { if ($align == 'center') { - $tr->pushContent(HTML::td(array('align' => $align), " ] ")); + $tr->pushContent(HTML::td(array('class' => 'align-'.$align), " ] ")); } elseif ($align == 'right') { $td->pushcontent(" ] "); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |