Code

src/utils_cgi.c: Complete the fix: The script was moved to the pkg_libdir, too.
authorFlorian Forster <octo@noris.net>
Wed, 22 Sep 2010 14:46:25 +0000 (16:46 +0200)
committerFlorian Forster <octo@noris.net>
Wed, 22 Sep 2010 14:46:25 +0000 (16:46 +0200)
src/utils_cgi.c

index 372b4e3ab1233956d00fecd52ea0220179cb0097..ce04ae084b89db6258e266c892dfd9846d2527b2 100644 (file)
@@ -687,16 +687,16 @@ int html_print_page (const char *title, /* {{{ */
   printf ("<html>\n"
       "  <head>\n"
       "    <title>%s</title>\n"
-      "    <link rel=\"stylesheet\" type=\"text/css\" href=\"../share/"PACKAGE"/style.css\" />\n"
-      "    <script type=\"text/javascript\" src=\"../share/"PACKAGE"/jquery-1.4.2.min.js\">\n"
+      "    <link rel=\"stylesheet\" type=\"text/css\" href=\"../../share/"PACKAGE"/style.css\" />\n"
+      "    <script type=\"text/javascript\" src=\"../../share/"PACKAGE"/jquery-1.4.2.min.js\">\n"
       "    </script>\n"
-      "    <script type=\"text/javascript\" src=\"../share/"PACKAGE"/raphael-min.js\">\n"
+      "    <script type=\"text/javascript\" src=\"../../share/"PACKAGE"/raphael-min.js\">\n"
       "    </script>\n"
-      "    <script type=\"text/javascript\" src=\"../share/"PACKAGE"/g.raphael-min.js\">\n"
+      "    <script type=\"text/javascript\" src=\"../../share/"PACKAGE"/g.raphael-min.js\">\n"
       "    </script>\n"
-      "    <script type=\"text/javascript\" src=\"../share/"PACKAGE"/g.line-min.js\">\n"
+      "    <script type=\"text/javascript\" src=\"../../share/"PACKAGE"/g.line-min.js\">\n"
       "    </script>\n"
-      "    <script type=\"text/javascript\" src=\"../share/"PACKAGE"/collection.js\">\n"
+      "    <script type=\"text/javascript\" src=\"../../share/"PACKAGE"/collection.js\">\n"
       "    </script>\n"
       "  </head>\n",
       title_html);