mirror of
				https://github.com/phpbb/phpbb.git
				synced 2025-10-29 06:26:22 +01:00 
			
		
		
		
	The file core.js sets up most of the AJAX and jQuery related framework for phpBB. Due to this, it needs to be included before any other javascript file in order to ensure that subsequent files can use the phpBB variables and functions. Currently, it is however loaded with INCLUDEJS in overall_footer which causes it to be loaded after every other javascript file except for the style specific ajax.js. This causes every javascript file that is included before core.js and is using the phpBB AJAX functions or variables to break. PHPBB3-11809
		
			
				
	
	
		
			71 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			71 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| 	</div>
 | |
| 
 | |
| <div id="page-footer">
 | |
| 
 | |
| 	<div class="navbar">
 | |
| 		<div class="inner">
 | |
| 
 | |
| 		<ul class="linklist leftside bulletin">
 | |
| 			<li class="icon-home"><!-- IF U_SITE_HOME --><a href="{U_SITE_HOME}">{L_SITE_HOME}</a> <strong>‹</strong> <!-- ENDIF --><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a>
 | |
| 				<!-- EVENT overall_footer_breadcrumb_append -->
 | |
| 			</li>
 | |
| 			<!-- IF not S_IS_BOT -->
 | |
| 				<!-- IF U_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}" data-ajax="toggle_link" data-toggle-class="icon-<!-- IF not S_WATCHING_FORUM -->unsubscribe<!-- ELSE -->subscribe<!-- ENDIF -->" data-toggle-text="{S_WATCH_FORUM_TOGGLE}" data-toggle-url="{U_WATCH_FORUM_TOGGLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
 | |
| 				<!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{S_WATCH_TOPIC_TITLE}" data-ajax="toggle_link" data-toggle-class="<!-- IF not S_WATCHING_TOPIC -->icon-unsubscribe<!-- ELSE -->icon-subscribe<!-- ENDIF -->" data-toggle-text="{S_WATCH_TOPIC_TOGGLE}" data-toggle-url="{U_WATCH_TOPIC_TOGGLE}">{S_WATCH_TOPIC_TITLE}</a></li><!-- ENDIF -->
 | |
| 				<!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}" data-ajax="alt_text" data-alt-text="{S_BOOKMARK_TOGGLE}">{S_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
 | |
| 				<!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}" data-ajax="true">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
 | |
| 			<!-- ENDIF -->
 | |
| 		</ul>
 | |
| 		<ul class="linklist rightside bulletin">
 | |
| 			<!-- IF U_TEAM --><li><a href="{U_TEAM}">{L_THE_TEAM}</a><!-- ENDIF -->
 | |
| 			<!-- IF not S_IS_BOT --><li><a href="{U_DELETE_COOKIES}" data-ajax="true" data-refresh="true">{L_DELETE_COOKIES}</a></li><!-- ENDIF -->
 | |
| 			<li>{S_TIMEZONE}</li>
 | |
| 		</ul>
 | |
| 
 | |
| 		</div>
 | |
| 	</div>
 | |
| 
 | |
| 	<div class="copyright">
 | |
| 		<!-- EVENT overall_footer_copyright_prepend -->
 | |
| 		{CREDIT_LINE}
 | |
| 		<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
 | |
| 		<!-- EVENT overall_footer_copyright_append -->
 | |
| 		<!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
 | |
| 		<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
 | |
| 	</div>
 | |
| 
 | |
| 	<div id="darkenwrapper" data-ajax-error-title="{L_AJAX_ERROR_TITLE}" data-ajax-error-text="{L_AJAX_ERROR_TEXT}" data-ajax-error-text-abort="{L_AJAX_ERROR_TEXT_ABORT}" data-ajax-error-text-timeout="{L_AJAX_ERROR_TEXT_TIMEOUT}" data-ajax-error-text-parsererror="{L_AJAX_ERROR_TEXT_PARSERERROR}">
 | |
| 		<div id="darken"> </div>
 | |
| 		<div class="phpbb_alert" id="loadingalert"><h3>{L_LOADING}</h3><p>{L_PLEASE_WAIT}</p></div>
 | |
| 	</div>
 | |
| 
 | |
| 	<div id="phpbb_alert" class="phpbb_alert" data-l-err="{L_ERROR}" data-l-timeout-processing-req="{L_TIMEOUT_PROCESSING_REQ}">
 | |
| 		<a href="#" class="alert_close"></a>
 | |
| 		<h3 class="alert_title"></h3><p class="alert_text"></p>
 | |
| 	</div>
 | |
| 	<div id="phpbb_confirm" class="phpbb_alert">
 | |
| 		<a href="#" class="alert_close"></a>
 | |
| 		<div class="alert_text"></div>
 | |
| 	</div>
 | |
| </div>
 | |
| 
 | |
| </div>
 | |
| 
 | |
| <div>
 | |
| 	<a id="bottom" accesskey="z"></a>
 | |
| 	<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
 | |
| </div>
 | |
| 
 | |
| <script type="text/javascript" src="{T_JQUERY_LINK}"></script>
 | |
| <!-- IF S_JQUERY_FALLBACK --><script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.js?assets_version={T_ASSETS_VERSION}" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF -->
 | |
| <script type="text/javascript" src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
 | |
| <!-- INCLUDEJS forum_fn.js -->
 | |
| <!-- INCLUDEJS ajax.js -->
 | |
| 
 | |
| <!-- EVENT overall_footer_after -->
 | |
| 
 | |
| {$SCRIPTS}
 | |
| 
 | |
| </body>
 | |
| </html>
 |