projects
/
mir.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.1 restoration
[mir.git]
/
templates
/
admin
/
FUNCTIONS_media.template
diff --git
a/templates/admin/FUNCTIONS_media.template
b/templates/admin/FUNCTIONS_media.template
index
70ec3e1
..
de87ba3
100755
(executable)
--- a/
templates/admin/FUNCTIONS_media.template
+++ b/
templates/admin/FUNCTIONS_media.template
@@
-68,8
+68,12
@@
</function>
<function MediaList (module)>
</function>
<function MediaList (module)>
+ <if returnurl>
+ <call showAddOrBack2("1", module, returnurl)>
+ <else>
+ <call showAddOrBack("1", module, "Admin", "start")>
+ </if>
- <call showAddOrBack("1", module, "Admin", "start")>
<if medialist>
<call showPrevNextLinks(prevurl, nexturl, "left")>
<if medialist>
<call showPrevNextLinks(prevurl, nexturl, "left")>
@@
-144,7
+148,12
@@
</table>
<call showPrevNextLinks(prevurl, nexturl, "left")>
</table>
<call showPrevNextLinks(prevurl, nexturl, "left")>
- <call showAddOrBack("1", module, "Admin", "start")>
+
+ <if returnurl>
+ <call showAddOrBack2("1", module, returnurl)>
+ <else>
+ <call showAddOrBack("1", module, "Admin", "start")>
+ </if>
<else>
<P align="center">${lang("no_matches_found")}</p>
<else>
<P align="center">${lang("no_matches_found")}</p>