/[fuse_dbi]/trunk/examples/strix-multi_static.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/examples/strix-multi_static.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 56 by dpavlin, Tue Apr 26 20:17:14 2005 UTC revision 58 by dpavlin, Fri Apr 29 16:05:31 2005 UTC
# Line 42  unless (-w $mount) { Line 42  unless (-w $mount) {
42  my $sql = {  my $sql = {
43          'filenames' => q{          'filenames' => q{
44                  select                  select
45                          id as id,                          multistatic_id as id,
46                          id||'-'||title||'.html' as filename,                          replace(getpathfromnav(multistatic_navigation.kategorija_id)||' > '||getpathfromms(multistatic_navigation.multistatic_id),' > ','/')||'.html' as filename,
47    
48                          length(content) as size,                          length(content) as size,
49                          true as writable                          true as writable
50                  from multistatic                  from multistatic_navigation,multistatic
51                    where multistatic.id = multistatic_id and
52                    not multistatic_navigation.redirect;
53          },          },
54          'read' => q{          'read' => q{
55                  select content                  select content

Legend:
Removed from v.56  
changed lines
  Added in v.58

  ViewVC Help
Powered by ViewVC 1.1.26