Various fixes + Upgrades to the FileEdit module:
[mir.git] / templates / admin / image.template
index efc0d0a..4d34c23 100755 (executable)
@@ -12,7 +12,7 @@
 
   <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
   
-    <include "templates/admin/head.template">
+    <include "head.template">
 
     <if data.new>
       <form action="${config.actionRoot}?module=Images&do=add" method="post">
@@ -33,7 +33,7 @@
         </table>
       </form>
     </if>
-    <form enctype="multipart/form-data" method="post" action="${config.actionRoot}?module=Images&do=<if data.new>insert<else>update</if>&id=${data.id}">
+    <form enctype="multipart/form-data" method="post" action="${config.actionRoot}?module=Images&do=<if data.new>insert<else>update</if>">
       <input type="hidden" name="where" value="${data.where}">
       <input type="hidden" name="offset" value="${data.offset}">
       <input type="hidden" name="order" value="${data.order}">
       </form>
     </table>
 
-    <include "templates/admin/foot.template">
+    <include "foot.template">
   </body>
 </html>