UI_BASE — specify relative system path to the admin interface files
This variable specifies the relative path to the admin interface. It is used system-wide.
Interchange 5.9.0:
Source: lib/Vend/Table/Editor.pm
Line 3953 (context shows lines 3943-3957 in editor():2243)
$template->{$c} =~ s/\$LABEL\$/{LABEL}/g;
}
}
my $meta_string = '';
my $meta_url;
my $meta_url_specific;
if($show_meta) {
# Get global variables
my $base = $::Variable->{UI_BASE}
|| $Global::Variable->{UI_BASE} || 'admin';
my $page = $Global::Variable->{MV_PAGE};
my $id = $t . "::$c";
$id = $opt->{ui_meta_view} . "::$id"
if $opt->{ui_meta_view} and $opt->{ui_meta_view} ne 'metaconfig';
Source: code/Widget/uploadhelper.widget
Line 29 (context shows lines 19-33)
my $umask = $opt->{umask} || '022';
my $path = $opt->{path} || $opt->{outboard};
my $size = $opt->{cols} || $opt->{width};
$path =~ s:^/+::;
my $view_url;
$size = qq{ SIZE="$size"} if $size > 0;
my $out = '';
if ($val) {
if($path) {
my $base = $::Variable->{UI_BASE} || 'admin';
my $view_url = Vend::Interpolate::tag_area("$base/do_view", "$path/$val");
$out .= qq{<A HREF="$view_url">};
}
$out .= $val;
Source: code/UI_Tag/version.coretag
Line 31 (context shows lines 21-35)
if($opt->{global_error}) {
push @out, $Global::ErrorFile;
$done_something = 1;
}
if($opt->{local_error}) {
my $dfn = my $fn = $Vend::Cfg->{ErrorFile};
my $pre = $Global::Catalog{$Vend::Cat}->{dir} . '/';
$fn =~ s:^\Q$pre\E::;
my $href = $Tag->area("$::Variable->{UI_BASE}/do_view", $fn);
push(@out, qq{<a href="$href">$dfn</a>});
$done_something = 1;
}
Source: code/UI_Tag/file_navigator.coretag
Line 32 (context shows lines 22-36)
*S_ISGID = sub {return 1024};
*S_ISVTX = sub {return 512};
}
sub {
my ($dir_mask, $opt) = @_;
#::logDebug("file-nav dir_mask: $dir_mask opt: " . ::uneval($opt));
$dir_mask = '*';
my $base_admin = ( $::Variable->{UI_BASE} || 'admin');
my $base_url = $Vend::Cfg->{VendURL}
. '/'
. ($opt->{base_url} || $base_admin);
my $view_href = $opt->{view_href} || "$base_admin/do_view";