ic/parts_language_selection.html: Nicht mehr benötigte Vorlage entfernt
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 20 Jan 2014 09:47:55 +0000 (10:47 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:12:26 +0000 (13:12 +0200)
Wurde durch »Artikelstammdaten: Spracheinstellungen rein in eigenem
Tab bearbeiten« überflüssig.

templates/webpages/ic/parts_language_selection.html [deleted file]

diff --git a/templates/webpages/ic/parts_language_selection.html b/templates/webpages/ic/parts_language_selection.html
deleted file mode 100644 (file)
index 58e1832..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-[%- USE T8 %]
-[%- USE HTML %][%- USE L -%][%- USE P -%]
- <form name="Form">
-
-  <input type="hidden" name="input_name" value="[% HTML.escape(input_name) %]">
-
-  <div class="listtop">[% title %]</div>
-
-  <p>[% 'Please insert your language values below' | $T8 %]</p>
-
-  <p>
-   <table>
-    <tr class="listheading">
-     <th class="listheading">&nbsp;</th>
-     [%- FOREACH col = HEADER %]
-     <th nowrap class="listheading">[% col.column_title %]</th>
-     [%- END %]
-    </tr>
-
-    [%- FOREACH row = LANGUAGES %]
-    <tr class="listrow[% loop.count % 2 %]">
-     <td>[% L.hidden_tag("id_" _ loop.count, row.id) %][% HTML.escape(row.description) %]</td>
-     <td>
-       [%- IF row.translation_area %]
-         [% L.textarea_tag("translation_" _ loop.count, row.translation, rows=row.translation_rows, cols="40", wrap="soft") %]
-       [%- ELSE %]
-         [% L.input_tag("translation_" _ loop.count, row.translation) %]
-       [%- END %]
-     </td>
-     <td>
-      [% L.textarea_tag("longdescription_" _ loop.count, P.restricted_html(row.longdescription), class="texteditor", style="width: 500px; height: 100px") %]
-     </td>
-    </tr>
-
-    [%- IF loop.last %]
-    <input type="hidden" id="rowcount" name="rowcount" value="[% loop.count %]">
-    [%- END %]
-    [%- END %]
-   </table>
-  </p>
-
-  <p>
-   <button type="button" onclick="languages_updated()">[% 'Close' | $T8 %]</button>
-  </p>
-
- </form>
-
- <script type="text/javascript">
-  <!--
-      function languages_updated() {
-        var languages = "";
-        for (var i = 1; i <= (document.getElementsByName("rowcount")[0].value); i++) {
-          var id              = "id_" + i ;
-          var translation     = "translation_" + i ;
-          var longdescription = "longdescription_" + i;
-
-          languages = languages +
-            "---+++---" + $('#id_' + i).val() +
-            "--++--" + $('#translation_' + i).val() +
-            "--++--"  + $('#longdescription_' + i).val();
-        }
-        console.info(languages);
-
-        window.opener.document.getElementsByName(document.Form.input_name.value)[0].value = languages;
-
-        self.close();
-      }
-      //-->
- </script>