utility.css tweaks; i18n in twitter.php
This commit is contained in:
parent
d99ebc2279
commit
6ef0c9c342
3 changed files with 15 additions and 7 deletions
|
@ -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>";
|
||||
|
|
18
twitter.php
18
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 } ?>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
body {
|
||||
margin : 2em;
|
||||
padding : 0em;
|
||||
font-family : "Lucida Grande", Arial, sans-serif;
|
||||
font-size : 12px;
|
||||
}
|
||||
|
||||
p.warning {
|
||||
|
|
Loading…
Reference in a new issue