diff --git a/index.php b/index.php index f5b63959..e8ef5e5e 100644 --- a/index.php +++ b/index.php @@ -55,8 +55,8 @@ define("DEBUG", true); define("COVERAGE", true); define("CACHE_MEMCACHE", false); define("CACHE_DIR", false); -define("SCORE_VERSION", 's2hack'); define("VERSION", '2.3-beta10'); +define("SCORE_VERSION", 's2hack/'.VERSION); define("COOKIE_PREFIX", 'shm'); if(!file_exists("config.php")) { diff --git a/themes/danbooru/layout.class.php b/themes/danbooru/layout.class.php index af2aa468..066ff34a 100644 --- a/themes/danbooru/layout.class.php +++ b/themes/danbooru/layout.class.php @@ -50,7 +50,6 @@ class Layout { $base_href = $config->get_string('base_href'); $data_href = get_base_href(); $contact_link = $config->get_string('contact_link'); - $version = "Shimmie-".VERSION; $header_html = ""; @@ -203,7 +202,7 @@ $header_html <div id="footer"> <em> Images © their respective owners, - <a href="http://code.shishnet.org/shimmie2/">$version</a> © + <a href="http://code.shishnet.org/shimmie2/">Shimmie</a> © <a href="http://www.shishnet.org/">Shish</a> 2007-2009, based on the Danbooru concept. $debug diff --git a/themes/default/layout.class.php b/themes/default/layout.class.php index 16dcf6ef..41eb17b9 100644 --- a/themes/default/layout.class.php +++ b/themes/default/layout.class.php @@ -12,7 +12,6 @@ class Layout { $theme_name = $config->get_string('theme', 'default'); $data_href = get_base_href(); $contact_link = $config->get_string('contact_link'); - $version = "Shimmie-".VERSION; $header_html = ""; foreach($page->headers as $line) { @@ -70,7 +69,7 @@ $header_html <div id="footer"> Images © their respective owners, - <a href="http://code.shishnet.org/shimmie2/">$version</a> © + <a href="http://code.shishnet.org/shimmie2/">Shimmie</a> © <a href="http://www.shishnet.org/">Shish</a> 2007-2009, based on the Danbooru concept. $debug diff --git a/themes/futaba/layout.class.php b/themes/futaba/layout.class.php index 72b63387..e5c03eb3 100644 --- a/themes/futaba/layout.class.php +++ b/themes/futaba/layout.class.php @@ -7,7 +7,6 @@ class Layout { $theme_name = $config->get_string('theme', 'default'); $data_href = get_base_href(); $contact_link = $config->get_string('contact_link'); - $version = "Shimmie-".VERSION; $header_html = ""; foreach($page->headers as $line) { @@ -73,7 +72,7 @@ $header_html <div id="footer"> <hr> Images © their respective owners, - <a href="http://code.shishnet.org/shimmie2/">$version</a> © + <a href="http://code.shishnet.org/shimmie2/">Shimmie</a> © <a href="http://www.shishnet.org/">Shish</a> 2007-2009, based on the Danbooru concept. <br>Futaba theme based on 4chan's layout and CSS :3 diff --git a/themes/old_default/layout.class.php b/themes/old_default/layout.class.php index b6b25d7a..e4145270 100644 --- a/themes/old_default/layout.class.php +++ b/themes/old_default/layout.class.php @@ -7,7 +7,6 @@ class Layout { $theme_name = $config->get_string('theme', 'default'); $data_href = get_base_href(); $contact_link = $config->get_string('contact_link'); - $version = "Shimmie-".VERSION; $header_html = ""; foreach($page->headers as $line) { @@ -63,7 +62,7 @@ $header_html <div id="footer"> <hr> Images © their respective owners, - <a href="http://code.shishnet.org/shimmie2/">$version</a> © + <a href="http://code.shishnet.org/shimmie2/">Shimmie</a> © <a href="http://www.shishnet.org/">Shish</a> 2007-2009, based on the Danbooru concept. $debug diff --git a/themes/warm/layout.class.php b/themes/warm/layout.class.php index 78e9927a..9bdd7a39 100644 --- a/themes/warm/layout.class.php +++ b/themes/warm/layout.class.php @@ -12,7 +12,6 @@ class Layout { $theme_name = $config->get_string('theme', 'default'); $data_href = get_base_href(); $contact_link = $config->get_string('contact_link'); - $version = "Shimmie-".VERSION; $header_html = ""; foreach($page->headers as $line) { @@ -77,7 +76,7 @@ $header_html <div id="footer"> Images © their respective owners, - <a href="http://code.shishnet.org/shimmie2/">$version</a> © + <a href="http://code.shishnet.org/shimmie2/">Shimmie</a> © <a href="http://www.shishnet.org/">Shish</a> 2007-2009, based on the Danbooru concept. $debug