projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improves registration's first part to properly take into account master and doctorate...
[platal.git]
/
templates
/
include
/
field.select.tpl
diff --git
a/templates/include/field.select.tpl
b/templates/include/field.select.tpl
index
7f99db9
..
4103328
100644
(file)
--- a/
templates/include/field.select.tpl
+++ b/
templates/include/field.select.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-20
08
Polytechnique.org *}
+{* Copyright (C) 2003-20
11
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-20,16
+20,18
@@
{* *}
{**************************************************************************}
{* *}
{**************************************************************************}
-{if
$with_text_value
}
+{if
t($with_text_value)
}
<div>
{/if}
<div>
{/if}
-<select name="{$name}"{if
$onchange} onchange="{$onchange}"{/if}{if $id
} id="{$id}"{/if}>
+<select name="{$name}"{if
t($onchange)} onchange="{$onchange}"{/if}{if t($id)
} id="{$id}"{/if}>
<option value=""> - </option>
<option value=""> - </option>
+ {if $list}
{iterate from=$list item='option'}
<option value="{$option.id}">{$option.field|htmlspecialchars}</option>
{/iterate}
{iterate from=$list item='option'}
<option value="{$option.id}">{$option.field|htmlspecialchars}</option>
{/iterate}
+ {/if}
</select>
</select>
-{if
$with_text_value
}
+{if
t($with_text_value)
}
<input type="hidden" value="" name="{$name}Txt" />
</div>
{/if}
<input type="hidden" value="" name="{$name}Txt" />
</div>
{/if}