summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--prefs.php5
-rw-r--r--tt-rss.php6
2 files changed, 5 insertions, 6 deletions
diff --git a/prefs.php b/prefs.php
index b529c2fe0..99c00fd21 100644
--- a/prefs.php
+++ b/prefs.php
@@ -70,10 +70,9 @@
</div>
<noscript>
- <div class="error"><?php echo
- __("Your browser doesn't support Javascript, which is required
+ <p><?php print_error(__("Your browser doesn't support Javascript, which is required
for this application to function properly. Please check your
- browser settings.") ?></div>
+ browser settings.")) ?></p>
</noscript>
</div>
</div>
diff --git a/tt-rss.php b/tt-rss.php
index 78d893c11..baf58a088 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -75,10 +75,10 @@
</div>
<noscript>
- <div class="error"><?php echo
- __("Your browser doesn't support Javascript, which is required
+ <p>
+ <?php print_error(__("Your browser doesn't support Javascript, which is required
for this application to function properly. Please check your
- browser settings.") ?></div>
+ browser settings.")) ?></p>
</noscript>
</div>
</div>