Diff
14 years ago
geshi
14 years ago
.htaccess
14 years ago
Diff.php
14 years ago
IPTraf.php
14 years ago
diffResult.php
14 years ago
dropAll.php
14 years ago
email_genericAlert.php
14 years ago
email_newIssues.php
14 years ago
geshi.php
14 years ago
menu_activity.php
14 years ago
menu_blockedIPs.php
14 years ago
menu_config.php
14 years ago
menu_options.php
14 years ago
menu_scan.php
14 years ago
sysinfo.php
14 years ago
wf503.php
14 years ago
wfAPI.php
14 years ago
wfAction.php
14 years ago
wfBrowscap.php
14 years ago
wfBrowscapCache.php
14 years ago
wfConfig.php
14 years ago
wfCrawl.php
14 years ago
wfDB.php
14 years ago
wfDict.php
14 years ago
wfIssues.php
14 years ago
wfLockedOut.php
14 years ago
wfLog.php
14 years ago
wfModTracker.php
14 years ago
wfRate.php
14 years ago
wfScanEngine.php
14 years ago
wfSchema.php
14 years ago
wfUtils.php
14 years ago
wfViewResult.php
14 years ago
wordfenceClass.php
14 years ago
wordfenceConstants.php
14 years ago
wordfenceHash.php
14 years ago
wordfenceScanner.php
14 years ago
wordfenceURLHoover.php
14 years ago
menu_scan.php
474 lines
| 1 | <div class="wordfenceModeElem" id="wordfenceMode_scan"></div> |
| 2 | <div class="wrap wordfence"> |
| 3 | <div class="wordfence-lock-icon wordfence-icon32"><br /></div><h2>Wordfence Scan</h2> |
| 4 | <div class="wordfenceLive"> |
| 5 | <table border="0" cellpadding="0" cellspacing="0"> |
| 6 | <tr><td><h2>Wordfence Activity Log:</h2></td><td id="wfLiveStatus"></td></tr> |
| 7 | </table> |
| 8 | </div> |
| 9 | <div class="wordfenceWrap"> |
| 10 | <div> |
| 11 | <div id="wfTabs"> |
| 12 | <a href="#" class="wfTab1 wfTabSwitch selected" onclick="wordfenceAdmin.switchToSummaryTab(this); return false;">Summary</a> |
| 13 | <a href="#" class="wfTab1 wfTabSwitch" onclick="wordfenceAdmin.switchToLiveTab(this); return false;">Activity Log</a> |
| 14 | </div> |
| 15 | <div class="wfTabsContainer"> |
| 16 | <div id="wfSummaryTables" class="wfDataPanel"> |
| 17 | <div class="wfLoadingWhite32"></div> |
| 18 | <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> |
| 19 | </div> |
| 20 | <div id="wfActivity" class="wfDataPanel" style="display: none; overflow: scroll; height: 400px; border: 1px solid #CCC; padding: 2px;"> |
| 21 | <div class="wfLoadingWhite32"></div> |
| 22 | <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> |
| 23 | </div> |
| 24 | </div> |
| 25 | </div> |
| 26 | <div style="margin-top: 20px;"> |
| 27 | <div id="wfTabs"> |
| 28 | <a href="#" id="wfNewIssuesTab" class="wfTab2 wfTabSwitch selected" onclick="wordfenceAdmin.switchIssuesTab(this, 'new'); return false;">New Issues</a> |
| 29 | <a href="#" class="wfTab2 wfTabSwitch" onclick="wordfenceAdmin.switchIssuesTab(this, 'ignored'); return false;">Ignored Issues</a> |
| 30 | </div> |
| 31 | <div class="wfTabsContainer"> |
| 32 | <div id="wfIssues_new" class="wfIssuesContainer"> |
| 33 | <h2>New Issues</h2> |
| 34 | <p> |
| 35 | The list below shows new problems or warnings that Wordfence found with your site. |
| 36 | If you have fixed all the issues below, you can <a href="#" onclick="WFAD.updateAllIssues('deleteNew'); return false;">click here to mark all new issues as fixed</a>. |
| 37 | You can also <a href="#" onclick="WFAD.updateAllIssues('ignoreAllNew'); return false;">ignore all new issues</a> which will exclude all issues listed below from future scans. |
| 38 | </p> |
| 39 | <div id="wfIssues_dataTable_new"></div> |
| 40 | </div> |
| 41 | <div id="wfIssues_ignored" class="wfIssuesContainer"> |
| 42 | <h2>Ignored Issues</h2> |
| 43 | <p> |
| 44 | The list below shows issues that you know about and have chosen to ignore. |
| 45 | You can <a href="#" onclick="WFAD.updateAllIssues('deleteIgnored'); return false;">click here to clear all ignored issues</a> |
| 46 | which will cause all issues below to be re-scanned by Wordfence in the next scan. |
| 47 | </p> |
| 48 | <div id="wfIssues_dataTable_ignored"></div> |
| 49 | </div> |
| 50 | </div> |
| 51 | </div> |
| 52 | </div> |
| 53 | </div> |
| 54 | <script type="text/x-jquery-template" id="issueTmpl_wfThemeUpgrade"> |
| 55 | <div> |
| 56 | <div class="wfIssue"> |
| 57 | <h2>${shortMsg}</h2> |
| 58 | <p> |
| 59 | <table border="0" class="wfIssue" cellspacing="0" cellpadding="0"> |
| 60 | <tr><th>Theme Name:</th><td>${data.name}</td></tr> |
| 61 | <tr><th>Current Theme Version:</th><td>${data.version}</td></tr> |
| 62 | <tr><th>New Theme Version:</th><td>${data.newVersion}</td></tr> |
| 63 | <tr><th>Theme URL:</th><td><a href="${data.URL}" target="_blank">${data.URL}</a></td></tr> |
| 64 | <tr><th>Severity:</th><td>{{if severity == '1'}}Critical{{else}}Warning{{/if}}</td></tr> |
| 65 | <tr><th>Status</th><td> |
| 66 | {{if status == 'new' }}New{{/if}} |
| 67 | {{if status == 'ignoreP' || status == 'ignoreC' }}Ignored{{/if}} |
| 68 | </td></tr> |
| 69 | </table> |
| 70 | </p> |
| 71 | <p> |
| 72 | {{html longMsg}} |
| 73 | </p> |
| 74 | <div class="wfIssueOptions"> |
| 75 | {{if (status == 'new')}} |
| 76 | <strong>Resolve:</strong> |
| 77 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</a> |
| 78 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore this issue</a> |
| 79 | {{/if}} |
| 80 | {{if status == 'ignoreC' || status == 'ignoreP'}} |
| 81 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Stop ignoring this issue</a> |
| 82 | {{/if}} |
| 83 | </div> |
| 84 | </div> |
| 85 | </div> |
| 86 | </script> |
| 87 | |
| 88 | <script type="text/x-jquery-template" id="issueTmpl_wfPluginUpgrade"> |
| 89 | <div> |
| 90 | <div class="wfIssue"> |
| 91 | <h2>${shortMsg}</h2> |
| 92 | <p> |
| 93 | <table border="0" class="wfIssue" cellspacing="0" cellpadding="0"> |
| 94 | <tr><th>Plugin Name:</th><td>${data.Name}</td></tr> |
| 95 | {{if data.PluginURI}}<tr><th>Plugin Website:</th><td><a href="${data.PluginURI}" target="_blank">${data.PluginURI}</a></td></tr>{{/if}} |
| 96 | <tr><th>Current Plugin Version:</th><td>${data.Version}</td></tr> |
| 97 | <tr><th>New Plugin Version:</th><td>${data.newVersion}</td></tr> |
| 98 | <tr><th>Severity:</th><td>{{if severity == '1'}}Critical{{else}}Warning{{/if}}</td></tr> |
| 99 | <tr><th>Status</th><td> |
| 100 | {{if status == 'new' }}New{{/if}} |
| 101 | {{if status == 'ignoreP' || status == 'ignoreC' }}Ignored{{/if}} |
| 102 | </td></tr> |
| 103 | </table> |
| 104 | </p> |
| 105 | <p> |
| 106 | {{html longMsg}} |
| 107 | </p> |
| 108 | <div class="wfIssueOptions"> |
| 109 | {{if status == 'new'}} |
| 110 | <strong>Resolve:</strong> |
| 111 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</a> |
| 112 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore this issue</a> |
| 113 | {{/if}} |
| 114 | {{if status == 'ignoreC' || status == 'ignoreP'}} |
| 115 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">Stop ignoring this issue</a> |
| 116 | {{/if}} |
| 117 | </div> |
| 118 | </div> |
| 119 | </div> |
| 120 | </script> |
| 121 | |
| 122 | <script type="text/x-jquery-template" id="issueTmpl_wfUpgrade"> |
| 123 | <div> |
| 124 | <div class="wfIssue"> |
| 125 | <h2>${shortMsg}</h2> |
| 126 | <p> |
| 127 | <table border="0" class="wfIssue" cellspacing="0" cellpadding="0"> |
| 128 | <tr><th>Current WordPress Version:</th><td>${data.currentVersion}</td></tr> |
| 129 | <tr><th>New WordPress Version:</th><td>${data.newVersion}</td></tr> |
| 130 | <tr><th>Severity:</th><td>{{if severity == '1'}}Critical{{else}}Warning{{/if}}</td></tr> |
| 131 | <tr><th>Status</th><td> |
| 132 | {{if status == 'new' }}New{{/if}} |
| 133 | {{if status == 'ignoreP' || status == 'ignoreC' }}Ignored{{/if}} |
| 134 | </td></tr> |
| 135 | </table> |
| 136 | </p> |
| 137 | <p> |
| 138 | {{html longMsg}} |
| 139 | </p> |
| 140 | <div class="wfIssueOptions"> |
| 141 | {{if (status == 'new')}} |
| 142 | <strong>Resolve:</strong> |
| 143 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</a> |
| 144 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore this issue</a> |
| 145 | {{/if}} |
| 146 | {{if status == 'ignoreC' || status == 'ignoreP'}} |
| 147 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">Stop ignoring this issue</a> |
| 148 | {{/if}} |
| 149 | </div> |
| 150 | </div> |
| 151 | </script> |
| 152 | |
| 153 | <script type="text/x-jquery-template" id="issueTmpl_dnsChange"> |
| 154 | <div> |
| 155 | <div class="wfIssue"> |
| 156 | <h2>${shortMsg}</h2> |
| 157 | <p> |
| 158 | <table border="0" class="wfIssue" cellspacing="0" cellpadding="0"> |
| 159 | <tr><th>Old DNS records:</th><td>${data.oldDNS}</td></tr> |
| 160 | <tr><th>New DNS records:</th><td>${data.newDNS}</td></tr> |
| 161 | <tr><th>Severity:</th><td>{{if severity == '1'}}Critical{{else}}Warning{{/if}}</td></tr> |
| 162 | <tr><th>Status</th><td> |
| 163 | {{if status == 'new' }}New{{/if}} |
| 164 | {{if status == 'ignoreP' || status == 'ignoreC' }}Ignored{{/if}} |
| 165 | </td></tr> |
| 166 | </table> |
| 167 | </p> |
| 168 | <p> |
| 169 | {{html longMsg}} |
| 170 | </p> |
| 171 | <div class="wfIssueOptions"> |
| 172 | {{if (status == 'new')}} |
| 173 | <strong>Resolve:</strong> |
| 174 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I know about this change</a> |
| 175 | {{/if}} |
| 176 | </div> |
| 177 | </div> |
| 178 | </div> |
| 179 | </script> |
| 180 | |
| 181 | <script type="text/x-jquery-template" id="issueTmpl_diskSpace"> |
| 182 | <div> |
| 183 | <div class="wfIssue"> |
| 184 | <h2>${shortMsg}</h2> |
| 185 | <p> |
| 186 | <table border="0" class="wfIssue" cellspacing="0" cellpadding="0"> |
| 187 | <tr><th>Space remaining:</th><td>${data.spaceLeft}%</td></tr> |
| 188 | <tr><th>Severity:</th><td>{{if severity == '1'}}Critical{{else}}Warning{{/if}}</td></tr> |
| 189 | <tr><th>Status</th><td> |
| 190 | {{if status == 'new' }}New{{/if}} |
| 191 | {{if status == 'ignoreP' || status == 'ignoreC' }}Ignoring all disk space alerts{{/if}} |
| 192 | </td></tr> |
| 193 | </table> |
| 194 | </p> |
| 195 | <p> |
| 196 | {{html longMsg}} |
| 197 | </p> |
| 198 | <div class="wfIssueOptions"> |
| 199 | {{if (status == 'new')}} |
| 200 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</span> |
| 201 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreP'); return false;">Ignore disk space alerts</span> |
| 202 | {{/if}} |
| 203 | {{if status == 'ignoreP' || status == 'ignoreC'}} |
| 204 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">Stop ignoring disk space alerts</a> |
| 205 | {{/if}} |
| 206 | </div> |
| 207 | </div> |
| 208 | </div> |
| 209 | </script> |
| 210 | |
| 211 | <script type="text/x-jquery-template" id="issueTmpl_easyPassword"> |
| 212 | <div> |
| 213 | <div class="wfIssue"> |
| 214 | <h2>${shortMsg}</h2> |
| 215 | <p> |
| 216 | <table border="0" class="wfIssue" cellspacing="0" cellpadding="0"> |
| 217 | <tr><th>Issue first detected:</th><td>${timeAgo} ago.</td></tr> |
| 218 | <tr><th>Login name:</th><td>${data.user_login}</td></tr> |
| 219 | <tr><th>User email:</th><td>${data.user_email}</td></tr> |
| 220 | <tr><th>Full name:</th><td>${data.first_name} ${data.last_name}</td></tr> |
| 221 | <tr><th>Severity:</th><td>{{if severity == '1'}}Critical{{else}}Warning{{/if}}</td></tr> |
| 222 | <tr><th>Status</th><td> |
| 223 | {{if status == 'new' }}New{{/if}} |
| 224 | {{if status == 'ignoreC' }}Ignored until user changes password{{/if}} |
| 225 | {{if status == 'ignoreP' }}Ignoring this user's weak passwords{{/if}} |
| 226 | </td></tr> |
| 227 | </table> |
| 228 | </p> |
| 229 | <p> |
| 230 | {{html longMsg}} |
| 231 | </p> |
| 232 | <div class="wfIssueOptions"> |
| 233 | <strong>Tools:</strong> |
| 234 | <a target="_blank" href="${data.editUserLink}">Edit this user</a> |
| 235 | </div> |
| 236 | <div class="wfIssueOptions"> |
| 237 | {{if status == 'new'}} |
| 238 | <strong>Resolve:</strong> |
| 239 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</a> |
| 240 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore this weak password</a> |
| 241 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreP'); return false;">Ignore all this user's weak passwords</a> |
| 242 | {{/if}} |
| 243 | {{if status == 'ignoreC' || status == 'ignoreP'}} |
| 244 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">Stop ignoring this issue</a> |
| 245 | {{/if}} |
| 246 | </div> |
| 247 | </div> |
| 248 | </div> |
| 249 | </script> |
| 250 | |
| 251 | <script type="text/x-jquery-template" id="issueTmpl_commentBadURL"> |
| 252 | <div> |
| 253 | <div class="wfIssue"> |
| 254 | <h2>${shortMsg}</h2> |
| 255 | <p> |
| 256 | <table border="0" class="wfIssue" cellspacing="0" cellpadding="0"> |
| 257 | <tr><th>Author</th><td>${data.author}</td></tr> |
| 258 | <tr><th>Bad URL:</th><td><strong class="wfWarn">${data.badURL}</strong></td></tr> |
| 259 | <tr><th>Posted on:</th><td>${data.commentDate}</td></tr> |
| 260 | <tr><th>Severity:</th><td>Critical</td></tr> |
| 261 | <tr><th>Status</th><td> |
| 262 | {{if status == 'new' }}New{{/if}} |
| 263 | {{if status == 'ignoreP' || status == 'ignoreC' }}Ignored{{/if}} |
| 264 | </td></tr> |
| 265 | </table> |
| 266 | </p> |
| 267 | <p> |
| 268 | {{html longMsg}} |
| 269 | </p> |
| 270 | <div class="WfIssueOptions"> |
| 271 | <strong>Tools:</strong> |
| 272 | <a target="_blank" href="${data.editCommentLink}">Edit this ${data.type}</a> |
| 273 | </div> |
| 274 | <div class="wfIssueOptions"> |
| 275 | {{if status == 'new'}} |
| 276 | <strong>Resolve:</strong> |
| 277 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</a> |
| 278 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore this ${data.type}</a> |
| 279 | {{/if}} |
| 280 | {{if status == 'ignoreC' || status == 'ignoreP'}} |
| 281 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">Stop ignoring this ${data.type}</a> |
| 282 | {{/if}} |
| 283 | </div> |
| 284 | </div> |
| 285 | </script> |
| 286 | |
| 287 | <script type="text/x-jquery-template" id="issueTmpl_postBadURL"> |
| 288 | <div> |
| 289 | <div class="wfIssue"> |
| 290 | <h2>${shortMsg}</h2> |
| 291 | <p> |
| 292 | <table border="0" class="wfIssue" cellspacing="0" cellpadding="0"> |
| 293 | <tr><th>Title:</th><td><a href="${data.permalink}" target="_blank">${data.postTitle}</a></td></tr> |
| 294 | <tr><th>Bad URL:</th><td><strong class="wfWarn">${data.badURL}</strong></td></tr> |
| 295 | <tr><th>Posted on:</th><td>${data.postDate}</td></tr> |
| 296 | <tr><th>Severity:</th><td>Critical</td></tr> |
| 297 | <tr><th>Status</th><td> |
| 298 | {{if status == 'new' }}New{{/if}} |
| 299 | {{if status == 'ignoreC' }}This bad URL will be ignored in this ${data.type}.{{/if}} |
| 300 | {{if status == 'ignoreP' }}This post won't be scanned for bad URL's.{{/if}} |
| 301 | </td></tr> |
| 302 | </table> |
| 303 | </p> |
| 304 | <p> |
| 305 | {{html longMsg}} |
| 306 | </p> |
| 307 | <div class="wfIssueOptions"> |
| 308 | <strong>Tools:</strong> |
| 309 | <a target="_blank" href="${data.editPostLink}">Edit this ${data.type}</a> |
| 310 | </div> |
| 311 | <div class="wfIssueOptions"> |
| 312 | {{if status == 'new'}} |
| 313 | <strong>Resolve:</strong> |
| 314 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</a> |
| 315 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore this bad URL in this ${data.type}</a> |
| 316 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreP'); return false;">Ignore all bad URL's in this ${data.type}</a> |
| 317 | {{/if}} |
| 318 | {{if status == 'ignoreP' || status == 'ignoreC'}} |
| 319 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">Stop ignoring this issue</a> |
| 320 | {{/if}} |
| 321 | </div> |
| 322 | </div> |
| 323 | </div> |
| 324 | </script> |
| 325 | |
| 326 | |
| 327 | |
| 328 | <script type="text/x-jquery-template" id="issueTmpl_file"> |
| 329 | <div> |
| 330 | <div class="wfIssue"> |
| 331 | <h2>${shortMsg}</h2> |
| 332 | <p> |
| 333 | <table border="0" class="wfIssue" cellspacing="0" cellpadding="0"> |
| 334 | <tr><th>Filename:</th><td>${data.file}</td></tr> |
| 335 | <tr><th>File type:</th><td>{{if data.cType}}${WFAD.ucfirst(data.cType)}{{else}}Not a core, theme or plugin file.{{/if}}</td></tr> |
| 336 | <tr><th>Issue first detected:</th><td>${timeAgo} ago.</td></tr> |
| 337 | <tr><th>Severity:</th><td>{{if severity == '1'}}Critical{{else}}Warning{{/if}}</td></tr> |
| 338 | <tr><th>Status</th><td> |
| 339 | {{if status == 'new' }}New{{/if}} |
| 340 | {{if status == 'ignoreP' }}Permanently ignoring this file{{/if}} |
| 341 | {{if status == 'ignoreC' }}Ignoring this file until it changes{{/if}} |
| 342 | </td></tr> |
| 343 | </table> |
| 344 | </p> |
| 345 | <p> |
| 346 | {{html longMsg}} |
| 347 | </p> |
| 348 | <div class="wfIssueOptions"> |
| 349 | <strong>Tools:</strong> |
| 350 | {{if data.fileExists}} |
| 351 | <a target="_blank" href="/?_wfsf=view&nonce=${WFAD.nonce}&file=${encodeURIComponent(data.file)}">View the file.</a> |
| 352 | {{/if}} |
| 353 | {{if data.canFix}} |
| 354 | <a href="#" onclick="WFAD.restoreFile('${id}'); return false;">Restore the original version of this file.</a> |
| 355 | {{/if}} |
| 356 | {{if data.canDelete}} |
| 357 | <a href="#" onclick="WFAD.deleteFile('${id}'); return false;">Delete this file (can't be undone).</a> |
| 358 | {{/if}} |
| 359 | {{if data.canDiff}} |
| 360 | <a href="${WFAD.makeDiffLink(data)}" target="_blank">See how the file has changed.</a> |
| 361 | {{/if}} |
| 362 | </div> |
| 363 | <div class="wfIssueOptions"> |
| 364 | {{if status == 'new'}} |
| 365 | <strong>Resolve:</strong> |
| 366 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">I have fixed this issue</a> |
| 367 | {{if data.fileExists}} |
| 368 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore until the file changes.</a> |
| 369 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreP'); return false;">Always ignore this file.</a> |
| 370 | {{else}} |
| 371 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'ignoreC'); return false;">Ignore missing file</a> |
| 372 | {{/if}} |
| 373 | |
| 374 | {{/if}} |
| 375 | {{if status == 'ignoreC' || status == 'ignoreP'}} |
| 376 | <a href="#" onclick="WFAD.updateIssueStatus('${id}', 'delete'); return false;">Stop ignoring this issue.</a> |
| 377 | {{/if}} |
| 378 | </div> |
| 379 | </div> |
| 380 | </div> |
| 381 | </script> |
| 382 | <script type="text/x-jquery-template" id="wfNoScanYetTmpl"> |
| 383 | <div> |
| 384 | <table class="wfSummaryParent" cellpadding="0" cellspacing="0"> |
| 385 | <tr><th class="wfHead">Your first scan is starting now</th></tr> |
| 386 | <tr><td> |
| 387 | <table class="wfSC1" cellpadding="0" cellspacing="0"> |
| 388 | <tr><td> |
| 389 | Your first Wordfence scan should be automatically starting now |
| 390 | and you will see the scan details in the "Activity Log" above in a few seconds. |
| 391 | While you're waiting, why not visit the <a href="http://www.wordfence.com/forums/" target="_blank">Wordfence Forums</a> |
| 392 | where you can post your comments or questions. We would love to hear from you. |
| 393 | </td></tr> |
| 394 | <tr><td> |
| 395 | <div class="wordfenceScanButton"><input type="button" value="Start a Wordfence Scan" class="wfStartScanButton button-primary" /></div> |
| 396 | </td></tr> |
| 397 | </table> |
| 398 | </td> |
| 399 | </tr></table> |
| 400 | </div> |
| 401 | </script> |
| 402 | |
| 403 | <script type="text/x-jquery-template" id="wfScanSummaryTmpl"> |
| 404 | <div> |
| 405 | <table class="wfSummaryParent" cellpadding="0" cellspacing="0"> |
| 406 | <tr><th class="wfHead">Activity Summary:</th><th class="wfHead" colspan="3">Wordfence is Protecting:</th></tr> |
| 407 | <tr><td> |
| 408 | <table class="wfSC1" cellpadding="0" cellspacing="0"> |
| 409 | <tr><td> |
| 410 | The most recent scan completed ${scanTimeAgo} ago. |
| 411 | </td></tr> |
| 412 | <tr><td> |
| 413 | {{if scanRunning == '1'}} |
| 414 | There is currently a scan running |
| 415 | {{else}} |
| 416 | A scan is not running at this time |
| 417 | {{/if}} |
| 418 | {{if scheduledScansEnabled}} |
| 419 | and the next scan is scheduled to run approximately ${nextRun}. |
| 420 | {{else}} |
| 421 | and scheduled scans are disabled. |
| 422 | {{/if}} |
| 423 | </td></tr> |
| 424 | <tr><td> |
| 425 | {{if totalCritical > 0 || totalWarning > 0}} |
| 426 | There are currently |
| 427 | {{if totalCritical > 0 && totalWarning > 0}} |
| 428 | ${totalCritical} critical issues and ${totalWarning} warning issues |
| 429 | {{else totalCritical > 0}} |
| 430 | ${totalCritical} critical issues |
| 431 | {{else totalWarning > 0}} |
| 432 | ${totalWarning} warning issues |
| 433 | {{/if}} |
| 434 | you need to investigate. See below for full details. |
| 435 | {{else lastScanCompleted == 'ok'}} |
| 436 | Congratulations, you have no security issues that need investigating. |
| 437 | {{else lastScanCompleted}} |
| 438 | <span style="color: #A00;">Latest scan failed: ${lastScanCompleted}</span> |
| 439 | {{/if}} |
| 440 | </td></tr> |
| 441 | <tr><td> |
| 442 | <div class="wordfenceScanButton"><input type="button" value="Start a Wordfence Scan" class="wfStartScanButton button-primary" /></div> |
| 443 | <a href="http://www.wordfence.com/forums/" target="_blank">Visit the Wordfence forums for help.</a> |
| 444 | </td></tr> |
| 445 | </table> |
| 446 | </td> |
| 447 | <td> |
| 448 | <table class="wfSummaryChild wfSC2" cellpadding="0" cellspacing="0"> |
| 449 | <tr><th>${wordfenceAdmin.commify(totalFiles)}</th><td>Files</td></tr> |
| 450 | <tr><th>${wordfenceAdmin.commify(totalDirs)}</th><td>Directories</td></tr> |
| 451 | <tr><th>${wordfenceAdmin.commify(totalUsers)}</th><td>Users</td></tr> |
| 452 | <tr><th>${wordfenceAdmin.commify(totalPlugins)}</th><td>Plugins</td></tr> |
| 453 | <tr><th>${wordfenceAdmin.commify(totalThemes)}</th><td>Themes</td></tr> |
| 454 | <tr><th>${wordfenceAdmin.commify(totalPages)}</th><td>Pages</td></tr> |
| 455 | <tr><th>${wordfenceAdmin.commify(totalPosts)}</th><td>Posts</td></tr> |
| 456 | </table> |
| 457 | </td> |
| 458 | <td> </td> |
| 459 | <td> |
| 460 | <table class="wfSummaryChild wfSC3" cellpadding="0" cellspacing="0"> |
| 461 | <tr><th>${wordfenceAdmin.commify(totalComments)}</th><td>Comments</td></tr> |
| 462 | <tr><th>${wordfenceAdmin.commify(totalCategories)}</th><td>Categories</td></tr> |
| 463 | <tr><th>${wordfenceAdmin.commify(linesOfPHP)}</th><td>Lines of PHP code</td></tr> |
| 464 | <tr><th>${wordfenceAdmin.commify(linesOfJCH)}</th><td>Lines of JS, HTML and CSS code</td></tr> |
| 465 | <tr><th>${wordfenceAdmin.commify(totalData)}</th><td>of data in ${wordfenceAdmin.commify(totalFiles)} files</td></tr> |
| 466 | <tr><th>${wordfenceAdmin.commify(totalTables)}</th><td>Database Tables</td><tr> |
| 467 | <tr><th>${wordfenceAdmin.commify(totalRows)}</th><td>Database Rows</td></tr> |
| 468 | </table> |
| 469 | </td> |
| 470 | </tr></table> |
| 471 | </div> |
| 472 | </script> |
| 473 | |
| 474 |