]> git.wh0rd.org - tt-rss.git/blobdiff - opml.php
change _() to __() (use php-gettext)
[tt-rss.git] / opml.php
index de48263be146c1679649caf7b2fc50b6b1215054..0113fe9e0463413024c13596b09ebec0617c3501 100644 (file)
--- a/opml.php
+++ b/opml.php
@@ -1,4 +1,6 @@
 <?php
+       error_reporting(E_ERROR | E_WARNING | E_PARSE);
+
        require_once "sessions.php";
        require_once "sanity_check.php";
        require_once "functions.php";
@@ -19,7 +21,7 @@
 
        function opml_export($link, $owner_uid) {
                header("Content-type: application/xml+opml");
-               print "<?phpxml version=\"1.0\"?>";
+               print "<?xml version=\"1.0\"?>";
 
                print "<opml version=\"1.0\">";
                print "<head>
                        </head>
                        <body>
                        <div class=\"floatingLogo\"><img src=\"images/ttrss_logo.png\"></div>
-                       <h1>"._('OPML Utility')."</h1>";
+                       <h1>".__('OPML Utility')."</h1>";
 
                if (function_exists('domxml_open_file')) {
                        print "<p>Importing OPML (using DOMXML extension)...</p>";