main.tpl.htm 9.06 KB
Newer Older
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
    <head>
        <title><tmpl_var name="app_title"> <tmpl_var name="app_version"></title>
        <meta http-equiv="Content-Type" content="text/html; charset=<tmpl_var name="html_content_encoding">"/>
        <meta http-equiv="X-UA-Compatible" content="IE=8"/>
        <link href="themes/default/css/central.css" rel="stylesheet" type="text/css"/>
        <!--[if lte IE 7]>
                <link href="themes/default/css/patches/central.css" rel="stylesheet" type="text/css" />
        <![endif]-->
        <!--[if lte ie 6]>
          <style type="text/css" media="screen">
            /*
            Move these to your IE specific stylesheet if possible
            */
            .uniForm,
            .uniForm fieldset,
            .uniForm .ctrlHolder,
            .uniForm .formHint,
            .uniForm .buttonHolder, 
            .uniForm .ctrlHolder .multiField,
            .uniForm .inlineLabel{ zoom:1; }
                
            .uniForm .inlineLabels label, .uniForm .inlineLabels .label,
            .uniForm .blockLabels label, .uniForm .blockLabels .label,
            .uniForm .inlineLabel span{ padding-bottom: .2em; }
                
            .uniForm .inlineLabel input,
            .uniForm .inlineLabels .inlineLabel input,
            .uniForm .blockLabels .inlineLabel input{ margin-top: -.3em; }
          </style>
        <![endif]-->
        <!--[if gt ie 6]>
          <style type="text/css" media="screen">
            /*
            Move these to your IE specific stylesheet if possible
            */
            .uniForm,
            .uniForm fieldset,
            .uniForm .ctrlHolder,
            .uniForm .formHint,
            .uniForm .buttonHolder, 
            .uniForm .ctrlHolder .multiField,
            .uniForm .inlineLabel{ zoom:1; }
                
            .uniForm .inlineLabels label, .uniForm .inlineLabels .label,
            .uniForm .blockLabels label, .uniForm .blockLabels .label,
            .uniForm .inlineLabel span{ padding-bottom: .2em; }
                
            .uniForm .inlineLabel input,
            .uniForm .inlineLabels .inlineLabel input,
            .uniForm .blockLabels .inlineLabel input{ margin-top: -.3em; }
          </style>
        <![endif]-->
        <link href="themes/default/css/screen/redmond/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css"/>
        <link href="themes/default/css/screen/jquery-ui-custom.css" rel="stylesheet" type="text/css"/>
        <link rel="shortcut icon" href="/themes/default/images/favicon.ico" />
        <script type="text/javascript" src="js/jquery-1.6.3.min.js"></script>
        <script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script>
        <script type="text/javascript" src="js/scrigo.js.php"></script>
        <script type="text/javascript" src="js/uni-form/uni-form.jquery.js"></script>
        <script type="text/javascript" src="js/jquery.ispconfigsearch.js"></script>
        <script type="text/javascript" src="js/jquery.tipsy.js"></script>
        <script language="JavaScript" type="text/javascript">
            var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
            if(!is_chrome && getInternetExplorerVersion() > 8.0) {
                var style = document.createElement('style');
                style.innerHTML = '#page_margins { min-width: 980px; max-width: 80%; background: #fff; display: table;}';
                document.getElementsByTagName("head")[0].appendChild(style);
            }
            
            jQuery(document).ready(function() {
                loadInitContent();
                
                $("#pageForm").submit(function(e){
                    //Prevent form submit: e.preventDefault() in lists
                    if ($(".panel #Filter").length > 0) {
                        e.preventDefault();
                    }
                });
                
                jQuery('.subsectiontoggle').live("click", function(){
                    jQuery(this).children().toggleClass('showing').end().next().slideToggle();
                });
                
                jQuery('#globalsearch').ispconfigSearch({
                    dataSrc: '/dashboard/ajax_get_json.php?type=globalsearch',
                    resultsLimit: '$ <tmpl_var name="globalsearch_resultslimit_of_txt"> % <tmpl_var name="globalsearch_resultslimit_results_txt">',
                    noResultsText: '<tmpl_var name="globalsearch_noresults_text_txt">',
                    noResultsLimit: '<tmpl_var name="globalsearch_noresults_limit_txt">',
                    searchFieldWatermark: '<tmpl_var name="globalsearch_searchfield_watermark_txt">'
                });
                
                jQuery('.ttip').tipsy({live: true, gravity: 'ne', html: true});
            });
            
            
            jQuery(document).bind("change", function(event) {
                if (jQuery(".panel #Filter").length > 0 && event.target.localName == 'select') {
101
                    event.preventDefault();
102
103
104
105
106
107
108
                    jQuery(".panel #Filter").trigger('click');
                }
            });
            
            jQuery(document).bind("keypress", function(event) {
                //Use jQuery submit with keypress Enter in panel filterbar
                if (event.which == '13' && jQuery(".panel #Filter").length > 0) {
109
                    event.preventDefault();
110
111
112
113
                    jQuery(".panel #Filter").trigger('click');
                }
                //Use jQuery submit with keypress Enter in forms
                if (event.which == '13' && jQuery(".pnl_formsarea button.positive").length > 0 && event.target.localName != 'textarea') {
114
                    event.preventDefault();
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
                    jQuery(".pnl_formsarea button.positive:first").trigger('click');
                }
            });
        </script>
    </head>
    <body>
        <div id="page_margins">
            <div id="page">
                <div id="header">
                    <div id="topsubnav">
                        <!-- start: skip link navigation -->
                        <a class="skip" href="#navigation" title="skip link">Skip to the navigation</a><span class="hideme">.</span>
                        <a class="skip" href="#content" title="skip link">Skip to the content</a><span class="hideme">.</span>
                        <!-- end: skip link navigation -->
                        <tmpl_if name="cpuser">
130
                            <span><a href="#logout" onclick="loadContent('login/logout.php');"><tmpl_var format="strtoupper" name="logout_txt"> <tmpl_var format="strtoupper" name="cpuser"></a><!-- | <a href="#" onclick="capp('help')">Help</a> | <a href="#">Imprint</a>--></span>
131
132
133
134
135
                            <tmpl_if name='usertype' op='==' value='normaluser'><input type="text" id="globalsearch" size="25" value="" /></tmpl_if>
                        </tmpl_if>
                    </div>
                    <h1 id="ir-HeaderLogo" class="swap" style="background-image:url('{tmpl_var name='app_logo'}');"><span>ISPConfig 3</span></h1>
                    <span>hosting control panel</span>
136
                </div>
137
138
139
140
141
142
                <!-- begin: main navigation #nav -->
                <div id="nav">
                    <a id="navigation" name="navigation"></a>
                    <!-- skiplink anchor: navigation -->
                    <div id="nav_main">
                        <div id="topNav">&nbsp;</div>
143
144
                    </div>
                </div>
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
                <!-- end: main navigation -->
                <!-- begin: main content area #main -->
                <div id="main">
                    <!-- begin: #col1 - first float column -->
                    <div id="col1">
                        <div id="col1_content" class="clearfix">
                            <div id="sideNav">&nbsp;</div>
                        </div>
                    </div>
                    <!-- end: #col1 -->
                    <!-- begin: #col3 static column -->
                    <div id="col3">
                        <div id="col3_content" class="clearfix">
                            <a id="content" name="content"></a>
                            <!-- skiplink anchor: Content -->
                            <form method="post" action="" id="pageForm" name="pageForm" enctype="multipart/form-data" class="uniForm">
                                <div id="pageContent"><!-- AJAX CONTENT --></div>
                            </form>
                        </div>
                        <div id="ie_clearing">&nbsp;</div>
                        <!-- End: IE Column Clearing -->
166
                    </div>
167
                    <!-- end: #col3 -->
168
                </div>
169
170
171
172
173
                <!-- end: #main -->
                <!-- begin: #footer -->
                <div id="footer">
                    Powered by <a href="<tmpl_var name="app_link">" target="_blank"><tmpl_var name="app_title"></a>
                </div><!-- end: #footer -->
174
            </div>
latham's avatar
latham committed
175
        </div>
176
    </body>
177
</html>