# HG changeset patch # User Dan # Date 1210390371 14400 # Node ID 444c34a3886b087df0dec138aec5238b39e27fca # Parent fbe306070c40f98caf82146aba843942355226ae Rebrand as 1.0.5 (Ferrishyn) diff -r fbe306070c40 -r 444c34a3886b ajax.php --- a/ajax.php Fri May 09 23:32:00 2008 -0400 +++ b/ajax.php Fri May 09 23:32:51 2008 -0400 @@ -2,7 +2,7 @@ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0.4 (Ellyyllon) + * Version 1.0.5 (Ferrishyn) * Copyright (C) 2006-2007 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License diff -r fbe306070c40 -r 444c34a3886b cron.php --- a/cron.php Fri May 09 23:32:00 2008 -0400 +++ b/cron.php Fri May 09 23:32:51 2008 -0400 @@ -2,7 +2,7 @@ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0.4 (Ellyyllon) + * Version 1.0.5 (Ferrishyn) * Copyright (C) 2006-2007 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License diff -r fbe306070c40 -r 444c34a3886b includes/captcha.php --- a/includes/captcha.php Fri May 09 23:32:00 2008 -0400 +++ b/includes/captcha.php Fri May 09 23:32:51 2008 -0400 @@ -2,7 +2,7 @@ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0.4 (Ellyyllon) + * Version 1.0.5 (Ferrishyn) * Copyright (C) 2006-2007 Dan Fuhry * captcha.php - visual confirmation system used during registration * diff -r fbe306070c40 -r 444c34a3886b includes/clientside/ie-png.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/includes/clientside/ie-png.js Fri May 09 23:32:51 2008 -0400 @@ -0,0 +1,67 @@ +// ScriptingMagic PNG hack for IE +// Source: http://www.scriptingmagic.com/Topics/IE%20Specific/PNG%20Transparency/ + +if ( typeof ScriptingMagic == "undefined" ) +{ + var ScriptingMagic = {} +} +ScriptingMagic.fixPNG = function() {}; +var smFixPNGOnload = ( + function() + { + if ( !document.all || window.opera ) + { + return; + } + var a = parseFloat(navigator.appVersion.match(/MSIE (\d.*)/)[1]); + if ( ( a < 5.5 ) || ( a >= 7 ) ) + { + return; + } + if ( document.styleSheets.length == 0 ) + { + document.body.appendChild(document.createElement("style")); + } + var src_clause = 'src=\'"+this.nextSibling.src.replace(/\'/g,"%27")+"\')"'; + document.styleSheets[document.styleSheets.length-1].addRule(".sm-iepng-backdrop", 'position: absolute; z-index: expression(this.nextSibling.currentStyle.zIndex); top: expression(this.nextSibling.offsetTop); left: expression(this.nextSibling.offsetLeft); height: expression(this.nextSibling.offsetHeight); width: expression(this.nextSibling.offsetWidth); filter: expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(' + src_clause + ');'); + window.ScriptingMagic.fixPNG = function(b) + { + b.style.filter="alpha(opacity=0)"; + var c = document.createElement("div"); + c.className = "sm-iepng-backdrop"; + if ( b.currentStyle.position.match(/^static$/i) ) + { + b.style.position = "relative"; + } + b.parentNode.insertBefore(c,b); + c = null + }; + var b = [], c, d, e, f; + var g = document.getElementsByTagName("img"); + for ( c = 0, d = g.length; c < d; c++ ) + { + b[b.length] = g[c]; + } + var h = document.getElementsByTagName("input"); + for ( c = 0, d = h.length; c < d; c++ ) + { + e = h[c]; + if ( e.type && e.type.match(/^image$/i) ) + { + b[b.length] = e; + } + } + for ( c = 0, d = b.length; c < d; c++ ) + { + e = b[c]; + window.ScriptingMagic.fixPNG(e); + } + a = b = c = d = e = f = g = h = null; + } +); + +addOnloadHook(smFixPNGOnload); + +ScriptingMagic.fixPNG.version = 1.4; +ScriptingMagic.fixPNG.release = new Date("Jan 1, 2007"); + diff -r fbe306070c40 -r 444c34a3886b includes/clientside/jsres.php --- a/includes/clientside/jsres.php Fri May 09 23:32:00 2008 -0400 +++ b/includes/clientside/jsres.php Fri May 09 23:32:51 2008 -0400 @@ -2,7 +2,7 @@ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0.4 (Ellyyllon) + * Version 1.0.5 (Ferrishyn) * Copyright (C) 2006-2007 Dan Fuhry * jsres.php - the Enano client-side runtime, a.k.a. AJAX on steroids * @@ -40,7 +40,7 @@ { echo "/* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0.4 (Ellyyllon) + * Version 1.0.5 (Ferrishyn) * [Aggressively compressed] Javascript client code * Copyright (C) 2006-2007 Dan Fuhry * Enano is Free Software, licensed under the GNU General Public License; see http://enanocms.org/ for details. diff -r fbe306070c40 -r 444c34a3886b includes/comment.php --- a/includes/comment.php Fri May 09 23:32:00 2008 -0400 +++ b/includes/comment.php Fri May 09 23:32:51 2008 -0400 @@ -2,7 +2,7 @@ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0.4 (Ellyyllon) + * Version 1.0.5 (Ferrishyn) * Copyright (C) 2006-2007 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License diff -r fbe306070c40 -r 444c34a3886b includes/common.php --- a/includes/common.php Fri May 09 23:32:00 2008 -0400 +++ b/includes/common.php Fri May 09 23:32:51 2008 -0400 @@ -2,7 +2,7 @@ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0.4 (Ellyyllon) + * Version 1.0.5 (Ferrishyn) * Copyright (C) 2006-2007 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License @@ -37,7 +37,7 @@ // be the expected output of enano_version(), which will always be in the // format of 1.0.2, 1.0.2a1, 1.0.2b1, 1.0.2RC1 // You'll want to change this for custom distributions. -$version = '1.0.4'; +$version = '1.0.5'; /** * Returns a floating-point number with the current UNIX timestamp in microseconds. Defined very early because we gotta call it diff -r fbe306070c40 -r 444c34a3886b includes/constants.php --- a/includes/constants.php Fri May 09 23:32:00 2008 -0400 +++ b/includes/constants.php Fri May 09 23:32:51 2008 -0400 @@ -2,7 +2,7 @@ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0.4 (Ellyyllon) + * Version 1.0.5 (Ferrishyn) * Copyright (C) 2006-2007 Dan Fuhry * constants.php - important defines used Enano-wide * diff -r fbe306070c40 -r 444c34a3886b includes/dbal.php --- a/includes/dbal.php Fri May 09 23:32:00 2008 -0400 +++ b/includes/dbal.php Fri May 09 23:32:51 2008 -0400 @@ -2,7 +2,7 @@ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0.4 (Ellyyllon) + * Version 1.0.5 (Ferrishyn) * Copyright (C) 2006-2007 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License diff -r fbe306070c40 -r 444c34a3886b includes/email.php --- a/includes/email.php Fri May 09 23:32:00 2008 -0400 +++ b/includes/email.php Fri May 09 23:32:51 2008 -0400 @@ -2,7 +2,7 @@ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0.4 (Ellyyllon) + * Version 1.0.5 (Ferrishyn) * Copyright (C) 2006-2007 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License diff -r fbe306070c40 -r 444c34a3886b includes/functions.php --- a/includes/functions.php Fri May 09 23:32:00 2008 -0400 +++ b/includes/functions.php Fri May 09 23:32:51 2008 -0400 @@ -2,7 +2,7 @@ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0.4 (Ellyyllon) + * Version 1.0.5 (Ferrishyn) * Copyright (C) 2006-2007 Dan Fuhry * * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License @@ -1138,7 +1138,8 @@ '1.0.2b1'=> 'Coblynau unstable', '1.0.2' => 'Coblynau', '1.0.3' => 'Dyrad', - '1.0.4' => 'Ellyyllon' + '1.0.4' => 'Ellyyllon', + '1.0.5' => 'Ferrishyn' ); $version = enano_version(); if ( isset($names[$version]) ) diff -r fbe306070c40 -r 444c34a3886b includes/js-compressor.php --- a/includes/js-compressor.php Fri May 09 23:32:00 2008 -0400 +++ b/includes/js-compressor.php Fri May 09 23:32:51 2008 -0400 @@ -2,7 +2,7 @@ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0.4 (Ellyyllon) + * Version 1.0.5 (Ferrishyn) * Copyright (C) 2006-2007 Dan Fuhry * Javascript compression library - used to compact the client-side Javascript code (all 72KB of it!) to save some bandwidth * diff -r fbe306070c40 -r 444c34a3886b includes/pageprocess.php --- a/includes/pageprocess.php Fri May 09 23:32:00 2008 -0400 +++ b/includes/pageprocess.php Fri May 09 23:32:51 2008 -0400 @@ -2,7 +2,7 @@ /* * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between - * Version 1.0.4 (Ellyyllon) + * Version 1.0.5 (Ferrishyn) * pageprocess.php - intelligent retrieval of pages * Copyright (C) 2006-2007 Dan Fuhry * diff -r fbe306070c40 -r 444c34a3886b includes/pageutils.php --- a/includes/pageutils.php Fri May 09 23:32:00 2008 -0400 +++ b/includes/pageutils.php Fri May 09 23:32:51 2008 -0400 @@ -1,7 +1,7 @@