[! use Config::Directory; use Ewok::Config qw($EWOK_HOME @config_read); use Ewok::Util qw(loadSiteMap); !]

ewok Administration

ewok sites / directories

[- $smap = loadSiteMap(); delete $smap->{ewok}; $stripe = 2; -] [$ if (ref $smap eq 'HASH') $] [$ foreach $site (sort keys %$smap) $] [# #] [- $stripe = $stripe % 2 + 1 -] [$ endforeach $]
LabelAliasPathTypePublishingDelete
 [+ $site +]   [+ $smap->{$site}->{alias} +]   [+ $smap->{$site}->{path} +]   [+ $smap->{$site}->{stage} ? 'Stage' : 'Publish' +]  [$ if (! $smap->{$site}->{stage}) $]-[$ elsif (ref $smap->{$site}->{publish}) eq 'HASH' && keys(%{$smap->{$site}->{publish}}) $][+ $pub = $smap->{$site}->{publish}; my $out = ''; for (sort keys %$pub) { $out .= qq($_
); } $out =~ s!
$!!; local $escmode = 0; $out +][$ else $]new[$ endif $]
 edit  delete 

[$ else $]

Loading site map failed.

[$ endif $]
[- $conf = Config::Directory->new([ "$EWOK_HOME/conf/dist", "$EWOK_HOME/conf/local", ]); $conf->{EWOK_HOME} = $EWOK_HOME; $help = Config::Directory->new("$EWOK_HOME/conf/help"); $stripe = 2; -]

ewok Config Settings

[$ foreach $var (@config_read) $] [- $stripe = $stripe % 2 + 1 -] [$ endforeach $]
VariableSetting
[+ $var +][$ if ($help->{$var}) $]  [+ $h = $help->{$var}; $h =~ s/\n.*//s; $h +][$ endif $]
[+ ($val = $conf->{$var}) =~ s/\\/\\\\/g; $val +]


Back to ewok file manager