[Hastymail-cvs] SF.net SVN: hastymail:[1864] trunk/hastymail2/lib/site_page_class.php
Brought to you by:
sailfrog,
slushpupie
From: <sai...@us...> - 2011-05-16 22:08:52
|
Revision: 1864 http://hastymail.svn.sourceforge.net/hastymail/?rev=1864&view=rev Author: sailfrog Date: 2011-05-16 22:08:46 +0000 (Mon, 16 May 2011) Log Message: ----------- keep mailbox displays the same size by "padding" the remaining rows if there are less messages in the list than the page count Modified Paths: -------------- trunk/hastymail2/lib/site_page_class.php Modified: trunk/hastymail2/lib/site_page_class.php =================================================================== --- trunk/hastymail2/lib/site_page_class.php 2011-05-16 18:27:42 UTC (rev 1863) +++ trunk/hastymail2/lib/site_page_class.php 2011-05-16 22:08:46 UTC (rev 1864) @@ -1146,6 +1146,11 @@ $data .= $c_start.'</tr>'.$c_end; $n++; } + if ($n < $this->pd['mailbox_range']) { + for ($i=0;$i < $this->pd['mailbox_range'] - $n; $i++) { + $data .= '<tr><td> </td></tr>'; + } + } return $data; } function print_contact_detail($message_view=false) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |