MyBB Community Forums
Check Templates - Printable Version

+- MyBB Community Forums (
+-- Forum: Community Archive (
+--- Forum: Archived Forums (
+---- Forum: Archived Development and Support (
+----- Forum: MyBB 1.6 (
+------ Forum: 1.6 Security Management and Support (
+------ Thread: Check Templates (/thread-125774.html)

Check Templates - Ted S - 2012-09-07

When I run this its saying The templates below matched known security issues. Please review them.

Nano theme = Calendar

	<title>{$mybb->settings['bbname']} - {$lang->calendar}</title>
		<div class="thead"">
					<div class="float_right">
						<a href="{$prev_link}">&laquo; {$monthnames[$prev_month['month']]} {$prev_month['year']}</a> | <a href="{$next_link}">{$monthnames[$next_month['month']]} {$next_month['year']} &raquo;</a>
					<div><strong>{$monthnames[$month]} {$year}</strong></div>
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
				<td class="tcat">&nbsp;</td>
	<div class="tfoot"></div>
<br />
<form action="calendar.php" method="post">
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
			<td class="trow1">
				<table width="100%" cellspacing="0" cellpadding="0" border="0">
						<td class="trow1" valign="top">{$addevent}</td>
						<td class="trow1" align="right">
						<span class="smalltext"><strong>{$lang->jump_month}</strong></span>
						<select name="month">
							<option value="{$month}">{$monthnames[$month]}</option>
							<option value="{$month}">----------</option>
							<option value="1">{$lang->alt_month_1}</option>
							<option value="2">{$lang->alt_month_2}</option>
							<option value="3">{$lang->alt_month_3}</option>
							<option value="4">{$lang->alt_month_4}</option>
							<option value="5">{$lang->alt_month_5}</option>
							<option value="6">{$lang->alt_month_6}</option>
							<option value="7">{$lang->alt_month_7}</option>
							<option value="8">{$lang->alt_month_8}</option>
							<option value="9">{$lang->alt_month_9}</option>
							<option value="10">{$lang->alt_month_10}</option>
							<option value="11">{$lang->alt_month_11}</option>
							<option value="12">{$lang->alt_month_12}</option>
						<select name="year">
							<option value="{$year}">{$year}</option>
							<option value="{$year}">----------</option>
						<br /><br />
						<span class="smalltext"><strong>{$lang->jump_to_calendar}</strong></span>
	<div class="tfoot"></div>

RE: Check Templates - Leefish - 2012-09-07

Try reverting the template, most themes do not modify the calendar.

Have you checked for templates requiring updates?

RE: Check Templates - Ted S - 2012-09-07

Thanks for reply lee, and yes I've updated templates. I'll try to revert later after work though

RE: Check Templates - Josh H. - 2012-09-07

If you wrap the code in the php BBCode, it would be easier to figure out due to the highlighting.

RE: Check Templates - Ted S - 2012-09-08

Reverting did the trick, thankyou leefish +. Still a huge fan of your work.

RE: Check Templates - Leefish - 2012-09-08

You're welcome Ted. Hope to see you about on leefish Big Grin