| 
									
										
										
										
											2017-04-16 02:05:18 -06:00
										 |  |  | <?php | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-12-16 13:27:09 -07:00
										 |  |  | /* This Source Code Form is subject to the terms of the Mozilla Public | 
					
						
							|  |  |  |  * License, v. 2.0. If a copy of the MPL was not distributed with this | 
					
						
							|  |  |  |  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-16 02:05:18 -06:00
										 |  |  | 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; | 
					
						
							|  |  |  | ?>
 |