mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Simplify access to bottom links
This commit is contained in:
		@@ -523,13 +523,6 @@ var ComunicWeb = {
 | 
				
			|||||||
		 */
 | 
							 */
 | 
				
			||||||
		bottom: {
 | 
							bottom: {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			/**
 | 
					 | 
				
			||||||
			 * Bottom links
 | 
					 | 
				
			||||||
			 */
 | 
					 | 
				
			||||||
			links: [
 | 
					 | 
				
			||||||
				//TODO : implement
 | 
					 | 
				
			||||||
			],
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
			/**
 | 
								/**
 | 
				
			||||||
			 * Main bottom script file
 | 
								 * Main bottom script file
 | 
				
			||||||
			 */
 | 
								 */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,7 +4,7 @@
 | 
				
			|||||||
 * @author Pierre HUBERT
 | 
					 * @author Pierre HUBERT
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ComunicWeb.components.bottom.links = [
 | 
					const BottomLinks = [
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	//Language selector
 | 
						//Language selector
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -43,7 +43,7 @@ ComunicWeb.components.bottom.main = {
 | 
				
			|||||||
			innerHTML: "Comunic     "
 | 
								innerHTML: "Comunic     "
 | 
				
			||||||
		});
 | 
							});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		ComunicWeb.components.bottom.links.forEach(function(link){
 | 
							BottomLinks.forEach(function(link){
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			var linkEl = createElem2({
 | 
								var linkEl = createElem2({
 | 
				
			||||||
				appendTo: leftElements,
 | 
									appendTo: leftElements,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -197,7 +197,7 @@ ComunicWeb.components.menuBar.authenticated = {
 | 
				
			|||||||
			class: "divider"
 | 
								class: "divider"
 | 
				
			||||||
		});
 | 
							});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		ComunicWeb.components.bottom.links.forEach(addMenuOption);
 | 
							BottomLinks.forEach(addMenuOption);
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		//Return dropdown content element
 | 
							//Return dropdown content element
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user