sharepopup: use stylesheet/javascript_tag

This commit is contained in:
Andrew Dolgov 2013-03-29 10:06:28 +04:00
parent 9b523c01f9
commit 9a2aed9193
1 changed files with 7 additions and 9 deletions

View File

@ -365,15 +365,13 @@ class Handler_Public extends Handler {
} }
header('Content-Type: text/html; charset=utf-8'); header('Content-Type: text/html; charset=utf-8');
print "<html> print "<html><head><title>Tiny Tiny RSS</title>";
<head>
<title>Tiny Tiny RSS</title> print stylesheet_tag("utility.css");
<link rel=\"stylesheet\" type=\"text/css\" href=\"utility.css\"> print javascript_tag("lib/prototype.js");
<script type=\"text/javascript\" src=\"lib/prototype.js\"></script> print javascript_tag("lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls");
<script type=\"text/javascript\" src=\"lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls\"></script> print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/> </head><body id='sharepopup'>";
</head>
<body id='sharepopup'>";
$action = $_REQUEST["action"]; $action = $_REQUEST["action"];