<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
</head>
<body>
- <img class=\"floatingLogo\" src=\"images/logo_wide.png\"
+ <img class=\"floatingLogo\" src=\"images/logo_small.png\"
alt=\"Tiny Tiny RSS\"/>
- <h1>".__("Subscribe to feed...")."</h1>";
+ <h1>".__("Subscribe to feed...")."</h1><div class='content'>";
$rc = subscribe_to_feed($this->link, $feed_url);
<input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\">
</form></p>";
- print "</body></html>";
+ print "</div></body></html>";
} else {
render_login_form($this->link);
</head>
<body id='forgotpass'>";
- print '<div class="floatingLogo"><img src="images/logo_wide.png"></div>';
+ print '<div class="floatingLogo"><img src="images/logo_small.png"></div>';
print "<h1>".__("Reset password")."</h1>";
+ print "<div class='content'>";
@$method = $_POST['method'];
}
+ print "</div>";
print "</body>";
print "</html>";
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
</head>
<body>
- <div class=\"floatingLogo\"><img src=\"images/logo_wide.png\"></div>
- <h1>".__('OPML Utility')."</h1>";
+ <div class=\"floatingLogo\"><img src=\"images/logo_small.png\"></div>
+ <h1>".__('OPML Utility')."</h1><div class='content'>";
add_feed_category($this->link, "Imported feeds");
<input type=\"submit\" value=\"".__("Return to preferences")."\">
</form>";
- print "</body></html>";
+ print "</div></body></html>";
}
}
</script>
-<div class="floatingLogo"><img src="images/logo_wide.png"></div>
+<div class="floatingLogo"><img src="images/logo_small.png"></div>
<h1><?php echo __("Database Updater") ?></h1>
+<div class="content">
+
<?php
function getline($fp, $delim) {
$result = "";
?>
+</div>
+
</body>
</html>
<link rel="stylesheet" type="text/css" href="utility.css">
</head>
<body>
- <div class="floatingLogo"><img src="images/logo_wide.png"></div>
+ <div class="floatingLogo"><img src="images/logo_small.png"></div>
+ <div class="content">
<h1>Startup failed</h1>
<p>You might want to check tt-rss <a href="http://tt-rss.org/wiki">wiki</a> or the
<a href="http://tt-rss.org/forum">forums</a> for more information. Please search the forums before creating new topic
for your question.</p>
+
+ </div>
</body>
</html>
$link = mysql_connect($host, $user, $pass);
if ($link) {
$result = mysql_select_db($db, $link);
- return $link;
+ if ($result) return $link;
}
}
}
?>
-<div class="floatingLogo"><img src="../images/logo_wide.png"></div>
+<div class="floatingLogo"><img src="../images/logo_small.png"></div>
<h1>Tiny Tiny RSS Installer</h1>
+<div class='content'>
+
<?php
if (file_exists("../config.php")) {
require "../config.php";
?>
+ <?php print_notice("Configuration check succeeded."); ?>
+
<h2>Checking database</h2>
<?php
}
?>
+</div>
</body>
</html>
<body>
-<div class="floatingLogo"><img src="images/logo_wide.png"></div>
+<div class="floatingLogo"><img src="images/logo_small.png"></div>
<h1><?php echo __("Create new account") ?></h1>
+<div class="content">
+
<?php
if (!ENABLE_REGISTRATION) {
print_error(__("New user registrations are administratively disabled."));
$rc = $mail->quickMail($email, "", "Registration information for Tiny Tiny RSS", $reg_text, false);
if (!$rc) print_error($mail->ErrorInfo);
-
+
unset($reg_text);
unset($mail);
unset($rc);
"\n".
"Login: $login\n".
"Email: $email\n";
-
-
+
+
$mail = new ttrssMailer();
$mail->IsHTML(false);
$rc = $mail->quickMail(REG_NOTIFY_ADDRESS, "", "Registration notice for Tiny Tiny RSS", $reg_text, false);
if (!$rc) print_error($mail->ErrorInfo);
-
+
print_notice(__("Account created successfully."));
print "<p><form method=\"GET\" action=\"index.php\">
<?php } ?>
+ </div>
+
</body>
</html>
</head>
<body>
- <div class="floatingLogo"><img src="images/logo_wide.png"></div>
+ <div class="floatingLogo"><img src="images/logo_small.png"></div>
<h1><?php echo __("Tiny Tiny RSS data update script.") ?></h1>
<?php print_error("Please run this script from the command line. Use option \"-help\" to display command help if this error is displayed erroneously."); ?>
body {
- margin : 2em;
- padding : 0em;
+ margin : 20px;
+ padding : 0px;
font-family : sans-serif;
font-size : 12px;
+ background : white;
}
p.warning {
}
h1 {
- color : #88b0f0;
- font-size : 16pt;
+ color : black;
+ font-size : 32px;
+ font-family : serif;
+ /* text-shadow : 2px 2px 2px #f0f0f0; */
}
h2 {