Add parameter so new script.js is pulled down

This commit is contained in:
Travis Burtrum 2016-04-28 21:03:28 -04:00
parent fb9cf72df9
commit b9c3b744bd
7 changed files with 490 additions and 490 deletions

View File

@ -100,7 +100,7 @@ function template_html_above()
// Here comes the JavaScript bits!
echo '
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin21"></script>
<script type="text/javascript" src="', $settings['theme_url'], '/scripts/theme.js?fin20"></script>
<script type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "', $settings['theme_url'], '";

View File

@ -22,7 +22,7 @@ function template_popup()
<meta name="robots" content="noindex" />
<title>', $context['page_title'], '</title>
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/css/index.css" />
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js"></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin21"></script>
</head>
<body id="help_popup">
<div class="windowbg description">
@ -45,7 +45,7 @@ function template_find_members()
<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
<meta name="robots" content="noindex" />
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/css/index.css" />
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js"></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin21"></script>
<script type="text/javascript"><!-- // --><![CDATA[
var membersAdded = [];
function addMember(name)

View File

@ -1525,7 +1525,7 @@ function template_view_operations()
<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/css/index.css" />
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/css/admin.css" />
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin21"></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/theme.js?fin20"></script>
</head>
<body>

View File

@ -919,7 +919,7 @@ function template_spellcheck()
var spell_fieldname = window.opener.spell_fieldname;
// ]]></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/spellcheck.js"></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js"></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin21"></script>
<script type="text/javascript"><!-- // --><![CDATA[
', $context['spell_js'], '
// ]]></script>
@ -958,7 +958,7 @@ function template_quotefast()
<head>
<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
<title>', $txt['retrieving_quote'], '</title>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js"></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin21"></script>
</head>
<body>
', $txt['retrieving_quote'], '

View File

@ -101,7 +101,7 @@ function template_html_above()
// Here comes the JavaScript bits!
echo '
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin20"></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin21"></script>
<script type="text/javascript" src="', $settings['theme_url'], '/scripts/theme.js?fin20"></script>
<script type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "', $settings['theme_url'], '";

View File

@ -451,7 +451,7 @@ function template_sphinx_config_above($title)
<html>
<head>
<title>SMF Sphinx Configuration Utility</title>
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin21"></script>
<link rel="stylesheet" type="text/css" href="', $smfsite, '/style.css" />
</head>
<body>

View File

@ -419,7 +419,7 @@ function template_ssi_above()
<head>
<title>SMF 2.0 SSI.php Examples</title>
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/css/index.css?fin20" />
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js"></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/script.js?fin21"></script>
<style type="text/css">
#wrapper
{