<?php
$modules = array('Appearance', 'Developers', 'Mobile', 'Other', 'Photos and Videos', 'Social', 'WordPress.com Stats', 'Writing');
?>
<script id="tmpl-category" type="text/html">
<?php
foreach ($modules as $module) {
$translated_module = Jetpack::translate_module_tag($module);
$module_slug = strtolower(str_replace(array(' ', '.'), array('-', ''), $translated_module));
?>
<div class="cat category-<?php
echo esc_attr($module_slug);
?>
"><h3><?php
echo esc_html($translated_module);
?>
</h3><div class="clear"></div></div>
<?php
}
?>
</script>
<script id="tmpl-modalLoading" type="text/html">
<div class="loading"><span><?php
esc_html_e('loading…', 'jetpack');
?>
</span></div>
</script>
<script id="tmpl-mod" type="text/html">
<div href="{{ data.url }}" tabindex="0" data-index="{{ data.index }}" data-name="{{ data.name }}" class="module{{ ( data.new ) ? ' new' : '' }}{{ data.activated ? ' active' : '' }}">
<h3 class="icon {{ data.module }}">{{{ data.name }}}<# if ( ! data.free ) { #><span class="paid"><?php
echo esc_html_x('Paid', 'As in Premium. Premium module description', 'jetpack');