Trying
This commit is contained in:
		
							
								
								
									
										10
									
								
								qsgen2
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								qsgen2
									
									
									
									
									
								
							@@ -339,17 +339,17 @@ function _pages() {
 | 
				
			|||||||
        #echo ${pages_tpl}
 | 
					        #echo ${pages_tpl}
 | 
				
			||||||
        #exit
 | 
					        #exit
 | 
				
			||||||
              
 | 
					              
 | 
				
			||||||
        # Replace #updated with today's date and #version with Name and Version to footer
 | 
					 | 
				
			||||||
        if (${debug}) echo "_pages: _last_updated in pages_tpl"
 | 
					 | 
				
			||||||
        pages_tpl=$( _last_updated ${pages_tpl} )
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
        #echo "${magenta}AFTER _last_updated${end}"
 | 
					        #echo "${magenta}AFTER _last_updated${end}"
 | 
				
			||||||
        #echo ${pages_tpl}
 | 
					        #echo ${pages_tpl}
 | 
				
			||||||
        #exit
 | 
					        #exit
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        # Insert page_content into pages_tpl by replacing the BODY tag present there
 | 
					        # Insert page_content into pages_tpl by replacing the BODY tag present there
 | 
				
			||||||
        if (${debug}) echo "_pages: Replacing BODY with page_content in pages_tpl"
 | 
					        if (${debug}) echo "_pages: Replacing BODY with page_content in pages_tpl"
 | 
				
			||||||
        pages_tpl=$( echo ${pages_tpl} | sed -e "s|BODY|${page_content}|g" )
 | 
					        pages_tpl=$( echo ${pages_tpl} | sed "s|BODY|${page_content}|g" )
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					        # Replace #updated with today's date and #version with Name and Version to footer
 | 
				
			||||||
 | 
					        if (${debug}) echo "_pages: _last_updated in pages_tpl"
 | 
				
			||||||
 | 
					        pages_tpl=$( _last_updated ${pages_tpl} )
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        echo "${magenta}AFTER BODY HAS BEEN REPLACED${end}"
 | 
					        echo "${magenta}AFTER BODY HAS BEEN REPLACED${end}"
 | 
				
			||||||
        echo ${pages_tpl}
 | 
					        echo ${pages_tpl}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user