old_contents:
<cfscript>

	// Use this file to set variables for the Application.cfc's "this" scope.

	// Examples:
	// this.name = "MyAppName";
	// this.sessionTimeout = CreateTimeSpan(0,0,5,0);

	// Just to make our test suite pass for now.
	this.disableEngineCheck = true;

</cfscript>

new_contents:
<cfscript>

	// Use this file to set variables for the Application.cfc's "this" scope.

	// Examples:
	// this.name = "MyAppName";
	// this.sessionTimeout = CreateTimeSpan(0,0,5,0);

</cfscript>

subject: Remove disableEngineCheck override for release.


old_contents:
<cftry>

<cfloop collection="#session.epos_archive#" item="key">
	<cfset ref = StructFind(session.epos_archive, key)>
	<cfset frame = StructCopy(ref)>
	<cfset StructDelete(session, "basket")>
	<cfset StructInsert(session, "basket", frame)>
	<cfset StructDelete(session.epos_archive, key)>
</cfloop>

<cfcatch type="any">
	<cfset writeDumpToFile(cfcatch)>
</cfcatch>
</cftry>

new_contents:
<cftry>

	<cfloop collection="#session.epos_archive#" item="key">
		<cfset ref = StructFind(session.epos_archive, key)>
		<cfset frame = StructCopy(ref)>
		<cfset StructDelete(session, "basket")>
		<cfset StructInsert(session, "basket", frame)>
		<cfset StructDelete(session.epos_archive, key)>
	</cfloop>
	<cfset session.till.isTranOpen = true>

<cfcatch type="any">
	<cfset writeDumpToFile(cfcatch)>
</cfcatch>
</cftry>

subject: Fix basket total on resume basket

message: Fix basket total on resume basket

license: mit


old_contents:
<cfoutput>

	<cfloop query="rc.breadcrumbs">

#rc.breadcrumbs.title# /

	</cfloop>

#rc.Page.getTitle()#

#rc.Page.getContent()#
</cfoutput>

new_contents:
<cfoutput>
	<cfif !rc.Page.isRoot()>

			<cfloop query="rc.breadcrumbs">
#rc.breadcrumbs.title# /
</cfloop>

#rc.Page.getTitle()#

	</cfif>

	#rc.Page.getContent()#
</cfoutput>

subject: Hide breadcrumbs on home page.

message: Hide breadcrumbs on home page.


new_contents:
<cfimport prefix="mp" taglib="../extensions/customtags/" />
<cfimport prefix="common" taglib="../../extensions/customtags/common" />

<cfif structkeyexists(url,"topcat_name_urlsafe")>
	<cfif variables.topcat.recordcount>
		<mp:nav>
			<mpx:foobar />
		</mp:nav_new>
	<cfelse>
		<cfinclude template="missing.cfm" />
	</cfif>
<cfelse>
	<cfinclude template="missing.cfm" />
	<foo:bar /><baz:smeg />

	<foo:barbaz />
</cfif>

<cfscript>
include 'missing.cfm';
</cfscript>

subject: Add a cfscript include statement to the test template

repos: timbeadle/cfpathcheck


old_contents:
<cfscript>
	loc.iList = StructKeyList(application.wheels.plugins);
	loc.iEnd = ListLen(loc.iList);
	for (loc.i=1; loc.i <= loc.iEnd; loc.i++)
	{
		loc.iItem = ListGetAt(loc.iList, loc.i);
		loc.jList = StructKeyList(application.wheels.plugins[loc.iItem]);
		loc.jEnd = ListLen(loc.jList);
		for (loc.j=1; loc.j <= loc.jEnd; loc.j++)
		{
			loc.jItem = ListGetAt(loc.jList, loc.j);
			if (!ListFindNoCase("init,version", loc.jItem))
			{
				variables[loc.jItem] = application.wheels.plugins[loc.iItem][loc.jItem];
				if (StructKeyExists(variables, loc.jItem))
					variables.core[loc.jItem] = variables[loc.jItem];
			}
		}
	}
</cfscript>

new_contents:
<cfscript>
	loc.iList = StructKeyList(application.wheels.plugins);
	loc.iEnd = ListLen(loc.iList);
	for (loc.i=1; loc.i <= loc.iEnd; loc.i++)
	{
		loc.iItem = ListGetAt(loc.iList, loc.i);
		loc.jList = StructKeyList(application.wheels.plugins[loc.iItem]);
		loc.jEnd = ListLen(loc.jList);
		for (loc.j=1; loc.j <= loc.jEnd; loc.j++)
		{
			loc.jItem = ListGetAt(loc.jList, loc.j);
			if (!ListFindNoCase("init,version", loc.jItem))
			{
				if (StructKeyExists(variables, loc.jItem))
					variables.core[loc.jItem] = variables[loc.jItem];
				variables[loc.jItem] = application.wheels.plugins[loc.iItem][loc.jItem];
			}
		}
	}
</cfscript>

subject: Fix for stack overflow error when injecting plugin methods.


old_contents:
<cfquery datasource="testing">
	CREATE TABLE pet (name VARCHAR(20), owner VARCHAR(20),
       species VARCHAR(20), sex CHAR(1), birth DATE, death DATE);
</cfquery>
<cfscript>
	dump(getTimeZoneInfo());
	abort;
	o = getBeanFactory().getBean('commonService');
	results = o.getURL(sURL = request.sPHPURL & '/results/nfl');

	writeDump(DeserializeJSON(trim(results.fileContent)));

	return;

	o = getBeanFactory().getBean("weekService");
	writeDump(o.makeAutoPicks(181, 9));
	return;

	o = getBeanFactory().getBean("gameService");
	arWeek  = o.adminWeek(179)
	writeDump(o.getGameScores(arWeek));
	return;

	o = getBeanFactory().getBean("gameService");
	writeDump(o.callScoreAPI("Oklahoma State"));
	return;

	o = getBeanFactory().getBean("leagueGateway").get({ "sKey" = "NFLDog"});
	transaction{
		o.setSName("NFL Dog");
		o.setSKey("NFLDog");
		o.setBActive(1);
		o.save();
		transactionCommit();
	}
	return;
</cfscript>

new_contents:
<cfquery datasource="test2">
	CREATE TABLE pet (name VARCHAR(20), owner VARCHAR(20),
       species VARCHAR(20), sex CHAR(1), birth DATE, death DATE);
</cfquery>
<cfscript>
	dump(getTimeZoneInfo());
	abort;
	o = getBeanFactory().getBean('commonService');
	results = o.getURL(sURL = request.sPHPURL & '/results/nfl');

	writeDump(DeserializeJSON(trim(results.fileContent)));

	return;

	o = getBeanFactory().getBean("weekService");
	writeDump(o.makeAutoPicks(181, 9));
	return;

	o = getBeanFactory().getBean("gameService");
	arWeek  = o.adminWeek(179)
	writeDump(o.getGameScores(arWeek));
	return;

	o = getBeanFactory().getBean("gameService");
	writeDump(o.callScoreAPI("Oklahoma State"));
	return;

	o = getBeanFactory().getBean("leagueGateway").get({ "sKey" = "NFLDog"});
	transaction{
		o.setSName("NFL Dog");
		o.setSKey("NFLDog");
		o.setBActive(1);
		o.save();
		transactionCommit();
	}
	return;
</cfscript>

subject: Use new datasource to try and connect

message: Use new datasource to try and connect


old_contents:
<cfoutput>

ContentBox Google Code Prettify

Paste your code so we can magically prettify it on your site.

	#html.startForm(name="codeForm")#
		#html.textarea(name="code", label="Code: ", class="textfield", required="true", rows="10")#

		#html.label(field="lineNumbers",content="Show Line Numbers:")#
		#html.radioButton(name="lineNumbers",value=true)# Yes
		#html.radioButton(name="lineNumbers",checked=true,value=false)# No
	#html.endForm()#

	<button class="button2" onclick="embedCode()"> Embed Code </button>
	<button class="buttonred" onclick="closeRemoteModal()"> Cancel </button>

</cfoutput>

new_contents:
<cfoutput>

            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>

ContentBox Google Code Prettify

Paste your code so we can magically prettify it on your site.

				#html.startForm( name="codeForm" )#

						#html.label( field="code", content="Code:" )#
						#html.textarea( name="code", class="textfield form-control", required="true", rows="10" )#

						#html.label( field="lineNumbers", content="Show Line Numbers:" )#
						#html.radioButton( name="lineNumbers", value=true )# Yes
						#html.radioButton( name="lineNumbers", checked=true, value=false )# No

				#html.endForm()#

				<button class="button2" onclick="embedCode()"> Embed Code </button>
				<button class="buttonred" onclick="closeRemoteModal()"> Cancel </button>

</cfoutput>

subject: Update Entry.cfm for bootstrap layout and styles


old_contents:
<cfscript>

	// Use this file to set variables for the Application.cfc's "this" scope.

	// Examples:
	// this.name = "MyAppName";
	// this.sessionTimeout = CreateTimeSpan(0,0,5,0);

</cfscript>

new_contents:
<cfscript>

	// Use this file to set variables for the Application.cfc's "this" scope.

	// Examples:
	// this.name = "MyAppName";
	// this.sessionTimeout = CreateTimeSpan(0,0,5,0);

	// Just to make our test suite pass for now.
 	this.disableEngineCheck = true;

</cfscript>

subject: Add back the temporary disableEngineCheck so our test suite can run.


new_contents:
<cfscript>

	// Use this file to set variables for the Application.cfc's "this" scope.

	// Examples:
	// this.name = "MyAppName";
	// this.sessionTimeout = CreateTimeSpan(0,0,5,0);

	// Just to make our test suite pass for now.
 	this.disableEngineCheck = true;
</cfscript>

subject: Add Back Disable Engine Check

message: Add Back Disable Engine Check