Bring external test a little more up to date, at least so it sort of works

This commit is contained in:
Nathan Gray 2012-03-09 00:35:24 +00:00
parent dd8a5cf29e
commit 8cd853fa36

View File

@ -3,10 +3,42 @@
<title>ET2 - Test</title> <title>ET2 - Test</title>
<script src="jquery.js"></script> <script src="jquery.js"></script>
<script src="../../../phpgwapi/js/jsapi/jsapi.js"></script>
<script src="../../../phpgwapi/js/egw_json.js"></script>
<script src="../../../phpgwapi/js/jsapi/egw.js"></script>
<script src="../../../phpgwapi/js/jquery/jquery.tools.min.js"></script>
<script src="../../../phpgwapi/js/jquery/jquery-ui.js"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw_core.js?1331234605"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw_debug.js?1331135500"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw_preferences.js?1330960885"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw_lang.js?1330960885"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw_links.js?1330960885"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw_user.js?1330960885"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw_config.js?1330960885"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw_images.js?1331135500"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw_jsonq.js?1330960885"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw_files.js?1330960885"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw_utils.js?1331135500"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw_json.js?1331135500"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw_tooltip.js?1331135500"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw_css.js?1331135500"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/js/jsapi/egw.js?1331220632"></script>
<!-- Languages -->
<script type="text/javascript" src="/egroupware/phpgwapi/lang.php?1330636667&app=common&lang=de"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/lang.php?1330636667&app=preferences&lang=de"></script>
<script type="text/javascript" src="/egroupware/phpgwapi/lang.php?1330636667&app=etemplate&lang=de"></script>
<!-- Images -->
<script type="text/javascript" src="/egroupware/phpgwapi/images.php?1314800242&template=idots"></script>
<script src="../etemplate2.js"></script>
<script src="../et2_core_xml.js"></script> <script src="../et2_core_xml.js"></script>
<script src="../et2_core_inheritance.js"></script> <script src="../et2_core_inheritance.js"></script>
<script src="../et2_core_interfaces.js"></script> <script src="../et2_core_interfaces.js"></script>
<script src="../et2_core_stylesheet.js"></script>
<script src="../et2_core_common.js"></script> <script src="../et2_core_common.js"></script>
<script src="../et2_core_arrayMgr.js"></script> <script src="../et2_core_arrayMgr.js"></script>
<script src="../et2_core_widget.js"></script> <script src="../et2_core_widget.js"></script>
@ -31,6 +63,7 @@
<script src="../et2_widget_html.js"></script> <script src="../et2_widget_html.js"></script>
<script src="../et2_widget_hrule.js"></script> <script src="../et2_widget_hrule.js"></script>
<script src="../et2_widget_image.js"></script> <script src="../et2_widget_image.js"></script>
<script src="../et2_widget_link.js"></script>
<script src="../et2_widget_date.js"></script> <script src="../et2_widget_date.js"></script>
<script src="../et2_widget_tabs.js"></script> <script src="../et2_widget_tabs.js"></script>
<script src="../et2_widget_progress.js"></script> <script src="../et2_widget_progress.js"></script>
@ -52,13 +85,7 @@
<script src="../et2_dataview_view_spacer.js"></script> <script src="../et2_dataview_view_spacer.js"></script>
<script src="../et2_dataview_view_gridContainer.js"></script> <script src="../et2_dataview_view_gridContainer.js"></script>
<script src="../etemplate2.js"></script>
<script src="../lib/tooltip.js"></script>
<script src="../lib/date.js"></script> <script src="../lib/date.js"></script>
<script src="../../../phpgwapi/js/egw_json.js"></script>
<script src="../../../phpgwapi/js/jsapi/jsapi.js"></script>
<script src="../../../phpgwapi/js/jsapi/egw.js"></script>
<script src="../../../phpgwapi/js/jquery/jquery.tools.min.js"></script>
<script src="../../../phpgwapi/js/jscalendar/calendar.js"></script> <script src="../../../phpgwapi/js/jscalendar/calendar.js"></script>
<script src="../../../phpgwapi/js/jscalendar/calendar-setup.js"></script> <script src="../../../phpgwapi/js/jscalendar/calendar-setup.js"></script>
@ -74,6 +101,7 @@
<script src="et2_test_basic.json"></script> <script src="et2_test_basic.json"></script>
<link rel="StyleSheet" type="text/css" href="./test.css" /> <link rel="StyleSheet" type="text/css" href="./test.css" />
<link rel="StyleSheet" type="text/css" href="./grid.css" /> <link rel="StyleSheet" type="text/css" href="./grid.css" />
<link rel="StyleSheet" type="text/css" href="../../../phpgwapi/js/jquery/jquery-ui/smoothness/jquery-ui-1.8.16.custom.css?1315425896" />
<style> <style>
#linklist { #linklist {
@ -108,7 +136,9 @@
<div id="container"></div> <div id="container"></div>
<div style="color: silver;">[Just here to test the dynheight component...]</div> <div style="color: silver;">[Just here to test the dynheight component...]</div>
<script> <script>
var et2 = new etemplate2(document.getElementById("container"), ""); window.egw_webserverUrl = egw.webserverUrl = '/egroupware';
egw.set_preferences({"open_tabs":"admin,addressbook,infolog,projectmanager,timesheet,preferences","active_tab":"preferences","account_selection":"none","global_sidebar_width_value":"224","dateformat":"d-M-Y","maxmatchs":"5","template_set":"idots","lang":"de","theme":"idots","navbar_format":"icons_and_text","link_list_format":"icons","link_list_thumbnail":"1","tz":"America\/Edmonton","tz_selection":"America\/Edmonton","timeformat":"24","rte_enter_mode":"br","rte_skin":"office2003","show_currentusers":"1","currency":"CAD","account_display":"lastname","show_help":"1","enable_dragdrop":"1","csv_charset":"utf-8","number_format":".","show_general_menu":"topmenu","start_and_logout_icons":"yes","max_icons":"12","auto_hide_sidebox":"1","click_or_onmouseover":"click","country":"CA","spellchecker_lang":"en","default_app":"home","app_specific_sidebar_width":"0","select_mode":"EGW_SELECTMODE_DEFAULT","disable_slider_effects":"0","disable_pngfix":"0","show_generation_time":"1","tz_offset":0}, "common");
var et2 = new (egw().etemplate2)(document.getElementById("container"), "");
function open_xet(file, content) { function open_xet(file, content) {
et2.load(file, content); et2.load(file, content);