| 
									
										
										
										
											2013-08-28 12:02:27 +02:00
										 |  |  | <div id="documents-content"> | 
					
						
							| 
									
										
										
										
											2013-08-22 16:37:06 +02:00
										 |  |  | 	<ul class="documentslist"> | 
					
						
							| 
									
										
										
										
											2013-08-23 15:35:30 +02:00
										 |  |  | 		<li class="add-document"> | 
					
						
							| 
									
										
										
										
											2014-03-14 14:52:29 +01:00
										 |  |  | 			<a class="icon-add add svg" target="_blank" href=""> | 
					
						
							| 
									
										
										
										
											2013-11-18 18:13:52 +03:00
										 |  |  | 				<label><?php p($l->t('New document')) ?></label>
 | 
					
						
							| 
									
										
										
										
											2013-11-13 19:50:29 +03:00
										 |  |  | 			</a>  | 
					
						
							| 
									
										
										
										
											2013-09-13 16:47:48 +03:00
										 |  |  | 			<div id="upload" title="<?php p($l->t('Upload') . ' max. '.$_['uploadMaxHumanFilesize']) ?>"> | 
					
						
							|  |  |  | 				<form data-upload-id="1" | 
					
						
							|  |  |  | 					  id="data-upload-form" | 
					
						
							|  |  |  | 					  class="file_upload_form" | 
					
						
							|  |  |  | 					  action="<?php print_unescaped(OCP\Util::linkTo('files', 'ajax/upload.php')); ?>" | 
					
						
							|  |  |  | 					  method="post" | 
					
						
							|  |  |  | 					  enctype="multipart/form-data" | 
					
						
							|  |  |  | 					  target="file_upload_target_1"> | 
					
						
							|  |  |  | 					<?php if($_['uploadMaxFilesize'] >= 0):?>
 | 
					
						
							|  |  |  | 					<input type="hidden" name="MAX_FILE_SIZE" id="max_upload" | 
					
						
							| 
									
										
										
										
											2013-10-10 21:27:19 +03:00
										 |  |  | 						   value="<?php p($_['uploadMaxFilesize']) ?>" /> | 
					
						
							| 
									
										
										
										
											2013-09-13 16:47:48 +03:00
										 |  |  | 					<?php endif;?>
 | 
					
						
							|  |  |  | 					<!-- Send the requesttoken, this is needed for older IE versions | 
					
						
							|  |  |  | 						 because they don't send the CSRF token via HTTP header in this case --> | 
					
						
							| 
									
										
										
										
											2013-10-10 21:27:19 +03:00
										 |  |  | 					<input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>" id="requesttoken" /> | 
					
						
							| 
									
										
										
										
											2013-09-13 16:47:48 +03:00
										 |  |  | 					<input type="hidden" class="max_human_file_size" | 
					
						
							| 
									
										
										
										
											2013-10-10 21:27:19 +03:00
										 |  |  | 						   value="(max <?php p($_['uploadMaxHumanFilesize']); ?>)" /> | 
					
						
							|  |  |  | 					<input type="hidden" name="dir" value="<?php p($_['savePath']) ?>" id="dir" /> | 
					
						
							|  |  |  | 					<input type="file" id="file_upload_start" name='files[]' /> | 
					
						
							| 
									
										
										
										
											2014-03-14 14:52:29 +01:00
										 |  |  | 					<a href="#" class="icon-upload upload svg"> | 
					
						
							| 
									
										
										
										
											2013-11-18 18:13:52 +03:00
										 |  |  | 					<label><?php p($l->t('Upload')) ?></label></a>
 | 
					
						
							| 
									
										
										
										
											2013-09-13 16:47:48 +03:00
										 |  |  | 				</form> | 
					
						
							|  |  |  | 			</div> | 
					
						
							| 
									
										
										
										
											2013-08-19 14:18:48 +03:00
										 |  |  | 		</li> | 
					
						
							| 
									
										
										
										
											2014-03-14 14:52:29 +01:00
										 |  |  | 		<li class="progress icon-loading"><div><?php p($l->t('Loading documents...')); ?></div></li>
 | 
					
						
							| 
									
										
										
										
											2013-08-23 15:53:00 +02:00
										 |  |  | 		<li class="document template" data-id="" style="display:none;"> | 
					
						
							| 
									
										
										
										
											2013-08-26 12:15:29 +02:00
										 |  |  | 			<a target="_blank" href=""><label></label></a> | 
					
						
							| 
									
										
										
										
											2013-08-19 14:18:48 +03:00
										 |  |  | 		</li> | 
					
						
							|  |  |  | 	</ul> | 
					
						
							| 
									
										
										
										
											2013-08-17 19:42:50 +03:00
										 |  |  | </div> | 
					
						
							| 
									
										
										
										
											2013-10-10 21:27:19 +03:00
										 |  |  | <input type="hidden" id="webodf-unstable" value="<?php p($_['useUnstable']) ?>" /> | 
					
						
							| 
									
										
										
										
											2013-10-22 16:19:22 +02:00
										 |  |  | <input type="hidden" name="allowShareWithLink" id="allowShareWithLink" value="<?php p($_['allowShareWithLink']) ?>" /> |