Skip to content

Commit

Permalink
Fix problems
Browse files Browse the repository at this point in the history
  • Loading branch information
voltan committed Oct 16, 2013
1 parent c554ad9 commit 99909ad
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions template/admin/index_index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,30 @@
if ($history['exists_root']) {
$class = 'alert-success';
$title = __('Congratulations !');
$description = sprintf('Your website <strong>%s</strong> is uptodated on %s. And you can use <strong>Update</strong> button for update it again', $history['file'], $history['file_create']);
$description = sprintf(__('Your website <strong>%s</strong> was updated on %s. And you can use <strong>Update</strong> button for update it again'), $history['file'], $history['file_create']);
$viewUrl = $this->escape($history['file_root_url']);
$xmlRootLocation = sprintf('Your root copy XML sitemap location is <strong>%s</strong>', $history['file_root_path']);
$xmlRootUrl = sprintf('Your root copy XML sitemap URL is <strong>%s</strong>', $history['file_root_url']);
$xmlRootLocation = sprintf(__('Your root copy XML sitemap location is <strong>%s</strong>'), $history['file_root_path']);
$xmlRootUrl = sprintf(__('Your root copy XML sitemap URL is <strong>%s</strong>'), $history['file_root_url']);
} else {
$class = '';
$title = __('Warning !');
$description = sprintf('Your website <strong>%s</strong> is uptodated on %s. But you dont move your XML file to website root. Please use <strong>Copy to root</strong> button or copy it manuale. And you can use <strong>Update</strong> button for update it again', $history['file'], $history['file_create']);
$description = sprintf(__('Your website <strong>%s</strong> was updated on %s. But you dont move your XML file to website root. Please use <strong>Copy to root</strong> button or copy it manuale. And you can use <strong>Update</strong> button for update it again'), $history['file'], $history['file_create']);
$copyUrl = $this->url('', array('action' => 'copyfile', 'file' => $this->escape($history['file'])));
}
} else {
$class = '';
$title = __('Warning !');
$description = sprintf('Your website have <strong>%s</strong> and it uptodated on %s, But you should update your sitemap every day. Please use <strong>Update</strong> button for update it', $history['file'], $history['file_create']);
$description = sprintf(__('Your website have <strong>%s</strong> and it was updated on %s, But you should update your sitemap every day. Please use <strong>Update</strong> button for update it'), $history['file'], $history['file_create']);
}
$xmlLocation = sprintf('Your main XML sitemap location is <strong>%s</strong>', $history['file_path']);
$xmlUrl = sprintf('Your main XML sitemap URL is <strong>%s</strong>', $history['file_url']);
$xmlLocation = sprintf(__('Your main XML sitemap location is <strong>%s</strong>'), $history['file_path']);
$xmlUrl = sprintf(__('Your main XML sitemap URL is <strong>%s</strong>'), $history['file_url']);
$deleteUrl = $this->url('', array('action' => 'deletefile', 'file' => $this->escape($history['file'])));
$updateUrl = $this->escape($history['generat']);
$fileUrl = $this->escape($history['file_url']);
} else {
$class = 'alert-error';
$title = __('Error !');
$description = sprintf('Your website does not have a <strong> %s </strong> - this can be problematic. A sitemap lists URLs that are available for crawling and can include additional information like your sites latest updates, frequency of changes and importance of the URLs. This allows search engines to crawl the site more intelligently. Please use <strong>Generat</strong> button for update it', $this->escape($history['file']));
$description = sprintf(__('Your website does not have a <strong> %s </strong> - this can be problematic. A sitemap lists URLs that are available for crawling and can include additional information like your sites latest updates, frequency of changes and importance of the URLs. This allows search engines to crawl the site more intelligently. Please use <strong>Generate</strong> button for update it'), $this->escape($history['file']));
$generatUrl = $this->escape($history['generat']);
}
?>
Expand Down Expand Up @@ -88,7 +88,7 @@
<td><?php echo $this->escape($item['count']); ?></td>
<td>
<div class="btn-group">
<a class="btn btn-danger" title="<?php _e('Generat'); ?>" href="<?php echo $this->escape($item['generat']); ?>"><i class="icon-edit"></i> <?php _e('Generat'); ?></a>
<a class="btn btn-danger" title="<?php _e('Generate'); ?>" href="<?php echo $this->escape($item['generat']); ?>"><i class="icon-edit"></i> <?php _e('Generate'); ?></a>
</div>
</td>
</tr>
Expand Down

0 comments on commit 99909ad

Please sign in to comment.