diff options
| -rw-r--r-- | assign_content.php (renamed from assign_non_members.php) | 6 | ||||
| -rw-r--r-- | templates/assign_content.tpl (renamed from templates/assign_non_members.tpl) | 11 | ||||
| -rw-r--r-- | templates/menu_pigeonholes.tpl | 2 |
3 files changed, 10 insertions, 9 deletions
diff --git a/assign_non_members.php b/assign_content.php index bd85307..9ab5a77 100644 --- a/assign_non_members.php +++ b/assign_content.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_pigeonholes/Attic/assign_non_members.php,v 1.11 2006/01/25 17:56:10 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_pigeonholes/assign_content.php,v 1.1 2006/01/25 19:19:35 squareing Exp $ * * Copyright ( c ) 2004 bitweaver.org * Copyright ( c ) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: assign_non_members.php,v 1.11 2006/01/25 17:56:10 squareing Exp $ + * $Id: assign_content.php,v 1.1 2006/01/25 19:19:35 squareing Exp $ * @package pigeonholes * @subpackage functions */ @@ -108,5 +108,5 @@ $gBitSmarty->assign( 'assignableContent', $assignableContent ); $gBitSmarty->assign( 'contentCount', count( $assignableContent ) ); // Display the template -$gBitSystem->display( 'bitpackage:pigeonholes/assign_non_members.tpl', tra( 'Assign Content to Categories' ) ); +$gBitSystem->display( 'bitpackage:pigeonholes/assign_content.tpl', tra( 'Assign Content to Categories' ) ); ?> diff --git a/templates/assign_non_members.tpl b/templates/assign_content.tpl index a8a5540..c474209 100644 --- a/templates/assign_non_members.tpl +++ b/templates/assign_content.tpl @@ -15,11 +15,12 @@ {forminput} <select name="max_records"> - <option value="10" {if $smarty.request.max_records eq 10 or !$smarty.request.max_rows}selected="selected"{/if}>{tr}10{/tr}</option> - <option value="50" {if $smarty.request.max_records eq 50}selected="selected"{/if}>{tr}50{/tr}</option> - <option value="100" {if $smarty.request.max_records eq 100}selected="selected"{/if}>{tr}100{/tr}</option> - <option value="200" {if $smarty.request.max_records eq 200}selected="selected"{/if}>{tr}200{/tr}</option> - <option value="500" {if $smarty.request.max_records eq 500}selected="selected"{/if}>{tr}500{/tr}</option> + <option value="10" {if $smarty.request.max_records eq 10 or !$smarty.request.max_rows}selected="selected"{/if}>10</option> + <option value="50" {if $smarty.request.max_records eq 50}selected="selected"{/if}>50</option> + <option value="100" {if $smarty.request.max_records eq 100}selected="selected"{/if}>100</option> + <option value="200" {if $smarty.request.max_records eq 200}selected="selected"{/if}>200</option> + <option value="500" {if $smarty.request.max_records eq 500}selected="selected"{/if}>500</option> + <option value="-1" {if $smarty.request.max_records eq -1}selected="selected"{/if}>{tr}All{/tr}</option> </select> {tr}Records{/tr} {/forminput} diff --git a/templates/menu_pigeonholes.tpl b/templates/menu_pigeonholes.tpl index 59c359a..a2708d5 100644 --- a/templates/menu_pigeonholes.tpl +++ b/templates/menu_pigeonholes.tpl @@ -20,7 +20,7 @@ {/if} {if $gBitUser->hasPermission( 'bit_p_insert_pigeonholes' )} - <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}assign_non_members.php">{biticon ipackage=liberty iname=assign iexplain="Assign Content" iforce="icon"} {tr}Assign Content{/tr}</a></li> + <li><a class="item" href="{$smarty.const.PIGEONHOLES_PKG_URL}assign_content.php">{biticon ipackage=liberty iname=assign iexplain="Assign Content" iforce="icon"} {tr}Assign Content{/tr}</a></li> {/if} </ul> {/strip} |
