| 
									
										
										
										
											2017-04-16 02:05:18 -06:00
										 |  |  | <?php | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | dieifnotloggedin(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-13 17:25:05 -06:00
										 |  |  | // Additional i18n strings
 | 
					
						
							|  |  |  | addMultiLangStrings(["en_us" => [ | 
					
						
							|  |  |  |         "sample app" => "Sample Application", | 
					
						
							|  |  |  |     ] | 
					
						
							|  |  |  | ]); | 
					
						
							|  |  |  | // Set to true to automatically parse the app title as a language string.
 | 
					
						
							|  |  |  | $APPS["sample_app"]["i18n"] = TRUE; | 
					
						
							|  |  |  | // App title.
 | 
					
						
							|  |  |  | $APPS["sample_app"]["title"] = "sample app"; | 
					
						
							|  |  |  | // App icon, from FontAwesome.
 | 
					
						
							| 
									
										
										
										
											2017-04-16 02:05:18 -06:00
										 |  |  | $APPS["sample_app"]["icon"] = "rocket"; | 
					
						
							| 
									
										
										
										
											2017-05-13 17:25:05 -06:00
										 |  |  | // App content.
 | 
					
						
							| 
									
										
										
										
											2017-04-16 02:05:18 -06:00
										 |  |  | $APPS["sample_app"]["content"] = <<<'CONTENTEND' | 
					
						
							|  |  |  | <div class="list-group"> | 
					
						
							|  |  |  |     <div class="list-group-item"> | 
					
						
							|  |  |  |         Item 1 | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |     <div class="list-group-item"> | 
					
						
							|  |  |  |         Item 2 | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |     <div class="list-group-item"> | 
					
						
							|  |  |  |         Item 3 | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | CONTENTEND; | 
					
						
							|  |  |  | ?>
 |