Exemple #1
0
			<li><a href="<?php 
echo ProjectInfo::assemblePath($project_id, $domain_handle);
?>
"><?php 
echo ProjectInfo::getDomainName($project_id, $domain_handle);
?>
</a></li>
			<li><a href="<?php 
echo ProjectInfo::assemblePath($project_id, $domain_handle, $volume_handle);
?>
"><?php 
echo ProjectInfo::getVolumeName($project_id, $domain_handle, $volume_handle);
?>
</a></li>
			<li class="active"><?php 
echo ProjectInfo::getPartName($project_id, $domain_handle, $volume_handle, $part_handle);
?>
</li>
		</ol>
	</nav>

	<article class="formal-content" lang="<?php 
echo $doc_lang;
?>
">

		<section class="container-fluid">

<?php 
$prt = ProjectInfo::getPartInfo($project_id, $domain_handle, $volume_handle, $part_handle);
?>
		</div>
<?php 
} else {
    ?>
		<input type="hidden" name="contentCodeLang" value="<?php 
    echo $part_handle;
    ?>
" />
<?php 
}
?>

		<div class="form-group">
			<label for="sectionContent" class="sr-only">
				<?php 
$my_text = t('Your code (%s)', ProjectInfo::getPartName($project_id, $domain_handle, $volume_handle, $part_handle));
echo $my_text;
?>
			</label>
			<textarea class="form-control"
				name="sectionContent" rows="3"
				required="true" placeholder="<?php 
echo $my_text;
?>
"></textarea>
			<span class="help-block"><?php 
echo t('20 characters at least.');
?>
</span>
		</div>