summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-22 19:25:15 +0300
committerAndrew Dolgov <[email protected]>2010-11-22 19:25:15 +0300
commit6ef0c9c3426275612db693cad5d2c90df24ca714 (patch)
tree57f8f1fb0462b8024c1841455d906d2ef41cef95
parentd99ebc2279687259d74220d12ff6040fa53d1e0b (diff)
utility.css tweaks; i18n in twitter.php
-rw-r--r--db-updater.php2
-rw-r--r--twitter.php18
-rw-r--r--utility.css2
3 files changed, 15 insertions, 7 deletions
diff --git a/db-updater.php b/db-updater.php
index 09c16955b..fb40fa75b 100644
--- a/db-updater.php
+++ b/db-updater.php
@@ -86,7 +86,7 @@ function confirmOP() {
" " . SCHEMA_VERSION . __(", found: ") . $latest_version . "</p>";
} else {
- print "<p>".__("Tiny Tiny RSS database is up to date.")."</p>";
+ print_notice(__("Tiny Tiny RSS database is up to date."));
print "<form method=\"GET\" action=\"tt-rss.php\">
<input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\">
</form>";
diff --git a/twitter.php b/twitter.php
index 0cf9fd8a7..869cb08a9 100644
--- a/twitter.php
+++ b/twitter.php
@@ -90,26 +90,32 @@
<body>
-<h1>Register with Twitter</h1>
+<h1><?php echo __('Register with Twitter') ?></h1>
<?php if ($op == 'register') { ?>
-<p><?php print_error('Could not connect to Twitter. Refresh the page or try again later.') ?></p>
+<p><?php print_error(__('Could not connect to Twitter. Refresh the page or try again later.')) ?></p>
<?php } else if ($op == 'callback') { ?>
- <?php print_notice('Congratulations! You have successfully registered with Twitter.') ?>
+ <?php print_notice(__('Congratulations! You have successfully registered with Twitter.')) ?>
</p>
<form method="GET" action="prefs.php">
<input type="hidden" name="tab" value="feedConfig">
- <button type="submit">Return to Tiny Tiny RSS</button>
+ <button type="submit"><?php echo __('Return to Tiny Tiny RSS') ?></button>
</form>
<?php } else { ?>
- <form method="GET" action="twitter.php">
+
+ <form method="GET" action="twitter.php" style='display : inline'>
<input type="hidden" name="op" value="register">
- <button type="submit">Register with Twitter</button>
+ <button type="submit"><?php echo __('Register') ?></button>
+ </form>
+
+ <form method="GET" action="prefs.php" style='display : inline'>
+ <input type="hidden" name="tab" value="feedConfig">
+ <button type="submit"><?php echo __('Return to Tiny Tiny RSS') ?></button>
</form>
<?php } ?>
diff --git a/utility.css b/utility.css
index bdda169ea..11fc65711 100644
--- a/utility.css
+++ b/utility.css
@@ -1,6 +1,8 @@
body {
margin : 2em;
padding : 0em;
+ font-family : "Lucida Grande", Arial, sans-serif;
+ font-size : 12px;
}
p.warning {