<?php define('RENDER_MODE', 'catalyz');

$node = $page->getNode();

use_helper('Form');
use_helper('Url');

$properties = array();
$properties['page'] = $page;
$properties['node'] = $node;
$properties['ContentTree'] = $ContentTree;

ob_start();
use_helper('I18N');

$allLanguages = sfConfig::get('app_translations_available_languages');
$default = sfConfig::get('app_translations_default_language');
// $existing_languages = $node->getAvailableTranslations();
$allLanguages = Catalyz::getAllTranslations();
unset($allLanguages[$default]);
?>

<div class="content-add01">
	<div class="heading01"><h1>Vous êtes inscrit !</h1></div>
</div>

<table>
	<tfoot>
	 <tr>
	 	<td>
	 	</td>
	 </tr>
	</tfoot>
	<tbody>
		<tr>
			<td>
				<p>Merci !</p>
			</td>
		</tr>
		<tr>
			<td>
				<p>Votre adhésion est finalisée.</p>
				<p>Vous devriez recevoir votre carte d'adhérent dans les jours à venir (sauf si vous en avez déjà une).</p>
			</td>
		</tr>
	</tbody>
</table>

<?php
$content = ob_get_contents();

ob_end_clean();
// $layout = LayoutManager::instance()->getCatalyzTemplate($ContentTreeNode->getCurrentLayoutNameForAction());
$properties['layout_family'] = 'katao';
$properties['layout_name'] = 'layoutv2';
$properties['content'] = $content;

include_component($properties['layout_family'], $properties['layout_name'], $properties);
?>