[geeklog-cvs] Geeklog-1.x/plugins/polls functions.inc,1.78,1.79

Oliver ospiess at qs1489.pair.com
Tue Oct 9 06:01:05 EDT 2007


Update of /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/polls
In directory qs1489.pair.com:/tmp/cvs-serv48029

Modified Files:
	functions.inc 
Log Message:
adjust polls layout

Index: functions.inc
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/polls/functions.inc,v
retrieving revision 1.78
retrieving revision 1.79
diff -C2 -d -r1.78 -r1.79
*** functions.inc	9 Oct 2007 09:14:02 -0000	1.78
--- functions.inc	9 Oct 2007 10:01:03 -0000	1.79
***************
*** 630,637 ****
                  $pid = $Q['pid'];
                  if ($size < 120) {// assume we're in the poll block
-                     /*if($i > 1) {
-                         $retval .= COM_startBlock($title, '',
-                              COM_getBlockTemplate('poll_block', 'header'));
-                     }*/
                      $showall = false;
                  } else { // assume we're in polls/index.php
--- 630,633 ----
***************
*** 647,655 ****
  
                  if ($size < 120) {
!                     if ($i == $nrows) {
!                         $retval .= COM_endBlock(COM_getBlockTemplate(
!                              'poll_block', 'footer'));
!                     } else {
!                         $retval .= "<br>";
                      }
                  } else {
--- 643,648 ----
  
                  if ($size < 120) {
!                     if ($i < $nrows){
!                         $retval .= "<div class=\"poll-divider\"></div>";
                      }
                  } else {




More information about the geeklog-cvs mailing list