#
#  Copyright (C) 2001, 2002 MIT
#
#  This file is part of dotLRN.
#
#  dotLRN is free software; you can redistribute it and/or modify it under the
#  terms of the GNU General Public License as published by the Free Software
#  Foundation; either version 2 of the License, or (at your option) any later
#  version.
#
#  dotLRN is distributed in the hope that it will be useful, but WITHOUT ANY
#  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
#  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
#  details.
#

# moving to other pages
set element_id $element_multi(element_id)

template::multirow create pages page_id pretty_name element_id
set other_page_avail_p 0

db_foreach other_pages_select {} {
    set other_page_avail_p 1

    template::multirow append pages \
            $page_id $pretty_name
}
