diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-03-21 20:42:23 +0300 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-03-21 20:42:23 +0300 |
commit | ed7434bbe79a87378bc27b6e015b3012990656d9 (patch) | |
tree | a2f6d48e190ad09beae142c7b456de8e41befb37 /plugins/CoreHome | |
parent | 996e2f2ad91c6176276400af5f5f3cb81b313738 (diff) |
clean-up XHTML self-closing tags in preparation for validation; note: I skipped plugins/Live as there's a large patch to merge
Diffstat (limited to 'plugins/CoreHome')
-rw-r--r-- | plugins/CoreHome/templates/cloud.tpl | 2 | ||||
-rw-r--r-- | plugins/CoreHome/templates/datatable.js | 2 | ||||
-rw-r--r-- | plugins/CoreHome/templates/date.js | 2 | ||||
-rw-r--r-- | plugins/CoreHome/templates/header_message.tpl | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CoreHome/templates/cloud.tpl b/plugins/CoreHome/templates/cloud.tpl index 18d24c1e7e..b04f1480f5 100644 --- a/plugins/CoreHome/templates/cloud.tpl +++ b/plugins/CoreHome/templates/cloud.tpl @@ -6,7 +6,7 @@ {foreach from=$cloudValues key=word item=value} <span title="{$value.word} ({$value.value} {$columnTranslation})" class="word size{$value.size} {* we strike tags with 0 hits *} {if $value.value == 0}valueIsZero{/if}"> {if false !== $labelMetadata[$value.word].url}<a href="{$labelMetadata[$value.word].url}" target="_blank">{/if} - {if false !== $labelMetadata[$value.word].logo}<img src="{$labelMetadata[$value.word].logo}" width="{$value.logoWidth}">{else} + {if false !== $labelMetadata[$value.word].logo}<img src="{$labelMetadata[$value.word].logo}" width="{$value.logoWidth}" />{else} {$value.wordTruncated}{/if}{if false !== $labelMetadata[$value.word].url}</a>{/if}</span> {/foreach} {/if} diff --git a/plugins/CoreHome/templates/datatable.js b/plugins/CoreHome/templates/datatable.js index ce72bbba66..b3328fd975 100644 --- a/plugins/CoreHome/templates/datatable.js +++ b/plugins/CoreHome/templates/datatable.js @@ -347,7 +347,7 @@ dataTable.prototype = { var target = this; var clearImg = $('<span style="position: relative;">\ - <img src="plugins/CoreHome/templates/images/reset_search.png" style="position: absolute; top: 4px; left: -15px; cursor: pointer; display: inline;" title="Clear"/>\ + <img src="plugins/CoreHome/templates/images/reset_search.png" style="position: absolute; top: 4px; left: -15px; cursor: pointer; display: inline;" title="Clear" />\ </span>') .click( function() { $('#keyword', target).val(''); diff --git a/plugins/CoreHome/templates/date.js b/plugins/CoreHome/templates/date.js index 7745434e7b..4b33793a55 100644 --- a/plugins/CoreHome/templates/date.js +++ b/plugins/CoreHome/templates/date.js @@ -54,7 +54,7 @@ $(document).ready(function(){ { $("#currentPeriod:not(.hoverPeriod)") .addClass("hoverPeriod") - .append(' <img src="plugins/CoreHome/templates/images/more_period.gif" style="vertical-align:middle">'); + .append(' <img src="plugins/CoreHome/templates/images/more_period.gif" style="vertical-align:middle" />'); } }, function(){ restoreCurrentPeriod(); diff --git a/plugins/CoreHome/templates/header_message.tpl b/plugins/CoreHome/templates/header_message.tpl index 2a5f3a5ee6..5b8c194ccc 100644 --- a/plugins/CoreHome/templates/header_message.tpl +++ b/plugins/CoreHome/templates/header_message.tpl @@ -2,7 +2,7 @@ {if $piwikUrl == 'http://piwik.org/demo/'} {'General_YouAreCurrentlyViewingDemoOfPiwik'|translate:"<a target='_blank' href='http://piwik.org'>Piwik</a>":"<a href='http://piwik.org/'>":"</a>":"<a href='http://piwik.org'>piwik.org</a>"} {elseif $latest_version_available} - <img src='themes/default/images/warning_small.png' alt='' style="vertical-align: middle;"> + <img src='themes/default/images/warning_small.png' alt='' style="vertical-align: middle;" /> {'General_PiwikXIsAvailablePleaseUpdateNow'|translate:$latest_version_available:"<br /><a href='index.php?module=CoreUpdater&action=newVersionAvailable'>":"</a>":"<a href='misc/redirectToUrl.php?url=http://piwik.org/changelog/' target='_blank'>":"</a>"} {else} {'General_PiwikIsACollaborativeProjectYouCanContribute'|translate:"<a href='misc/redirectToUrl.php?url=http://piwik.org'>":"$piwik_version</a>":"<br />":"<a target='_blank' href='misc/redirectToUrl.php?url=http://piwik.org/contribute/'>":"</a>"} |