UI_TEMPLATE_DIR — location of the admin templates
Interchange 5.9.0:
Source: dist/lib/UI/ContentEditor.pm
Line 1004 (context shows lines 994-1008 in get_content_dirs():991)
my $dir; if($dir = $opt->{dir}) { # look no farther } elsif($opt->{type} eq 'page') { $dir = $Vend::Cfg->{PageDir}; } else { my $tdir = $opt->{template_dir} || $::Variable->{UI_TEMPLATE_DIR} || 'templates'; if($opt->{type} eq 'component') { $dir = $opt->{component_dir} || $::Variable->{UI_COMPONENT_DIR} || "$tdir/components"; }
Source: dist/lib/UI/ContentEditor.pm
Line 2326 (context shows lines 2316-2330 in write_template():2324)
sub write_page { my ($record, $dest) = @_; my $dir = $::Variable->{UI_PAGE_DIR} || 'pages'; $dest ||= "$dir/$record->{code}"; Vend::Tags->write_relative_file($dest, $record->{page_text}); } sub write_template { my ($record, $dest) = @_; my $dir = $::Variable->{UI_TEMPLATE_DIR} || 'templates'; $dest ||= "$dir/$record->{code}"; Vend::Tags->write_relative_file($dest, $record->{temp_text}); }