1
# $Id: fr_queryprune.tcl 391 2007-01-25 03:53:59Z mikes@u.washington.edu $
2
# ========================================================================
3
# Copyright 2006 University of Washington
5
# Licensed under the Apache License, Version 2.0 (the "License");
6
# you may not use this file except in compliance with the License.
7
# You may obtain a copy of the License at
9
# http://www.apache.org/licenses/LICENSE-2.0
11
# ========================================================================
15
# Purpose: CGI script to generate frame set for pruning dialog
20
{cid "Missing Command ID"}
21
{start "Missing Start Page"}
29
foreach item $frame_vars {
30
if {[catch {cgi_import [lindex $item 0].x}]} {
31
if {[catch {eval WPImport $item} errstr]} {
32
error [list _action "Impart Variable" $errstr]
35
set [lindex $item 0] 1
48
cgi_frameset "rows=$_wp(titleheight),*" resize=yes border=0 frameborder=0 framespacing=0 {
51
if {[info exists frame_vars]} {
52
foreach v $frame_vars {
53
if {[string length [subst $[lindex $v 0]]]} {
54
if {[string length $parms]} {
58
append parms "[lindex $v 0]=[WPPercentQuote [subst $[lindex $v 0]]]"
63
cgi_frame hdr=header.tcl?title=260 title="Folder Pruning Frame"
64
cgi_frame body=queryprune.tcl?sessid=$_wp(sessid)&${parms} title="Folder Pruning Dialog"