Revert "load scripts at the bottom of the page" - inline scripts require jquery >_<
This reverts commit efe4852dc4be1e010d204bdc1fa221c6440c50d7.
This commit is contained in:
		
							parent
							
								
									0d2c597010
								
							
						
					
					
						commit
						aaa379930b
					
				@ -15,14 +15,8 @@ class Layout {
 | 
				
			|||||||
		$version = "Shimmie-".VERSION;
 | 
							$version = "Shimmie-".VERSION;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		$header_html = "";
 | 
							$header_html = "";
 | 
				
			||||||
		$footer_html = "";
 | 
					 | 
				
			||||||
		foreach($page->headers as $line) {
 | 
							foreach($page->headers as $line) {
 | 
				
			||||||
			if(strpos($line, "script src=") > 0) {
 | 
								$header_html .= "\t\t$line\n";
 | 
				
			||||||
				$footer_html .= "\t\t$line\n";
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
			else {
 | 
					 | 
				
			||||||
				$header_html .= "\t\t$line\n";
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		$left_block_html = "";
 | 
							$left_block_html = "";
 | 
				
			||||||
@ -76,7 +70,6 @@ $header_html
 | 
				
			|||||||
			based on the Danbooru concept.
 | 
								based on the Danbooru concept.
 | 
				
			||||||
			$debug
 | 
								$debug
 | 
				
			||||||
			$contact
 | 
								$contact
 | 
				
			||||||
			$footer_html
 | 
					 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
	</body>
 | 
						</body>
 | 
				
			||||||
</html>
 | 
					</html>
 | 
				
			||||||
 | 
				
			|||||||
@ -15,14 +15,8 @@ class Layout {
 | 
				
			|||||||
		$version = "Shimmie-".VERSION;
 | 
							$version = "Shimmie-".VERSION;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		$header_html = "";
 | 
							$header_html = "";
 | 
				
			||||||
		$footer_html = "";
 | 
					 | 
				
			||||||
		foreach($page->headers as $line) {
 | 
							foreach($page->headers as $line) {
 | 
				
			||||||
			if(strpos($line, "script src=") > 0) {
 | 
								$header_html .= "\t\t$line\n";
 | 
				
			||||||
				$footer_html .= "\t\t$line\n";
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
			else {
 | 
					 | 
				
			||||||
				$header_html .= "\t\t$line\n";
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		$left_block_html = "";
 | 
							$left_block_html = "";
 | 
				
			||||||
@ -88,7 +82,6 @@ $header_html
 | 
				
			|||||||
			based on the Danbooru concept.
 | 
								based on the Danbooru concept.
 | 
				
			||||||
			$debug
 | 
								$debug
 | 
				
			||||||
			$contact
 | 
								$contact
 | 
				
			||||||
			$footer_html
 | 
					 | 
				
			||||||
		</div>
 | 
							</div>
 | 
				
			||||||
	</body>
 | 
						</body>
 | 
				
			||||||
</html>
 | 
					</html>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user