From: Sylvie G. <sgr...@gm...> - 2010-01-22 15:12:25
|
Why only lt, why not ne ? On Thu, 2010-01-14 at 21:56 +0000, lu...@us... wrote: > Revision: 24380 > http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=24380&view=rev > Author: luciash > Date: 2010-01-14 21:56:17 +0000 (Thu, 14 Jan 2010) > > Log Message: > ----------- > [bp/r23100][FIX] user messages: prefer user preferences max messages to display pagination > > Modified Paths: > -------------- > branches/proposals/3.x/messu-mailbox.php > branches/proposals/3.x/templates/messu-mailbox.tpl > > Modified: branches/proposals/3.x/messu-mailbox.php > =================================================================== > --- branches/proposals/3.x/messu-mailbox.php 2010-01-14 20:45:13 UTC (rev 24379) > +++ branches/proposals/3.x/messu-mailbox.php 2010-01-14 21:56:17 UTC (rev 24380) > @@ -163,7 +163,7 @@ > $find, $_REQUEST["flag"], $_REQUEST["flagval"], $_REQUEST['priority'], '', $_REQUEST["replyto"], $orig_or_reply); > > $smarty->assign_by_ref('cant_pages', $items["cant"]); > - > +$smarty->assign_by_ref('mess_maxRecords', $maxRecords); > $smarty->assign_by_ref('items', $items["data"]); > > $cellsize = 200; > > Modified: branches/proposals/3.x/templates/messu-mailbox.tpl > =================================================================== > --- branches/proposals/3.x/templates/messu-mailbox.tpl 2010-01-14 20:45:13 UTC (rev 24379) > +++ branches/proposals/3.x/templates/messu-mailbox.tpl 2010-01-14 21:56:17 UTC (rev 24380) > @@ -104,5 +104,5 @@ > <input type="submit" name="mark" value="{tr}Mark{/tr}" /> > </p>{/if} > </form> > - > +{if $mess_maxRecords lt $prefs.maxRecords}{assign var=maxRecords value=$mess_maxRecords}{else}{assign var=maxRecords value=$prefs.maxRecords}{/if} > {pagination_links cant=$cant_pages step=$prefs.maxRecords offset=$offset}{/pagination_links} > > > This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Tikiwiki-cvs mailing list > Tik...@li... > https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs |