| 
									
										
										
										
											2015-08-26 20:16:53 +03:00
										 |  |  | <?php | 
					
						
							| 
									
										
										
										
											2015-12-16 17:57:44 +03:00
										 |  |  | script('richdocuments', 'admin'); | 
					
						
							| 
									
										
										
										
											2015-08-26 20:16:53 +03:00
										 |  |  | ?>
 | 
					
						
							| 
									
										
										
										
											2016-03-15 00:13:55 +01:00
										 |  |  | <div class="section" id="richdocuments"> | 
					
						
							|  |  |  | 	<h2><?php p($l->t('Collabora Online')) ?></h2>
 | 
					
						
							| 
									
										
										
										
											2016-04-12 11:39:16 +02:00
										 |  |  | 	<label for="wopi_url"><?php p($l->t('Collabora Online server')) ?></label>
 | 
					
						
							| 
									
										
										
										
											2016-05-18 10:58:38 +02:00
										 |  |  | 	<input type="text" name="wopi_url" id="wopi_url" value="<?php p($_['wopi_url'])?>" style="width:300px;"> | 
					
						
							| 
									
										
										
										
											2016-10-13 20:16:02 +05:30
										 |  |  | 	<br/><em><?php p($l->t('URL (and port) of the Collabora Online server that provides the editing functionality as a WOPI client.')) ?></em>
 | 
					
						
							|  |  |  | 	<br/><button type="button" id="wopi_apply"><?php p($l->t('Apply')) ?></button>
 | 
					
						
							| 
									
										
										
										
											2014-07-09 18:43:48 +03:00
										 |  |  | 	<span id="documents-admin-msg" class="msg"></span> | 
					
						
							| 
									
										
										
										
											2016-10-11 12:14:53 +05:30
										 |  |  |     <br/> | 
					
						
							| 
									
										
										
										
											2016-10-13 19:08:27 +05:30
										 |  |  | 
 | 
					
						
							|  |  |  |     <input type="checkbox" class="test-server-enable" id="test_server_enable-richdocuments" /> | 
					
						
							| 
									
										
										
										
											2016-10-13 20:16:02 +05:30
										 |  |  |     <label for="test-server-enable"><?php p($l->t('Enable test server for specific groups')) ?></label><br/>
 | 
					
						
							|  |  |  |     <p id="test-server-section" class="indent <?php if ($_['test_server_groups'] === '' || $_['test_wopi_url'] === '') p('hidden') ?>"> | 
					
						
							|  |  |  |         <label for="test_server_group_select"><?php p($l->t('Groups')) ?></label>
 | 
					
						
							|  |  |  |         <input type="hidden" id="test_server_group_select" value="<?php p($_['test_server_groups'])?>" title="<?php p($l->t('None')); ?>" style="width: 200px" /><br/> | 
					
						
							| 
									
										
										
										
											2016-10-13 19:08:27 +05:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-10-13 20:16:02 +05:30
										 |  |  |         <label for="test_wopi_url"><?php p($l->t('Test server')) ?></label>
 | 
					
						
							|  |  |  |         <input type="text" name="test_wopi_url" id="test_wopi_url" value="<?php p($_['test_wopi_url'])?>" style="width:300px;" /><br/> | 
					
						
							|  |  |  |         <em><?php p($l->t('URL (and port) of the Collabora Online test server.')) ?></em><br/>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <button type="button" id="test_wopi_apply"><?php p($l->t('Apply')) ?></button>
 | 
					
						
							|  |  |  |         <span id="test-documents-admin-msg" class="msg"></span> | 
					
						
							|  |  |  |     </p> | 
					
						
							| 
									
										
										
										
											2016-10-13 19:08:27 +05:30
										 |  |  |     <input type="checkbox" class="edit-groups-enable" id="edit_groups_enable-richdocuments" /> | 
					
						
							| 
									
										
										
										
											2016-10-11 12:14:53 +05:30
										 |  |  |     <label for="edit_groups_enable-richdocuments"><?php p($l->t('Enable edit for specific groups')) ?></label>
 | 
					
						
							|  |  |  |     <input type="hidden" id="edit_group_select" value="<?php p($_['edit_groups'])?>" title="<?php p($l->t('All')); ?>" style="width: 200px"> | 
					
						
							| 
									
										
										
										
											2016-10-13 12:28:54 +05:30
										 |  |  |     <br/> | 
					
						
							| 
									
										
										
										
											2016-10-13 19:08:27 +05:30
										 |  |  |     <input type="checkbox" class="doc-format-ooxml" id="doc_format_ooxml_enable-richdocuments" <?php p($_['doc_format'] === 'ooxml' ? 'checked' : '') ?> />
 | 
					
						
							| 
									
										
										
										
											2016-10-13 12:28:54 +05:30
										 |  |  |     <label for="doc_format_ooxml_enable-richdocuments"><?php p($l->t('Use OOXML by default for new files')) ?></label>
 | 
					
						
							| 
									
										
										
										
											2016-10-13 19:08:27 +05:30
										 |  |  | </div> |