mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 02:13:15 +00:00
Merge pull request #1098 from nlegoff/some-385
[3.8.6] Fix some minor bugs
This commit is contained in:
@@ -297,7 +297,7 @@ class Export implements ControllerProviderInterface
|
||||
$mail->setButtonUrl($url);
|
||||
$mail->setExpiration($endDateObject);
|
||||
|
||||
$app['notification.deliverer']->deliver($mail);
|
||||
$app['notification.deliverer']->deliver($mail, !!$request->request->get('reading_confirm', false));
|
||||
unset($remaingEmails[$key]);
|
||||
}
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ class RegistrationServiceProvider implements ServiceProviderInterface
|
||||
),
|
||||
'address' => array(
|
||||
'label' => _('admin::compte-utilisateur adresse'),
|
||||
'type' => 'textarea',
|
||||
'type' => 'text',
|
||||
'constraints' => array(
|
||||
new Assert\NotBlank(),
|
||||
)
|
||||
@@ -96,7 +96,7 @@ class RegistrationServiceProvider implements ServiceProviderInterface
|
||||
new Assert\NotBlank(),
|
||||
)
|
||||
),
|
||||
'position' => array(
|
||||
'job' => array(
|
||||
'label' => _('admin::compte-utilisateur poste'),
|
||||
'type' => 'text',
|
||||
'constraints' => array(
|
||||
@@ -110,7 +110,7 @@ class RegistrationServiceProvider implements ServiceProviderInterface
|
||||
new Assert\NotBlank(),
|
||||
)
|
||||
),
|
||||
'job' => array(
|
||||
'position' => array(
|
||||
'label' => _('admin::compte-utilisateur activite'),
|
||||
'type' => 'text',
|
||||
'constraints' => array(
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<form id="GV_form" class="form-horizontal" method="post" action = "{{ path('setup_submit_globals') }}">
|
||||
<form id="GV_form" class="form-horizontal" method="post" action = "{{ path('setup_submit_globals') }}" autocomplete="off">
|
||||
{% for section in GV %}
|
||||
<fieldset>
|
||||
<legend> {{ section['section'] }} </legend>
|
||||
@@ -63,7 +63,10 @@
|
||||
{% elseif value['type'] == 'string' %}
|
||||
<div class="controls"><input {{ value['required'] is defined ? 'required="required"' : '' }} {{ readonly ? 'readonly="readonly"' : '' }} name="{{ value['name'] }}" id="id_{{ value['name'] }}" type="text" value="{{ currentValue }}" class="input-xxlarge"/>
|
||||
{% elseif value['type'] == 'password' %}
|
||||
<div class="controls"><input {{ value['required'] is defined ? 'required="required"' : '' }} {{ readonly ? 'readonly="readonly"' : '' }} name="{{ value['name'] }}" id="id_{{ value['name'] }}" type="password" value="{{ currentValue }}" class="input-xxlarge"/>
|
||||
<div class="controls">
|
||||
{# input type=password is double because of chrome and autofill issue see http://stackoverflow.com/questions/10938891/disable-autofill-in-chrome-without-disabling-autocomplete #}
|
||||
<input autocomplete="off" {{ value['required'] is defined ? 'required="required"' : '' }} {{ readonly ? 'readonly="readonly"' : '' }} name="{{ value['name'] }}" id="id_{{ value['name'] }}" type="password" value="{{ currentValue }}" class="input-xxlarge" style="display:none"/>
|
||||
<input autocomplete="off" {{ value['required'] is defined ? 'required="required"' : '' }} {{ readonly ? 'readonly="readonly"' : '' }} name="{{ value['name'] }}" id="id_{{ value['name'] }}" type="password" value="{{ currentValue }}" class="input-xxlarge"/>
|
||||
{% elseif value['type'] == 'text' %}
|
||||
<div class="controls"><textarea {{ readonly ? 'readonly="readonly"' : '' }} name="{{ value['name'] }}" id="id_{{ value['name'] }}" class="input-xxlarge">{{ currentValue }}</textarea>
|
||||
{% elseif value['type'] == 'enum' %}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
{% set class_status = '' %}
|
||||
{% endif %}
|
||||
|
||||
<div pos="{{ i }}" id="idEditDiapo_{{ i }}" class="diapo {{ class_status }}" style="width:{{ cont_width }}px; height:{{ cont_height }}px;">
|
||||
<div pos="{{ i }}" id="idEditDiapo_{{ i }}" class="diapo selected {{ class_status }}" style="width:{{ cont_width }}px; height:{{ cont_height }}px;">
|
||||
<div class='titre'>
|
||||
{{ record.get_original_name() }}
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<li onclick="openPreview('REG',0,'{{par.get_serialize_key()}}'); return(false);"
|
||||
class="otherRegToolTip" {% if app['phraseanet.registry'].get('GV_rollover_reg_preview') %}tooltipsrc="{{ path('prod_tooltip_caption', { 'sbas_id' : par.get_sbas_id(), 'record_id' : par.get_record_id(), 'context' : 'basket' }) }}" {% endif %}>
|
||||
<img src="{{par.get_thumbnail().get_url()}}" style="width:25px;height:25px;"/>
|
||||
<span class="title"> {{ par.get_title() }} </span>
|
||||
<span class="title" title="{{ par.get_title() }}"> {{ par.get_title() }} </span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
@@ -514,7 +514,7 @@ button[type=submit] {
|
||||
box-radius: @inputBorderRadius !important;
|
||||
}
|
||||
|
||||
.input-table input {
|
||||
.input-table input, .input-table select, .input-table textarea {
|
||||
border: @inputBorder !important;
|
||||
background-color: @inputBackground !important;
|
||||
color: @textColor !important;
|
||||
|
||||
@@ -2200,7 +2200,6 @@ DIV.thesaurus U.w {
|
||||
}
|
||||
|
||||
.GRP_IMAGE_REP {
|
||||
background-color: #B1B1B1;
|
||||
margin: 5px;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
|
||||
@@ -2244,7 +2244,6 @@ DIV.thesaurus U.w {
|
||||
}
|
||||
|
||||
.GRP_IMAGE_REP {
|
||||
background-color: #B1B1B1;
|
||||
margin: 5px;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user