Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

565 B
Raw Blame
import(common.tpl)

[data-v-save-url]|href = $this->saveUrl
[data-v-domains-url]|href = $this->domainsUrl

@translation = [data-v-translations] tbody tr
@translation|deleteAllButFirstChild

@translation|before = <?php
$count = 0;
if(isset($this->translations) && is_array($this->translations)) {
	foreach ($this->translations as $key => $translation) {
		if (isset($translation['msgstr'])) {?>
	
			@translation td:nth(1)|innerText  = $key
			@translation td:nth(2)|innerText  = $translation['msgstr'][0]
			
			@translation|after = <?php 
		$count++;
		} 
	} 
}?>