mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-10 12:29:15 +00:00
move stylesheets to css/, reference default tt-rss stylesheets from
default.css to make custom themes easier
This commit is contained in:
@@ -44,7 +44,7 @@ class Article extends Handler_Protected {
|
||||
} else if ($mode == "raw") {
|
||||
if ($_REQUEST['html']) {
|
||||
header("Content-Type: text/html");
|
||||
print '<link rel="stylesheet" type="text/css" href="tt-rss.css"/>';
|
||||
print '<link rel="stylesheet" type="text/css" href="css/tt-rss.css"/>';
|
||||
}
|
||||
|
||||
$article = format_article($id, false);
|
||||
|
||||
@@ -382,7 +382,7 @@ class Handler_Public extends Handler {
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
print "<html><head><title>Tiny Tiny RSS</title>";
|
||||
|
||||
stylesheet_tag("utility.css");
|
||||
stylesheet_tag("css/utility.css");
|
||||
javascript_tag("lib/prototype.js");
|
||||
javascript_tag("lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls");
|
||||
print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
|
||||
@@ -553,7 +553,7 @@ class Handler_Public extends Handler {
|
||||
print "<html>
|
||||
<head>
|
||||
<title>Tiny Tiny RSS</title>
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"utility.css\">
|
||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"css/utility.css\">
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
|
||||
</head>
|
||||
<body>
|
||||
@@ -735,7 +735,7 @@ class Handler_Public extends Handler {
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
print "<html><head><title>Tiny Tiny RSS</title>";
|
||||
|
||||
stylesheet_tag("utility.css");
|
||||
stylesheet_tag("css/utility.css");
|
||||
javascript_tag("lib/prototype.js");
|
||||
|
||||
print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
|
||||
@@ -835,7 +835,7 @@ class Handler_Public extends Handler {
|
||||
<head>
|
||||
<title>Database Updater</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="utility.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/utility.css"/>
|
||||
</head>
|
||||
<style type="text/css">
|
||||
span.ok { color : #009000; font-weight : bold; }
|
||||
|
||||
@@ -24,7 +24,7 @@ class Opml extends Handler_Protected {
|
||||
|
||||
print "<html>
|
||||
<head>
|
||||
<link rel=\"stylesheet\" href=\"utility.css\" type=\"text/css\">
|
||||
<link rel=\"stylesheet\" href=\"css/utility.css\" type=\"text/css\">
|
||||
<title>".__("OPML Utility")."</title>
|
||||
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
|
||||
</head>
|
||||
|
||||
@@ -962,7 +962,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
|
||||
$value = str_replace("<br/>", "\n", $value);
|
||||
|
||||
print_notice(T_sprintf("You can override colors, fonts and layout of your currently selected theme with custom CSS declarations here. <a target=\"_blank\" class=\"visibleLink\" href=\"%s\">This file</a> can be used as a baseline.", "tt-rss.css"));
|
||||
print_notice(T_sprintf("You can override colors, fonts and layout of your currently selected theme with custom CSS declarations here. <a target=\"_blank\" class=\"visibleLink\" href=\"%s\">This file</a> can be used as a baseline.", "css/tt-rss.css"));
|
||||
|
||||
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"op\" value=\"rpc\">";
|
||||
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"setpref\">";
|
||||
|
||||
Reference in New Issue
Block a user