-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdHead.xxmi
30 lines (27 loc) · 872 Bytes
/
dHead.xxmi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[[@xxmSession]][[!var
s,r:string;
]][[
if Session.UserID=0 then //if not Session.Authenticated then
begin
s:='/'+Context.ContextString(csLocalURL);
if (LowerCase(Copy(s,Length(s)-11,12))<>'/default.xxm') and (s<>'/') then
Context.Redirect('.',true);
end;
if Length(Values)=0 then r:='' else r:=Values[0];
<<!doctype html>
<html>
<head>
<title>Feeder - RSS/Atom Feed Reader</title>
<link rel="icon" type="image/x-icon" href="[[=r]]favicon.ico" />
<meta name="viewport" content="width=device-width,initial-scale=0.9" />
<meta name="theme-color" content="#FFCC00" />
<link href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="[[=r]]feeder.css?v=4c" />
[[
if Length(Values)=2 then
begin
<<base target="_blank" rel="noreferrer" href="[[=Values[1]]]" />>
end;
]]
</head>
<body>