]> git.wh0rd.org - tt-rss.git/commitdiff
utility.css tweaks; i18n in twitter.php
authorAndrew Dolgov <fox@fakecake.org>
Mon, 22 Nov 2010 16:25:15 +0000 (19:25 +0300)
committerAndrew Dolgov <fox@fakecake.org>
Mon, 22 Nov 2010 16:25:15 +0000 (19:25 +0300)
db-updater.php
twitter.php
utility.css

index 09c16955b3454622ca720e0959ad064487885075..fb40fa75bbc5d83f1555b6b427f90532e144c707 100644 (file)
@@ -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>";
index 0cf9fd8a72712d76ba5fcbafe09b88db08454bca..869cb08a99f43ae40f129810b9549364f05b610f 100644 (file)
 
 <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 } ?>
index bdda169ea98bfa101e4ba83abc30113767b9e748..11fc6571163210794efb01bc02dc5a88878fe8a4 100644 (file)
@@ -1,6 +1,8 @@
 body {
        margin : 2em;
        padding : 0em;
+       font-family : "Lucida Grande", Arial, sans-serif;
+       font-size : 12px;
 }
 
 p.warning {