From 9287065574ef7694af5cf731b719ef0d5a3ae4cc Mon Sep 17 00:00:00 2001
From: tekati <tekati@ispconfig3>
Date: Mon, 12 Jul 2010 01:06:35 -0400
Subject: [PATCH] - Strange fix and only temporary will figure out the root cause. - I had to reorder the variables in language_list.htm for the link URL's - Moved the lang_file var to the beginning of the URL to make it work. - For some strange reason if you have &lang_file in the url it changes it to <_file.

---
 interface/web/admin/templates/language_list.htm |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)

diff --git a/interface/web/admin/templates/language_list.htm b/interface/web/admin/templates/language_list.htm
new file mode 100644
index 0000000..4c8fb0c
--- /dev/null
+++ b/interface/web/admin/templates/language_list.htm
@@ -0,0 +1,47 @@
+<h2><tmpl_var name="list_head_txt"></h2>
+<p><tmpl_var name="list_desc_txt"></p>
+
+<div class="panel panel_language_groups">
+
+  <div class="pnl_toolsarea">
+    <fieldset class="inlineLabels"><legend>Tools</legend>
+      <div class="buttons">
+	      <div class="ctrlHolder">
+	      	<label for="lng_select">{tmpl_var name='language_select_txt'}</label>
+	        <select name="lng_select" id="language" class="selectInput withicons" onChange="submitForm('pageForm','admin/language_list.php');">
+						{tmpl_var name='language_option'}
+					</select>
+	      </div>
+      </div>
+    </fieldset>
+  </div>
+  
+  <div class="pnl_listarea">
+    <fieldset><legend><tmpl_var name="list_head_txt"></legend>
+      <table class="list">
+        <thead>
+          <tr>
+            <th class="tbl_col_module" scope="col"><tmpl_var name="module_txt"></th>
+            <th class="tbl_col_lang_file" scope="col"><tmpl_var name="lang_file_txt"></th>
+            <th scope="col"><tmpl_var name="lang_file_date_txt"></th>
+          </tr>
+        </thead>
+        <tbody>
+          <tmpl_loop name="records">
+          <tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
+            <td class="tbl_col_module"><a href="#" onClick="loadContent('admin/language_edit.php?lang_file={tmpl_var name="lang_file"}&module={tmpl_var name="module"}&lang={tmpl_var name="lang"}');">{tmpl_var name="module"}</a></td>
+            <td class="tbl_col_lang_file"><a href="#" onClick="loadContent('admin/language_edit.php?lang_file={tmpl_var name="lang_file"}&module={tmpl_var name="module"}&lang={tmpl_var name="lang"}');">{tmpl_var name="lang_file"}</a></td>
+            <td><a href="#" onClick="loadContent('admin/language_edit.php?lang_file={tmpl_var name="lang_file"}&module={tmpl_var name="module"}&lang={tmpl_var name="lang"}');">{tmpl_var name="lang_file_date"}</a></td>
+          </tr>
+          </tmpl_loop>
+        </tbody>
+        <tfoot>
+          <tr>
+            <td class="tbl_footer tbl_paging" colspan="3"><tmpl_var name="paging"></td>
+          </tr>
+        </tfoot>
+      </table>
+    </fieldset>
+  </div>
+  
+</div>

--
Gitblit v1.9.1