mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Stop versioning built wrapper.inc.php file
This commit is contained in:
parent
ef3d2b93bf
commit
e74e968e19
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -41,5 +41,6 @@ package-lock.json
|
|||
|
||||
/replays/caches/
|
||||
/replays/replay-config.inc.php
|
||||
/replays/theme/wrapper.inc.php
|
||||
|
||||
.vscode
|
||||
|
|
|
|||
|
|
@ -1,110 +0,0 @@
|
|||
<?php
|
||||
|
||||
if ((substr($_SERVER['REMOTE_ADDR'],0,11) === '69.164.163.') ||
|
||||
(substr(@$_SERVER['HTTP_X_FORWARDED_FOR'],0,11) === '69.164.163.')) {
|
||||
die('website disabled');
|
||||
}
|
||||
|
||||
/********************************************************************
|
||||
* Header
|
||||
********************************************************************/
|
||||
|
||||
function ThemeHeaderTemplate() {
|
||||
global $panels;
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
|
||||
<meta charset="utf-8" />
|
||||
|
||||
<title><?php if ($panels->pagetitle) echo htmlspecialchars($panels->pagetitle).' - '; ?>Pokémon Showdown</title>
|
||||
|
||||
<?php if ($panels->pagedescription) { ?>
|
||||
<meta name="description" content="<?php echo htmlspecialchars($panels->pagedescription); ?>" />
|
||||
<?php } ?>
|
||||
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=IE8" />
|
||||
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/font-awesome.css" />
|
||||
<link rel="stylesheet" href="//pokemonshowdown.com/forum/theme/panels.css" />
|
||||
<link rel="stylesheet" href="//pokemonshowdown.com/theme/main.css" />
|
||||
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/battle.css?24e88eca" />
|
||||
<link rel="stylesheet" href="//play.pokemonshowdown.com/style/replay.css?cfa51183" />
|
||||
|
||||
<!-- Workarounds for IE bugs to display trees correctly. -->
|
||||
<!--[if lte IE 6]><style> li.tree { height: 1px; } </style><![endif]-->
|
||||
<!--[if IE 7]><style> li.tree { zoom: 1; } </style><![endif]-->
|
||||
|
||||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-26211653-1']);
|
||||
_gaq.push(['_setDomainName', 'pokemonshowdown.com']);
|
||||
_gaq.push(['_setAllowLinker', true]);
|
||||
_gaq.push(['_trackPageview']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
</script>
|
||||
</head><body>
|
||||
|
||||
<div class="pfx-topbar">
|
||||
<div class="header">
|
||||
<ul class="nav">
|
||||
<li><a class="button nav-first<?php if ($panels->tab === 'home') echo ' cur'; ?>" href="//pokemonshowdown.com/"><img src="//pokemonshowdown.com/images/pokemonshowdownbeta.png" alt="Pokémon Showdown! (beta)" /> Home</a></li>
|
||||
<li><a class="button<?php if ($panels->tab === 'pokedex') echo ' cur'; ?>" href="//dex.pokemonshowdown.com/">Pokédex</a></li>
|
||||
<li><a class="button<?php if ($panels->tab === 'replay') echo ' cur'; ?>" href="/">Replays</a></li>
|
||||
<li><a class="button<?php if ($panels->tab === 'ladder') echo ' cur'; ?>" href="//pokemonshowdown.com/ladder/">Ladder</a></li>
|
||||
<li><a class="button nav-last" href="//pokemonshowdown.com/forums/">Forum</a></li>
|
||||
</ul>
|
||||
<ul class="nav nav-play">
|
||||
<li><a class="button greenbutton nav-first nav-last" href="http://play.pokemonshowdown.com/">Play</a></li>
|
||||
</ul>
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
/********************************************************************
|
||||
* Footer
|
||||
********************************************************************/
|
||||
|
||||
function ThemeScriptsTemplate() {
|
||||
?>
|
||||
<script src="//play.pokemonshowdown.com/js/lib/jquery-1.11.0.min.js"></script>
|
||||
<script src="//play.pokemonshowdown.com/js/lib/lodash.core.js"></script>
|
||||
<script src="//play.pokemonshowdown.com/js/lib/backbone.js"></script>
|
||||
<script src="//dex.pokemonshowdown.com/js/panels.js"></script>
|
||||
<?php
|
||||
}
|
||||
|
||||
function ThemeFooterTemplate() {
|
||||
global $panels;
|
||||
?>
|
||||
<?php $panels->scripts(); ?>
|
||||
|
||||
<script src="//play.pokemonshowdown.com/js/lib/jquery-cookie.js"></script>
|
||||
<script src="//play.pokemonshowdown.com/js/lib/html-sanitizer-minified.js"></script>
|
||||
<script src="//play.pokemonshowdown.com/js/lib/soundmanager2-nodebug-jsmin.js?2de76b4b"></script>
|
||||
<script>
|
||||
soundManager.setup({url: '//play.pokemonshowdown.com/swf/'});
|
||||
</script>
|
||||
<script src="//play.pokemonshowdown.com/config/config.js?2eb1b9d3"></script>
|
||||
<script src="//play.pokemonshowdown.com/js/battledata.js?590e5ef9"></script>
|
||||
<script src="//play.pokemonshowdown.com/data/pokedex-mini.js?d43512b9"></script>
|
||||
<script src="//play.pokemonshowdown.com/data/pokedex-mini-bw.js?616fd068"></script>
|
||||
<script src="//play.pokemonshowdown.com/data/graphics.js?df20bee4"></script>
|
||||
<script src="//play.pokemonshowdown.com/data/pokedex.js?7f2bd4f0"></script>
|
||||
<script src="//play.pokemonshowdown.com/data/items.js?bbd626f5"></script>
|
||||
<script src="//play.pokemonshowdown.com/data/moves.js?5c0fdec9"></script>
|
||||
<script src="//play.pokemonshowdown.com/data/abilities.js?ab314611"></script>
|
||||
<script src="//play.pokemonshowdown.com/data/teambuilder-tables.js?88ee7998"></script>
|
||||
<script src="//play.pokemonshowdown.com/js/battle-tooltips.js?0f1f5fa6"></script>
|
||||
<script src="//play.pokemonshowdown.com/js/battle.js?f2797548"></script>
|
||||
<script src="/js/replay.js?f7d435c0"></script>
|
||||
|
||||
</body></html>
|
||||
<?php
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user