Add analytics
[bus.git] / busui / owa / modules / base / templates / options_general.tpl
1
2
3
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<div class="panel_headline"><?php echo $headline?></div>

<div class="subview_content">

<form method="post" name="owa_options">

	<fieldset name="owa-options" class="options">
	<legend>Request Processing Options</legend>
			
	<div class="setting" id="resolve_hosts">
		<div class="title">Resolve Host Names</div> 
		<div class="description">Controls the resolution of host names (e.g. verizon.com) from visitor's raw IP addresses.</div>
		<div class="field">
			<select name="<?php echo $this->getNs();?>config[base.resolve_hosts]">
				<option value="0" <?php if ($config['resolve_hosts'] == false):?>SELECTED<?php endif;?>>Off</option>
				<option value="1" <?php if ($config['resolve_hosts'] == true):?>SELECTED<?php endif;?>>On</option>		
			</select>
		</div>
	</div> 
	
	<div class="setting" id="log_feedreaders">	
		<div class="title">Log Requests From Feed Readers</div> 
		<div class="description">Controls the logging of page requests made by Feed Readers. This setting must be enabled in order to compile statistics about your site's feeds.</div>
		<div class="field">
			<select name="<?php echo $this->getNs();?>config[base.log_feedreaders]">
				<option value="0" <?php if ($config['log_feedreaders'] == false):?>SELECTED<?php endif;?>>Off</OPTION>
				<option value="1" <?php if ($config['log_feedreaders'] == true):?>SELECTED<?php endif;?>>On</OPTION>	
			</select>
		</div>
	</div>
	
	<div class="setting" id="log_robots">	
		<div class="title">Log Requests From Known Robots</div>
		<div class="description">Controls the logging of page requests made by known robots and spiders. Turning this feature on will dramatically increase the number of requests that are processed and logged.</div>
		<div class="field">
			<SELECT NAME="<?php echo $this->getNs();?>config[base.log_robots]">
				<OPTION VALUE="0" <?php if ($config['log_robots'] == false):?>SELECTED<?php endif;?>>Off</OPTION>
				<OPTION VALUE="1" <?php if ($config['log_robots'] == true):?>SELECTED<?php endif;?>>On</OPTION>
			</SELECT>
		</div>
	</div>	
	
	<div class="setting" id="log_named_users">	
		<div class="title">Log Requests From Named Users</div>
		<div class="description">Controls the logging of requests made by named users.</div>
		<div class="field">
			<SELECT NAME="<?php echo $this->getNs();?>config[base.log_named_users]">
				<OPTION VALUE="0" <?php if ($config['log_named_users'] == false):?>SELECTED<?php endif;?>>Off</OPTION>
				<OPTION VALUE="1" <?php if ($config['log_named_users'] == true):?>SELECTED<?php endif;?>>On</OPTION>
			</SELECT>
		</div>
	</div>	

	
	
	<div class="setting" id="fetch_refering_page_info">	
		<div class="title">Fetch Referring Web Page Info</div> 
		<div class="description">Controls whether OWA should crawl the web pages that refer visitors to your web site and extract descriptive meta-data that will be used in reporting.</div>
		<div class="field">
			<select name="<?php echo $this->getNs();?>config[base.fetch_refering_page_info]">
				<option value="0" <?php if ($config['fetch_refering_page_info'] == false):?>SELECTED<?php endif;?>>
		Off</option>
				<option value="1" <?php if ($config['fetch_refering_page_info'] == true):?>SELECTED<?php endif;?>>
		On</option>
			</select>
		</div>
	</div>		
	
	<div class="setting" id="first_hit">	
		<div class="title">Delay First Hit</div>
		<div class="description">This setting controls whether OWA should delay logging the first hit of new visitors untill a secondary http request for a special web bug is made. This tactic is used to foil spiders/robots that spoof their user agents in an attempt to appear like a normal web browser.</div> 
		<div class="field">
			<select name="<?php echo $this->getNs();?>config[base.delay_first_hit]">
				<option value="0" <?php if ($config['delay_first_hit'] == false):?>SELECTED<?php endif;?>>Off</option>
				<option value="1" <?php if ($config['delay_first_hit'] == true):?>SELECTED<?php endif;?>>On</option>	
			</select>
		</div>
	</div>
	
	<div class="setting" id="log_dom_streams">	
		<div class="title">Log Domstreams</div>
		<div class="description">This setting controls whether OWA should should log Domstreams.</div> 
		<div class="field">
			<select name="<?php echo $this->getNs();?>config[base.log_dom_streams]">
				<option value="0" <?php if ($config['log_dom_streams'] == false):?>SELECTED<?php endif;?>>Off</option>
				<option value="1" <?php if ($config['log_dom_streams'] == true):?>SELECTED<?php endif;?>>On</option>	
			</select>
		</div>
	</div>	

	
	<div class="setting" id="p3p_policy">	
		<div class="title">P3P Compact Privacy Policy</div>
		<div class="description">This setting controls the P3P compact privacy policy that is returned to the browser when OWA sets cookies. Click <a href="http://www.p3pwriter.com/LRN_111.asp">here</a> for more information on compact privacy policies and choosing the right one for your web site.</div>
		<div class="field"><input type="text" size="50" name="<?php echo $this->getNs();?>config[base.p3p_policy]" value="<?php echo $config['p3p_policy'];?>"></div>
	</div>
	
	<div class="setting" id="url_params">	
		<div class="title">URL Parameters</div>
		<div class="description">This setting controls the URL parameters that OWA should ignore when processing requests. This is useful for avoiding duplicate URLs due to the use of tracking or others state parameters in your URLs. Parameter names should be separated by comma.</div>
		<div class="field"><input type="text" size="50" name="<?php echo $this->getNs();?>config[base.query_string_filters]" value="<?php echo $config['query_string_filters'];?>"></div>
	</div>
	
    </fieldset>
    
    <BR>
    
    <fieldset name="owa-options" class="options">
		<legend>Visitor Announcements</legend>
	
		<div class="setting" id="announce_visitors">	
			<div class="title">Announce New Visitors Via E-mail</div>
			<div class="description">Announces each new visitor to your web site via e-mail. If you have a lot of visitors then you probably want to keep this feature turned off.</div>
			<div class="field">
				<select name="<?php echo $this->getNs();?>config[base.announce_visitors]">
					<option value="0" <?php if ($config['announce_visitors'] == false):?>SELECTED<?php endif;?>>Off</OPTION>	
					<option value="1" <?php if ($config['announce_visitors'] == true):?>SELECTED<?php endif;?>>On</OPTION>
				</select>
			</div>
		</div>
	
		<div class="setting" id="notice_email">	
			<div class="title">Notice E-mail Address</div>
			<div class="description">This is the e-mail address that new visitor e-mails will be sent to.</div>
			<div class="field"><input size="50" type="text" name="<?php echo $this->getNs();?>config[base.notice_email]" value="<?php echo $config['notice_email']?>"></div>

		</div>
	
	</fieldset>
    
    
    <BR>
    
    <fieldset name="owa-geolocation-options" class="options">
		
		<legend>Geo-location</legend>
	
		<div class="setting" id="geolocation_lookup">	
			<div class="title">Perform Geo-location Lookup</div>
			<div class="description">Lookup the geographic location of visitors.</div>
			<div class="field">
				<select name="<?php echo $this->getNs();?>config[base.geolocation_lookup]">
					<option value="0" <?php if ($config['geolocation_lookup'] == false):?>SELECTED<?php endif;?>>Off</OPTION>
					<option value="1" <?php if ($config['geolocation_lookup'] == true):?>SELECTED<?php endif;?>>On</OPTION>
				</select>
			</div>
		</div>
		
		<div class="setting" id="google_maps_api_key">
			<div class="title">Google Maps API Key</div>
			<div class="description">Google maps API key is needed to produce Google maps of visitor geo-locations. You may obtain an API key from <a href="http://www.google.com/apis/maps/signup.html">this Google web site</a> for free.</div>
			<div class="field"><input type="text" size="90" name="<?php echo $this->getNs();?>config[base.google_maps_api_key]" value="<?php echo $config['google_maps_api_key']?>"></div>
		</div>
		
	</fieldset>
		
	<BR>

	<fieldset name="owa-feed-options" class="options">
		<legend>Feed Tracking</legend>
		
		<div class="setting" id="feeds">	
			<div class="title">Feed Link Tracking</div> 
			<div class="description">Adds tracking parameters to RSS or Atom feeds links. This provides a way to track how many visitors come from your feeds.</div>
			<div class="field">
				<select name="<?php echo $this->getNs();?>config[base.track_feed_links]">
	
					<option value="0" <?php if ($config['track_feed_links'] == false):?>SELECTED<?php endif;?>>Off</OPTION>
					<option value="1" <?php if ($config['track_feed_links'] == true):?>SELECTED<?php endif;?>>On</OPTION>
				</select>
			</div>
		</div>
		
	</fieldset>
	
    <BR>
	
    <fieldset name="owa-event-options" class="options">
		<legend>Event Queueing</legend>
	
		<div class="setting" id="async_log_dir">	
			<div class="title">Event Log File Directory</div>
			<div class="description">This is the file system path of the file that OWA will write queued events to when Event Queuing mode is turned on. (e.g. /path/to/owa/log/file.txt)</div>
			<div class="field"><input type="text" size="80" name="<?php echo $this->getNs();?>config[base.async_log_dir]" value="<?php echo $config['async_log_dir']?>"></div>
		</div>
	
    </fieldset>
	
    <BR>
    
    	
	<fieldset name="owa-cache-options" class="options">
		<legend>Object Cache</legend>
	
		<div class="setting" id="object_cache">	
			<div class="title">Cache Control</div> 
			<div class="description">Enables and disables object caching. This will improve performance under high load conditions. The object cache can be turned on/off via your config file.
</div>
			<div class="field">
			Status: <?php if ($config['cache_objects'] == true):?><B>ON</B><?php else:?><B>OFF</B><?php endif;?> </div>
		</div>
		
		<div class="setting" id="object_cache_flush">	
			<div class="title">Flush Cache</div> 
			<div class="description">Flushes the object cache</div>
			<div class="field">
				
				<a href="<?php echo $this->makeLink(array('do' => 'base.optionsFlushCache')); ?>">Flush Cache Now</a>
			</div>
		</div>
		
	
	</fieldset>
	
	<BR>
	
	<fieldset name="owa-ecommerce-options" class="options">
		
		<legend>e-commerce</legend>
		
		<div class="setting" id="ecommerce_reporting">	
			<div class="title">e-commerce Reporting</div>
			<div class="description">Adds e-commerce metrics/statistics to reports.</div>
			<div class="field">
				<select name="<?php echo $this->getNs();?>config[base.enableEcommerceReporting]">
					<option value="0" <?php if ($config['enableEcommerceReporting'] == false):?>SELECTED<?php endif;?>>Off</option>
					<option value="1" <?php if ($config['enableEcommerceReporting'] == true):?>SELECTED<?php endif;?>>On</option>
				</select>
			</div>
		</div>
	</fieldset>
	
	<BR>
	
	<?php echo $this->createNonceFormField('base.optionsUpdate');?>
	
	<BUTTON type="submit" name="<?php echo $this->getNs();?>action" value="base.optionsUpdate">Update Configuration</BUTTON>
	<input type="hidden" name="<?php echo $this->getNs();?>module" value="base">
	<BUTTON type="submit" name="<?php echo $this->getNs();?>action" value="base.optionsReset">Reset Base Module Configuration to Default Values</BUTTON>
	
</form>
</div>