Return to Nothing Found

[% return "

Oh good, there's nothing there!

(It looks like you nuked it.)

" if $query->param('op') eq 'nuke' && $query -> param('node_id') && $query -> param('node_id') !~ /\D/; my $nt = $query->param('node'); return "

Hmm... that's odd. There's nothing there!

" unless $nt; $nt = $query -> escapeHTML($nt); my $str = ''; if($nt =~ /^https?:\/\// ) { $nt =~ s/'/'/g; $nt =~ s/,/,/g; my $s = htmlcode('externalLinkDisplay',$nt); if(length($s)) { $str = '

(this appears to be an external link: '.$s.')

'; } } if (isGod($USER) && $query -> param('type') eq 'writeup' && $query -> param('author')){ unless ($query -> param('tinopener')){ $str = 'You could use the godly tin-opener to show a censored version of any draft that may be here, but only do that if you really need to.'; }else{ # ecore redirection means only the acctlock message currently shows: my $author = getNode($query -> param('author'), 'user'); unless ($author){ $str = 'User does not exist.'; }elsif ($$author{acctlock}){ $str = linkNode($author) ."'s account is locked. The tin-opener doesn't work on locked users." }else{ $str = 'No draft here.' } } $str = "

($str)

"; } return qq'

Sorry, but nothing matching "$nt" was found.$str' .htmlcode('e2createnewnode'); %]

Existing:


Non-Existing: