1 # Copyright 2003-2007 Interchange Development Group and others
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version. See the LICENSE file for details.
8 # $Id: bar_button.tag,v 1.5 2007-03-30 23:40:56 pajamian Exp $
10 UserTag bar-button Order page current
11 UserTag bar-button PosNumber 2
12 UserTag bar-button HasEndTag 1
13 UserTag bar-button Version $Revision: 1.5 $
14 UserTag bar-button Routine <<EOR
17 my ($page, $current, $html) = @_;
18 $current = $Global::Variable->{MV_PAGE}
20 $html =~ s!\[selected\]((?s:.)*)\[/selected]!!i;
22 return $html if $page ne $current;