Пример #1
0
			<img src="<?php 
    echo JUri::root() . 'media/mod_languages/images/' . $item['image'] . '.gif';
    ?>
"/>
		<?php 
}
?>
		<?php 
echo $item['title'];
?>
	</h4>
	<?php 
if ($item['placement'] == 'dashboard') {
    ?>
		<?php 
    echo NenoHelper::renderWordCountProgressBar($item['wordCount'], true, true);
    ?>
		<a class="btn <?php 
    echo $item['isInstalled'] == false ? 'not-ready' : '';
    ?>
"
		   href="<?php 
    echo JRoute::_('index.php?option=com_neno&task=setWorkingLang&lang=' . $item['lang_code'] . '&next=editor');
    ?>
">
			<?php 
    echo JText::_('COM_NENO_DASHBOARD_TRANSLATE_BUTTON');
    ?>
		</a>
	<?php 
}
Пример #2
0
			<img src="<?php 
        echo JUri::root() . 'media/mod_languages/images/' . $item->image . '.gif';
        ?>
"/>
		<?php 
    }
    ?>
		<?php 
    echo $item->title;
    ?>
	</h4>
	<?php 
    if ($item->placement == 'dashboard') {
        ?>
		<?php 
        echo NenoHelper::renderWordCountProgressBar($item->wordCount, true, true);
        ?>
		<a class="btn <?php 
        echo $item->isInstalled == false ? 'not-ready' : '';
        ?>
"
		   href="<?php 
        echo JRoute::_('index.php?option=com_neno&task=setWorkingLang&lang=' . $item->lang_code . '&next=editor');
        ?>
">
			<?php 
        echo JText::_('COM_NENO_DASHBOARD_TRANSLATE_BUTTON');
        ?>
		</a>
	<?php 
    }
Пример #3
0
    echo $group->id;
    ?>
"/></td>
						<td colspan="3"><a href="#" class="modalgroupform"><?php 
    echo $group->group_name;
    ?>
</a></td>
						<td<?php 
    echo $group->element_count ? ' class="load-elements"' : '';
    ?>
><?php 
    echo $group->element_count;
    ?>
</td>
						<td><?php 
    echo NenoHelper::renderWordCountProgressBar($group->word_count, 1);
    ?>
</td>
						<td>
							<a href="#" class="modalgroupform">
								<?php 
    if (empty($group->assigned_translation_methods)) {
        ?>
									<?php 
        echo JText::_('COM_NENO_VIEW_GROUPSELEMENTS_ADD_TRANSLATION_METHOD');
        ?>
								<?php 
    } else {
        ?>
									<?php 
        echo NenoHelperBackend::renderTranslationMethodsAsCSV($group->assigned_translation_methods);
Пример #4
0
            <img src="<?php 
    echo JUri::root() . 'media/mod_languages/images/' . $item['image'] . '.gif';
    ?>
"/>
        <?php 
}
?>
        <?php 
echo $item['title'];
?>
    </h4>
    <?php 
if ($item['placement'] == 'dashboard') {
    ?>
        <?php 
    echo NenoHelper::renderWordCountProgressBar($item['wordCount'], $item['isInstalled'], $item['isInstalled']);
    ?>
        <a class="btn <?php 
    echo $item['isInstalled'] == false ? 'not-ready' : '';
    ?>
"
           href="<?php 
    echo JRoute::_('index.php?option=com_neno&task=setWorkingLang&lang=' . $item['lang_code'] . '&next=editor');
    ?>
">
            <?php 
    echo JText::_('COM_NENO_DASHBOARD_TRANSLATE_BUTTON');
    ?>
        </a>
    <?php 
}