Skip to content
Extraits de code Groupes Projets
Valider aa8b2f1f rédigé par sgiehl's avatar sgiehl
Parcourir les fichiers

added missing ';' / use double quotes for attribute values instead of single quotes

parent d6c007dd
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Affichage de
avec 62 ajouts et 62 suppressions
......@@ -10,9 +10,9 @@
</div>
<div class="annotation-period {% if annotation.canEditOrDelete %}annotation-enter-edit-mode{% endif %}">({{ annotation.date }})</div>
{% if annotation.canEditOrDelete %}
<div class="annotation-period-edit" style="display:none">
<div class="annotation-period-edit" style="display:none;">
<a href="#">{{ annotation.date }}</a>
<div class="datepicker" style="display:none"/>
<div class="datepicker" style="display:none;"/>
</div>
{% endif %}
</td>
......@@ -25,7 +25,7 @@
{% endif %}
</div>
{% if annotation.canEditOrDelete %}
<div class="annotation-edit-mode" style="display:none">
<div class="annotation-edit-mode" style="display:none;">
<input class="annotation-edit" type="text" value="{{ annotation.note|e('html') }}"/>
<br/>
<input class="annotation-save submit" type="button" value="{{ 'General_Save'|translate }}"/>
......@@ -37,7 +37,7 @@
<td class="annotation-user-cell">
<span class="annotation-user">{{ annotation.user }}</span><br/>
{% if annotation.canEditOrDelete %}
<a href="#" class="delete-annotation" style="display:none" title="{{ 'Annotations_ClickToDelete'|translate }}">{{ 'General_Delete'|translate }}</a>
<a href="#" class="delete-annotation" style="display:none;" title="{{ 'Annotations_ClickToDelete'|translate }}">{{ 'General_Delete'|translate }}</a>
{% endif %}
</td>
{% endif %}
......
......@@ -8,13 +8,13 @@
{% for annotation in annotations %}
{% include "@Annotations/_annotation.twig" %}
{% endfor %}
<tr class="new-annotation-row" style="display:none" data-date="{{ startDate }}">
<tr class="new-annotation-row" style="display:none;" data-date="{{ startDate }}">
<td class="annotation-meta">
<div class="annotation-star">&nbsp;</div>
<div class="annotation-period-edit">
<a href="#">{{ startDate }}</a>
<div class="datepicker" style="display:none"/>
<div class="datepicker" style="display:none;"/>
</div>
</td>
<td class="annotation-value">
......
......@@ -12,7 +12,7 @@
<div class="annotation-list">
{% include "@Annotations/_annotationList.twig" %}
<span class="loadingPiwik" style="display:none"><img src="plugins/Zeitgeist/images/loading-blue.gif"/>{{ 'General_Loading_js'|translate }}</span>
<span class="loadingPiwik" style="display:none;"><img src="plugins/Zeitgeist/images/loading-blue.gif"/>{{ 'General_Loading_js'|translate }}</span>
</div>
......
......@@ -12,8 +12,8 @@
{{ ajax.loadingDiv('ajaxLoading') }}
<table class="adminTable" style='width:900px;'>
<tr>
<td style='width:400px'>{{ 'General_AllowPiwikArchivingToTriggerBrowser'|translate }}</td>
<td style='width:220px'>
<td style="width:400px;">{{ 'General_AllowPiwikArchivingToTriggerBrowser'|translate }}</td>
<td style="width:220px;">
<fieldset>
<label>
<input type="radio" value="1" name="enableBrowserTriggerArchiving"{% if enableBrowserTriggerArchiving==1 %} checked="checked"{% endif %} />
......@@ -62,8 +62,8 @@
</td>
</tr>
<tr>
<td style='width:400px'>{{ 'CoreAdminHome_CheckReleaseGetVersion'|translate }}</td>
<td style='width:220px'>
<td style="width:400px;">{{ 'CoreAdminHome_CheckReleaseGetVersion'|translate }}</td>
<td style="width:220px;">
<fieldset>
<label><input type="radio" value="0" name="enableBetaReleaseCheck"{% if enableBetaReleaseCheck==0 %} checked="checked"{% endif %} />
{{ 'CoreAdminHome_LatestStableRelease'|translate }} <br/>
......@@ -92,7 +92,7 @@
<td>{{ 'General_UseSMTPServerForEmail'|translate }}<br/>
<span class="form-description">{{ 'General_SelectYesIfYouWantToSendEmailsViaServer'|translate }}</span>
</td>
<td style='width:200px'>
<td style="width:200px;">
<label><input type="radio" name="mailUseSmtp" value="1" {% if mail.transport == 'smtp' %} checked {% endif %}/> {{ 'General_Yes'|translate }}</label>
<label><input type="radio" name="mailUseSmtp" value="0"
style="margin-left:20px;" {% if mail.transport == '' %} checked {% endif %}/> {{ 'General_No'|translate }}</label>
......@@ -104,7 +104,7 @@
<table class="adminTable" style='width:550px;'>
<tr>
<td><label for="mailHost">{{ 'General_SmtpServerAddress'|translate }}</label></td>
<td style='width:200px'><input type="text" id="mailHost" value="{{ mail.host }}"></td>
<td style="width:200px;"><input type="text" id="mailHost" value="{{ mail.host }}"></td>
</tr>
<tr>
<td><label for="mailPort">{{ 'General_SmtpPort'|translate }}</label><br/>
......@@ -163,7 +163,7 @@
{# untrusted host warning (display again) #}
{% if isValidHost is defined and invalidHostMessage is defined and not isValidHost %}
<div class="ajaxSuccess">
<a style="float:right" href="http://piwik.org/faq/troubleshooting/#faq_171" target="_blank">
<a style="float:right;" href="http://piwik.org/faq/troubleshooting/#faq_171" target="_blank">
<img src="plugins/Zeitgeist/images/help_grey.png"/>
</a>
<strong>{{ 'General_Warning'|translate }}:&nbsp;</strong>{{ invalidHostMessage }}
......@@ -176,8 +176,8 @@
<p>{{ 'CoreAdminHome_PiwikIsInstalledAt'|translate }}:</p>
<table class="adminTable">
<tr>
<th style="width:250px">{{ 'CoreAdminHome_ValidPiwikHostname'|translate }}</th>
<th style="width:10px">&nbsp;</th>
<th style="width:250px;">{{ 'CoreAdminHome_ValidPiwikHostname'|translate }}</th>
<th style="width:10px;">&nbsp;</th>
</tr>
{% for hostIdx, host in trustedHosts %}
<tr>
......@@ -196,10 +196,10 @@
<h2>{{ 'CoreAdminHome_BrandingSettings'|translate }}</h2>
<div id='brandSettings'>
{{ 'CoreAdminHome_CustomLogoHelpText'|translate }}
<table class="adminTable" style='width:600px;'>
<table class="adminTable" style="width:600px;">
<tr>
<td>{{ 'CoreAdminHome_UseCustomLogo'|translate }}</td>
<td style='width:200px'>
<td style="width:200px;">
<label>
<input type="radio" name="useCustomLogo" value="1" {% if branding.use_custom_logo == 1 %} checked {% endif %}/>
{{ 'General_Yes'|translate }}
......@@ -227,7 +227,7 @@
<span class="form-description">{{ 'CoreAdminHome_LogoUploadDescription'|translate("JPG / PNG / GIF",110) }}</span>
</label>
</td>
<td style='width:200px'>
<td style="width:200px;">
<input name="customLogo" type="file" id="customLogo"/>
<img src="misc/user/logo.png?r={math equation='rand(10,1000)'}" id="currentLogo" height="150"/>
</td>
......
......@@ -32,7 +32,7 @@
<br/><br/><br/>
</div>
<table id="optional-js-tracking-options" class="adminTable" style='width:1024px'>
<table id="optional-js-tracking-options" class="adminTable" style="width:1024px;">
<tr>
<th>{{ 'General_Options'|translate }}</th>
<th>{{ 'Mobile_Advanced'|translate }}
......@@ -77,7 +77,7 @@
</td>
<td>
<div id="javascript-advanced-options" style="display:none">
<div id="javascript-advanced-options" style="display:none;">
{# visitor custom variable #}
<div class="custom-variable tracking-option-section" id="javascript-tracking-visitor-cv">
<input class="section-toggler-link" type="checkbox" id="javascript-tracking-visitor-cv-check" data-section-id="js-visitor-cv-extra"/>
......@@ -87,7 +87,7 @@
{{ 'CoreAdminHome_JSTracking_VisitorCustomVarsDesc'|translate }}
</div>
<table style="display:none" id="js-visitor-cv-extra">
<table style="display:none;" id="js-visitor-cv-extra">
<tr>
<td><strong>{{ 'General_Name'|translate }}</strong></td>
<td><input type="textbox" class="custom-variable-name" placeholder="e.g. Type"/></td>
......@@ -95,7 +95,7 @@
<td><input type="textbox" class="custom-variable-value" placeholder="e.g. Customer"/></td>
</tr>
<tr>
<td colspan="4" style="text-align:right">
<td colspan="4" style="text-align:right;">
<a href="#" class="add-custom-variable">{{ 'General_Add'|translate }}</a>
</td>
</tr>
......@@ -111,7 +111,7 @@
{{ 'CoreAdminHome_JSTracking_PageCustomVarsDesc'|translate }}
</div>
<table style="display:none" id="js-page-cv-extra">
<table style="display:none;" id="js-page-cv-extra">
<tr>
<td><strong>{{ 'General_Name'|translate }}</strong></td>
<td><input type="textbox" class="custom-variable-name" placeholder="e.g. Category"/></td>
......@@ -119,7 +119,7 @@
<td><input type="textbox" class="custom-variable-value" placeholder="e.g. White Papers"/></td>
</tr>
<tr>
<td colspan="4" style="text-align:right">
<td colspan="4" style="text-align:right;">
<a href="#" class="add-custom-variable">{{ 'General_Add'|translate }}</a>
</td>
</tr>
......@@ -151,7 +151,7 @@
{{ 'CoreAdminHome_JSTracking_CustomCampaignQueryParamDesc'|translate('<a href="http://piwik.org/faq/general/#faq_119" target="_blank">','</a>')|raw }}
</div>
<table style="display:none" id="js-campaign-query-param-extra">
<table style="display:none;" id="js-campaign-query-param-extra">
<tr>
<td><strong>{{ 'CoreAdminHome_JSTracking_CampaignNameParam'|translate }}</strong></td>
<td><input type="text" id="custom-campaign-name-query-param"/></td>
......@@ -219,13 +219,13 @@
</div>
</td>
<td>
<div id="image-tracker-advanced-options" style="display:none">
<div id="image-tracker-advanced-options" style="display:none;">
{# goal #}
<div class="goal-picker tracking-option-section">
<input class="section-toggler-link" type="checkbox" id="image-tracking-goal-check" data-section-id="image-goal-picker-extra"/>
<label for="image-tracking-goal-check">{{ 'CoreAdminHome_TrackAGoal'|translate }}</label>
<div style="display:none" id="image-goal-picker-extra">
<div style="display:none;" id="image-goal-picker-extra">
<select id="image-tracker-goal">
<option value="">{{ 'UserCountryMap_None'|translate }}</option>
</select>
......
......@@ -22,7 +22,7 @@
{% endif %}
{% if displayTable %}
<table style="border-collapse:collapse; margin-left: 5px">
<table style="border-collapse:collapse; margin-left: 5px;">
<thead style="background-color: rgb({{ tableHeaderBgColor }}); color: rgb({{ tableHeaderTextColor }}); font-size: {{ reportTableHeaderTextSize }}pt;">
{% for columnName in reportColumns %}
<th style="padding: 6px 0;">
......@@ -74,7 +74,7 @@
</table>
{% endif %}
<br/>
<a style="text-decoration:none; color: rgb({{ reportTitleTextColor }}); font-size: {{ reportBackToTopTextSize }}pt" href="#reportTop">
<a style="text-decoration:none; color: rgb({{ reportTitleTextColor }}); font-size: {{ reportBackToTopTextSize }}pt;" href="#reportTop">
{{ 'PDFReports_TopOfReport'|translate }}
</a>
{% endif %}
......@@ -18,7 +18,7 @@
</div>
<div style="float:left;max-width:900px;">
<div class="loadingPiwik" style="display:none">
<div class="loadingPiwik" style="display:none;">
<img src="plugins/Zeitgeist/images/loading-blue.gif" alt=""/>{{ 'General_LoadingData'|translate }}
</div>
......
......@@ -22,7 +22,7 @@
{% endif %}
</div>
<span class="loadingPiwik" style='display:none'><img src="plugins/Zeitgeist/images/loading-blue.gif"/> {{ 'General_LoadingData'|translate }}</span>
<span class="loadingPiwik" style="display:none;"><img src="plugins/Zeitgeist/images/loading-blue.gif"/> {{ 'General_LoadingData'|translate }}</span>
{% if properties.show_footer_icons %}
<div class="dataTableFooterIcons">
<div class="dataTableFooterWrap" var="{{ javascriptVariablesToSet.viewDataTable }}">
......@@ -93,7 +93,7 @@
<img width="16" height="16" src="plugins/Zeitgeist/images/export.png" title="{{ 'General_ExportThisReport'|translate }}"/>
</a>
</span>
<span class="exportToFormatItems" style="display:none">
<span class="exportToFormatItems" style="display:none;">
{{ 'General_Export'|translate }}:
<a target="_blank" methodToCall="{{ properties.apiMethodToRequestDataTable }}" format="CSV" filter_limit="{{ properties.export_limit }}">CSV</a> |
<a target="_blank" methodToCall="{{ properties.apiMethodToRequestDataTable }}" format="TSV" filter_limit="{{ properties.export_limit }}">TSV (Excel)</a> |
......@@ -171,6 +171,6 @@
</div>
<span class="loadingPiwikBelow" style='display:none'><img src="plugins/Zeitgeist/images/loading-blue.gif"/> {{ 'General_LoadingData'|translate }}</span>
<span class="loadingPiwikBelow" style="display:none;"><img src="plugins/Zeitgeist/images/loading-blue.gif"/> {{ 'General_LoadingData'|translate }}</span>
<div class="dataTableSpacer"></div>
......@@ -23,7 +23,7 @@
<div class="slider-range">
<div class="slider-position"></div>
</div>
<div style="display:inline-block">
<div style="display:inline-block;">
<div class="slider-donate-amount">$30/{{ 'General_YearShort_js'|translate }}</div>
<img class="slider-smiley-face" width="40" height="40" src="plugins/Zeitgeist/images/smileyprog_1.png"/>
......@@ -41,11 +41,11 @@
</div>
<!-- to cache images -->
<img style="display:none" src="plugins/Zeitgeist/images/smileyprog_0.png"/>
<img style="display:none" src="plugins/Zeitgeist/images/smileyprog_1.png"/>
<img style="display:none" src="plugins/Zeitgeist/images/smileyprog_2.png"/>
<img style="display:none" src="plugins/Zeitgeist/images/smileyprog_3.png"/>
<img style="display:none" src="plugins/Zeitgeist/images/smileyprog_4.png"/>
<img style="display:none;" src="plugins/Zeitgeist/images/smileyprog_0.png"/>
<img style="display:none;" src="plugins/Zeitgeist/images/smileyprog_1.png"/>
<img style="display:none;" src="plugins/Zeitgeist/images/smileyprog_2.png"/>
<img style="display:none;" src="plugins/Zeitgeist/images/smileyprog_3.png"/>
<img style="display:none;" src="plugins/Zeitgeist/images/smileyprog_4.png"/>
</form>
{% if footerMessage is defined %}
<div class="form-description">
......
......@@ -41,7 +41,7 @@
{% if hasSomeAdminAccess %}
<br/>
<div id="updateCheckLinkContainer">
<span class='loadingPiwik' style="display:none"><img src='plugins/Zeitgeist/images/loading-blue.gif'/></span>
<span class='loadingPiwik' style="display:none;"><img src='plugins/Zeitgeist/images/loading-blue.gif'/></span>
<img src="plugins/Zeitgeist/images/reload.png"/>
<a href="#" id="checkForUpdates"><em>{{ 'CoreHome_CheckForUpdates'|translate }}</em></a>
</div>
......
......@@ -14,7 +14,7 @@
* - idSite The currently selected idSite. Defaults to the first id in $sites set by View.
#}
{% set sitesSelector_allWebsitesLink %}
<div class="custom_select_all" style="clear: both">
<div class="custom_select_all" style="clear: both;">
<a href="#" {% if showAllSitesItem is defined and showAllSitesItem == false %}style="display:none;"{% endif %}>
{% if allSitesItemText is defined %}
{{ allSitesItemText }}
......@@ -40,7 +40,7 @@
<div class="custom_select_container">
<ul class="custom_select_ul_list">
{% for info in sites %}
<li {% if (showSelectedSite is not defined or showSelectedSite == false) and idSite == info.idsite %} style="display: none"{% endif %}>
<li {% if (showSelectedSite is not defined or showSelectedSite == false) and idSite == info.idsite %} style="display: none;"{% endif %}>
<a href="#" siteid="{{ info.idsite }}">{{ info.name|raw }}</a>
</li>
{% endfor %}
......
{# untrusted host warning #}
{% if (isValidHost is defined and invalidHostMessage is defined and isValidHost == false) %}
<div class="ajaxSuccess" style='clear:both;width:800px'>
<a style="float:right" href="http://piwik.org/faq/troubleshooting/#faq_171" target="_blank"><img src="plugins/Zeitgeist/images/help_grey.png"/></a>
<div class="ajaxSuccess" style="clear:both;width:800px;">
<a style="float:right;" href="http://piwik.org/faq/troubleshooting/#faq_171" target="_blank"><img src="plugins/Zeitgeist/images/help_grey.png"/></a>
<strong>{{ 'General_Warning'|translate }}:&nbsp;</strong>{{ invalidHostMessage }}
</div>
{% endif %}
......
......@@ -4,7 +4,7 @@
<img src="plugins/Zeitgeist/images/video_play.png"/>
</div>
<div id="piwik-promo-embed" style="display:none">
<div id="piwik-promo-embed" style="display:none;">
</div>
</div>
......@@ -31,7 +31,7 @@
</a>
</div>
<div style="clear:both"></div>
<div style="clear:both;"></div>
<div id="piwik-widget-footer" style='color:#666'>{{ 'CoreHome_CloseWidgetDirections'|translate }}</div>
<div id="piwik-widget-footer" style="color:#666;">{{ 'CoreHome_CloseWidgetDirections'|translate }}</div>
</div>
......@@ -26,7 +26,7 @@
<body id="simple">
<div id="contentsimple">
<div id="title">
<img title='Piwik' alt="Piwik" src='plugins/Zeitgeist/images/logo-header.png' style='margin-left:10px'/>
<img title='Piwik' alt="Piwik" src="plugins/Zeitgeist/images/logo-header.png" style="margin-left:10px;"/>
<span id="subh1"> # {{ 'General_OpenSourceWebAnalytics'|translate }}</span>
</div>
{% block content %}
......
......@@ -19,12 +19,12 @@
<input type="hidden" name="action" value="oneClickUpdate"/>
<input type="submit" class="submit" value="{{ 'CoreUpdater_UpdateAutomatically'|translate }}"/>
{% endif %}
<a style="margin-left:50px" class="submit button"
<a style="margin-left:50px;" class="submit button"
href="{{ piwik_latest_version_url }}?cb={{ piwik_new_version }}">{{ 'CoreUpdater_DownloadX'|translate(piwik_new_version) }}</a><br/>
{% if can_auto_update %}
</form>
{% endif %}
<br/>
<a href='index.php'>&laquo; {{ 'General_BackToPiwik'|translate }}</a>
<a href="index.php">&laquo; {{ 'General_BackToPiwik'|translate }}</a>
{% endblock %}
......@@ -50,7 +50,7 @@
{% if deactivatedPlugins is defined and deactivatedPlugins|length > 0 %}
{% set listOfDeactivatedPlugins=deactivatedPlugins|join(', ') %}
<p style="color:red">
<p style="color:red;">
<img src="plugins/Zeitgeist/images/error_medium.png"/>
{{ 'CoreUpdater_WeAutomaticallyDeactivatedTheFollowingPlugins'|translate(listOfDeactivatedPlugins) }}
</p>
......
......@@ -2,7 +2,7 @@
{% block content %}
{% spaceless %}
<span style="float:right">{{ postEvent('template_topBar')|raw }}</span>
<span style="float:right;">{{ postEvent('template_topBar')|raw }}</span>
{% set helpMessage %}
{{ 'CoreUpdater_HelpMessageContent'|translate('<a target="_blank" href="?module=Proxy&action=redirect&url=http://piwik.org/faq/">','</a>','</li><li>')|raw }}
{% endset %}
......@@ -43,14 +43,14 @@
{% endif %}
<ul>
<li>{{ 'CoreUpdater_TheUpgradeProcessMayFailExecuteCommand'|translate(commandUpgradePiwik)|raw }}</li>
<li>It is also recommended for high traffic Piwik servers to <a target='_blank'
<li>It is also recommended for high traffic Piwik servers to <a target="_blank"
href='?module=Proxy&action=redirect&url={{ "http://piwik.org/faq/how-to/#faq_111"|url_encode }}'>momentarily
disable visitor Tracking and put the Piwik User Interface in maintenance mode</a>.
</li>
<li>{{ 'CoreUpdater_YouCouldManuallyExecuteSqlQueries'|translate }}<br/>
<a href='#' id='showSql' style='margin-left:20px'>{{ 'CoreUpdater_ClickHereToViewSqlQueries'|translate }}</a>
<a href="#" id="showSql" style="margin-left:20px;">{{ 'CoreUpdater_ClickHereToViewSqlQueries'|translate }}</a>
<div id='sqlQueries' style='display:none'>
<div id="sqlQueries" style="display:none;">
<br/>
<code>
# {{ 'CoreUpdater_NoteItIsExpectedThatQueriesFail'|translate }}<br/><br/>
......@@ -64,7 +64,7 @@
</ul>
<br/>
<br/>
<h4 id='titleUpdate'>{{ 'CoreUpdater_ReadyToGo'|translate }}</h4>
<h4 id="titleUpdate">{{ 'CoreUpdater_ReadyToGo'|translate }}</h4>
<p>{{ 'CoreUpdater_TheUpgradeProcessMayTakeAWhilePleaseBePatient'|translate }}</p>
{% endif %}
......
......@@ -77,7 +77,7 @@
.rowevolution {
position: relative;
overflow: hidden;
text-align: left
text-align: left;
}
.rowevolution h2 {
......
......@@ -15,15 +15,15 @@
<tr>
<td>{{ databaseUsageSummary|raw }}</td>
<td>
<h3 style="margin-top:0">{{ 'General_GeneralInformation'|translate }}</h3><br/>
<h3 style="margin-top:0;">{{ 'General_GeneralInformation'|translate }}</h3><br/>
<p style="font-size:1.4em;padding-left:21px;line-height:1.8em">
<p style="font-size:1.4em;padding-left:21px;line-height:1.8em;">
<strong><em>{{ userCount }}</em></strong>&nbsp;{% if userCount == 1 %}{{ 'UsersManager_User'|translate }}{% else %}{{ 'UsersManager_MenuUsers'|translate }}{% endif %}
<br/>
<strong><em>{{ siteCount }}</em></strong>&nbsp;{% if siteCount == 1 %}{{ 'General_Website'|translate }}{% else %}{{ 'Referers_Websites'|translate }}{% endif %}
</p><br/>
{% set clickDeleteLogSettings %}{{ 'PrivacyManager_DeleteDataSettings'|translate }}{% endset %}
<h3 style="margin-top:0">{{ 'PrivacyManager_DeleteDataSettings'|translate }}</h3><br/>
<h3 style="margin-top:0;">{{ 'PrivacyManager_DeleteDataSettings'|translate }}</h3><br/>
<p>
{{ 'PrivacyManager_DeleteDataDescription'|translate }}
......
<div style="padding:1.5em;text-align:center">
<div style="padding:1.5em;text-align:center;">
{{ "ExamplePlugin_PiwikForumReceivedVisits"|translate(prettyDate,'<b class="piwikDownloadCount_cnt" >...</b>')|raw }}
</div>
{#
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter