From 4ee3f3efe607e73ef7b526c0764b8d5abb9578f3 Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 6 Dec 2002 08:54:55 +0000 Subject: [PATCH] move title and file field for media upload down to be compatible w/ new Streams based upload handling. otherwise, the data entered in the fields above gets lost --- templates/admin/audio.template | 65 +++++++++++++++++++++++++++++++++------- templates/admin/image.template | 67 +++++++++++++++++++++++------------------- templates/admin/media.template | 65 +++++++++++++++++++++++++++++++++------- templates/admin/video.template | 67 ++++++++++++++++++++++++++++++++++-------- 4 files changed, 200 insertions(+), 64 deletions(-) diff --git a/templates/admin/audio.template b/templates/admin/audio.template index a0626003..6f62f6d1 100755 --- a/templates/admin/audio.template +++ b/templates/admin/audio.template @@ -13,17 +13,31 @@ function openWin(url) { -
- - + + + + + + + +
+ + ${lang("media.nr_of_media")}
+
+
+   +
+
- +
+ + + - - - - - @@ -102,11 +111,45 @@ function openWin(url) { + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/admin/image.template b/templates/admin/image.template index 7287101b..1e1baf6a 100755 --- a/templates/admin/image.template +++ b/templates/admin/image.template @@ -38,6 +38,7 @@ function openWin(url) { + - - - - - - - - - - - - - - - - - @@ -136,16 +109,50 @@ function openWin(url) { - + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/admin/media.template b/templates/admin/media.template index 75f3360c..987998d2 100755 --- a/templates/admin/media.template +++ b/templates/admin/media.template @@ -13,17 +13,31 @@ function openWin(url) { -
- - + + +
@@ -38,6 +52,7 @@ function openWin(url) { ${lang("media.rights")}: ${data.rightsHashdata[to_rights]["name"]}
@@ -54,12 +69,6 @@ function openWin(url) {
- ${lang("media.title")}:
${lang("media.description")}:
+ ${lang("media.is_published")} checked> +
+ + ${lang("media.title")}: + + +
+
+
+ ${lang("media.title")}: + + +
- ${lang("media.is_published")} checked> + ${lang("media.is_published")} checked>
@@ -55,34 +56,6 @@ function openWin(url) {
- - ${lang("media.title")}: - - -
-
-
- ${lang("media.title")}: - - -
+ ${lang("media.source")}:
+ ${lang("media.is_published")} checked> +
+ + ${lang("media.title")}: + + +
+
+
+ ${lang("media.title")}: + + +
- ${lang("media.is_published")} checked> + ${lang("media.is_published")} checked>
+ + + + +
+ + ${lang("media.nr_of_media")}
+
+
+   +
+ - +
+ + + - - - - - @@ -102,11 +111,45 @@ function openWin(url) { + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/admin/video.template b/templates/admin/video.template index 2ceeafee..f89994a3 100755 --- a/templates/admin/video.template +++ b/templates/admin/video.template @@ -1,6 +1,6 @@ - ${config["Mir.Name"]} | {lang("video.htmltitle")} + ${config["Mir.Name"]} | ${lang("video.htmltitle")}
@@ -38,6 +52,7 @@ function openWin(url) { ${lang("media.rights")}: ${data.rightsHashdata[to_rights]["name"]}
@@ -54,12 +69,6 @@ function openWin(url) {
- ${lang("media.title")}:
${lang("media.description")}:
+ ${lang("media.is_published")} checked> +
+ + ${lang("media.title")}: + + +
+
+
+ ${lang("media.title")}: + + +
- ${lang("media.is_published")} checked> + ${lang("media.is_published")} checked>