From dcc26041d1dd86d47516e143fd5e475e588180cf Mon Sep 17 00:00:00 2001
From: Andreas Unterkircher <unki@netshadow.at>
Date: Sun, 25 May 2008 09:20:24 +0200
Subject: fix export, web_path was not set correctly

Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
---
 themes/default/templates/export.tpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'themes/default/templates')

diff --git a/themes/default/templates/export.tpl b/themes/default/templates/export.tpl
index 7f6f2de..d7443de 100644
--- a/themes/default/templates/export.tpl
+++ b/themes/default/templates/export.tpl
@@ -1,7 +1,7 @@
 {include file="header.tpl"}
  <body>
   <div id="frame">
-  <form action="javascript:#" onsubmit="setViewMode(document.getElementsByName('format')[0].options[document.getElementsByName('format')[0].selectedIndex].value); return false;">
+  <form action="javascript:#" onsubmit="setViewMode('{$web_path}', document.getElementsByName('format')[0].options[document.getElementsByName('format')[0].selectedIndex].value); return false;">
    <select name="format">
     <option value="HTML">HTML</option>
     <option value="MoinMoin">MoinMoin Wiki</option>
-- 
cgit v1.2.3-18-g5258