|
|
|
@ -13,25 +13,25 @@
@@ -13,25 +13,25 @@
|
|
|
|
|
<h1><?php echo _('Submit') ?></h1> |
|
|
|
|
</div> |
|
|
|
|
<form class="margin-t-8" name="submit" method="post" enctype="multipart/form-data" action="submit"> |
|
|
|
|
<input type="hidden" name="pageId" value="<?php echo $pageId ?>" /> |
|
|
|
|
<input type="hidden" name="pageId" value="<?php echo $form->pageId->attribute->value ?>" /> |
|
|
|
|
<div class="margin-b-16"> |
|
|
|
|
<label for="locale"> |
|
|
|
|
<?php echo _('Content language') ?> |
|
|
|
|
</label> |
|
|
|
|
<sub class="opacity-0 parent-hover-opacity-09" |
|
|
|
|
title="<?php echo $form->locale->attribute->placeholder ?>"> |
|
|
|
|
title="<?php echo $form->locale->placeholder ?>"> |
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" class="bi bi-info-circle-fill" viewBox="0 0 16 16"> |
|
|
|
|
<path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/> |
|
|
|
|
</svg> |
|
|
|
|
</sub> |
|
|
|
|
<select class="width-100 margin-t-8" type="text" name="locale" id="locale"> |
|
|
|
|
<?php foreach ($form->locale->values as $locale) { ?> |
|
|
|
|
<?php foreach ($form->locale->options as $locale) { ?> |
|
|
|
|
<?php if ($locale->active) { ?> |
|
|
|
|
<option value="<?php echo $locale->key ?>" selected="selected"> |
|
|
|
|
<option value="<?php echo $locale->code ?>" selected="selected"> |
|
|
|
|
<?php echo $locale->value ?> |
|
|
|
|
</option> |
|
|
|
|
<?php } else { ?> |
|
|
|
|
<option value="<?php echo $locale->key ?>"> |
|
|
|
|
<option value="<?php echo $locale->code ?>"> |
|
|
|
|
<?php echo $locale->value ?> |
|
|
|
|
</option> |
|
|
|
|
<?php } ?> |
|
|
|
|