utility.css tweaks; i18n in twitter.php
This commit is contained in:
parent
d99ebc2279
commit
6ef0c9c342
|
@ -86,7 +86,7 @@ function confirmOP() {
|
||||||
" " . SCHEMA_VERSION . __(", found: ") . $latest_version . "</p>";
|
" " . SCHEMA_VERSION . __(", found: ") . $latest_version . "</p>";
|
||||||
|
|
||||||
} else {
|
} 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\">
|
print "<form method=\"GET\" action=\"tt-rss.php\">
|
||||||
<input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\">
|
<input type=\"submit\" value=\"".__("Return to Tiny Tiny RSS")."\">
|
||||||
</form>";
|
</form>";
|
||||||
|
|
18
twitter.php
18
twitter.php
|
@ -90,26 +90,32 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<h1>Register with Twitter</h1>
|
<h1><?php echo __('Register with Twitter') ?></h1>
|
||||||
|
|
||||||
<?php if ($op == 'register') { ?>
|
<?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 } 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>
|
</p>
|
||||||
|
|
||||||
<form method="GET" action="prefs.php">
|
<form method="GET" action="prefs.php">
|
||||||
<input type="hidden" name="tab" value="feedConfig">
|
<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>
|
</form>
|
||||||
|
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<form method="GET" action="twitter.php">
|
|
||||||
|
<form method="GET" action="twitter.php" style='display : inline'>
|
||||||
<input type="hidden" name="op" value="register">
|
<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>
|
</form>
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
body {
|
body {
|
||||||
margin : 2em;
|
margin : 2em;
|
||||||
padding : 0em;
|
padding : 0em;
|
||||||
|
font-family : "Lucida Grande", Arial, sans-serif;
|
||||||
|
font-size : 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.warning {
|
p.warning {
|
||||||
|
|
Loading…
Reference in New Issue