mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Fix twig tags
This commit is contained in:
@@ -40,19 +40,19 @@
|
||||
<input type="hidden" name="{{key}}" value="{{value}}">
|
||||
{% endfor %}
|
||||
{% if errorMessage %}
|
||||
<p class="login_error">{% trans 'Erreur de login / mot de passe' %}</p>
|
||||
<p class="login_error">{{ 'Erreur de login / mot de passe' | trans }}</p>
|
||||
{% endif %}
|
||||
<p class="login_hello">
|
||||
{% trans %}
|
||||
Bonjour, veuillez vous identifier sur {{home_title}} :
|
||||
{% endtrans %}
|
||||
</p>
|
||||
<input id="myLogin" name="login" class="span6" type="text" placeholder="{% trans 'admin::compte-utilisateur identifiant' %}" />
|
||||
<input id="myPass" name="password" class="span6" type="password" placeholder="{% trans 'admin::compte-utilisateur mot de passe' %}" />
|
||||
<input id="button_login" name="action_login" class="btn btn-inverse btn-large span6" type="submit" value="{% trans 'Se connecter' %}" />
|
||||
<input id="myLogin" name="login" class="span6" type="text" placeholder="{{ 'admin::compte-utilisateur identifiant' | trans }}" />
|
||||
<input id="myPass" name="password" class="span6" type="password" placeholder="{{ 'admin::compte-utilisateur mot de passe' | trans }}" />
|
||||
<input id="button_login" name="action_login" class="btn btn-inverse btn-large span6" type="submit" value="{{ 'Se connecter' | trans }}" />
|
||||
</form>
|
||||
<p>
|
||||
<a href="#">{% trans 'Problèmes de connexion ?' %}</a>
|
||||
<a href="#">{{ 'Problèmes de connexion ?' | trans }}</a>
|
||||
</p>
|
||||
</div>
|
||||
{% else %}
|
||||
@@ -87,14 +87,14 @@
|
||||
<input type="hidden" name="{{key}}" value="{{value}}">
|
||||
{% endfor %}
|
||||
<input type="hidden" name="action_accept" value="1">
|
||||
<input id="button_access" class="btn btn-inverse btn-large span3" type="submit" value="{% trans 'Autoriser' %}" />
|
||||
<input id="button_access" class="btn btn-inverse btn-large span3" type="submit" value="{{ 'Autoriser' | trans }}" />
|
||||
</form>
|
||||
<form method="post" class="access-deny">
|
||||
{% for key,value in auth.getParams %}
|
||||
<input type="hidden" name="{{key}}" value="{{value}}">
|
||||
{% endfor %}
|
||||
<input type="hidden" name="action_accept" value="0">
|
||||
<input id="button_deny" class="btn btn-inverse btn-large span3" type="submit" value="{% trans 'Ne pas autoriser' %}" />
|
||||
<input id="button_deny" class="btn btn-inverse btn-large span3" type="submit" value="{{ 'Ne pas autoriser' | trans }}" />
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@@ -4,9 +4,9 @@
|
||||
<meta charset="utf-8" />
|
||||
<title>
|
||||
{% if error is defined %}
|
||||
{% trans 'Fail' %}
|
||||
{{ 'Fail' | trans }}
|
||||
{% else %}
|
||||
{% trans 'Success' %}
|
||||
{{ 'Success' | trans }}
|
||||
{% endif %}
|
||||
</title>
|
||||
<meta name="author" content="Alchemy" />
|
||||
|
@@ -39,14 +39,14 @@
|
||||
{% if basket_element.getBasket().getValidation().getParticipant(app['authentication'].getUser(), app).getCanAgree() %}
|
||||
<fieldset data-role="controlgroup" data-type="horizontal" style="text-align:center;">
|
||||
<input {% if basket_element.getUserValidationDatas(app['authentication'].getUser(), app).getAgreement() == true%}checked="checked"{% endif %} type="radio" name="radio-view" id="radio-view-yes_{{basket_element.getId()}}" value="yes" />
|
||||
<label class="agreement_radio" style="width:130px;text-align:center;" for="radio-view-yes_{{basket_element.getId()}}">{% trans 'validation:: OUI' %}</label>
|
||||
<label class="agreement_radio" style="width:130px;text-align:center;" for="radio-view-yes_{{basket_element.getId()}}">{{ 'validation:: OUI' | trans }}</label>
|
||||
<input {% if basket_element.getUserValidationDatas(app['authentication'].getUser(), app).getAgreement() == false and basket_element.getUserValidationDatas(app['authentication'].getUser(), app).getAgreement() is not null %}checked="checked"{% endif %} type="radio" name="radio-view" id="radio-view-no_{{basket_element.getId()}}" value="no" />
|
||||
<label class="agreement_radio" style="width:130px;text-align:center;" for="radio-view-no_{{basket_element.getId()}}">{% trans 'validation:: NON' %}</label>
|
||||
<label class="agreement_radio" style="width:130px;text-align:center;" for="radio-view-no_{{basket_element.getId()}}">{{ 'validation:: NON' | trans }}</label>
|
||||
</fieldset>
|
||||
{% endif %}
|
||||
<div style="text-align:center;margin:0 0 1em 0">
|
||||
<a href="{{ path('lightbox_ajax_note_form', { 'sselcont_id' : basket_element.getId() }) }}" data-role="button" data-inline="true" data-rel="dialog" data-transition="slidedown">
|
||||
{% trans 'validation:: editer ma note' %}
|
||||
{{ 'validation:: editer ma note' | trans }}
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
|
@@ -12,10 +12,10 @@
|
||||
<h1>{{module_name}}</h1>
|
||||
</div>
|
||||
<div data-role="content">
|
||||
<h2 style="font-weight:bold;font-size:20px;margin:40px 0;">{% trans 'Erreur !' %}</h2>
|
||||
<p>{% trans 'Le panier demande nexiste plus' %}</p>
|
||||
<h2 style="font-weight:bold;font-size:20px;margin:40px 0;">{{ 'Erreur !' | trans }}</h2>
|
||||
<p>{{ 'Le panier demande nexiste plus' | trans }}</p>
|
||||
<p>{{error}}</p>
|
||||
<p><a style="color:black;" target="_self" href="{{ path('lightbox') }}">{% trans 'Retour a l\'accueil' %}</a></p>
|
||||
<p><a style="color:black;" target="_self" href="{{ path('lightbox') }}">{{ 'Retour a l\'accueil' | trans }}</a></p>
|
||||
</div>
|
||||
<div data-role="footer">
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
<div id="home" data-role="page">
|
||||
<div data-role="header">
|
||||
<h1>{{feed_entry.getTitle()}}</h1>
|
||||
<a rel="external" href="{{ path('lightbox') }}" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">{% trans 'Home' %}</a>
|
||||
<a rel="external" href="{{ path('lightbox') }}" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">{{ 'Home' | trans }}</a>
|
||||
</div>
|
||||
<div data-role="content">
|
||||
<p>
|
||||
|
@@ -36,21 +36,21 @@
|
||||
<div id="home" data-role="page">
|
||||
<div data-role="header">
|
||||
<h1>{{module_name}}</h1>
|
||||
<a href="#about" class="ui-btn-right">{% trans 'a propos'%}</a>
|
||||
<a href="#about" class="ui-btn-right">{{ 'a propos' | trans }}</a>
|
||||
</div>
|
||||
<div data-role="content">
|
||||
<ul data-role="listview" style="width:100%;margin: 0;">
|
||||
<li>
|
||||
<a href="#validation">{% trans 'Validations'%}</a>
|
||||
<a href="#validation">{{ 'Validations' | trans }}</a>
|
||||
<span class="ui-li-count">{{_self.valid_baskets_length(baskets_collection)}}</span>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#baskets">{% trans 'Paniers'%}</a>
|
||||
<a href="#baskets">{{ 'Paniers' | trans }}</a>
|
||||
<span class="ui-li-count">{{_self.baskets_length(baskets_collection)}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div style="margin:2em 0 0 0">
|
||||
<a href="{{ path ('logout') }}" data-role="button" rel="external">{% trans 'Deconnexion' %}</a>
|
||||
<a href="{{ path ('logout') }}" data-role="button" rel="external">{{ 'Deconnexion' | trans }}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div data-role="footer">
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
<div id="about" data-role="page">
|
||||
<div data-role="header">
|
||||
<h1>{% trans 'a propos'%}</h1>
|
||||
<h1>{{ 'a propos' | trans }}</h1>
|
||||
</div>
|
||||
<div data-role="content">
|
||||
<p>Phraseanet Version {{ app['phraseanet.version'].getName() }} - {{ app['phraseanet.version'].getNumber() }}</p>
|
||||
@@ -79,12 +79,12 @@
|
||||
|
||||
<div id="validation" data-role="page">
|
||||
<div data-role="header">
|
||||
<a href="#home" data-rel="back" data-icon="arrow-l">{% trans 'Back' %}</a>
|
||||
<h1>{% trans 'Validations'%}</h1>
|
||||
<a href="#home" data-rel="back" data-icon="arrow-l">{{ 'Back' | trans }}</a>
|
||||
<h1>{{ 'Validations' | trans }}</h1>
|
||||
</div>
|
||||
<div data-role="content">
|
||||
<p>
|
||||
{% trans 'Voici vos validations en cours' %}
|
||||
{{ 'Voici vos validations en cours' | trans }}
|
||||
</p>
|
||||
<ul data-role="listview" style="width:100%;margin: 0;">
|
||||
{% for basket in baskets_collection %}
|
||||
@@ -109,11 +109,11 @@
|
||||
|
||||
<div id="baskets" data-role="page">
|
||||
<div data-role="header">
|
||||
<h1>{% trans 'Paniers'%}</h1>
|
||||
<h1>{{ 'Paniers' | trans }}</h1>
|
||||
</div>
|
||||
<div data-role="content">
|
||||
<p>
|
||||
{% trans 'Voici vos paniers' %}
|
||||
{{ 'Voici vos paniers' | trans }}
|
||||
</p>
|
||||
<ul data-role="listview" style="width:100%;margin: 0;">
|
||||
{% for basket in baskets_collection %}
|
||||
|
@@ -20,7 +20,7 @@
|
||||
<textarea class="note_area"
|
||||
id="note_area_{{basket_element.getId()}}"
|
||||
{% if basket_element.getUserValidationDatas(app['authentication'].getUser(), app).getNote() == '' %}placeholder="Note"{% endif %}>{{basket_element.getUserValidationDatas(app['authentication'].getUser(), app).getNote()}}</textarea>
|
||||
<button type="submit" class="note_area_validate">{% trans 'boutton::valider' %}</button>
|
||||
<button type="submit" class="note_area_validate">{{ 'boutton::valider' | trans }}</button>
|
||||
<input name="sselcont_id" value="{{basket_element.getId()}}" type="hidden"/>
|
||||
</form>
|
||||
</div>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
{{ validationDatas.getParticipant().getUser(app).get_display_name() }}
|
||||
</h3>
|
||||
{% if validationDatas.getNote() != '' %}
|
||||
<p style="text-align:left;">{% trans 'validation:: note'%} : {{ validationDatas.getNote()|nl2br }}</p>
|
||||
<p style="text-align:left;">{{ 'validation:: note' | trans }} : {{ validationDatas.getNote()|nl2br }}</p>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endif %}
|
||||
|
@@ -4,7 +4,7 @@
|
||||
{% block javascript %}
|
||||
<script type="text/javascript">
|
||||
{% if basket.getValidation() %}
|
||||
var releasable = {% if basket.getValidation().getParticipant(app['authentication'].getUser(), app).isReleasable() %}"{% trans 'Do you want to send your report ?' %}"{% else %}false{% endif %}
|
||||
var releasable = {% if basket.getValidation().getParticipant(app['authentication'].getUser(), app).isReleasable() %}"{{ 'Do you want to send your report ?' | trans }}"{% else %}false{% endif %}
|
||||
{% endif %}
|
||||
</script>
|
||||
<script type="text/javascript" src="{{ path('minifier', { 'f' : 'skins/lightbox/jquery.validator.mobile.js' }) }}"></script>
|
||||
@@ -17,9 +17,9 @@
|
||||
{% block content %}
|
||||
<div id="home" data-role="page">
|
||||
<div data-role="header">
|
||||
<a href="{{ path('lightbox') }}{% if basket.getValidation() %}#validation{% else %}#baskets{% endif %}" data-rel="back" data-icon="arrow-l">{% trans 'Back' %}</a>
|
||||
<a href="{{ path('lightbox') }}{% if basket.getValidation() %}#validation{% else %}#baskets{% endif %}" data-rel="back" data-icon="arrow-l">{{ 'Back' | trans }}</a>
|
||||
<h1>{{basket.getName()}}</h1>
|
||||
<a rel="external" href="{{ path('lightbox') }}" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">{% trans 'Home' %}</a>
|
||||
<a rel="external" href="{{ path('lightbox') }}" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">{{ 'Home' | trans }}</a>
|
||||
</div>
|
||||
<div data-role="content">
|
||||
<input type="hidden" id="basket_validation_id" value="{{ basket.getId() }}">
|
||||
@@ -44,8 +44,8 @@
|
||||
</div>
|
||||
<div data-role="footer">
|
||||
{% if basket.getValidation() and basket.getValidation().getParticipant(app['authentication'].getUser(), app).getCanAgree() %}
|
||||
<button class="confirm_report" style="width:100%;" title="{% trans 'validation::envoyer mon rapport'%}">
|
||||
{% trans 'validation::envoyer mon rapport'%}
|
||||
<button class="confirm_report" style="width:100%;" title="{{ 'validation::envoyer mon rapport' | trans }}">
|
||||
{{ 'validation::envoyer mon rapport' | trans }}
|
||||
<img src="/skins/icons/loader1F1E1B.gif" style="visibility:hidden;" class="loader"/>
|
||||
</button>
|
||||
{% endif %}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% extends "account/base.html.twig" %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Granted bases" %}
|
||||
{{ "Granted bases" | trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% set selected = "access" %}
|
||||
@@ -27,9 +27,9 @@
|
||||
{% set base_id = sbasId |base_from_coll(collId, app) %}
|
||||
<tr>
|
||||
<td colspan="3" style="text-align:center;">
|
||||
{% trans "login::register: acces authorise sur la collection " %}{{ sbasId |sbas_labels(app) }}
|
||||
{{ "login::register: acces authorise sur la collection " | trans }}{{ sbasId |sbas_labels(app) }}
|
||||
{% if isTrue | trim != "" %}
|
||||
<a class="inscriptlink" href="{{ path('get_tou', {'to_display[]' : sbasId}) }}">{% trans "login::register::CGU: lire les CGU" %}</a>
|
||||
<a class="inscriptlink" href="{{ path('get_tou', {'to_display[]' : sbasId}) }}">{{ "login::register::CGU: lire les CGU" | trans }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -46,9 +46,9 @@
|
||||
{% set base_id = sbasId |base_from_coll(collId, app) %}
|
||||
<tr>
|
||||
<td colspan="3" style="text-align: center;">
|
||||
<span style="color: red;">{% trans "login::register: acces refuse sur la collection " %}{{ sbasId |sbas_labels(app) }}</span>
|
||||
<span style="color: red;">{{ "login::register: acces refuse sur la collection " | trans }}{{ sbasId |sbas_labels(app) }}</span>
|
||||
{% if isTrue | trim != "" %}
|
||||
<a class="inscriptlink" href="{{ path('get_tou', {'to_display[]' : sbasId}) }}">{% trans "login::register::CGU: lire les CGU" %}</a>
|
||||
<a class="inscriptlink" href="{{ path('get_tou', {'to_display[]' : sbasId}) }}">{{ "login::register::CGU: lire les CGU" | trans }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -64,9 +64,9 @@
|
||||
{% set base_id = sbasId |base_from_coll(collId, app) %}
|
||||
<tr>
|
||||
<td colspan="3" style="text-align: center;">
|
||||
<span style="color: orange;">{% trans "login::register: en attente d\'acces sur" %} {{ sbasId |sbas_labels(app) }}</span>
|
||||
<span style="color: orange;">{{ "login::register: en attente d\'acces sur" | trans }} {{ sbasId |sbas_labels(app) }}</span>
|
||||
{% if isTrue | trim != "" %}
|
||||
<a class="inscriptlink" href="{{ path('get_tou', {'to_display[]' : sbasId}) }}">{% trans "login::register::CGU: lire les CGU" %}</a>
|
||||
<a class="inscriptlink" href="{{ path('get_tou', {'to_display[]' : sbasId}) }}">{{ "login::register::CGU: lire les CGU" | trans }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -79,9 +79,9 @@
|
||||
{% set base_id = sbasId |base_from_coll(collId, app) %}
|
||||
<tr>
|
||||
<td colspan="3" style="text-align: center;">
|
||||
<span>{% trans "login::register: acces temporaire sur" %} {{ sbasId |sbas_labels(app) }}</span>
|
||||
<span>{{ "login::register: acces temporaire sur" | trans }} {{ sbasId |sbas_labels(app) }}</span>
|
||||
{% if isTrue |trim != "" %}
|
||||
<a class="inscriptlink" href="{{ path('get_tou', {'to_display[]' : sbasId}) }}">{% trans "login::register::CGU: lire les CGU" %}</a>
|
||||
<a class="inscriptlink" href="{{ path('get_tou', {'to_display[]' : sbasId}) }}">{{ "login::register::CGU: lire les CGU" | trans }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -94,9 +94,9 @@
|
||||
{% set base_id = sbasId |base_from_coll(collId, app) %}
|
||||
<tr>
|
||||
<td colspan="3" style="text-align: center;">
|
||||
<span style="color:red;">{% trans "login::register: acces temporaire termine sur " %}{{ sbasId |sbas_labels(app) }}</span>
|
||||
<span style="color:red;">{{ "login::register: acces temporaire termine sur " | trans }}{{ sbasId |sbas_labels(app) }}</span>
|
||||
{% if isTrue |trim != "" %}
|
||||
<a class="inscriptlink" href="{{ path('get_tou', {'to_display[]' : sbasId}) }}">{% trans "login::register::CGU: lire les CGU" %}</a>
|
||||
<a class="inscriptlink" href="{{ path('get_tou', {'to_display[]' : sbasId}) }}">{{ "login::register::CGU: lire les CGU" | trans }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -109,9 +109,9 @@
|
||||
{% set base_id = sbasId |base_from_coll(collId, app) %}
|
||||
<tr>
|
||||
<td colspan="3" style="text-align: center;">
|
||||
<span style="color:red;">{% trans "login::register: acces supendu sur" %} {{ sbasId |sbas_labels(app) }}</span>
|
||||
<span style="color:red;">{{ "login::register: acces supendu sur" | trans }} {{ sbasId |sbas_labels(app) }}</span>
|
||||
{% if isTrue |trim != "" %}
|
||||
<a class="inscriptlink" href="{{ path('get_tou', {'to_display[]' : sbasId}) }}">{% trans "login::register::CGU: lire les CGU" %}</a>
|
||||
<a class="inscriptlink" href="{{ path('get_tou', {'to_display[]' : sbasId}) }}">{{ "login::register::CGU: lire les CGU" | trans }}</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -123,7 +123,7 @@
|
||||
{% if baseInsc["Colls"] %}
|
||||
{% if baseInsc["CGU"] %}
|
||||
<tr>
|
||||
<td colspan="3" style="text-align: center;">{% trans "login::register: L\'acces aux bases ci-dessous implique l\'acceptation des Conditions Generales d\'Utilisation (CGU) suivantes" %}</td>
|
||||
<td colspan="3" style="text-align: center;">{{ "login::register: L\'acces aux bases ci-dessous implique l\'acceptation des Conditions Generales d\'Utilisation (CGU) suivantes" | trans }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" style="text-align: center;"><div style="width: 90%; height: 120px; text-align: left; overflow: auto;">{{ baseInsc["CGU"] }}</div></td>
|
||||
@@ -136,7 +136,7 @@
|
||||
<td></td>
|
||||
<td class="TD_R" style="width: 200px;">
|
||||
<input style="width: 15px;" class="checkbox" type="checkbox" name="demand[]" value="{{ base_id }}" />
|
||||
<span>{% trans "login::register: Faire une demande d\'acces" %}</span>
|
||||
<span>{{ "login::register: Faire une demande d\'acces" | trans }}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
@@ -148,7 +148,7 @@
|
||||
<td colspan="3" style="text-align: center;"><hr style="width: 80%"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" style="text-align: center;">{% trans "login::register: L\'acces aux bases ci-dessous implique l\'acceptation des Conditions Generales d\'Utilisation (CGU) suivantes" %}</td>
|
||||
<td colspan="3" style="text-align: center;">{{ "login::register: L\'acces aux bases ci-dessous implique l\'acceptation des Conditions Generales d\'Utilisation (CGU) suivantes" | trans }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" style="text-align: center;">
|
||||
@@ -160,7 +160,7 @@
|
||||
<td></td>
|
||||
<td class="TD_R" style="width: 200px;">
|
||||
<input style="width: 15px;" class="checkbox" type="checkbox" name="demand[]" value="{{ base_id }}" />
|
||||
<span>{% trans "login::register: Faire une demande d\'acces" %}</span>
|
||||
<span>{{ "login::register: Faire une demande d\'acces" | trans }}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
@@ -169,7 +169,7 @@
|
||||
{% endfor %}
|
||||
</table>
|
||||
<div class="form-actions">
|
||||
<input type="submit" class="btn btn-info" value="{% trans "boutton::valider" %}">
|
||||
<input type="submit" class="btn btn-info" value="{{ "boutton::valider" | trans }}">
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
@@ -23,7 +23,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "login:: Mon compte" %}
|
||||
{{ "login:: Mon compte" | trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content_account %}
|
||||
@@ -34,117 +34,117 @@
|
||||
<form name="account" id="account" class="form-horizontal" action="{{ path("submit_update_account") }}" method="post">
|
||||
<div class="row-fluid">
|
||||
<div class="span12 well well-small" id="phr-account">
|
||||
<legend>{% trans "Informations personnelles" %}</legend>
|
||||
<legend>{{ "Informations personnelles" | trans }}</legend>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_login"><strong>{% trans "admin::compte-utilisateur identifiant" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_login"><strong>{{ "admin::compte-utilisateur identifiant" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<span class="control-span">{{ app["authentication"].getUser().get_login() }}</span>
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_gender"><strong>{% trans "admin::compte-utilisateur sexe" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_gender"><strong>{{ "admin::compte-utilisateur sexe" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<select name="form_gender" class="input-xlarge">
|
||||
<option value=""></option>
|
||||
<option {% if app["authentication"].getUser().get_gender() == "0" %}selected{% endif %} value="0" >
|
||||
{% trans "admin::compte-utilisateur:sexe: mademoiselle" %}
|
||||
{{ "admin::compte-utilisateur:sexe: mademoiselle" | trans }}
|
||||
</option>
|
||||
<option {% if app["authentication"].getUser().get_gender() == "1" %}selected{% endif %} value="1" >
|
||||
{% trans "admin::compte-utilisateur:sexe: madame" %}
|
||||
{{ "admin::compte-utilisateur:sexe: madame" | trans }}
|
||||
</option>
|
||||
<option {% if app["authentication"].getUser().get_gender() == "2" %}selected{% endif %} value="2" >
|
||||
{% trans "admin::compte-utilisateur:sexe: monsieur" %}
|
||||
{{ "admin::compte-utilisateur:sexe: monsieur" | trans }}
|
||||
</option>
|
||||
</select>
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_lastname"><strong>{% trans "admin::compte-utilisateur nom" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_lastname"><strong>{{ "admin::compte-utilisateur nom" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_lastname" id="form_lastname" value="{{ app["authentication"].getUser().get_lastname() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_firstname"><strong>{% trans "admin::compte-utilisateur prenom" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_firstname"><strong>{{ "admin::compte-utilisateur prenom" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_firstname" id="form_firstname" value="{{ app["authentication"].getUser().get_firstname() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_firstname"><strong>{% trans "admin::compte-utilisateur email" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_firstname"><strong>{{ "admin::compte-utilisateur email" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<span class="control-span">{{ app["authentication"].getUser().get_email() }} <a href="{{ path("account_reset_email") }}" target="_self">{% trans "login:: Changer mon adresse email" %}</a></span>
|
||||
<span class="control-span">{{ app["authentication"].getUser().get_email() }} <a href="{{ path("account_reset_email") }}" target="_self">{{ "login:: Changer mon adresse email" | trans }}</a></span>
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label"><strong>{% trans "Password" %}</strong></label>
|
||||
<label class="control-label"><strong>{{ "Password" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<span class="control-span"><a href="{{ path("reset_password") }}" target="_self">{% trans "admin::compte-utilisateur changer mon mot de passe" %}</a></span>
|
||||
<span class="control-span"><a href="{{ path("reset_password") }}" target="_self">{{ "admin::compte-utilisateur changer mon mot de passe" | trans }}</a></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_address"><strong>{% trans "admin::compte-utilisateur adresse" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_address"><strong>{{ "admin::compte-utilisateur adresse" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_address" id="form_address" value="{{ app["authentication"].getUser().get_address() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_zip"><strong>{% trans "admin::compte-utilisateur code postal" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_zip"><strong>{{ "admin::compte-utilisateur code postal" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_zip" id="form_zip" value="{{ app["authentication"].getUser().get_zipcode() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_city"><strong>{% trans "admin::compte-utilisateur ville" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_city"><strong>{{ "admin::compte-utilisateur ville" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge geoname_field" type="text" name="form_geonameid" id="form_geonameid" value="{{ app["authentication"].getUser().get_geonameid() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_function"><strong>{% trans "admin::compte-utilisateur poste" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_function"><strong>{{ "admin::compte-utilisateur poste" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_function" id="form_function" value="{{ app["authentication"].getUser().get_position() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_company"><strong>{% trans "admin::compte-utilisateur societe" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_company"><strong>{{ "admin::compte-utilisateur societe" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_company" id="form_company" value="{{ app["authentication"].getUser().get_company() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_activity"><strong>{% trans "admin::compte-utilisateur activite" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_activity"><strong>{{ "admin::compte-utilisateur activite" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_activity" id="form_activity" value="{{ app["authentication"].getUser().get_job() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_phone"><strong>{% trans "admin::compte-utilisateur telephone" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_phone"><strong>{{ "admin::compte-utilisateur telephone" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_phone" id="form_phone" value="{{ app["authentication"].getUser().get_tel() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_fax"><strong>{% trans "admin::compte-utilisateur fax" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_fax"><strong>{{ "admin::compte-utilisateur fax" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_fax" id="form_fax" value="{{ app["authentication"].getUser().get_fax() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<legend>{% trans "Notification par email" %}</legend>
|
||||
<legend>{{ "Notification par email" | trans }}</legend>
|
||||
|
||||
{% for notification_group, nots in notifications%}
|
||||
<div class="control-group">
|
||||
@@ -165,12 +165,12 @@
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<legend>{% trans "FTP" %}</legend>
|
||||
<legend>{{ "FTP" | trans }}</legend>
|
||||
|
||||
{% set ftpCredential = app["authentication"].getUser().getFtpCredential() %}
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<label class="form_label checkbox" for="form_activeFTP">{% trans "admin::compte-utilisateur:ftp: Activer le compte FTP" %}
|
||||
<label class="form_label checkbox" for="form_activeFTP">{{ "admin::compte-utilisateur:ftp: Activer le compte FTP" | trans }}
|
||||
<input class="input_element input-xlarge" type="checkbox" name="form_activeFTP" id="form_activeFTP" {% if ftpCredential.isActive() %}checked{% endif %} onchange="if(this.checked){$('#ftpinfos').slideDown();}else{$('#ftpinfos').slideUp();}" />
|
||||
</label>
|
||||
<p class="form_alert help-block"></p>
|
||||
@@ -179,35 +179,35 @@
|
||||
|
||||
<div id="ftpinfos" style="display:{% if ftpCredential.isActive() %}block{% else %}none{% endif %}">
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_addressFTP"><strong>{% trans "phraseanet:: adresse" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_addressFTP"><strong>{{ "phraseanet:: adresse" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_addressFTP" id="form_addressFTP" value="{{ ftpCredential.getAddress() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_loginFTP"><strong>{% trans "admin::compte-utilisateur identifiant" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_loginFTP"><strong>{{ "admin::compte-utilisateur identifiant" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_loginFTP" id="form_loginFTP" value="{{ ftpCredential.getLogin() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_pwdFTP"><strong>{% trans "admin::compte-utilisateur mot de passe" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_pwdFTP"><strong>{{ "admin::compte-utilisateur mot de passe" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_pwdFTP" id="form_pwdFTP" value="{{ ftpCredential.getPassword() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_destFTP"><strong>{% trans "admin::compte-utilisateur:ftp: repertoire de destination ftp" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_destFTP"><strong>{{ "admin::compte-utilisateur:ftp: repertoire de destination ftp" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_destFTP" id="form_destFTP" value="{{ ftpCredential.getReceptionFolder() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_prefixFTPfolder"><strong>{% trans "admin::compte-utilisateur:ftp: prefixe des noms de dossier ftp" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_prefixFTPfolder"><strong>{{ "admin::compte-utilisateur:ftp: prefixe des noms de dossier ftp" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_prefixFTPfolder" id="form_prefixFTPfolder" value="{{ ftpCredential.getRepositoryPrefixName() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
@@ -216,14 +216,14 @@
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<label class="form_label checkbox" for="form_passifFTP">
|
||||
{% trans "admin::compte-utilisateur:ftp: Utiliser le mode passif" %}
|
||||
{{ "admin::compte-utilisateur:ftp: Utiliser le mode passif" | trans }}
|
||||
<input class="input_element input-xlarge" type="checkbox" name="form_passifFTP" id="form_passifFTP" {% if ftpCredential.isPassive() %}checked{% endif %} />
|
||||
</label>
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_retryFTP"><strong>{% trans "admin::compte-utilisateur:ftp: Nombre d\'essais max" %}</strong></label>
|
||||
<label class="form_label control-label" for="form_retryFTP"><strong>{{ "admin::compte-utilisateur:ftp: Nombre d\'essais max" | trans }}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge" type="text" name="form_retryFTP" id="form_retryFTP" value="{{ ftpCredential.getMaxRetry() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
@@ -232,7 +232,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
<input type="submit" class="btn btn-info btn-" value="{% trans "boutton::valider" %}">
|
||||
<input type="submit" class="btn btn-info btn-" value="{{ "boutton::valider" | trans }}">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% extends "account/base.html.twig" %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Granted third party applications" %}
|
||||
{{ "Granted third party applications" | trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% set selected = "applications" %}
|
||||
@@ -10,15 +10,15 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span6">
|
||||
<div id="content-apps">
|
||||
<h3>{% trans "Vous avez autorise ces applications a acceder a votre compte" %}</h3>
|
||||
<h3>{{ "Vous avez autorise ces applications a acceder a votre compte" | trans }}</h3>
|
||||
{% if applications|length > 0 %}
|
||||
<ul class="unstyled app-list">
|
||||
{% for application in applications %}
|
||||
<li id="app_{{ application.get_id() }}">
|
||||
<div>
|
||||
{% set account = application.get_user_account(app["authentication"].getUser()) %}
|
||||
<a href="{{ path("grant_app_access", {"application_id" : application.get_id()}) }}" class="revoke app-btn btn btn-small pull-right {% if account.is_revoked() %}hidden{% endif %}" value="{{application.get_id()}}">{% trans "Revoquer l\'access" %}</a>
|
||||
<a href="{{ path("grant_app_access", {"application_id" : application.get_id()}) }}" class="authorize app-btn btn btn-small pull-right {% if not account.is_revoked() %}hidden{% endif %}" value="{{application.get_id()}}">{% trans "Authoriser l\'access" %}</a>
|
||||
<a href="{{ path("grant_app_access", {"application_id" : application.get_id()}) }}" class="revoke app-btn btn btn-small pull-right {% if account.is_revoked() %}hidden{% endif %}" value="{{application.get_id()}}">{{ "Revoquer l\'access" | trans }}</a>
|
||||
<a href="{{ path("grant_app_access", {"application_id" : application.get_id()}) }}" class="authorize app-btn btn btn-small pull-right {% if not account.is_revoked() %}hidden{% endif %}" value="{{application.get_id()}}">{{ "Authoriser l\'access" | trans }}</a>
|
||||
<p class="app-row">
|
||||
<a href="{{ application.get_website() }}" target="_blank">
|
||||
<strong>{{ application.get_name() }}</strong>
|
||||
@@ -33,8 +33,8 @@
|
||||
{% endif%}
|
||||
</p>
|
||||
<p class="app-row">
|
||||
<span class="status text-error {% if account.is_revoked() == false %}hidden{% endif %}">{% trans "Not Allowed"%}</span>
|
||||
<span class="status text-success {% if account.is_revoked() == true %}hidden{% endif %}">{% trans "Allowed"%}</span>
|
||||
<span class="status text-error {% if account.is_revoked() == false %}hidden{% endif %}">{{ "Not Allowed" | trans }}</span>
|
||||
<span class="status text-success {% if account.is_revoked() == true %}hidden{% endif %}">{{ "Allowed" | trans }}</span>
|
||||
</p>
|
||||
<p class="app-row">{{ application.get_description()|truncate(120, true, "...") }}</p>
|
||||
</div>
|
||||
@@ -43,23 +43,23 @@
|
||||
</ul>
|
||||
{% else %}
|
||||
<div>
|
||||
{% trans "Aucune application n\'a accés à vos données." %}
|
||||
{{ "Aucune application n\'a accés à vos données." | trans }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<div class="well well-small">
|
||||
<h3>{% trans "Third-party applications" %}</h3>
|
||||
<h3>{{ "Third-party applications" | trans }}</h3>
|
||||
<p>
|
||||
{% trans "A third-party application is a product developed apart from Phraseanet and that would access Phraseanet data." %}
|
||||
{{ "A third-party application is a product developed apart from Phraseanet and that would access Phraseanet data." | trans }}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="well well-small">
|
||||
<h3>{% trans "Developpeurs" %}</h3>
|
||||
<h3>{{ "Developpeurs" | trans }}</h3>
|
||||
<p>
|
||||
{% trans "Les developpeurs peuvent editer l\'enregistrement de leurs application grace a l\'onglet 'developpeurs' ci-dessus" %}
|
||||
{{ "Les developpeurs peuvent editer l\'enregistrement de leurs application grace a l\'onglet 'developpeurs' ci-dessus" | trans }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -20,11 +20,11 @@
|
||||
<div class="navbar-inner">
|
||||
<span class="brand">{{ app["phraseanet.registry"].get("GV_homeTitle") }}<span class="section-title"> {{ block("title") }}</span></span>
|
||||
<ul class="nav">
|
||||
<li {% if selected == "informations" %}class="active"{% endif %}><a href="{{ path("account") }}">{% trans "Informations" %}</a></li>
|
||||
<li {% if selected == "access" %}class="active"{% endif %}><a href="{{ path("account_access") }}">{% trans "Acces" %}</a></li>
|
||||
<li {% if selected == "sessions" %}class="active"{% endif %}><a href="{{ path("account_sessions") }}">{% trans "Sessions" %}</a></li>
|
||||
<li {% if selected == "applications" %}class="active"{% endif %}><a href="{{ path("account_auth_apps") }}">{% trans "Applications" %}</a></li>
|
||||
<li {% if selected == "developer" %}class="active"{% endif %}><a href="{{ path("developers_applications") }}">{% trans "Developpeur" %}</a></li>
|
||||
<li {% if selected == "informations" %}class="active"{% endif %}><a href="{{ path("account") }}">{{ "Informations" | trans }}</a></li>
|
||||
<li {% if selected == "access" %}class="active"{% endif %}><a href="{{ path("account_access") }}">{{ "Acces" | trans }}</a></li>
|
||||
<li {% if selected == "sessions" %}class="active"{% endif %}><a href="{{ path("account_sessions") }}">{{ "Sessions" | trans }}</a></li>
|
||||
<li {% if selected == "applications" %}class="active"{% endif %}><a href="{{ path("account_auth_apps") }}">{{ "Applications" | trans }}</a></li>
|
||||
<li {% if selected == "developer" %}class="active"{% endif %}><a href="{{ path("developers_applications") }}">{{ "Developpeur" | trans }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -4,7 +4,7 @@
|
||||
{% import "login/common/macros.html.twig" as auth_macro %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Renew password" %}
|
||||
{{ "Renew password" | trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
@@ -12,7 +12,7 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12 authentication-sidebar-title">
|
||||
<div class="text-title">
|
||||
{% trans "Choose a new password" %}
|
||||
{{ "Choose a new password" | trans }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -42,7 +42,7 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<button type="submit" class="btn btn-success btn-trigger ">
|
||||
{% trans "Save" %}
|
||||
{{ "Save" | trans }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -3,7 +3,7 @@
|
||||
{% import "common/macros.html.twig" as auth_macro %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Change my email address" %}
|
||||
{{ "Change my email address" | trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
@@ -18,41 +18,41 @@
|
||||
{{ auth_macro.flashes() }}
|
||||
<form method="POST" action="{{ path("reset_email") }}" id="mainform" name="changeEmail" class="form-horizontal">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="form_login">{% trans "admin::compte-utilisateur identifiant" %}</label>
|
||||
<label class="control-label" for="form_login">{{ "admin::compte-utilisateur identifiant" | trans }}</label>
|
||||
<div class="controls">
|
||||
<p id="form_login" style="line-height: 30px;">{{ app["authentication"].getUser().get_login() }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="form_password">{% trans "admin::compte-utilisateur mot de passe" %}</label>
|
||||
<label class="control-label" for="form_password">{{ "admin::compte-utilisateur mot de passe" | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="password" id="form_password" name="form_password" autocomplete="off" />
|
||||
<div class="error-view"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="form_email">{% trans "admin::compte-utilisateur nouvelle adresse email" %}</label>
|
||||
<label class="control-label" for="form_email">{{ "admin::compte-utilisateur nouvelle adresse email" | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" id="form_email" name="form_email" />
|
||||
<div class="error-view"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="form_email_confirm">{% trans "admin::compte-utilisateur confirmer la nouvelle adresse email" %}</label>
|
||||
<label class="control-label" for="form_email_confirm">{{ "admin::compte-utilisateur confirmer la nouvelle adresse email" | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" id="form_email_confirm" name="form_email_confirm" autocomplete="off" />
|
||||
<div class="error-view"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-actions" style="background-color: transparent;">
|
||||
<input type="submit" class="btn btn-success" value="{% trans "boutton::valider" %}" style="margin: 20px auto;" />
|
||||
<input type="button" class="btn" value="{% trans "boutton::annuler" %}" onclick="self.location.replace('/account/');" />
|
||||
<input type="submit" class="btn btn-success" value="{{ "boutton::valider" | trans }}" style="margin: 20px auto;" />
|
||||
<input type="button" class="btn" value="{{ "boutton::annuler" | trans }}" onclick="self.location.replace('/account/');" />
|
||||
</div>
|
||||
</form>
|
||||
<div class="well well-small alert-info">
|
||||
{% trans "admin::compte-utilisateur: Pourquoi me demande-t-on mon mot de passe pour changer mon adresse email ?"%}
|
||||
{{ "admin::compte-utilisateur: Pourquoi me demande-t-on mon mot de passe pour changer mon adresse email ?" | trans }}
|
||||
<br />
|
||||
{% trans "admin::compte-utilisateur: Votre adresse e-mail sera utilisee lors de la perte de votre mot de passe afin de pouvoir le reinitialiser, il est important que vous soyez la seule personne a pouvoir la changer."%}
|
||||
{{ "admin::compte-utilisateur: Votre adresse e-mail sera utilisee lors de la perte de votre mot de passe afin de pouvoir le reinitialiser, il est important que vous soyez la seule personne a pouvoir la changer." | trans }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% extends 'account/base.html.twig' %}
|
||||
|
||||
{% block title %}
|
||||
{% trans 'Access history' %}
|
||||
{{ 'Access history' | trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% set selected = "sessions" %}
|
||||
@@ -17,16 +17,16 @@
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>
|
||||
{% trans 'Date de connexion' %}
|
||||
{{ 'Date de connexion' | trans }}
|
||||
</th>
|
||||
<th>
|
||||
{% trans 'Dernier access' %}
|
||||
{{ 'Dernier access' | trans }}
|
||||
</th>
|
||||
<th>
|
||||
{% trans 'IP' %}
|
||||
{{ 'IP' | trans }}
|
||||
</th>
|
||||
<th>
|
||||
{% trans 'Browser' %}
|
||||
{{ 'Browser' | trans }}
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -38,7 +38,7 @@
|
||||
{% if app['session'].get('session_id') != row.Id() %}
|
||||
<a href="{{ path('delete_session', {"id": row.Id()}) }}" title="{% trans %}End Activity{% endtrans %}" class="btn btn-inverse btn-small delete-session"><i class="icon-remove"> {% trans %}End Activity{% endtrans %}</i></a>
|
||||
{% else %}
|
||||
{% trans 'Current session' %}
|
||||
{{ 'Current session' | trans }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
|
@@ -8,19 +8,19 @@
|
||||
|
||||
<div class="page-header">
|
||||
<h1>
|
||||
{% trans 'phraseanet:: collection' %} {{ collection.get_label(app['locale.I18n']) }}
|
||||
{{ 'phraseanet:: collection' | trans }} {{ collection.get_label(app['locale.I18n']) }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
{% if app['request'].query.get('success') == '1' %}
|
||||
<div class="alert alert-success">
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
{% trans 'Successful update' %}
|
||||
{{ 'Successful update' | trans }}
|
||||
</div>
|
||||
{% elseif app['request'].query.get('success') == '0' %}
|
||||
<div class="alert alert-error">
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
<strong>{% trans 'An error occured' %}</strong>
|
||||
<strong>{{ 'An error occured' | trans }}</strong>
|
||||
{% if errorMsg is not none %}
|
||||
{{ errorMsg }}
|
||||
{% endif %}
|
||||
@@ -28,15 +28,15 @@
|
||||
{% endif %}
|
||||
|
||||
<ul class="unstyled">
|
||||
<li>{% trans 'phraseanet:: adresse' %} : {{ collection.get_databox().get_serialized_server_info() }}</li>
|
||||
<li>{% trans 'admin::base:collection: numero de collection distante' %} : {{ collection.get_coll_id() }}</li>
|
||||
<li>{% trans 'admin::base:collection: etat de la collection' %} : {{ collection.is_active() ? "admin::base:collection: activer la collection"| trans : "admin::base:collection: descativer la collection"|trans }}</li>
|
||||
<li>{{ collection.get_record_amount() }} records <a class="ajax" target="rights" href="{{ path('admin_collection_display_document_details', { 'bas_id' : collection.get_base_id() }) }}">{% trans 'phraseanet:: details' %}</a></li>
|
||||
<li>{{ 'phraseanet:: adresse' | trans }} : {{ collection.get_databox().get_serialized_server_info() }}</li>
|
||||
<li>{{ 'admin::base:collection: numero de collection distante' | trans }} : {{ collection.get_coll_id() }}</li>
|
||||
<li>{{ 'admin::base:collection: etat de la collection' | trans }} : {{ collection.is_active() ? "admin::base:collection: activer la collection"| trans : "admin::base:collection: descativer la collection"|trans }}</li>
|
||||
<li>{{ collection.get_record_amount() }} records <a class="ajax" target="rights" href="{{ path('admin_collection_display_document_details', { 'bas_id' : collection.get_base_id() }) }}">{{ 'phraseanet:: details' | trans }}</a></li>
|
||||
</ul>
|
||||
|
||||
{% if app['acl'].get(app['authentication'].getUser()).has_right_on_base(bas_id, 'manage') %}
|
||||
<div class="well well-small">
|
||||
<h5>{% trans 'admin::collection:: Gestionnaires des commandes' %}</h5>
|
||||
<h5>{{ 'admin::collection:: Gestionnaires des commandes' | trans }}</h5>
|
||||
<form id="admin_adder" action="{{ path('admin_collection_submit_order_admins', { 'bas_id' : bas_id }) }}" method="post" style="margin:0;">
|
||||
{% if admins | length > 0 %}
|
||||
<ul class="unstyled">
|
||||
@@ -52,27 +52,27 @@
|
||||
{% endif %}
|
||||
|
||||
<div class="input-append">
|
||||
<input class="admin_adder" placeholder="{% trans 'setup:: ajouter un administrateur des commandes' %}"/>
|
||||
<input class="admin_adder" placeholder="{{ 'setup:: ajouter un administrateur des commandes' | trans }}"/>
|
||||
<input type="hidden" name="admins[]"/>
|
||||
<input type="submit" class="btn btn-warning" value="{% trans 'boutton::valider' %}" />
|
||||
<input type="submit" class="btn btn-warning" value="{{ 'boutton::valider' | trans }}" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="well well-small action-block">
|
||||
<h5>{% trans 'admin::collection:: presentation des elements lors de la diffusion aux utilisateurs externes (publications)' %}</h5>
|
||||
<h5>{{ 'admin::collection:: presentation des elements lors de la diffusion aux utilisateurs externes (publications)' | trans }}</h5>
|
||||
<form method="post" action="{{ path('admin_collection_submit_publication', { 'bas_id' : bas_id }) }}" style="margin:0;">
|
||||
<label class="radio" for="pub_wm_none">
|
||||
<input id="pub_wm_none" type="radio" name="pub_wm" {{ collection.get_pub_wm() == 'none' ? 'checked' : ''}} value="none" />
|
||||
{% trans 'admin::colelction::presentation des elements : rien' %}
|
||||
{{ 'admin::colelction::presentation des elements : rien' | trans }}
|
||||
</label>
|
||||
<label class="radio" for="pub_wm_wm">
|
||||
<input id="pub_wm_wm" type="radio" name="pub_wm" {{ collection.get_pub_wm() == 'wm' ? 'checked' : ''}} value="wm" />
|
||||
{% trans 'admin::colelction::presentation des elements : watermark' %}
|
||||
{{ 'admin::colelction::presentation des elements : watermark' | trans }}
|
||||
</label>
|
||||
<label class="radio" for="pub_wm_stamp">
|
||||
<input id="pub_wm_stamp" type="radio" name="pub_wm" {{ collection.get_pub_wm() == 'stamp' ? 'checked' : ''}} value="stamp" />
|
||||
{% trans 'admin::colelction::presentation des elements : stamp' %}
|
||||
{{ 'admin::colelction::presentation des elements : stamp' | trans }}
|
||||
</label>
|
||||
</form>
|
||||
</div>
|
||||
@@ -96,7 +96,7 @@
|
||||
<div class="span2">
|
||||
<button class="btn" type="submit">
|
||||
<img src="/skins/icons/edit_0.gif" />
|
||||
{% trans 'Set labels' %}
|
||||
{{ 'Set labels' | trans }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -110,7 +110,7 @@
|
||||
<input name="name" class="span3" type="text" size="16">
|
||||
<button class="btn reload-tree submiter" type="submit">
|
||||
<img src="/skins/icons/edit_0.gif" />
|
||||
{% trans 'admin::base:collection: renommer la collection' %}
|
||||
{{ 'admin::base:collection: renommer la collection' | trans }}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
@@ -123,16 +123,16 @@
|
||||
</form>
|
||||
|
||||
<form style="display:inline; margin:0;" method="post" action="{{ path('admin_collection_empty', { 'bas_id' : bas_id }) }}">
|
||||
<button class="btn confirm submiter" data-confirm-msg="{% trans 'admin::base:collection: etes vous sur de vider la collection ?' %}">
|
||||
<button class="btn confirm submiter" data-confirm-msg="{{ 'admin::base:collection: etes vous sur de vider la collection ?' | trans }}">
|
||||
<img src="/skins/icons/trash.png" />
|
||||
{% trans 'admin::base:collection: vider la collection' %}
|
||||
{{ 'admin::base:collection: vider la collection' | trans }}
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<form style="display:inline; margin:0;" method="post" action="{{ path('admin_collection_delete', { 'bas_id' : bas_id }) }}">
|
||||
<button class="btn confirm submiter reload-tree" data-confirm-msg="{% trans 'admin::collection: Confirmez vous la suppression de cette collection ?' %}">
|
||||
<button class="btn confirm submiter reload-tree" data-confirm-msg="{{ 'admin::collection: Confirmez vous la suppression de cette collection ?' | trans }}">
|
||||
<img src="/skins/icons/delete.gif" />
|
||||
{% trans 'boutton::supprimer' %}
|
||||
{{ 'boutton::supprimer' | trans }}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
@@ -140,19 +140,19 @@
|
||||
|
||||
{# mini logo #}
|
||||
<div class="well well-small action-block">
|
||||
<h5>{% trans 'admin::base:collection: minilogo actuel' %}</h5>
|
||||
<h5>{{ 'admin::base:collection: minilogo actuel' | trans }}</h5>
|
||||
{% if collection.getLogo(bas_id, app) is not empty %}
|
||||
<div class="thumbnail" style="width:120px;height:24px;margin-top:5px;margin-bottom:5px">{{ collection.getLogo(bas_id, app) | raw }}</div>
|
||||
{% if app['acl'].get(app['authentication'].getUser()).has_right_on_base(bas_id, 'manage') %}
|
||||
<form method="post" action="{{ path('admin_collection_delete_logo', { 'bas_id' : bas_id }) }}" style="margin:0;">
|
||||
<button class="btn btn-danger btn-mini" >
|
||||
<i class="icon-trash icon-white"></i>
|
||||
{% trans 'boutton::supprimer' %}
|
||||
{{ 'boutton::supprimer' | trans }}
|
||||
</button>
|
||||
</form>
|
||||
{% endif%}
|
||||
{% elseif app['acl'].get(app['authentication'].getUser()).has_right_on_base(bas_id, 'manage') %}
|
||||
<span>{% trans 'admin::base:collection: aucun fichier (minilogo, watermark ...)' %}</span>
|
||||
<span>{{ 'admin::base:collection: aucun fichier (minilogo, watermark ...)' | trans }}</span>
|
||||
<form class="fileupload no-ajax" enctype="multipart/form-data" method="post" action="{{ path('admin_collection_submit_logo', { 'bas_id' : bas_id }) }}" style="margin:0;">
|
||||
<span class="btn btn-success fileinput-button">
|
||||
<i class="icon-plus icon-white"></i>
|
||||
@@ -165,19 +165,19 @@
|
||||
|
||||
{# watermark #}
|
||||
<div class="well well-small action-block">
|
||||
<h5>{% trans "Watermark" %}</h5>
|
||||
<h5>{{ "Watermark" | trans }}</h5>
|
||||
{% if collection.getWatermark(bas_id) is not empty %}
|
||||
<div class="thumbnail">{{ collection.getWatermark(bas_id)| raw }}</div>
|
||||
{% if app['acl'].get(app['authentication'].getUser()).has_right_on_base(bas_id, 'manage') %}
|
||||
<form method="post" action="{{ path('admin_collection_delete_watermark', { 'bas_id' : bas_id }) }}" style="margin:0;">
|
||||
<button class="btn btn-danger btn-mini">
|
||||
<i class="icon-trash icon-white"></i>
|
||||
{% trans 'boutton::supprimer' %}
|
||||
{{ 'boutton::supprimer' | trans }}
|
||||
</button>
|
||||
</form>
|
||||
{% endif%}
|
||||
{% elseif app['acl'].get(app['authentication'].getUser()).has_right_on_base(bas_id, 'manage') %}
|
||||
<span>{% trans 'admin::base:collection: aucun fichier (minilogo, watermark ...)' %}</span>
|
||||
<span>{{ 'admin::base:collection: aucun fichier (minilogo, watermark ...)' | trans }}</span>
|
||||
<form class="fileupload no-ajax" enctype="multipart/form-data" method="post" action="{{ path('admin_collection_submit_watermark', { 'bas_id' : bas_id }) }}" style="margin:0;">
|
||||
<span class="btn btn-success fileinput-button">
|
||||
<i class="icon-plus icon-white"></i>
|
||||
@@ -190,19 +190,19 @@
|
||||
|
||||
{# stamp logo #}
|
||||
<div class="well well-small action-block">
|
||||
<h5>{% trans "Stamp logo" %}</h5>
|
||||
<h5>{{ "Stamp logo" | trans }}</h5>
|
||||
{% if collection.getStamp(bas_id) is not empty %}
|
||||
<div class="thumbnail" style="max-height:120px;max-width:260px">{{ collection.getStamp(bas_id)| raw }}</div>
|
||||
{% if app['acl'].get(app['authentication'].getUser()).has_right_on_base(bas_id, 'manage') %}
|
||||
<form method="post" action="{{ path('admin_collection_delete_stamp', { 'bas_id' : bas_id }) }}" style="margin:0;">
|
||||
<button class="btn btn-danger btn-mini">
|
||||
<i class="icon-trash icon-white"></i>
|
||||
{% trans 'boutton::supprimer' %}
|
||||
{{ 'boutton::supprimer' | trans }}
|
||||
</button>
|
||||
</form>
|
||||
{% endif%}
|
||||
{% elseif app['acl'].get(app['authentication'].getUser()).has_right_on_base(bas_id, 'manage') %}
|
||||
<span>{% trans 'admin::base:collection: aucun fichier (minilogo, watermark ...)' %}</span>
|
||||
<span>{{ 'admin::base:collection: aucun fichier (minilogo, watermark ...)' | trans }}</span>
|
||||
<form class="fileupload no-ajax" enctype="multipart/form-data" method="post" action="{{ path('admin_collection_submit_stamp', { 'bas_id' : bas_id }) }}" style="margin:0;">
|
||||
<span class="btn btn-success fileinput-button">
|
||||
<i class="icon-plus icon-white"></i>
|
||||
@@ -215,19 +215,19 @@
|
||||
|
||||
{# Bandeau de présentation #}
|
||||
<div class="well well-small action-block">
|
||||
<h5>{% trans 'admin::base:collection: image de presentation : ' %}</h5>
|
||||
<h5>{{ 'admin::base:collection: image de presentation : ' | trans }}</h5>
|
||||
{% if collection.getPresentation(bas_id) is not empty %}
|
||||
<div class="thumbnail" style="width:650px;height:200px">{{ collection.getPresentation(bas_id)| raw }}</div>
|
||||
{% if app['acl'].get(app['authentication'].getUser()).has_right_on_base(bas_id, 'manage') %}
|
||||
<form method="post" action="{{ path('admin_collection_delete_banner', { 'bas_id' : bas_id }) }}" style="margin:0;">
|
||||
<button class="btn btn-danger btn-mini">
|
||||
<i class="icon-trash icon-white"></i>
|
||||
{% trans 'boutton::supprimer' %}
|
||||
{{ 'boutton::supprimer' | trans }}
|
||||
</button>
|
||||
</form>
|
||||
{% endif%}
|
||||
{% elseif app['acl'].get(app['authentication'].getUser()).has_right_on_base(bas_id, 'manage') %}
|
||||
<span>{% trans 'admin::base:collection: aucun fichier (minilogo, watermark ...)' %}</span>
|
||||
<span>{{ 'admin::base:collection: aucun fichier (minilogo, watermark ...)' | trans }}</span>
|
||||
<form class="fileupload no-ajax" enctype="multipart/form-data" method="post" action="{{ path('admin_collection_submit_banner', { 'bas_id' : bas_id }) }}" style="margin:0;">
|
||||
<span class="btn btn-success fileinput-button">
|
||||
<i class="icon-plus icon-white"></i>
|
||||
|
@@ -1,17 +1,17 @@
|
||||
<div class="page-header">
|
||||
<h1>{% trans 'admin::base:collection: Creer une collection' %}</h1>
|
||||
<h1>{{ 'admin::base:collection: Creer une collection' | trans }}</h1>
|
||||
</div>
|
||||
|
||||
{% if app['request'].get('error') == 'name' %}
|
||||
<div class="alert alert-error">
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
{% trans 'admin:: La collection n\'a pas ete creee : vous devez donner un nom a votre collection' %}
|
||||
{{ 'admin:: La collection n\'a pas ete creee : vous devez donner un nom a votre collection' | trans }}
|
||||
</div>
|
||||
|
||||
{% elseif app['request'].get('error') == 'error' %}
|
||||
<div class="alert alert-error">
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
{% trans 'An error occured, please retry or contact an admin if problem persist' %}
|
||||
{{ 'An error occured, please retry or contact an admin if problem persist' | trans }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
<form class="form-horizontal" method='post' action='{{ path('admin_database_submit_collection', {'databox_id': app['request'].get('databox_id')}) }}'>
|
||||
<fieldset>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="cnm">{% trans 'admin::base:collection: Nom de la nouvelle collection : ' %}</label>
|
||||
<label class="control-label" for="cnm">{{ 'admin::base:collection: Nom de la nouvelle collection : ' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input id="cnm" name="name" class="input-xlarge" type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="ccusrothercoll">{% trans "admin::base:collection: Vous pouvez choisir une collection de reference pour donenr des acces " %}</label>
|
||||
<label class="control-label" for="ccusrothercoll">{{ "admin::base:collection: Vous pouvez choisir une collection de reference pour donenr des acces " | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="checkbox" id="ccusrothercoll" name="ccusrothercoll">
|
||||
</div>
|
||||
@@ -34,7 +34,7 @@
|
||||
<div class="controls">
|
||||
{% if app['acl'].get(app['authentication'].getUser()).get_granted_base(["canadmin"]) | length > 0 %}
|
||||
<select id="othcollsel" name="othcollsel" disabled>
|
||||
<option>{% trans "choisir" %}</option>
|
||||
<option>{{ "choisir" | trans }}</option>
|
||||
{% for collection in app['acl'].get(app['authentication'].getUser()).get_granted_base(["canadmin"]) %}
|
||||
<option value="{{ collection.get_base_id() }}">{{ collection.get_label(app['locale.I18n']) }}</option>
|
||||
{% endfor %}
|
||||
@@ -43,8 +43,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
<button class="btn btn-primary" type="submit">{% trans 'boutton::valider' %}</button>
|
||||
<a href='{{ path('admin_database', {'databox_id': app['request'].get('databox_id')}) }}' target='right' class="btn ajax">{% trans 'boutton::annuler' %}</a>
|
||||
<button class="btn btn-primary" type="submit">{{ 'boutton::valider' | trans }}</button>
|
||||
<a href='{{ path('admin_database', {'databox_id': app['request'].get('databox_id')}) }}' target='right' class="btn ajax">{{ 'boutton::annuler' | trans }}</a>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
@@ -1,14 +1,14 @@
|
||||
<div class="header">
|
||||
<h1>{{ collection.get_label(app['locale.I18n']) }} <small style="font-size:16px">{% trans "Details" %}</small></h1>
|
||||
<h1>{{ collection.get_label(app['locale.I18n']) }} <small style="font-size:16px">{{ "Details" | trans }}</small></h1>
|
||||
</div>
|
||||
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans 'admin::base: objet' %}</th>
|
||||
<th>{% trans 'admin::base: nombre' %}</th>
|
||||
<th>{% trans 'admin::base: poids' %} (Mo)</th>
|
||||
<th>{% trans 'admin::base: poids' %} (Go)</th>
|
||||
<th>{{ 'admin::base: objet' | trans }}</th>
|
||||
<th>{{ 'admin::base: nombre' | trans }}</th>
|
||||
<th>{{ 'admin::base: poids' | trans }} (Mo)</th>
|
||||
<th>{{ 'admin::base: poids' | trans }} (Go)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -24,7 +24,7 @@
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>
|
||||
{% trans 'Total' %}
|
||||
{{ 'Total' | trans }}
|
||||
</th>
|
||||
<th>
|
||||
{{ totals['totobj'] }}
|
||||
@@ -41,5 +41,5 @@
|
||||
</table>
|
||||
|
||||
<div>
|
||||
<a style="text-decoration:none" class="btn" href="{{ path('admin_display_collection', { 'bas_id' : collection.get_base_id() }) }}">{% trans 'boutton::retour' %}</a>
|
||||
<a style="text-decoration:none" class="btn" href="{{ path('admin_display_collection', { 'bas_id' : collection.get_base_id() }) }}">{{ 'boutton::retour' | trans }}</a>
|
||||
</div>
|
@@ -1,5 +1,5 @@
|
||||
<div class="page-header">
|
||||
<h1>{% trans 'Reorder collections' %}</h1>
|
||||
<h1>{{ 'Reorder collections' | trans }}</h1>
|
||||
</div>
|
||||
|
||||
<table id="table-order">
|
||||
@@ -13,9 +13,9 @@
|
||||
</td>
|
||||
<td valign="center" align="left">
|
||||
<ul style="list-style:none;">
|
||||
<li><button class="btn" id="upbutton" disabled><i class="icon-chevron-up"></i>{% trans 'admin::base:collorder: monter' %}</button></li>
|
||||
<li><button class="btn" id="downbutton" disabled ><i class="icon-chevron-down"></i>{% trans 'admin::base:collorder: descendre' %}</button></li>
|
||||
<li><a href="#" id="natcase-reorder">{% trans 'admin::base:collorder: reinitialiser en ordre alphabetique' %}</a></li>
|
||||
<li><button class="btn" id="upbutton" disabled><i class="icon-chevron-up"></i>{{ 'admin::base:collorder: monter' | trans }}</button></li>
|
||||
<li><button class="btn" id="downbutton" disabled ><i class="icon-chevron-down"></i>{{ 'admin::base:collorder: descendre' | trans }}</button></li>
|
||||
<li><a href="#" id="natcase-reorder">{{ 'admin::base:collorder: reinitialiser en ordre alphabetique' | trans }}</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -26,7 +26,7 @@
|
||||
<td colspan="2" valign="center" align="left">
|
||||
<div class="form-actions">
|
||||
<button class="btn btn-primary" id="apply">
|
||||
{% trans 'boutton::valider' %}
|
||||
{{ 'boutton::valider' | trans }}
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
|
@@ -10,19 +10,19 @@
|
||||
</form>
|
||||
|
||||
<div class="page-header">
|
||||
<h1>{% trans 'Suggested values' %}</h1>
|
||||
<h1>{{ 'Suggested values' | trans }}</h1>
|
||||
</div>
|
||||
|
||||
|
||||
{% if app['request'].query.get('success') == '1' %}
|
||||
<div class="alert alert-success">
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
{% trans 'Successful update' %}
|
||||
{{ 'Successful update' | trans }}
|
||||
</div>
|
||||
{% elseif app['request'].query.get('success') == '0' %}
|
||||
<div class="alert alert-error">
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
<strong>{% trans 'An error occured' %}</strong>
|
||||
<strong>{{ 'An error occured' | trans }}</strong>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<tr>
|
||||
<td>
|
||||
<div style='background-color:#FFFFFF'>
|
||||
<b>{% trans 'phraseanet::chargement' %}</b>
|
||||
<b>{{ 'phraseanet::chargement' | trans }}</b>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -51,7 +51,7 @@
|
||||
</td>
|
||||
|
||||
<td style="text-align:center;height:30px;font-size:12px; border:0px;background-position: 0px 0px;background-repeat: repeat-x" nowrap>
|
||||
{% trans 'admin::sugval: Valeurs suggerees/Preferences de la collection' %} {{ app['request'].attributes.get('bas_id')|bas_labels(app) }}
|
||||
{{ 'admin::sugval: Valeurs suggerees/Preferences de la collection' | trans }} {{ app['request'].attributes.get('bas_id')|bas_labels(app) }}
|
||||
</td>
|
||||
|
||||
<td style="height:30px;width:20px;font-size:12px;border:0px; text-align:right">
|
||||
@@ -62,8 +62,8 @@
|
||||
|
||||
<tr style="background-color:#aaaaaa; border:#cccccc 1px solid;" >
|
||||
<td colspan="3" style=" border:#aaaaaa 1px solid;padding-left:3px;text-align:right">
|
||||
<a href="#" id="linkviewxml" onClick="view('XML');return(false);" class='btn btn-mini'>{% trans 'boutton::vue xml'%}</a>
|
||||
<a href="#" id="linkviewgraph" onClick="view('GRAPH');return(false);" class='btn btn-mini' style="display:none">{% trans 'boutton::vue graphique'%}</a>
|
||||
<a href="#" id="linkviewxml" onClick="view('XML');return(false);" class='btn btn-mini'>{{ 'boutton::vue xml' | trans }}</a>
|
||||
<a href="#" id="linkviewgraph" onClick="view('GRAPH');return(false);" class='btn btn-mini' style="display:none">{{ 'boutton::vue graphique' | trans }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
<table border="0" id="tabsgv" style="width:100%; background-color:#c9c9c9;">
|
||||
<tr>
|
||||
<td valign="top" style="text-align:center;">
|
||||
{% trans'admin::sugval: champs' %}
|
||||
{{ 'admin::sugval: champs' | trans }}
|
||||
<select name=usrbases id="nomchamPH" onKeyUp="javascript:write_valsug();" onChange="javascript:savenomaff();makeRestrict();maketextaffich();makeEmpty();write_valsug();" onclick="javascript: makeRestrict();desactivall4VS(); write_valsug();" >
|
||||
{% for field in databox.get_meta_structure() %}
|
||||
{% if not field.is_readonly %}
|
||||
@@ -88,10 +88,10 @@
|
||||
<tr>
|
||||
<td valign="top" style="text-align:center;">
|
||||
<div class="btn-group">
|
||||
<input class='btn' type="submit" value="{% trans'admin::base:collorder: monter' %}" disabled onclick="javascript:modifordre(true);" id="bout_mont" name="bout_mont">
|
||||
<input class='btn' type="submit" value="{% trans'admin::base:collorder: descendre' %}" disabled onclick="javascript:modifordre(false);" id="bout_desc" name="bout_desc">
|
||||
<input class='btn' type="submit" value="{% trans'boutton::supprimer' %}" disabled onclick="javascript:supprimer();" ondblclick="javascript:supprimer();" id="bout_supp" name="bout_supp">
|
||||
<input class='btn' type="submit" value="{% trans'admin::base:collorder: reinitialiser en ordre alphabetique' %}" onclick="javascript:trialph();" ondblclick="javascript:trialph();" id="bout_trialph" name="bout_trialph">
|
||||
<input class='btn' type="submit" value="{{ 'admin::base:collorder: monter' | trans }}" disabled onclick="javascript:modifordre(true);" id="bout_mont" name="bout_mont">
|
||||
<input class='btn' type="submit" value="{{ 'admin::base:collorder: descendre' | trans }}" disabled onclick="javascript:modifordre(false);" id="bout_desc" name="bout_desc">
|
||||
<input class='btn' type="submit" value="{{ 'boutton::supprimer' | trans }}" disabled onclick="javascript:supprimer();" ondblclick="javascript:supprimer();" id="bout_supp" name="bout_supp">
|
||||
<input class='btn' type="submit" value="{{ 'admin::base:collorder: reinitialiser en ordre alphabetique' | trans }}" onclick="javascript:trialph();" ondblclick="javascript:trialph();" id="bout_trialph" name="bout_trialph">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -108,7 +108,7 @@
|
||||
<table style="width:100%;">
|
||||
<tr>
|
||||
<td style="width:100%"><input type="text" id="valajout" onKeyUp="verifAndactiv();" onclick="desactivall4VS();" style="width:99%"></td>
|
||||
<td style="width:100px" ><input class='btn' type="submit" value="{% trans'boutton::ajouter' %}" disabled style="width:100px" onclick="javascript:ajouter();" id="bout_add" name="bout_add"></td>
|
||||
<td style="width:100px" ><input class='btn' type="submit" value="{{ 'boutton::ajouter' | trans }}" disabled style="width:100px" onclick="javascript:ajouter();" id="bout_add" name="bout_add"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
@@ -127,7 +127,7 @@
|
||||
|
||||
</td>
|
||||
<td style="height:30px; background-position: 0px 0px; background-repeat: repeat-x; font-size:12px;text-align:center;">
|
||||
<b><a class='btn' href="javascript:void();" onclick="valid();return(false);" id="genevalid" style="color:#000000; text-decoration:none">{% trans'boutton::valider' %}</a></b>
|
||||
<b><a class='btn' href="javascript:void();" onclick="valid();return(false);" id="genevalid" style="color:#000000; text-decoration:none">{{ 'boutton::valider' | trans }}</a></b>
|
||||
</td>
|
||||
<td style="height:30px;width:20px;font-size:12px; background-position:left ;">
|
||||
</td>
|
||||
@@ -920,4 +920,4 @@ $(document).ready(function(){
|
||||
$("#iddivloading").hide();
|
||||
});
|
||||
|
||||
</script>
|
||||
</script>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<h2>{{ requirements.getName() }}</h2>
|
||||
<ul class="setup unstyled">
|
||||
{% if requirements.getRequirements() is not empty %}
|
||||
<li><strong>{% trans 'Requirements' %}</strong></li>
|
||||
<li><strong>{% trans %}Requirements{% endtrans %}</strong></li>
|
||||
{% for requirement in requirements.getRequirements() %}
|
||||
<li class="{% if not requirement.isFulfilled() %}{% if not requirement.isOptional() %}blocker{% else %}non-blocker{% endif %}{% else %}good-enough{% endif %}">
|
||||
{{ requirement.getTestMessage }}
|
||||
@@ -16,7 +16,7 @@
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if requirements.getRecommendations() is not empty %}
|
||||
<li><strong>{% trans 'Recommendations' %}</strong></li>
|
||||
<li><strong>{% trans %}Recommendations{% endtrans %}</strong></li>
|
||||
{% for requirement in requirements.getRecommendations() %}
|
||||
<li class="{% if not requirement.isFulfilled() %}{% if not requirement.isOptional() %}blocker{% else %}non-blocker{% endif %}{% else %}good-enough{% endif %}">
|
||||
{{ requirement.getTestMessage }}
|
||||
@@ -30,7 +30,7 @@
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if requirements.getInformations() is not empty %}
|
||||
<li><strong>{% trans 'Informations' %}</strong></li>
|
||||
<li><strong>{% trans %}Informations{% endtrans %}</strong></li>
|
||||
{% for information in requirements.getInformations() %}
|
||||
<li>
|
||||
{{ information.getName() }} : {{ information.getValue() }}
|
||||
@@ -89,14 +89,14 @@
|
||||
|
||||
{% if cache_flushed %}
|
||||
<div class="well well-small">
|
||||
{% trans 'all caches services have been flushed' %}
|
||||
{% trans %}all caches services have been flushed{% endtrans %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="board_section">
|
||||
<form id="admin_adder" action="{{ path('admin_dashboard_add_admins') }}" method="post" class="form-inline">
|
||||
<fieldset>
|
||||
<legend>{% trans 'setup:: administrateurs de l\'application' %}</legend>
|
||||
<legend>{% trans %}setup:: administrateurs de l\'application{% endtrans %}</legend>
|
||||
<ul class="unstyled">
|
||||
{% for usr_id, usr_login in admins %}
|
||||
<li>
|
||||
@@ -108,16 +108,16 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div class="input-append" style="margin-left:20px">
|
||||
<input class="admin_adder input-large" placeholder="{% trans 'Add an admin' %}"/>
|
||||
<input type="submit" class="btn btn-warning" value="{% trans 'boutton::valider' %}" />
|
||||
<input class="admin_adder input-large" placeholder="{% trans %}Add an admin{% endtrans %}"/>
|
||||
<input type="submit" class="btn btn-warning" value="{% trans %}boutton::valider{% endtrans %}" />
|
||||
</div>
|
||||
<input type="hidden" class="new" name="admins[]" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<form id="admin_reset" action="{{ path('admin_dashboard_reset_admin_rights') }}" method="post" class="form-inline" style="display:inline">
|
||||
<fieldset>
|
||||
<legend>{% trans 'setup:: Reinitialisation des droits admins' %}</legend>
|
||||
<input type="submit" class="btn btn-warning" value="{% trans 'boutton::reinitialiser' %}" />
|
||||
<legend>{% trans %}setup:: Reinitialisation des droits admins{% endtrans %}</legend>
|
||||
<input type="submit" class="btn btn-warning" value="{% trans %}boutton::reinitialiser{% endtrans %}" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
@@ -126,16 +126,16 @@
|
||||
<div class="section">
|
||||
<form id="mail_checker" method="post" action="{{ path('admin_dashboard_test_mail') }}" target="_self" class="form-inline">
|
||||
<fieldset>
|
||||
<legend>{% trans 'setup::Tests d\'envois d\'emails' %}</legend>
|
||||
<legend>{% trans %}setup::Tests d\'envois d\'emails{% endtrans %}</legend>
|
||||
<div class="input-append">
|
||||
<input name="email" class="span3" id="appendedInputButton" type="text" placeholder="{% trans %}Email{% endtrans %}">
|
||||
<input type="submit" class="btn btn-warning" value="{% trans 'Send' %}"/>
|
||||
<input class="span3" id="appendedInputButton" type="text" placeholder="{% trans %}Email{% endtrans %}">
|
||||
<input type="submit" class="btn btn-warning" value="{% trans %}Send{% endtrans %}"/>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
{% if email_status %}
|
||||
<div class="alert-info">
|
||||
<p>{% trans %}Email test result : {{ email_status }}{% endtrans %}</p>
|
||||
<p>{% trans with { '%email_status%' : email_status } %}Email test result : %email_status%{% endtrans %}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
@@ -7,12 +7,12 @@
|
||||
{% if app['request'].query.get('success') == '1' %}
|
||||
<div class="alert alert-success">
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
{% trans 'Successful update' %}
|
||||
{{ 'Successful update' | trans }}
|
||||
</div>
|
||||
{% elseif app['request'].query.get('success') == '0' %}
|
||||
<div class="alert alert-error">
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
<strong>{% trans 'An error occured' %}</strong>
|
||||
<strong>{{ 'An error occured' | trans }}</strong>
|
||||
{% if error_msg is not none %}
|
||||
{{ error_msg }}
|
||||
{% endif %}
|
||||
@@ -22,7 +22,7 @@
|
||||
{% if app['request'].query.get('notice') == 'restart' %}
|
||||
<div class="alert">
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
{% trans 'Do not forget to restart the tasks scheduler' %}
|
||||
{{ 'Do not forget to restart the tasks scheduler' | trans }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
{% for key, value in sbas %}
|
||||
<li>
|
||||
<a href='{{ path('admin_database', {'databox_id': key}) }}' target='_self'>
|
||||
<img src="{{ value['image'] }}" /> {{ value['name'] }} ({% trans "version" %} {{ value['version'] }}) {{ value['server_info'] }}
|
||||
<img src="{{ value['image'] }}" /> {{ value['name'] }} ({{ "version" | trans }} {{ value['version'] }}) {{ value['server_info'] }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
@@ -45,12 +45,12 @@
|
||||
|
||||
{% if app['acl'].get(app['authentication'].getUser()).is_admin() %}
|
||||
<div class="db_infos">
|
||||
<h2>{% trans 'admin::base: Version' %}</h2>
|
||||
<h2>{{ 'admin::base: Version' | trans }}</h2>
|
||||
|
||||
{% if not app['phraseanet.configuration-tester'].isUpToDate() %}
|
||||
<p>{% trans 'update::Votre application necessite une mise a jour vers : ' %} {{ app['phraseanet.version'].getNumber() }}</p>
|
||||
<p>{{ 'update::Votre application necessite une mise a jour vers : ' | trans }} {{ app['phraseanet.version'].getNumber() }}</p>
|
||||
{% else %}
|
||||
<p>{% trans 'update::Votre version est a jour : ' %} {{ app['phraseanet.version'].getNumber() }}</p>
|
||||
<p>{{ 'update::Votre version est a jour : ' | trans }} {{ app['phraseanet.version'].getNumber() }}</p>
|
||||
{% endif %}
|
||||
|
||||
{% if recommendations | length > 0%}
|
||||
@@ -63,7 +63,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% if advices | length > 0 %}
|
||||
<b>{% trans 'Propositions de modifications des tables' %}</b>
|
||||
<b>{{ 'Propositions de modifications des tables' | trans }}</b>
|
||||
{% for advice in advices %}
|
||||
<blockquote>{{ advice['sql'] }}</blockquote>
|
||||
{% endfor %}
|
||||
@@ -71,31 +71,31 @@
|
||||
|
||||
<form action="{{ path('admin_databases_upgrade') }}" method="post" >
|
||||
<input type="hidden" value="" name="upgrade" />
|
||||
<input type="submit" class="btn btn-warning" value="{% trans 'update::Verifier els tables' %}" />
|
||||
<input type="submit" class="btn btn-warning" value="{{ 'update::Verifier els tables' | trans }}" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="db_infos">
|
||||
<h2>{% trans 'admin::base: creer une base' %}</h2>
|
||||
<h2>{{ 'admin::base: creer une base' | trans }}</h2>
|
||||
<div id="create_base">
|
||||
<form class="form-vertical" method="post" action="{{ path('admin_database_new') }}">
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="new_settings" onchange="if(this.checked == true)$('#server_opts').slideDown();else $('#server_opts').slideUp();" />
|
||||
{% trans 'phraseanet:: Creer une base sur un serveur different de l\'application box' %}
|
||||
{{ 'phraseanet:: Creer une base sur un serveur different de l\'application box' | trans }}
|
||||
</label>
|
||||
<div id="server_opts" style="display:none;">
|
||||
<label>{% trans 'phraseanet:: hostname' %}</label>
|
||||
<label>{{ 'phraseanet:: hostname' | trans }}</label>
|
||||
<input name="new_hostname" value="" type="text" />
|
||||
<label>{% trans 'phraseanet:: port' %}</label>
|
||||
<label>{{ 'phraseanet:: port' | trans }}</label>
|
||||
<input name="new_port" value="3306" type="text" />
|
||||
<label>{% trans 'phraseanet:: user' %}</label>
|
||||
<label>{{ 'phraseanet:: user' | trans }}</label>
|
||||
<input name="new_user" value="" type="text" />
|
||||
<label>{% trans 'phraseanet:: password' %}</label>
|
||||
<label>{{ 'phraseanet:: password' | trans }}</label>
|
||||
<input name="new_password" value="" type="password" />
|
||||
</div>
|
||||
<label>{% trans 'phraseanet:: dbname' %}</label>
|
||||
<label>{{ 'phraseanet:: dbname' | trans }}</label>
|
||||
<input name="new_dbname" value="" type="text" />
|
||||
<label>{% trans 'phraseanet:: Modele de donnees' %}</label>
|
||||
<label>{{ 'phraseanet:: Modele de donnees' | trans }}</label>
|
||||
<select name="new_data_template">
|
||||
{% for file in files %}
|
||||
{% if file.isFile() %}
|
||||
@@ -103,33 +103,33 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input type="submit" class="btn" value="{% trans 'boutton::creer' %}" />
|
||||
<input type="submit" class="btn" value="{{ 'boutton::creer' | trans }}" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="db_infos">
|
||||
<h2>{% trans 'admin::base: Monter une base' %}</h2>
|
||||
<h2>{{ 'admin::base: Monter une base' | trans }}</h2>
|
||||
<div id="mount_base">
|
||||
<form method="post" action="{{ path('admin_database_mount') }}">
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="new_settings" onchange="if(this.checked == true)$('#servermount_opts').slideDown();else $('#servermount_opts').slideUp();" />
|
||||
{% trans "phraseanet:: Monter une base provenant d\'un serveur different de l\'application box" %}
|
||||
{{ "phraseanet:: Monter une base provenant d\'un serveur different de l\'application box" | trans }}
|
||||
</label>
|
||||
<div id="servermount_opts" style="display:none;">
|
||||
<label>{% trans 'phraseanet:: hostname' %}</label>
|
||||
<label>{{ 'phraseanet:: hostname' | trans }}</label>
|
||||
<input name="new_hostname" value="" type="text" />
|
||||
<label>{% trans 'phraseanet:: port' %}</label>
|
||||
<label>{{ 'phraseanet:: port' | trans }}</label>
|
||||
<input name="new_port" value="3306" type="text" />
|
||||
<label>{% trans 'phraseanet:: user' %}</label>
|
||||
<label>{{ 'phraseanet:: user' | trans }}</label>
|
||||
<input name="new_user" value="" type="text" />
|
||||
<label>{% trans 'phraseanet:: password' %}</label>
|
||||
<label>{{ 'phraseanet:: password' | trans }}</label>
|
||||
<input name="new_password" value="" type="password" />
|
||||
</div>
|
||||
<label>{% trans 'phraseanet:: dbname' %}</label>
|
||||
<label>{{ 'phraseanet:: dbname' | trans }}</label>
|
||||
<input type="text" name="new_dbname" value="" />
|
||||
<input type="hidden" name="mount_base" value="yes" />
|
||||
<input type="submit" class="btn" value="{% trans 'boutton::monter' %}" />
|
||||
<input type="submit" class="btn" value="{{ 'boutton::monter' | trans }}" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,14 +1,14 @@
|
||||
<div class="page-header">
|
||||
<h1>{% trans'Terms Of Use' %}</h1>
|
||||
<h1>{{ 'Terms Of Use' | trans }}</h1>
|
||||
</div>
|
||||
|
||||
<form target="_self" method="post" action="{{ path('admin_database_submit_cgus', {'databox_id': app['request'].attributes.get('databox_id')}) }}" class="form-inline">
|
||||
<div class='well'>
|
||||
<label for="valid" class='checkbox'>
|
||||
<input type="checkbox" value="1" id="valid" name="valid"/>
|
||||
{% trans'admin::CGU Les utilisateurs doivent imperativement revalider ces conditions' %}
|
||||
{{ 'admin::CGU Les utilisateurs doivent imperativement revalider ces conditions' | trans }}
|
||||
</label>
|
||||
<input class='btn btn-warning' type="submit" value="{% trans'Mettre a jour' %}"/>
|
||||
<input class='btn btn-warning' type="submit" value="{{ 'Mettre a jour' | trans }}"/>
|
||||
</div>
|
||||
<div id="tabs">
|
||||
<ul>
|
||||
|
@@ -11,12 +11,12 @@
|
||||
{% if app['request'].query.get('success') == '1' %}
|
||||
<div class="alert alert-success">
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
{% trans 'forms::operation effectuee OK' %}
|
||||
{{ 'forms::operation effectuee OK' | trans }}
|
||||
</div>
|
||||
{% elseif app['request'].query.get('success') == '0' %}
|
||||
<div class="alert alert-error">
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
<strong>{% trans 'An error occured' %}</strong>
|
||||
<strong>{{ 'An error occured' | trans }}</strong>
|
||||
{% if errorMsg is not none %}
|
||||
{{ errorMsg }}
|
||||
{% endif %}
|
||||
@@ -29,14 +29,14 @@
|
||||
</li>
|
||||
|
||||
<li>
|
||||
{% trans 'admin::base: Alias' %} : <span id="viewname">{{ databox.get_label(app['locale.I18n']) }}</span>
|
||||
{{ 'admin::base: Alias' | trans }} : <span id="viewname">{{ databox.get_label(app['locale.I18n']) }}</span>
|
||||
{% if app['acl'].get(app['authentication'].getUser()).has_right_on_sbas(databox.get_sbas_id(), "bas_manage") %}
|
||||
<img src="/skins/icons/edit_0.gif" id="show-view-name" />
|
||||
<div class="well well-small" id="change-view-name" style="display:none;">
|
||||
<form method="post" action="{{ path('admin_database_rename', {'databox_id': databox.get_sbas_id()}) }}">
|
||||
<div class="input-append">
|
||||
<input id="db-view-name" name="viewname" class="span2" type="text" size="16">
|
||||
<button class="btn" type="submit">{% trans 'Rename' %}</button>
|
||||
<button class="btn" type="submit">{{ 'Rename' | trans }}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -44,24 +44,24 @@
|
||||
</li>
|
||||
|
||||
<li>
|
||||
{% trans 'admin::base: nombre d\'enregistrements sur la base :' %}
|
||||
{{ 'admin::base: nombre d\'enregistrements sur la base :' | trans }}
|
||||
<span id="nrecords">{{ databox.get_record_amount() }}</span>
|
||||
|
||||
(<a href="{{ path('admin_database_display_document_details', {'databox_id': databox.get_sbas_id()}) }}" class="ajax" target="rights">{% trans 'phraseanet:: details'%}</a>)
|
||||
(<a href="{{ path('admin_database_display_document_details', {'databox_id': databox.get_sbas_id()}) }}" class="ajax" target="rights">{{ 'phraseanet:: details' | trans }}</a>)
|
||||
</li>
|
||||
|
||||
{% if showDetail %}
|
||||
<li>
|
||||
{% trans 'admin::base: nombre de mots uniques sur la base : ' %}
|
||||
{{ 'admin::base: nombre de mots uniques sur la base : ' | trans }}
|
||||
{{ databox.get_unique_keywords() }}
|
||||
</li>
|
||||
<li>
|
||||
{% trans 'admin::base: nombre de mots indexes sur la base' %}
|
||||
{{ 'admin::base: nombre de mots indexes sur la base' | trans }}
|
||||
{{ databox.get_index_amount() }}
|
||||
</li>
|
||||
{% if app['phraseanet.registry'].get('GV_thesaurus') %}
|
||||
<li>
|
||||
{% trans 'admin::base: nombre de termes de Thesaurus indexes :' %}
|
||||
{{ 'admin::base: nombre de termes de Thesaurus indexes :' | trans }}
|
||||
{{ databox.get_thesaurus_hits() }}
|
||||
</li>
|
||||
{% endif %}
|
||||
@@ -71,7 +71,7 @@
|
||||
<div id="INDEX_P_BAR" style="margin-bottom:20px;">
|
||||
<div style="height: 35px;">
|
||||
<p>
|
||||
{% trans "admin::base: document indexes en utilisant la fiche xml" %} :
|
||||
{{ "admin::base: document indexes en utilisant la fiche xml" | trans }} :
|
||||
<span id="xml_indexed"></span>
|
||||
</p>
|
||||
<div id="xml_indexed_bar"></div>
|
||||
@@ -79,7 +79,7 @@
|
||||
</div>
|
||||
<div style="height: 35px;">
|
||||
<p>
|
||||
{% trans "admin::base: document indexes en utilisant le thesaurus" %} :
|
||||
{{ "admin::base: document indexes en utilisant le thesaurus" | trans }} :
|
||||
<span id="thesaurus_indexed"></span>
|
||||
</p>
|
||||
<div id="thesaurus_indexed_bar"></div>
|
||||
@@ -92,7 +92,7 @@
|
||||
<form method="post" action="{{ path('admin_database_set_indexable', {'databox_id': databox.get_sbas_id()}) }}" style="margin:0;">
|
||||
<label class="checkbox" for="is_indexable">
|
||||
<input type="checkbox" id="is_indexable" name="indexable" value="1" {{ app['phraseanet.appbox'].is_databox_indexable(databox) ? 'checked' : ''}} />
|
||||
{% trans "admin::base: Cette base est indexable" %}
|
||||
{{ "admin::base: Cette base est indexable" | trans }}
|
||||
</label>
|
||||
</form>
|
||||
</div>
|
||||
@@ -116,7 +116,7 @@
|
||||
<div class="span2">
|
||||
<button class="btn" type="submit">
|
||||
<img src="/skins/icons/edit_0.gif" />
|
||||
{% trans 'Set labels' %}
|
||||
{{ 'Set labels' | trans }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -127,42 +127,42 @@
|
||||
<div class="well well-small">
|
||||
<a style="display:inline-block; margin-right:3px; text-decoration: none;" target="right" class="ajax btn" href="{{ path('admin_database_display_new_collection_form', {'databox_id': databox.get_sbas_id()}) }}">
|
||||
<img src="/skins/icons/create_coll.png" />
|
||||
{% trans "admin::base:collection: Creer une collection" %}
|
||||
{{ "admin::base:collection: Creer une collection" | trans }}
|
||||
</a>
|
||||
|
||||
<form style="display:inline;" method="post" action="{{ path('admin_database_clear_logs', {'databox_id': databox.get_sbas_id()}) }}">
|
||||
<button type="button" class="btn submiter confirm"
|
||||
data-confirm-msg="{% trans 'admin::base: Confirmer la suppression de tous les logs' %}">
|
||||
data-confirm-msg="{{ 'admin::base: Confirmer la suppression de tous les logs' | trans }}">
|
||||
<img src="/skins/icons/clearLogs.png" />
|
||||
{% trans "admin::base: supprimer tous les logs" %}
|
||||
{{ "admin::base: supprimer tous les logs" | trans }}
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<form style="display:inline;" method="post" action="{{ path('admin_database_unmount', {'databox_id': databox.get_sbas_id()}) }}">
|
||||
<button class="btn confirm" data-confirm-msg="{% trans 'admin::base: Confirmer vous l\'arret de la publication de la base' %}">
|
||||
<button class="btn confirm" data-confirm-msg="{{ 'admin::base: Confirmer vous l\'arret de la publication de la base' | trans }}">
|
||||
<img src="/skins/icons/db-remove.png" />
|
||||
{% trans "admin::base: arreter la publication de la base" %}
|
||||
{{ "admin::base: arreter la publication de la base" | trans }}
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<form style="display:inline;" method="post" action="{{ path('admin_database_empty', {'databox_id': databox.get_sbas_id()}) }}">
|
||||
<button type="button" class="btn submiter confirm" data-confirm-msg="{% trans 'admin::base: Confirmer le vidage complet de la base' %}">
|
||||
<button type="button" class="btn submiter confirm" data-confirm-msg="{{ 'admin::base: Confirmer le vidage complet de la base' | trans }}">
|
||||
<img src="/skins/icons/trash.png" />
|
||||
{% trans "admin::base: vider la base" %}
|
||||
{{ "admin::base: vider la base" | trans }}
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<form style="display:inline;" method="post" action="{{ path('admin_database_delete', {'databox_id': databox.get_sbas_id()}) }}">
|
||||
<button type="button" class="btn submiter confirm reload-tree" data-confirm-msg="{% trans 'admin::base: Confirmer la suppression de la base' %}">
|
||||
<button type="button" class="btn submiter confirm reload-tree" data-confirm-msg="{{ 'admin::base: Confirmer la suppression de la base' | trans }}">
|
||||
<img src="/skins/icons/delete.gif" />
|
||||
{% trans "admin::base: supprimer la base" %}
|
||||
{{ "admin::base: supprimer la base" | trans }}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<form method="post" action="{{ path('admin_database_reindex', {'databox_id': databox.get_sbas_id()}) }}">
|
||||
<button type="button" class="btn submiter confirm" data-confirm-msg="{% trans 'Confirmez-vous la re-indexation de la base ?' %}">
|
||||
{% trans "base:: re-indexer" %}
|
||||
<button type="button" class="btn submiter confirm" data-confirm-msg="{{ 'Confirmez-vous la re-indexation de la base ?' | trans }}">
|
||||
{{ "base:: re-indexer" | trans }}
|
||||
</button>
|
||||
</form>
|
||||
|
||||
@@ -170,18 +170,18 @@
|
||||
<div class="well well-small">
|
||||
<a href="#" class="btn" id="show-mount-coll">
|
||||
<img src="/skins/icons/create_coll.png" />
|
||||
{% trans "admin::base:collection: Monter une collection" %}
|
||||
{{ "admin::base:collection: Monter une collection" | trans }}
|
||||
</a>
|
||||
<div class="well well-small" id="mount-coll" style="display:none;">
|
||||
<ul>
|
||||
{% for collId, name in databox.get_mountable_colls() %}
|
||||
<li>
|
||||
<form class="form-inline" method="post" action="{{ path('admin_database_mount_collection', {'databox_id': databox.get_sbas_id(), 'collection_id' : collId }) }}">
|
||||
{% trans "Monter" %} {{ name }}
|
||||
{{ "Monter" | trans }} {{ name }}
|
||||
{% if app['acl'].get(app['authentication'].getUser()).get_granted_base(["canadmin"]) | length > 0 %}
|
||||
<label for="othcollsel">{% trans "admin::base:collection: Vous pouvez choisir une collection de reference pour donenr des acces " %}</label>
|
||||
<label for="othcollsel">{{ "admin::base:collection: Vous pouvez choisir une collection de reference pour donenr des acces " | trans }}</label>
|
||||
<select id="othcollsel" name="othcollsel" >
|
||||
<option>{% trans "choisir" %}</option>
|
||||
<option>{{ "choisir" | trans }}</option>
|
||||
{% for collection in databox.get_collections() %}
|
||||
<option value="{{ collection.get_base_id() }}">{{ collection. get_name() }}</option>
|
||||
{% endfor %}
|
||||
@@ -189,7 +189,7 @@
|
||||
{% endif %}
|
||||
<a href="#" class="btn btn-mini submiter">
|
||||
<img src="/skins/icons/create_coll.png" />
|
||||
{% trans "admin::base:collection: Monter une collection" %}
|
||||
{{ "admin::base:collection: Monter une collection" | trans }}
|
||||
</a>
|
||||
</form>
|
||||
</li>
|
||||
@@ -204,7 +204,7 @@
|
||||
<div class="well well-small">
|
||||
<a href="#" class="btn" id="show-activate-coll">
|
||||
<img src="/skins/icons/create_coll.png"/>
|
||||
{% trans "Activer une collection" %}
|
||||
{{ "Activer une collection" | trans }}
|
||||
</a>
|
||||
<div class="well well-small" id="activate-coll" style="display:none;">
|
||||
<ul>
|
||||
@@ -212,7 +212,7 @@
|
||||
<li>
|
||||
<form class='form-inline' method="post" action="{{ path('admin_collection_enable', {'bas_id': baseId}) }}">
|
||||
{{ baseId|bas_labels(app) }}
|
||||
<a href="#" class="btn btn-mini submiter">{% trans "Activer" %}></a>
|
||||
<a href="#" class="btn btn-mini submiter">{{ "Activer" | trans }}></a>
|
||||
</form>
|
||||
</li>
|
||||
{% endfor %}
|
||||
@@ -224,20 +224,20 @@
|
||||
|
||||
<div class="logo_box">
|
||||
<hr>
|
||||
<h4>{% trans "admin::base: logo impression PDF" %}</h4>
|
||||
<h4>{{ "admin::base: logo impression PDF" | trans }}</h4>
|
||||
<div id="printLogoDIV_OK">
|
||||
<img class="thumbnail" id="printLogo" src="/custom/minilogos/logopdf_{{ databox.get_sbas_id() }}.jpg" />
|
||||
{% if app['acl'].get(app['authentication'].getUser()).has_right_on_sbas(databox.get_sbas_id(), "bas_manage") %}
|
||||
<form method="post" target="right" action="{{ path('admin_database_delete_logo', {'databox_id': databox.get_sbas_id()}) }}" >
|
||||
<button class="btn btn-mini btn-danger">{% trans "admin::base:collection: supprimer le logo" %}</button>
|
||||
<button class="btn btn-mini btn-danger">{{ "admin::base:collection: supprimer le logo" | trans }}</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div id="printLogoDIV_NONE">
|
||||
{% trans "admin::base:collection: aucun fichier (minilogo, watermark ...)" %}
|
||||
{{ "admin::base:collection: aucun fichier (minilogo, watermark ...)" | trans }}
|
||||
{% if app['acl'].get(app['authentication'].getUser()).has_right_on_sbas(databox.get_sbas_id(), "bas_manage") %}
|
||||
<input id="fileupload" class="no-ajax" type="file" name="newLogoPdf" data-url="{{ path('admin_database_submit_logo', {'databox_id': databox.get_sbas_id()}) }}" accept="image/jpg, image/jpeg">
|
||||
<i>{% trans "admin::base: envoyer un logo (jpeg 35px de hauteur max)" %}</i>
|
||||
<i>{{ "admin::base: envoyer un logo (jpeg 35px de hauteur max)" | trans }}</i>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
@@ -252,7 +252,7 @@
|
||||
data: {},
|
||||
success: function(data){
|
||||
if(data.viewname === '') {
|
||||
$("#viewname").html("{% trans 'admin::base: aucun alias' %}");
|
||||
$("#viewname").html("{{ 'admin::base: aucun alias' | trans }}");
|
||||
} else {
|
||||
$("#viewname").html(data.viewname);
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<div class="page-header">
|
||||
<h1>{{ databox.get_serialized_server_info() }}<small style="font-size:16px;">{% trans "Details" %}</small></h1>
|
||||
<h1>{{ databox.get_serialized_server_info() }}<small style="font-size:16px;">{{ "Details" | trans }}</small></h1>
|
||||
</div>
|
||||
|
||||
<table class="table table-bordered detail-table">
|
||||
@@ -9,18 +9,18 @@
|
||||
{% if app['request'].query.get('sort') == 'col' %}
|
||||
<img src="/skins/icons/tsort_desc.gif">
|
||||
{% endif %}
|
||||
{% trans 'Collection' %}
|
||||
{{ 'Collection' | trans }}
|
||||
</th>
|
||||
|
||||
<th class="obj">
|
||||
{% if app['request'].query.get('sort') == 'obj' %}
|
||||
<img src="/skins/icons/tsort_desc.gif">
|
||||
{% endif %}
|
||||
{% trans 'Subdef' %}
|
||||
{{ 'Subdef' | trans }}
|
||||
</th>
|
||||
|
||||
<th>{% trans 'Number' %}</th>
|
||||
<th>{% trans 'Weight' %}</th>
|
||||
<th>{{ 'Number' | trans }}</th>
|
||||
<th>{{ 'Weight' | trans }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -61,5 +61,5 @@
|
||||
</table>
|
||||
|
||||
<div>
|
||||
<a style="text-decoration:none" class="btn" href="{{ path('admin_database', { 'databox_id' : databox.get_sbas_id() }) }}">{% trans 'boutton::retour' %}</a>
|
||||
<a style="text-decoration:none" class="btn" href="{{ path('admin_database', { 'databox_id' : databox.get_sbas_id() }) }}">{{ 'boutton::retour' | trans }}</a>
|
||||
</div>
|
@@ -95,11 +95,11 @@
|
||||
<div class="tabs PNB" style="bottom:40px;">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#rights_tab">{% trans 'Rights' %}</a>
|
||||
<a href="#rights_tab">{{ 'Rights' | trans }}</a>
|
||||
</li>
|
||||
{% if main_user is not empty and main_user.is_template is empty and main_user.is_special is empty %}
|
||||
<li>
|
||||
<a href="#user_infos_tab">{% trans 'Infos' %}</a>
|
||||
<a href="#user_infos_tab">{{ 'Infos' | trans }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
@@ -113,9 +113,9 @@
|
||||
|
||||
{% if main_user.is_special is not empty %}
|
||||
{% if main_user.get_login() == 'invite' %}
|
||||
{% trans 'Reglages:: reglages d acces guest' %}
|
||||
{{ 'Reglages:: reglages d acces guest' | trans }}
|
||||
{% elseif main_user.get_login() == 'autoregister' %}
|
||||
{% trans 'Reglages:: reglages d inscitpition automatisee' %}
|
||||
{{ 'Reglages:: reglages d inscitpition automatisee' | trans }}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% set display_name = main_user.get_display_name() %}
|
||||
@@ -131,14 +131,14 @@
|
||||
{% endif %}
|
||||
</td>
|
||||
<td style="text-align:right;">
|
||||
{% trans 'Apply a template' %}
|
||||
{{ 'Apply a template' | trans }}
|
||||
<select name="template">
|
||||
<option value="">{% trans 'boutton::choisir' %}</option>
|
||||
<option value="">{{ 'boutton::choisir' | trans }}</option>
|
||||
{% for template in templates %}
|
||||
<option value="{{ template.get_id() }}">{{ template.get_display_name() }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<button class="btn" type='button' id='reset_rights'>{% trans 'Delete all users rights' %}</button>
|
||||
<button class="btn" type='button' id='reset_rights'>{{ 'Delete all users rights' | trans }}</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -325,16 +325,16 @@
|
||||
<input type="hidden" name="sbas_id" value="{{rights['sbas_id']}}"/>
|
||||
</div>
|
||||
</td>
|
||||
<td style="text-align:center;width:19px;" title="{% trans 'Allowed to publish' %}">
|
||||
<td style="text-align:center;width:19px;" title="{{ 'Allowed to publish' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'bas_chupub', users, 'sbas')}}
|
||||
</td>
|
||||
<td style="text-align:center;width:19px;" title="{% trans 'Manage Thesaurus' %}">
|
||||
<td style="text-align:center;width:19px;" title="{{ 'Manage Thesaurus' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'bas_modif_th', users, 'sbas')}}
|
||||
</td>
|
||||
<td style="text-align:center;width:19px;" title="{% trans 'Manage Database' %}">
|
||||
<td style="text-align:center;width:19px;" title="{{ 'Manage Database' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'bas_manage', users, 'sbas')}}
|
||||
</td>
|
||||
<td style="text-align:center;width:19px;" title="{% trans 'Manage DB fields' %}">
|
||||
<td style="text-align:center;width:19px;" title="{{ 'Manage DB fields' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'bas_modify_struct', users, 'sbas')}}
|
||||
</td>
|
||||
<td style="text-align:center;width:48px;"></td>
|
||||
@@ -344,28 +344,28 @@
|
||||
<td style="overflow:hidden;white-space:nowrap;">
|
||||
{{rights['base_id']|bas_labels(app)}}
|
||||
</td>
|
||||
<td class="users_col case_right_access" title="{% trans 'Access' %}">
|
||||
<td class="users_col case_right_access" title="{{ 'Access' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'access', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_actif" title="{% trans 'Active' %}">
|
||||
<td class="users_col case_right_actif" title="{{ 'Active' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'actif', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_canputinalbum" title="{% trans 'Allowed to add in basket' %}">
|
||||
<td class="users_col case_right_canputinalbum" title="{{ 'Allowed to add in basket' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'canputinalbum', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_candwnldpreview" title="{% trans 'Access to preview' %}">
|
||||
<td class="users_col case_right_candwnldpreview" title="{{ 'Access to preview' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'candwnldpreview', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_nowatermark" title="{% trans 'Remove watermark' %}">
|
||||
<td class="users_col case_right_nowatermark" title="{{ 'Remove watermark' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'nowatermark', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_candwnldhd" title="{% trans 'Access to HD' %}">
|
||||
<td class="users_col case_right_candwnldhd" title="{{ 'Access to HD' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'candwnldhd', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_cancmd" title="{% trans 'Allowed to order' %}">
|
||||
<td class="users_col case_right_cancmd" title="{{ 'Allowed to order' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'cancmd', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_quota" title="{% trans 'Set download quotas' %}">
|
||||
<td class="users_col case_right_quota" title="{{ 'Set download quotas' | trans }}">
|
||||
<div class="quota_trigger quota_{{rights['base_id']}} base_{{rights['base_id']}}">
|
||||
{% if rights['restrict_dwnld'] > 0 %}
|
||||
<img src="/skins/icons/user_details_on.png" />
|
||||
@@ -375,7 +375,7 @@
|
||||
<input type="hidden" name="quota_base_id" value="{{rights['base_id']}}"/>
|
||||
</div>
|
||||
</td>
|
||||
<td class="users_col case_right_time" title="{% trans 'Set time restrictions' %}">
|
||||
<td class="users_col case_right_time" title="{{ 'Set time restrictions' | trans }}">
|
||||
<div class="time_trigger time_{{rights['base_id']}} base_{{rights['base_id']}}">
|
||||
{% if rights['time_limited'] > 0 %}
|
||||
<img src="/skins/icons/user_details_on.png" />
|
||||
@@ -385,7 +385,7 @@
|
||||
<input type="hidden" name="time_base_id" value="{{rights['base_id']}}"/>
|
||||
</div>
|
||||
</td>
|
||||
<td class="users_col case_right_masks" title="{% trans 'Set statuses restrictions' %}">
|
||||
<td class="users_col case_right_masks" title="{{ 'Set statuses restrictions' | trans }}">
|
||||
<div class="masks_trigger quotatime_{{rights['base_id']}} base_{{rights['base_id']}}">
|
||||
{% if rights['masks'] > 0 %}
|
||||
<img src="/skins/icons/user_details_on.png" />
|
||||
@@ -398,34 +398,34 @@
|
||||
|
||||
<td style="text-align:center;width:100px;"></td>
|
||||
|
||||
<td class="users_col case_right_canaddrecord" title="{% trans 'Allowed to add' %}">
|
||||
<td class="users_col case_right_canaddrecord" title="{{ 'Allowed to add' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'canaddrecord', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_canmodifrecord" title="{% trans 'Allowed to edit' %}">
|
||||
<td class="users_col case_right_canmodifrecord" title="{{ 'Allowed to edit' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'canmodifrecord', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_chgstatus" title="{% trans 'Allowed to change statuses' %}">
|
||||
<td class="users_col case_right_chgstatus" title="{{ 'Allowed to change statuses' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'chgstatus', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_candeleterecord" title="{% trans 'Allowed to delete' %}">
|
||||
<td class="users_col case_right_candeleterecord" title="{{ 'Allowed to delete' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'candeleterecord', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_imgtools" title="{% trans 'Access to image tools' %}">
|
||||
<td class="users_col case_right_imgtools" title="{{ 'Access to image tools' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'imgtools', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_canadmin" title="{% trans 'Manage users' %}">
|
||||
<td class="users_col case_right_canadmin" title="{{ 'Manage users' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'canadmin', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_canreport" title="{% trans 'Allowed to access report' %}">
|
||||
<td class="users_col case_right_canreport" title="{{ 'Allowed to access report' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'canreport', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_canpush" title="{% trans 'Allowed to push' %}">
|
||||
<td class="users_col case_right_canpush" title="{{ 'Allowed to push' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'canpush', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_manage" title="{% trans 'Manage collection' %}">
|
||||
<td class="users_col case_right_manage" title="{{ 'Manage collection' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'manage', users, 'base')}}
|
||||
</td>
|
||||
<td class="users_col case_right_modify" title="{% trans 'Manage values lists' %}">
|
||||
<td class="users_col case_right_modify" title="{{ 'Manage values lists' | trans }}">
|
||||
{{_self.format_checkbox(app['authentication'].getUser(), rights, 'modify_struct', users, 'base')}}
|
||||
</td>
|
||||
<td colspan="5">
|
||||
@@ -445,7 +445,7 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'admin::compte-utilisateur identifiant' %}
|
||||
{{ 'admin::compte-utilisateur identifiant' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" value="{{main_user.get_login()}}" readonly="readonly" />
|
||||
@@ -453,19 +453,19 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'admin::compte-utilisateur sexe' %}
|
||||
{{ 'admin::compte-utilisateur sexe' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<select name="gender">
|
||||
<option {% if main_user.get_gender() == 0 %}selected="selected"{% endif %} value="0" >{% trans 'admin::compte-utilisateur:sexe: mademoiselle' %}</option>
|
||||
<option {% if main_user.get_gender() == 1 %}selected="selected"{% endif %} value="1" >{% trans 'admin::compte-utilisateur:sexe: madame' %}</option>
|
||||
<option {% if main_user.get_gender() == 2 %}selected="selected"{% endif %} value="2" >{% trans 'admin::compte-utilisateur:sexe: monsieur' %}</option>
|
||||
<option {% if main_user.get_gender() == 0 %}selected="selected"{% endif %} value="0" >{{ 'admin::compte-utilisateur:sexe: mademoiselle' | trans }}</option>
|
||||
<option {% if main_user.get_gender() == 1 %}selected="selected"{% endif %} value="1" >{{ 'admin::compte-utilisateur:sexe: madame' | trans }}</option>
|
||||
<option {% if main_user.get_gender() == 2 %}selected="selected"{% endif %} value="2" >{{ 'admin::compte-utilisateur:sexe: monsieur' | trans }}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'admin::compte-utilisateur prenom' %}
|
||||
{{ 'admin::compte-utilisateur prenom' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="first_name" value="{{main_user.get_firstname()}}"/>
|
||||
@@ -473,7 +473,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'admin::compte-utilisateur nom' %}
|
||||
{{ 'admin::compte-utilisateur nom' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="last_name" value="{{main_user.get_lastname()}}"/>
|
||||
@@ -481,7 +481,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'admin::compte-utilisateur email' %}
|
||||
{{ 'admin::compte-utilisateur email' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="email" value="{{main_user.get_email()}}"/>
|
||||
@@ -489,7 +489,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'admin::compte-utilisateur adresse' %}
|
||||
{{ 'admin::compte-utilisateur adresse' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="address" value="{{main_user.get_address()}}"/>
|
||||
@@ -497,7 +497,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'admin::compte-utilisateur code postal' %}
|
||||
{{ 'admin::compte-utilisateur code postal' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="zip" value="{{main_user.get_zipcode()}}"/>
|
||||
@@ -505,7 +505,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'admin::compte-utilisateur ville' %}
|
||||
{{ 'admin::compte-utilisateur ville' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" value="{{ main_user.get_geonameid() }}" class="geoname_field" name="geonameid" />
|
||||
@@ -513,7 +513,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'admin::compte-utilisateur poste' %}
|
||||
{{ 'admin::compte-utilisateur poste' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="function" value="{{main_user.get_position()}}"/>
|
||||
@@ -521,7 +521,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'admin::compte-utilisateur societe' %}
|
||||
{{ 'admin::compte-utilisateur societe' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="company" value="{{main_user.get_company()}}"/>
|
||||
@@ -529,7 +529,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'admin::compte-utilisateur activite' %}
|
||||
{{ 'admin::compte-utilisateur activite' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="activite" value="{{main_user.get_job()}}"/>
|
||||
@@ -538,7 +538,7 @@
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'admin::compte-utilisateur telephone' %}
|
||||
{{ 'admin::compte-utilisateur telephone' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="telephone" value="{{main_user.get_tel()}}"/>
|
||||
@@ -546,7 +546,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'admin::compte-utilisateur fax' %}
|
||||
{{ 'admin::compte-utilisateur fax' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="fax" value="{{main_user.get_fax()}}"/>
|
||||
@@ -558,8 +558,8 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="PNB10" style="top:auto;height:20px;">
|
||||
<button class="users_rights_valid btn">{% trans 'boutton::valider' %}</button>
|
||||
<a href="{{ path('admin_users_search') }}" class="users_rights_cancel btn" style="text-decoration:none">{% trans 'boutton::retour' %}</a>
|
||||
<button class="users_rights_valid btn">{{ 'boutton::valider' | trans }}</button>
|
||||
<a href="{{ path('admin_users_search') }}" class="users_rights_cancel btn" style="text-decoration:none">{{ 'boutton::retour' | trans }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -576,7 +576,7 @@
|
||||
$('div.tabs').tabs();
|
||||
|
||||
$('#users_rights_form button#reset_rights').bind('click', function(){
|
||||
if(confirm("{% trans 'Are you sure you want to reset rights?' %}"))
|
||||
if(confirm("{{ 'Are you sure you want to reset rights?' | trans }}"))
|
||||
{
|
||||
var users = $('#users_rights_form input[name="users"]').val();
|
||||
|
||||
|
@@ -36,7 +36,7 @@
|
||||
{% endif %}
|
||||
|
||||
|
||||
<h1>{% trans 'Quotas' %}</h1>
|
||||
<h1>{{ 'Quotas' | trans }}</h1>
|
||||
<div>
|
||||
{% set base = collection.get_databox().get_label(app['locale.I18n']) %}
|
||||
{% trans %}Base {{base}}{% endtrans %}
|
||||
@@ -46,7 +46,7 @@
|
||||
{% trans %}Collection {{collection}}{% endtrans %}
|
||||
</div>
|
||||
<form>
|
||||
<div>{% trans 'Restrictions de telechargement' %}</div>
|
||||
<div>{{ 'Restrictions de telechargement' | trans }}</div>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
@@ -54,13 +54,13 @@
|
||||
<div class="switch_quota {{class}}"></div>
|
||||
</td>
|
||||
<td>
|
||||
{% trans 'Restriction' %}
|
||||
{{ 'Restriction' | trans }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div>{% trans 'Droits' %} <input name="droits" {% if readonly %}readonly="readonly"{% endif %} type="text" value="{{droits}}" /> {% trans 'par mois' %}</div>
|
||||
<div>{% trans 'Reste' %} <input name="restes" {% if readonly %}readonly="readonly"{% endif %} type="text" value="{{restes}}" /></div>
|
||||
<div>{{ 'Droits' | trans }} <input name="droits" {% if readonly %}readonly="readonly"{% endif %} type="text" value="{{droits}}" /> {{ 'par mois' | trans }}</div>
|
||||
<div>{{ 'Reste' | trans }} <input name="restes" {% if readonly %}readonly="readonly"{% endif %} type="text" value="{{restes}}" /></div>
|
||||
<input type="hidden" name="base_id" value="{{base_id}}"/>
|
||||
<input type="hidden" name="users" value="{{users_serial}}"/>
|
||||
</form>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<h1>{% trans 'Limite temporelle' %}</h1>
|
||||
<h1>{{ 'Limite temporelle' | trans }}</h1>
|
||||
<div>
|
||||
{% set base = collection.get_databox().get_label(app['locale.I18n']) %}
|
||||
{% trans %}Base {{base}}{% endtrans %}
|
||||
@@ -16,18 +16,18 @@
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
{% trans 'Activer' %}
|
||||
{{ 'Activer' | trans }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
{% trans 'De' %}
|
||||
{{ 'De' | trans }}
|
||||
<input type="text" class="dmin datepicker" name="dmin" {% if datas.time_limited == 0 %}readonly="readonly"{% endif %} value="{{datas.limited_from}}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
{% trans 'A' %}
|
||||
{{ 'A' | trans }}
|
||||
<input type="text" class="dmax datepicker" name="dmax" {% if datas.time_limited == 0 %}readonly="readonly"{% endif %} value="{{datas.limited_to}}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<h1>{% trans 'Limite temporelle' %}</h1>
|
||||
<h1>{{ 'Limite temporelle' | trans }}</h1>
|
||||
<div>
|
||||
{% set base = databox.get_viewname() %}
|
||||
{% trans %}Base {{base}}{% endtrans %}
|
||||
@@ -12,18 +12,18 @@
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
{% trans 'Activer' %}
|
||||
{{ 'Activer' | trans }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
{% trans 'De' %}
|
||||
{{ 'De' | trans }}
|
||||
<input type="text" class="dmin datepicker" name="dmin" {% if datas.time_limited == 0 %}readonly="readonly"{% endif %} value="{{datas.limited_from}}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
{% trans 'A' %}
|
||||
{{ 'A' | trans }}
|
||||
<input type="text" class="dmax datepicker" name="dmax" {% if datas.time_limited == 0 %}readonly="readonly"{% endif %} value="{{datas.limited_to}}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
@@ -219,8 +219,8 @@
|
||||
<td><label for="thumbtitle">{% trans %}Display thumbnails{% endtrans %}</label></td>
|
||||
<td>
|
||||
<select id="thumbtitle">
|
||||
<option value="1" <%= field.thumbtitle == "1" ? "selected" : "" %> >{% trans 'Tous' %}</option>
|
||||
<option value="0" <%= field.thumbtitle == "0" ? "selected" : "" %> >{% trans 'Aucun' %}</option>
|
||||
<option value="1" <%= field.thumbtitle == "1" ? "selected" : "" %> >{{ 'Tous' | trans }}</option>
|
||||
<option value="0" <%= field.thumbtitle == "0" ? "selected" : "" %> >{{ 'Aucun' | trans }}</option>
|
||||
{% for code, language in languages %}
|
||||
<option value="{{ code }}" <%= field.thumbtitle == "{{ code }}" ? "selected" : "" %> >{{ language}}</option>
|
||||
{% endfor %}
|
||||
|
@@ -217,24 +217,24 @@
|
||||
<div id="quotas_dialog"></div>
|
||||
<div id="masks_dialog"></div>
|
||||
<div id="time_dialog"></div>
|
||||
<div id="user_add_dialog" title="{% trans 'Ajouter un nouvel utilisateur' %}">
|
||||
<div id="user_add_dialog" title="{{ 'Ajouter un nouvel utilisateur' | trans }}">
|
||||
<form>
|
||||
<label for="new_user_mail">{% trans 'Adresse email du nouvel utilisateur' %}</label>
|
||||
<label for="new_user_mail">{{ 'Adresse email du nouvel utilisateur' | trans }}</label>
|
||||
<input id="new_user_mail" type="text" name="value" />
|
||||
<label class="checkbox" for="send_credentials">
|
||||
<input type="checkbox" checked="checked" name="send_credentials" id="send_credentials" value="1" />
|
||||
{% trans "Send an email to the user to setup his password" %}
|
||||
{{ "Send an email to the user to setup his password" | trans }}
|
||||
</label>
|
||||
<label class="checkbox" for="validate_mail">
|
||||
<input type="checkbox" checked="checked" name="validate_mail" id="validate_mail" value="1" />
|
||||
{% trans "Require email validation to activate the account" %}
|
||||
{{ "Require email validation to activate the account" | trans }}
|
||||
</label>
|
||||
<img src="/skins/icons/loaderFFF.gif" class="new_user_loader" style="display:none;"/>
|
||||
</form>
|
||||
</div>
|
||||
<div id="template_add_dialog" title="{% trans 'Creer un modele' %}">
|
||||
<div id="template_add_dialog" title="{{ 'Creer un modele' | trans }}">
|
||||
<form>
|
||||
<label>{% trans 'Nom du nouveau modele' %}</label>
|
||||
<label>{{ 'Nom du nouveau modele' | trans }}</label>
|
||||
<input type="text" name="value" />
|
||||
<img src="/skins/icons/loaderFFF.gif" class="new_user_loader" style="display:none;"/>
|
||||
</form>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
<div class="error alert alert-error">{{ error }}</div>
|
||||
{% endif %}
|
||||
{% if feed.isOwner(app['authentication'].getUser()) %}
|
||||
<h2>{% trans 'Edition' %}</h2>
|
||||
<h2>{{ 'Edition' | trans }}</h2>
|
||||
<div class="control-group">
|
||||
<div id="pub_icon">
|
||||
<div class="thumb_wrapper">
|
||||
@@ -85,22 +85,22 @@
|
||||
|
||||
<form class="no-ajax form_publication form-vertical" name="form_publication" enctype="multipart/form-data" method="post" action="{{ path('admin_feeds_feed_update', { 'id' : feed.getId() }) }}">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="edit_pub_titre">{% trans 'Titre' %} :</label>
|
||||
<label class="control-label" for="edit_pub_titre">{{ 'Titre' | trans }} :</label>
|
||||
<div class="controls">
|
||||
<input id="edit_pub_titre" class="required_text input-large" maxlength="128" name="title" type="text" value="{{ feed.getTitle() }}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="edit_pub_subtitre">{% trans 'Sous-titre' %} :</label>
|
||||
<label class="control-label" for="edit_pub_subtitre">{{ 'Sous-titre' | trans }} :</label>
|
||||
<div class="controls">
|
||||
<input placeholder="{% trans 'Short description' %}" id="edit_pub_subtitre" class="input-large" maxlength="512" name="subtitle" type="text" value="{{ feed.getSubtitle() }}" />
|
||||
<input placeholder="{{ 'Short description' | trans }}" id="edit_pub_subtitre" class="input-large" maxlength="512" name="subtitle" type="text" value="{{ feed.getSubtitle() }}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="edit_pub_base_id">{% trans 'Etendue de la publication' %} :</label>
|
||||
<label class="control-label" for="edit_pub_base_id">{{ 'Etendue de la publication' | trans }} :</label>
|
||||
<div class="controls">
|
||||
<select id="edit_pub_base_id" class="input-large" name="base_id" {% if feed.isPublic() %}disabled="disabled"{% endif %}>
|
||||
<option value="">{% trans 'Non-Restreinte (publique)' %}</option>
|
||||
<option value="">{{ 'Non-Restreinte (publique)' | trans }}</option>
|
||||
{% for databox in app['acl'].get(app['authentication'].getUser()).get_granted_sbas('bas_chupub') %}
|
||||
<optgroup label="{{ databox.get_label(app['locale.I18n']) }}">
|
||||
{% for collection in databox.get_collections() %}
|
||||
@@ -115,25 +115,25 @@
|
||||
<div class="controls">
|
||||
<label class="checkbox" for="edit_pub_public">
|
||||
<input type="checkbox" id="edit_pub_public" class="input-large" name="public" value="1" {% if feed.isPublic() %}checked="checked"{% endif %} />
|
||||
{% trans 'Publique' %}
|
||||
{{ 'Publique' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<button class="btn btn-warning" type="submit">{% trans 'boutton::valider' %}</button>
|
||||
<a href="{{ path('admin_feeds_list') }}" class="btn" style="text-decoration:none;">{% trans 'boutton::annuler' %}</a>
|
||||
<button class="btn btn-warning" type="submit">{{ 'boutton::valider' | trans }}</button>
|
||||
<a href="{{ path('admin_feeds_list') }}" class="btn" style="text-decoration:none;">{{ 'boutton::annuler' | trans }}</a>
|
||||
</div>
|
||||
</form>
|
||||
<br />
|
||||
<div style="width: 500px;">
|
||||
<h2>{% trans 'Liste des personnes habilitees a publier sur ce fil' %}</h2>
|
||||
<h2>{{ 'Liste des personnes habilitees a publier sur ce fil' | trans }}</h2>
|
||||
<table class="admintable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th valign="center" align="left">{% trans 'Id' %}</th>
|
||||
<th valign="center" align="left">{{ 'Id' | trans }}</th>
|
||||
<th valign="center" align="left"></th>
|
||||
<th valign="center" align="left">{% trans 'Email' %}</th>
|
||||
<th valign="center" align="center">{% trans 'Owner' %}</th>
|
||||
<th valign="center" align="left">{{ 'Email' | trans }}</th>
|
||||
<th valign="center" align="center">{{ 'Owner' | trans }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -154,7 +154,7 @@
|
||||
{% else %}
|
||||
<form class="no-ajax form_publication" method="post" action="{{ path('admin_feeds_feed_remove_publisher', { 'id' : feed.getId() }) }}" style="margin:0;">
|
||||
<input type="hidden" value="{{ publisher.getId() }}" name="publisher_id"/>
|
||||
<button class="btn btn-mini">{% trans 'boutton::supprimer' %}</button>
|
||||
<button class="btn btn-mini">{{ 'boutton::supprimer' | trans }}</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
</td>
|
||||
@@ -165,9 +165,9 @@
|
||||
<div>
|
||||
<form class="no-ajax form_publication" id="publisher_adder" method="post" action="{{ path('admin_feeds_feed_add_publisher', { 'id' : feed.getId() }) }}">
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'Ajouter un publisher' %} :</label>
|
||||
<label class="control-label">{{ 'Ajouter un publisher' | trans }} :</label>
|
||||
<div class="controls">
|
||||
<input placeholder="{% trans 'Name or email' %}" class="publish_adder"/>
|
||||
<input placeholder="{{ 'Name or email' | trans }}" class="publish_adder"/>
|
||||
<input type="hidden" name="usr_id"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -214,8 +214,8 @@
|
||||
</script>
|
||||
|
||||
{% else %}
|
||||
{% trans 'You are not the feed owner' %}
|
||||
<a href="{{ path('admin_feeds_list') }}">{% trans 'boutton::retour' %}</a>
|
||||
{{ 'You are not the feed owner' | trans }}
|
||||
<a href="{{ path('admin_feeds_list') }}">{{ 'boutton::retour' | trans }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
@@ -4,25 +4,25 @@
|
||||
|
||||
<form style="max-width:500px" class="no-ajax form_publication form-horizontal" method="post" action="{{ path('admin_feeds_create') }}">
|
||||
<fieldset>
|
||||
<legend>{% trans 'Ajouter une publication' %}</legend>
|
||||
<legend>{{ 'Ajouter une publication' | trans }}</legend>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="add_pub_titre">{% trans 'Titre' %}</label>
|
||||
<label class="control-label" for="add_pub_titre">{{ 'Titre' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" id="add_pub_titre" class="required_text input-large" placeholder="{% trans 'Feed name' %}" maxlength="128" name="title" />
|
||||
<input type="text" id="add_pub_titre" class="required_text input-large" placeholder="{{ 'Feed name' | trans }}" maxlength="128" name="title" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="add_pub_subtitre">{% trans 'Sous-titre' %}</label>
|
||||
<label class="control-label" for="add_pub_subtitre">{{ 'Sous-titre' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" id="add_pub_subtitre" class="input-large" placeholder="{% trans 'Short description' %}" maxlength="512" name="subtitle" />
|
||||
<input type="text" id="add_pub_subtitre" class="input-large" placeholder="{{ 'Short description' | trans }}" maxlength="512" name="subtitle" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="add_pub_base_id">{% trans 'Etendue de la publication' %}</label>
|
||||
<label class="control-label" for="add_pub_base_id">{{ 'Etendue de la publication' | trans }}</label>
|
||||
<div class="controls">
|
||||
<select id="add_pub_base_id" class="input-large" name="base_id">
|
||||
<option value="">{% trans 'Non-Restreinte (publique)' %}</option>
|
||||
<option value="">{{ 'Non-Restreinte (publique)' | trans }}</option>
|
||||
{% for databox in app['acl'].get(app['authentication'].getUser()).get_granted_sbas('bas_chupub') %}
|
||||
<optgroup label="{{ databox.get_label(app['locale.I18n']) }}">
|
||||
{% for collection in databox.get_collections() %}
|
||||
@@ -37,12 +37,12 @@
|
||||
<div class="controls">
|
||||
<label class="checkbox" for="add_pub_public">
|
||||
<input type="checkbox" id="add_pub_public" name="public" value="1" />
|
||||
{% trans 'Publique' %}
|
||||
{{ 'Publique' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-warning">{% trans 'boutton::valider' %}</button>
|
||||
<button type="submit" class="btn btn-warning">{{ 'boutton::valider' | trans }}</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
@@ -51,10 +51,10 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:40px;"></th>
|
||||
<th>{% trans 'Titre' %}</th>
|
||||
<th style="width:150px; text-align: center;">{% trans 'Date Creation' %}</th>
|
||||
<th style="width:220px; text-align: center;">{% trans 'Restriction' %}</th>
|
||||
<th style="width:80px; text-align: center;">{% trans 'Public' %}</th>
|
||||
<th>{{ 'Titre' | trans }}</th>
|
||||
<th style="width:150px; text-align: center;">{{ 'Date Creation' | trans }}</th>
|
||||
<th style="width:220px; text-align: center;">{{ 'Restriction' | trans }}</th>
|
||||
<th style="width:80px; text-align: center;">{{ 'Public' | trans }}</th>
|
||||
<th style="width:80px;"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -86,13 +86,13 @@
|
||||
</td>
|
||||
<td valign="center" align="center">
|
||||
{% if feed.isPublic() %}
|
||||
<img src="/skins/icons/ligth-on.png" title="{% trans 'This feed is public' %}"/>
|
||||
<img src="/skins/icons/ligth-on.png" title="{{ 'This feed is public' | trans }}"/>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td valign="center" align="center">
|
||||
{% if feed.isOwner(app['authentication'].getUser()) %}
|
||||
<form class="no-ajax form_publication" action="{{ path('admin_feeds_feed_delete', { 'id' : feed.getId() }) }}" method="post" style="margin:0;">
|
||||
<button class="feed_remover btn btn-mini">{% trans 'boutton::supprimer' %}</button>
|
||||
<button class="feed_remover btn btn-mini">{{ 'boutton::supprimer' | trans }}</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
</td>
|
||||
@@ -104,7 +104,7 @@
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('button.feed_remover').bind('click', function(event){
|
||||
if(!confirm('{% trans 'Une fois la publication supprimee, les donnees publiees seront definitivement perdues. Continuer ?' %}'))
|
||||
if(!confirm('{{ 'Une fois la publication supprimee, les donnees publiees seront definitivement perdues. Continuer ?' | trans }}'))
|
||||
{
|
||||
event.stopPropagation();
|
||||
return false;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<div class="page-header">
|
||||
<h1>{% trans 'Publications' %}</h1>
|
||||
<h1>{{ 'Publications' | trans }}</h1>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
if(error === true)
|
||||
{
|
||||
alert('{% trans 'Vous devez remplir les champs requis' %}');
|
||||
alert('{{ 'Vous devez remplir les champs requis' | trans }}');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@@ -1,14 +1,14 @@
|
||||
<div class="page-header">
|
||||
<h1>{% trans 'Phrasea search-engine configuration' %}</h1>
|
||||
<h1>{{ 'Phrasea search-engine configuration' | trans }}</h1>
|
||||
</div>
|
||||
|
||||
<form method="post" action="{{ path('admin_searchengine_post') }}">
|
||||
<fieldset>
|
||||
<legend>{% trans 'Stemming' %}</legend>
|
||||
{% trans 'Enable stemming' %} <input type="checkbox" name="stemming_enabled" value="1" {% if configuration['stemming_enabled'] %}checked="checked"{% endif %} />
|
||||
<legend>{{ 'Stemming' | trans }}</legend>
|
||||
{{ 'Enable stemming' | trans }} <input type="checkbox" name="stemming_enabled" value="1" {% if configuration['stemming_enabled'] %}checked="checked"{% endif %} />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>{% trans 'Default sort' %}</legend>
|
||||
<legend>{{ 'Default sort' | trans }}</legend>
|
||||
<select name="default_sort">
|
||||
{% for sort, sort_name in available_sort %}
|
||||
<option value="{{ sort }}" {%if configuration['default_sort'] == sort %}selected="selected"{% endif %}>{{ sort_name }}</option>
|
||||
@@ -16,6 +16,6 @@
|
||||
</select>
|
||||
</fieldset>
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-warning">{% trans 'boutton::valider' %}</button>
|
||||
<button type="submit" class="btn btn-warning">{{ 'boutton::valider' | trans }}</button>
|
||||
</div>
|
||||
</form>
|
||||
|
@@ -1,26 +1,26 @@
|
||||
<h1>{% trans 'SphinxSearch search-engine configuration' %}</h1>
|
||||
<h1>{{ 'SphinxSearch search-engine configuration' | trans }}</h1>
|
||||
|
||||
<form method="post" action="{{ path('admin_searchengine_post') }}">
|
||||
<div>{% trans 'Sphinx Search connection configuration' %}</div>
|
||||
<div>{{ 'Sphinx Search connection configuration' | trans }}</div>
|
||||
|
||||
<div>{% trans 'Sphinx Search server' %}</div>
|
||||
<div>{{ 'Sphinx Search server' | trans }}</div>
|
||||
<input type="text" name="host" value="{{ configuration['host'] | default('127.0.0.1') }}"/>
|
||||
<input type="text" name="port" value="{{ configuration['port'] | default('93') }}"/>
|
||||
<div>{% trans 'Sphinx Search RealTime server' %}</div>
|
||||
<div>{{ 'Sphinx Search RealTime server' | trans }}</div>
|
||||
<input type="text" name="rt_host" value="{{ configuration['rt_host'] }}"/>
|
||||
<input type="text" name="rt_port" value="{{ configuration['rt_port'] }}"/>
|
||||
|
||||
<div>{% trans 'Charset to use for indexation' %}</div>
|
||||
<div>{{ 'Charset to use for indexation' | trans }}</div>
|
||||
{% for charset, charsetObject in charsets %}
|
||||
<input type="checkbox" name="charset_tables[]" value="{{ charset }}" {% if charset in configuration['charset_tables'] %}checked="checked"{% endif %} > {{ charsetObject.get_name() }}
|
||||
{% endfor %}
|
||||
<br/><br/>
|
||||
<div>{% trans 'Date fields available for search' %}</div>
|
||||
<div>{{ 'Date fields available for search' | trans }}</div>
|
||||
{% for field in date_fields %}
|
||||
<input type="checkbox" name="date_fields[]" value="{{ field }}" {% if field in configuration['date_fields'] %}checked="checked"{% endif %} > {{ field }}
|
||||
{% endfor %}
|
||||
|
||||
<button type="submit" class="btn btn-warning" >{% trans 'boutton::valider' %}</button>
|
||||
<button type="submit" class="btn btn-warning" >{{ 'boutton::valider' | trans }}</button>
|
||||
</form>
|
||||
|
||||
<textarea style="font-family: monospace;width:90%;height:70%">{{ configfile }}</textarea>
|
@@ -1,5 +1,5 @@
|
||||
<div class="page-header">
|
||||
<h1>{% trans 'Setup' %}</h1>
|
||||
<h1>{{ 'Setup' | trans }}</h1>
|
||||
</div>
|
||||
|
||||
{% if update_post_datas is not none %}
|
||||
@@ -134,7 +134,7 @@
|
||||
{% endfor %}
|
||||
<div class="well well-large">
|
||||
<div style="max-width: 400px;margin: 0 auto 10px;">
|
||||
<input type="submit" class="btn btn-warning btn-block btn-large" value="{% trans 'boutton::valider' %}"/>
|
||||
<input type="submit" class="btn btn-warning btn-block btn-large" value="{{ 'boutton::valider' | trans }}"/>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@@ -2,16 +2,16 @@
|
||||
{% set databox_id = databox.get_sbas_id() %}
|
||||
|
||||
<h1>
|
||||
{% trans 'phraseanet::status bit' %}
|
||||
{{ 'phraseanet::status bit' | trans }}
|
||||
</h1>
|
||||
|
||||
<table class="table table-striped table-condensed">
|
||||
<thead>
|
||||
<th style="width:30px;">{% trans 'status:: numero de bit' %}</th>
|
||||
<th style="width:30px;">{{ 'status:: numero de bit' | trans }}</th>
|
||||
<th style="width:60px;" colspan='2'></th>
|
||||
<th>{% trans 'status:: nom' %}</th>
|
||||
<th>{% trans 'status:: cherchable par tous' %}</th>
|
||||
<th>{% trans 'status:: Affichable pour tous' %}</th>
|
||||
<th>{{ 'status:: nom' | trans }}</th>
|
||||
<th>{{ 'status:: cherchable par tous' | trans }}</th>
|
||||
<th>{{ 'status:: Affichable pour tous' | trans }}</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for bit in range(4, 31) %}
|
||||
@@ -78,7 +78,7 @@
|
||||
if (data.success) {
|
||||
$(".treeview li.selected a").trigger("click");
|
||||
} else {
|
||||
alert('{% trans 'An error occurred' %}');
|
||||
alert('{{ 'An error occurred' | trans }}');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@@ -6,16 +6,16 @@
|
||||
{% endif %}
|
||||
|
||||
<h1 style='padding-left:30px;'>
|
||||
{% trans 'status:: numero de bit' %} {{ app['request'].get('bit') }}
|
||||
{{ 'status:: numero de bit' | trans }} {{ app['request'].get('bit') }}
|
||||
</h1>
|
||||
|
||||
<form id="fileupload" class="form-horizontal" target="_self" enctype="multipart/form-data" method="post" action="{{ path('database_submit_statusbit', { 'databox_id' : app['request'].get('databox_id'), 'bit' : app['request'].get('bit') }) }}">
|
||||
<div class="row-fluid">
|
||||
<div class="span12 well">
|
||||
<span class="label">{% trans'admin::status: case A'%}</span>
|
||||
<span class="label">{{ 'admin::status: case A' | trans }}</span>
|
||||
<div class="row-fluid">
|
||||
<label class="control-label" for="label_off">
|
||||
{% trans'admin::status: texte a afficher'%}
|
||||
{{ 'admin::status: texte a afficher' | trans }}
|
||||
</label>
|
||||
<div class="controls">
|
||||
<input id="label_off" name="label_off" class="input-xlarge" type="text" value="{{ status['labeloff'] }}">
|
||||
@@ -34,7 +34,7 @@
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<label class="control-label">
|
||||
{% trans 'Labels'%}
|
||||
{{ 'Labels' | trans }}
|
||||
</label>
|
||||
<div class="controls">
|
||||
{% for code, language in app['locales.I18n.available'] %}
|
||||
@@ -64,7 +64,7 @@
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<label class="control-label" for="delete_icon_off">
|
||||
{% trans'admin::status:: aucun symbole'%}
|
||||
{{ 'admin::status:: aucun symbole' | trans }}
|
||||
</label>
|
||||
<div class="controls">
|
||||
<label class="checkbox">
|
||||
@@ -76,10 +76,10 @@
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<div class="span12 well">
|
||||
<span class="label">{% trans'admin::status: case B'%}</span>
|
||||
<span class="label">{{ 'admin::status: case B' | trans }}</span>
|
||||
<div class="row-fluid">
|
||||
<label class="control-label" for="label_on">
|
||||
{% trans'admin::status: texte a afficher'%}
|
||||
{{ 'admin::status: texte a afficher' | trans }}
|
||||
</label>
|
||||
<div class="controls">
|
||||
<input id="label_on" name="label_on" class="input-xlarge" type="text" value="{{ status['labelon'] }}">
|
||||
@@ -98,7 +98,7 @@
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<label class="control-label">
|
||||
{% trans 'Labels'%}
|
||||
{{ 'Labels' | trans }}
|
||||
</label>
|
||||
<div class="controls">
|
||||
{% for code, language in app['locales.I18n.available'] %}
|
||||
@@ -128,7 +128,7 @@
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<label class="control-label" for="delete_icon_on">
|
||||
{% trans'admin::status:: aucun symbole'%}
|
||||
{{ 'admin::status:: aucun symbole' | trans }}
|
||||
</label>
|
||||
<div class="controls">
|
||||
<label class="checkbox">
|
||||
@@ -142,11 +142,11 @@
|
||||
<div class="span12">
|
||||
<label class="checkbox">
|
||||
<input id="printable" name="printable" type="checkbox" {{ status['printable'] is defined and status['printable'] == '1' ? "checked" : "" }}>
|
||||
{% trans'status:: Afficher le status dans les feuilles de reponses pour tous les utilisateurs' %}
|
||||
{{ 'status:: Afficher le status dans les feuilles de reponses pour tous les utilisateurs' | trans }}
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input id="searchable" name="searchable" type="checkbox" {{ status['searchable'] is defined and status['searchable'] == '1' ? "checked" : "" }}>
|
||||
{% trans'status:: retrouver sous forme de filtre dans la recherche' %}
|
||||
{{ 'status:: retrouver sous forme de filtre dans la recherche' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -154,10 +154,10 @@
|
||||
<div class=" span12">
|
||||
<div class="form-actions">
|
||||
<button id="form_submitter" class="btn btn-primary" type="button">
|
||||
{% trans 'boutton::valider' %}
|
||||
{{ 'boutton::valider' | trans }}
|
||||
</button>
|
||||
<a style='text-decoration:none;' target='right' class="btn" href="{{ path('database_display_statusbit', { 'databox_id' : app['request'].get('databox_id') }) }}">
|
||||
{% trans 'boutton::retour' %}
|
||||
{{ 'boutton::retour' | trans }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
{% if updateOk %}
|
||||
<div class="alert alert-info">
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
<h4 class="alert-heading">{% trans 'Updated structure' %}</h4>
|
||||
{% trans 'Structure has been successfully updated' %}
|
||||
<h4 class="alert-heading">{{ 'Updated structure' | trans }}</h4>
|
||||
{{ 'Structure has been successfully updated' | trans }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
{% if errorsStructure %}
|
||||
<div class="alert alert-error">
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
<h4 class="alert-heading">{% trans 'Structure errors' %}</h4>
|
||||
{% trans 'admin::base: xml invalide, les changements ne seront pas appliques' %}
|
||||
<h4 class="alert-heading">{{ 'Structure errors' | trans }}</h4>
|
||||
{{ 'admin::base: xml invalide, les changements ne seront pas appliques' | trans }}
|
||||
</div>
|
||||
|
||||
<div class="well">
|
||||
@@ -25,12 +25,12 @@
|
||||
{% endif %}
|
||||
|
||||
<div class="page-header">
|
||||
<h1>{% trans 'admin::base: structure' %}</h1>
|
||||
<h1>{{ 'admin::base: structure' | trans }}</h1>
|
||||
</div>
|
||||
|
||||
<form method="POST" action="{{ path('database_submit_stucture', { 'databox_id' : databox.get_sbas_id() }) }}">
|
||||
<TEXTAREA nowrap style="width:99%; height:450px; white-space:pre" name="structure">{{ structure }}</TEXTAREA>
|
||||
<div class="form-actions">
|
||||
<button class="btn btn-primary" type="submit">{% trans 'boutton::valider' %}</button>
|
||||
<button class="btn btn-primary" type="submit">{{ 'boutton::valider' | trans }}</button>
|
||||
</div>
|
||||
</form>
|
@@ -166,11 +166,11 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<button id="create-subdef" class="btn btn-warning">{% trans 'Create new subdef' %}</button>
|
||||
<div id="dialog-delete-subdef" title="{% trans 'Delete the subdef ?' %}" style="display:none;">
|
||||
<button id="create-subdef" class="btn btn-warning">{{ 'Create new subdef' | trans }}</button>
|
||||
<div id="dialog-delete-subdef" title="{{ 'Delete the subdef ?' | trans }}" style="display:none;">
|
||||
<p>
|
||||
<span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>
|
||||
{% trans 'These subdef will be permanently deleted and cannot be recovered. Are you sure?' %}
|
||||
{{ 'These subdef will be permanently deleted and cannot be recovered. Are you sure?' | trans }}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -178,13 +178,13 @@
|
||||
<p class="validateTips"></p>
|
||||
<form>
|
||||
<fieldset>
|
||||
<label for="name">{% trans 'Subdef name' %}</label>
|
||||
<label for="name">{{ 'Subdef name' | trans }}</label>
|
||||
<input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" value=""/><br/>
|
||||
<label for="accessclass">{% trans 'classe d\'acces' %}</label>
|
||||
<label for="accessclass">{{ 'classe d\'acces' | trans }}</label>
|
||||
<select name="accessclass" id="accessclass">
|
||||
<option value="document">{% trans 'document' %}</option>
|
||||
<option value="preview" selected="selected">{% trans 'preview' %}</option>
|
||||
<option value="thumbnail">{% trans 'tout le monde' %}</option>
|
||||
<option value="document">{{ 'document' | trans }}</option>
|
||||
<option value="preview" selected="selected">{{ 'preview' | trans }}</option>
|
||||
<option value="thumbnail">{{ 'tout le monde' | trans }}</option>
|
||||
</select>
|
||||
</fieldset>
|
||||
</form>
|
||||
@@ -207,7 +207,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width:120px;">
|
||||
<h2>{{subdefname}}</h2><button class="subdef_deleter">{% trans 'boutton::supprimer' %}</button>
|
||||
<h2>{{subdefname}}</h2><button class="subdef_deleter">{{ 'boutton::supprimer' | trans }}</button>
|
||||
<input type="hidden" name="subdef" value="{{subdefgroup}}_{{subdefname}}"/>
|
||||
</td>
|
||||
<td style="width:250px;"></td>
|
||||
@@ -222,20 +222,20 @@
|
||||
</tr>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
<td>{% trans 'Telechargeable' %}</td>
|
||||
<td>{{ 'Telechargeable' | trans }}</td>
|
||||
<td><input type="checkbox" name="{{subdefgroup}}_{{subdefname}}_downloadable" {% if subdef.is_downloadable() %}checked="checked"{% endif %} value="1" /></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'classe' %}
|
||||
{{ 'classe' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<select name="{{subdefgroup}}_{{subdefname}}_class">
|
||||
<option>{% trans 'classe' %}</option>
|
||||
<option value="document" {% if subdef.get_class() == "document" %}selected="selected"{% endif %}>{% trans 'document' %}</option>
|
||||
<option value="preview" {% if subdef.get_class() == "preview" %}selected="selected"{% endif %}>{% trans 'preview' %}</option>
|
||||
<option value="thumbnail" {% if subdef.get_class() == "thumbnail" %}selected="selected"{% endif %}>{% trans 'tout le monde' %}</option>
|
||||
<option>{{ 'classe' | trans }}</option>
|
||||
<option value="document" {% if subdef.get_class() == "document" %}selected="selected"{% endif %}>{{ 'document' | trans }}</option>
|
||||
<option value="preview" {% if subdef.get_class() == "preview" %}selected="selected"{% endif %}>{{ 'preview' | trans }}</option>
|
||||
<option value="thumbnail" {% if subdef.get_class() == "thumbnail" %}selected="selected"{% endif %}>{{ 'tout le monde' | trans }}</option>
|
||||
</select>
|
||||
</td>
|
||||
<td></td>
|
||||
@@ -251,7 +251,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'Write Metas' %}
|
||||
{{ 'Write Metas' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="checkbox" value="yes" {% if subdef.meta_writeable() %}checked="checked"{% endif %} name="{{subdefgroup}}_{{subdefname}}_meta"/>
|
||||
@@ -260,11 +260,11 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans 'mediatype' %}
|
||||
{{ 'mediatype' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<select onchange="select_mediatype('{{subdefgroup}}{{subdefname}}', this);" name="{{subdefgroup}}_{{subdefname}}_mediatype">
|
||||
<option>{% trans 'Choisir' %}</option>
|
||||
<option>{{ 'Choisir' | trans }}</option>
|
||||
{% for subdefType in subdef.getAvailableSubdefTypes() %}
|
||||
<option value="{{ subdefType.getType() }}" {% if subdef.getSubdefType.getType() == subdefType.getType() %}selected="selected"{% endif %}>{{ subdefType.getType() }}</option>
|
||||
{% endfor %}
|
||||
@@ -304,14 +304,14 @@
|
||||
</script>
|
||||
{% elseif option.getType() == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_ENUM') %}
|
||||
<select name="{{varname}}">
|
||||
<option value="">{% trans 'Choisir' %}</option>
|
||||
<option value="">{{ 'Choisir' | trans }}</option>
|
||||
{% for pot_value in option.getAvailableValues() %}
|
||||
<option value="{{ pot_value }}" {% if pot_value == option.getValue() %}selected="selected"{% endif %}>{{ pot_value }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
{% elseif option.getType() == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_BOOLEAN') %}
|
||||
<input name="{{varname}}" type="radio" value="yes" {% if option.getValue() %}checked="checked"{% endif %} /> {% trans 'yes' %}
|
||||
<input name="{{varname}}" type="radio" value="no" {% if option.getValue() is empty %}checked="checked"{% endif %}/> {% trans 'no' %}
|
||||
<input name="{{varname}}" type="radio" value="yes" {% if option.getValue() %}checked="checked"{% endif %} /> {{ 'yes' | trans }}
|
||||
<input name="{{varname}}" type="radio" value="no" {% if option.getValue() is empty %}checked="checked"{% endif %}/> {{ 'no' | trans }}
|
||||
{% elseif option.getType() == constant('\\Alchemy\\Phrasea\\Media\\Subdef\\OptionType\\OptionType::TYPE_MULTI') %}
|
||||
{% for pot_value, selected in option.Value(true) %}
|
||||
<input type="checkbox" name="{{varname}}[]" value="{{ pot_value }}" {% if selected %}checked="checked"{% endif %}/><label>{{ pot_value }}</label>
|
||||
@@ -337,7 +337,7 @@
|
||||
<input type="hidden" name="add_subdef[group]" value=""/>
|
||||
<input type="hidden" name="add_subdef[name]" value=""/>
|
||||
<input type="hidden" name="add_subdef[class]" value=""/>
|
||||
<button type="submit" class="btn btn-primary">{% trans 'boutton::valider' %}</button>
|
||||
<button type="submit" class="btn btn-primary">{{ 'boutton::valider' | trans }}</button>
|
||||
</form>
|
||||
|
||||
<div style="display:none;">
|
||||
|
@@ -28,7 +28,7 @@
|
||||
</style>
|
||||
|
||||
<div class="page-header">
|
||||
<h1>{% trans 'admin::tasks: planificateur de taches' %}
|
||||
<h1>{{ 'admin::tasks: planificateur de taches' | trans }}
|
||||
<small style="font-size:16px;">
|
||||
{% set updateTime %}
|
||||
<span id="pingTime"></span>
|
||||
@@ -45,10 +45,10 @@
|
||||
<tr>
|
||||
<th class="menu"></th>
|
||||
<th class="id">ID</th>
|
||||
<th class="information">{% trans 'Informations' %}</th>
|
||||
<th class="status">{% trans 'admin::tasks: statut de la tache' %}</th>
|
||||
<th class="process-id">{% trans 'admin::tasks: process_id de la tache' %}</th>
|
||||
<th class="taskname">{% trans 'admin::tasks: nom de la tache' %}</th>
|
||||
<th class="information">{{ 'Informations' | trans }}</th>
|
||||
<th class="status">{{ 'admin::tasks: statut de la tache' | trans }}</th>
|
||||
<th class="process-id">{{ 'admin::tasks: process_id de la tache' | trans }}</th>
|
||||
<th class="taskname">{{ 'admin::tasks: nom de la tache' | trans }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -60,13 +60,13 @@
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a method="POST" href="{{ path ('admin_tasks_scheduler_start') }}">{% trans 'Start' %}</a>
|
||||
<a method="POST" href="{{ path ('admin_tasks_scheduler_start') }}">{{ 'Start' | trans }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a method="POST" href="{{ path ('admin_tasks_scheduler_stop') }}">{% trans 'Stop' %}</a>
|
||||
<a method="POST" href="{{ path ('admin_tasks_scheduler_stop') }}">{{ 'Stop' | trans }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path ('admin_tasks_scheduler_log') }}">{% trans 'Logs' %}</a>
|
||||
<a href="{{ path ('admin_tasks_scheduler_log') }}">{{ 'Logs' | trans }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -75,7 +75,7 @@
|
||||
<td class="information"></td>
|
||||
<td class="status"></td>
|
||||
<td class="process-id"></td>
|
||||
<td class="taskname" style="font-weight:bold;">{% trans 'admin::tasks: planificateur de taches' %}</td>
|
||||
<td class="taskname" style="font-weight:bold;">{{ 'admin::tasks: planificateur de taches' | trans }}</td>
|
||||
</tr>
|
||||
{% for task in tasks %}
|
||||
<tr id="task_{{ task.getId() }}" class="{% if loop.index is odd %}odd{% else %}even{% endif %}">
|
||||
@@ -87,27 +87,27 @@
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="{{ path('admin_tasks_task_show', { 'task' : task.getId() }) }}">
|
||||
{% trans 'Edit' %}
|
||||
{{ 'Edit' | trans }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a method="POST" href="{{ path('admin_tasks_task_start', { 'task' : task.getId() }) }}">
|
||||
{% trans 'Start' %}
|
||||
{{ 'Start' | trans }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a method="POST" href="{{ path('admin_tasks_task_stop', { 'task' : task.getId() }) }}">
|
||||
{% trans 'Stop' %}
|
||||
{{ 'Stop' | trans }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a method="POST" href="{{ path('admin_tasks_task_delete', { 'task' : task.getId() }) }}">
|
||||
{% trans 'Delete' %}
|
||||
{{ 'Delete' | trans }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ path('admin_tasks_task_log', { 'task' : task.getId() }) }}">
|
||||
{% trans 'Logs' %}
|
||||
{{ 'Logs' | trans }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -126,7 +126,7 @@
|
||||
<form id="form-create-task" method="post" name="form-create-task" action="{{ path('admin_tasks_task_create') }}">
|
||||
<select name="job-name">
|
||||
<option value="">
|
||||
{% trans 'admin::tasks: Nouvelle tache' %}
|
||||
{{ 'admin::tasks: Nouvelle tache' | trans }}
|
||||
</option>
|
||||
{% for job in available_jobs %}
|
||||
<option value="{{ job.getJobId() }}">{{ job.getName() }}</option>
|
||||
|
@@ -1,10 +1,10 @@
|
||||
<h4>
|
||||
<a href="{{ path('admin_tasks_list') }} ">
|
||||
< {% trans 'Return' %}
|
||||
< {{ 'Return' | trans }}
|
||||
</a>
|
||||
{{ logname }}
|
||||
<a href="{{ path('admin_tasks_scheduler_log', { 'clr' : logfile.getPath() }) }} ">
|
||||
{% trans 'Clear' %}
|
||||
{{ 'Clear' | trans }}
|
||||
</a>
|
||||
</h4>
|
||||
<pre>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
{% block form %}
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'task::archive:archivage sur base/collection/' %}</label>
|
||||
<label class="control-label">{{ 'task::archive:archivage sur base/collection/' | trans }}</label>
|
||||
<div class="controls">
|
||||
<select class="formElem" name="base_id">
|
||||
<option value="">...</option>
|
||||
@@ -15,23 +15,23 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'task::_common_:hotfolder' %}</label>
|
||||
<label class="control-label">{{ 'task::_common_:hotfolder' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="text" name="hotfolder" value="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'task::archive:delai de \'repos\' avant traitement' %}</label>
|
||||
<label class="control-label">{{ 'task::archive:delai de \'repos\' avant traitement' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem input-small" type="text" name="cold" value="">
|
||||
<span class="help-inline">{% trans 'task::_common_:secondes (unite temporelle)' %}</span>
|
||||
<span class="help-inline">{{ 'task::_common_:secondes (unite temporelle)' | trans }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<label class="checkbox">
|
||||
<input class="formElem" type="checkbox" name="move_archived">
|
||||
{% trans 'task::archive:deplacer les fichiers archives dans _archived' %}
|
||||
{{ 'task::archive:deplacer les fichiers archives dans _archived' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -39,7 +39,7 @@
|
||||
<div class="controls">
|
||||
<label class="checkbox">
|
||||
<input class="formElem" type="checkbox" name="move_error">
|
||||
{% trans 'task::archive:deplacer les fichiers non-archives dans _error' %}
|
||||
{{ 'task::archive:deplacer les fichiers non-archives dans _error' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -47,7 +47,7 @@
|
||||
<div class="controls">
|
||||
<label class="checkbox">
|
||||
<input class="formElem" type="checkbox" name="copy_spe">
|
||||
{% trans 'task::archive:copier les fichiers \'.phrasea.xml\' et \'.grouping.xml\' dans _archived' %}
|
||||
{{ 'task::archive:copier les fichiers \'.phrasea.xml\' et \'.grouping.xml\' dans _archived' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -55,7 +55,7 @@
|
||||
<div class="controls">
|
||||
<label class="checkbox">
|
||||
<input class="formElem" type="checkbox" name="delfolder">
|
||||
{% trans 'task::archive:supprimer les repertoires apres archivage' %}
|
||||
{{ 'task::archive:supprimer les repertoires apres archivage' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -2,55 +2,55 @@
|
||||
|
||||
{% block form %}
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'task::ftp:proxy' %}</label>
|
||||
<label class="control-label">{{ 'task::ftp:proxy' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="text" name="proxy" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'task::ftp:proxy port' %}</label>
|
||||
<label class="control-label">{{ 'task::ftp:proxy port' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="text" name="proxyport" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'task::ftp:host' %}</label>
|
||||
<label class="control-label">{{ 'task::ftp:host' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="text" name="host" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'task::ftp:port' %}</label>
|
||||
<label class="control-label">{{ 'task::ftp:port' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="text" name="port" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'task::ftp:user' %}</label>
|
||||
<label class="control-label">{{ 'task::ftp:user' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="text" name="user" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'task::ftp:password' %}</label>
|
||||
<label class="control-label">{{ 'task::ftp:password' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="password" name="password" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'task::ftp:chemin distant' %}</label>
|
||||
<label class="control-label">{{ 'task::ftp:chemin distant' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="text" name="ftppath" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'task::ftp:localpath' %}</label>
|
||||
<label class="control-label">{{ 'task::ftp:localpath' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="text" name="localpath" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'task::ftp:mode passif' %}</label>
|
||||
<label class="control-label">{{ 'task::ftp:mode passif' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="checkbox" name="passive" />
|
||||
</div>
|
||||
@@ -59,7 +59,7 @@
|
||||
<div class="controls">
|
||||
<label class="checkbox">
|
||||
<input class="formElem" type="checkbox" name="ssl" />
|
||||
{% trans 'task::ftp:utiliser SSL' %}
|
||||
{{ 'task::ftp:utiliser SSL' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -2,13 +2,13 @@
|
||||
|
||||
{% block form %}
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'task::ftp:proxy' %}</label>
|
||||
<label class="control-label">{{ 'task::ftp:proxy' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="text" name="proxy" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'task::ftp:proxy port' %}</label>
|
||||
<label class="control-label">{{ 'task::ftp:proxy port' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="text" name="proxyport" />
|
||||
</div>
|
||||
|
@@ -2,63 +2,63 @@
|
||||
|
||||
{% block form %}
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'MySQL Host' %}</label>
|
||||
<label class="control-label">{{ 'MySQL Host' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="host" value="">
|
||||
</div>
|
||||
<label class="control-label">{% trans 'MySQL Port' %}</label>
|
||||
<label class="control-label">{{ 'MySQL Port' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="port" value="">
|
||||
</div>
|
||||
<label class="control-label">{% trans 'MySQL Database' %}</label>
|
||||
<label class="control-label">{{ 'MySQL Database' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="base" value="">
|
||||
</div>
|
||||
<label class="control-label">{% trans 'MySQL Login' %}</label>
|
||||
<label class="control-label">{{ 'MySQL Login' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="user" value="">
|
||||
</div>
|
||||
<label class="control-label">{% trans 'MySQL password' %}</label>
|
||||
<label class="control-label">{{ 'MySQL password' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="password" name="password" value="">
|
||||
</div>
|
||||
<label class="control-label">{% trans 'MySQL connection charset' %}</label>
|
||||
<label class="control-label">{{ 'MySQL connection charset' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="charset" class="input-small" value="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'Socket port' %}</label>
|
||||
<label class="control-label">{{ 'Socket port' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="socket" class="input-small" value="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'Debug binary mask' %}</label>
|
||||
<label class="control-label">{{ 'Debug binary mask' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="debugmask" class="input-small" value="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'Default language for thesaurus candidates' %}</label>
|
||||
<label class="control-label">{{ 'Default language for thesaurus candidates' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="clng" class="input-small" value="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'Enable stemming languages' %}</label>
|
||||
<label class="control-label">{{ 'Enable stemming languages' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="stem" class="input-small" value="">
|
||||
<span class="help-inline">{% trans 'example : fr,en' %}</span>
|
||||
<span class="help-inline">{{ 'example : fr,en' | trans }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{% trans 'Sort records with an empty field' %}</label>
|
||||
<label class="control-label">{{ 'Sort records with an empty field' | trans }}</label>
|
||||
<div class="controls">
|
||||
<select name="sortempty">
|
||||
<option value="">{% trans 'Hide records' %}</option>
|
||||
<option value="A">{% trans 'At the beginning' %}</option>
|
||||
<option value="Z">{% trans 'At the end' %}</option>
|
||||
<option value="">{{ 'Hide records' | trans }}</option>
|
||||
<option value="A">{{ 'At the beginning' | trans }}</option>
|
||||
<option value="Z">{{ 'At the end' | trans }}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -66,7 +66,7 @@
|
||||
<div class="controls">
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="nolog">
|
||||
{% trans 'Do not log, output to console' %}
|
||||
{{ 'Do not log, output to console' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -74,8 +74,8 @@
|
||||
<div class="controls">
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="winsvc_run">
|
||||
{% trans 'Run as application, not as service' %}
|
||||
<span class="help-inline">({% trans 'Windows specific' %})</span>
|
||||
{{ 'Run as application, not as service' | trans }}
|
||||
<span class="help-inline">({{ 'Windows specific' | trans }})</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -56,7 +56,7 @@
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<label class="checkbox">
|
||||
<input class="formElem" type="checkbox" name="logsql" />{% trans 'Log changes' %}
|
||||
<input class="formElem" type="checkbox" name="logsql" />{{ 'Log changes' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -5,7 +5,7 @@
|
||||
<div class="controls">
|
||||
<label class="checkbox">
|
||||
<input class="formElem" type="checkbox" name="embedded" value="1">
|
||||
{% trans 'Try to extract embedded thumbnails' %}
|
||||
{{ 'Try to extract embedded thumbnails' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -13,24 +13,24 @@
|
||||
|
||||
{{ form_rest(form) }}
|
||||
|
||||
<a href="{{ path('admin_tasks_list') }}">{% trans 'Cancel' %}</a>
|
||||
<a href="{{ path('admin_tasks_list') }}">{{ 'Cancel' | trans }}</a>
|
||||
<button type="submit" class="btn btn-success btn-trigger " id="taskSaveButton">
|
||||
{% trans "Save" %}
|
||||
{{ "Save" | trans }}
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<div>
|
||||
{% trans 'admin::tasks: Nombre de crashes : ' %} <span id="crash-counter">{{ task.getCrashed() }}</span>
|
||||
{{ 'admin::tasks: Nombre de crashes : ' | trans }} <span id="crash-counter">{{ task.getCrashed() }}</span>
|
||||
<button class="btn btn-success" id="taskResetCrashCounterButton">
|
||||
{% trans 'admin::tasks: reinitialiser el compteur de crashes' %}
|
||||
{{ 'admin::tasks: reinitialiser el compteur de crashes' | trans }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="taskTabs">
|
||||
<ul>
|
||||
<li><a href="#taskXmlTab">{% trans 'boutton::vue xml' %}</a></li>
|
||||
<li><a href="#taskGuiTab">{% trans 'boutton::vue graphique' %}</a></li>
|
||||
<li><a href="#taskXmlTab">{{ 'boutton::vue xml' | trans }}</a></li>
|
||||
<li><a href="#taskGuiTab">{{ 'boutton::vue graphique' | trans }}</a></li>
|
||||
</ul>
|
||||
|
||||
<div id="taskGuiTab" >
|
||||
|
@@ -5,7 +5,7 @@
|
||||
<div class="controls">
|
||||
<label class="checkbox">
|
||||
<input class="formElem" type="checkbox" name="cleardoc">
|
||||
{% trans 'task::writemeta:effacer les metadatas non presentes dans la structure' %}
|
||||
{{ 'task::writemeta:effacer les metadatas non presentes dans la structure' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -6,7 +6,7 @@
|
||||
<li>
|
||||
<a target="right" href="{{ path('admin_dashbord') }}" class="ajax">
|
||||
<img src="/skins/admin/Dashboard.png" />
|
||||
<span>{% trans 'Tableau de bord' %}</span>
|
||||
<span>{{ 'Tableau de bord' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% else %}
|
||||
@@ -24,7 +24,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<a target="right" href="{{ path('admin_searchengine_get') }}">
|
||||
<span>{% trans 'SearchEngine settings' %}</span>
|
||||
<span>{{ 'SearchEngine settings' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
@@ -32,7 +32,7 @@
|
||||
<li class="{% if feature == 'connected' %}selected{% endif %}">
|
||||
<a target="right" href="{{ path('admin_connected_users') }}" class="ajax zone_online_users">
|
||||
<img src="/skins/admin/Connected.png" />
|
||||
<span>{% trans 'admin::utilisateurs: utilisateurs connectes' %}</span>
|
||||
<span>{{ 'admin::utilisateurs: utilisateurs connectes' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -40,13 +40,13 @@
|
||||
<li class="{% if feature == 'users' %}selected{% endif %}">
|
||||
<a target="right" href="{{ path('admin_users_search') }}" class="ajax zone_editusers">
|
||||
<img src="/skins/admin/Users.png" />
|
||||
<span>{% trans 'admin::utilisateurs: utilisateurs' %}</span>
|
||||
<span>{{ 'admin::utilisateurs: utilisateurs' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{% if feature == 'registrations' %}selected{% endif %}">
|
||||
<a target="right" href="{{ path('users_display_demands') }}" class="ajax">
|
||||
<img src="/skins/admin/Demandes.png" />
|
||||
<span>{% trans 'admin::utilisateurs: demandes en cours' %}</span>
|
||||
<span>{{ 'admin::utilisateurs: demandes en cours' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
@@ -55,7 +55,7 @@
|
||||
<li class="">
|
||||
<a target="right" href="{{ path('admin_feeds_list') }}" class="ajax">
|
||||
<img src="/skins/icons/rss16.png" />
|
||||
<span>{% trans 'Publications' %}</span>
|
||||
<span>{{ 'Publications' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
@@ -64,7 +64,7 @@
|
||||
<li class="{% if feature == 'taskmanager' %}selected{% endif %}">
|
||||
<a target="right" href="{{ path('admin_tasks_list') }}" class="ajax">
|
||||
<img src="/skins/admin/TaskManager.png" />
|
||||
<span>{% trans 'admin::utilisateurs: gestionnaire de taches' %}</span>
|
||||
<span>{{ 'admin::utilisateurs: gestionnaire de taches' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
@@ -73,7 +73,7 @@
|
||||
<div class="{% if feature == 'bases' %}selected{% endif %}" style="padding:0 0 2px 0;">
|
||||
<a id="TREE_DATABASES" target="right" href="{{ path('admin_databases') }}" class="ajax">
|
||||
<img src="/skins/admin/DatabasesAvailable.png" />
|
||||
<span>{% trans 'admin::utilisateurs: bases de donnees' %}</span>
|
||||
<span>{{ 'admin::utilisateurs: bases de donnees' | trans }}</span>
|
||||
</a>
|
||||
</div>
|
||||
<ul>
|
||||
@@ -107,36 +107,36 @@
|
||||
<li>
|
||||
<a target="right" class="ajax" href="{{ path('database_display_stucture', { 'databox_id' : sbas_id }) }}">
|
||||
<img src="/skins/icons/miniadjust01.gif"/>
|
||||
<span>{% trans 'admin::structure: reglage de la structure' %}</span>
|
||||
<span>{{ 'admin::structure: reglage de la structure' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a target="right" href="{{ path('admin_fields', {'sbas_id': sbas_id}) }}" class="ajax">
|
||||
<img src="/skins/icons/miniadjust01.gif"/>
|
||||
<span>{% trans 'CHAMPS' %}</span>
|
||||
<span>{{ 'CHAMPS' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a target="right" href="{{ path('admin_subdefs_subdef', { 'sbas_id' : sbas_id } ) }}">
|
||||
<img src="/skins/icons/miniadjust01.gif"/>
|
||||
<span>{% trans 'SUBDEFS' %}</span>
|
||||
<span>{{ 'SUBDEFS' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a target="right" href="{{ path('database_display_statusbit', { 'databox_id' : sbas_id } ) }}" class="ajax">
|
||||
<img src="/skins/icons/miniadjust02.gif"/>
|
||||
<span>{% trans 'admin::status: reglage des status' %}</span>
|
||||
<span>{{ 'admin::status: reglage des status' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a target="right" href="{{ path('admin_database_display_cgus', { 'databox_id' : sbas_id } ) }}" class="ajax">
|
||||
<span>{% trans 'admin:: CGUs' %}</span>
|
||||
<span>{{ 'admin:: CGUs' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a target="right" href="{{ path('admin_database_display_collections_order', { 'databox_id' : sbas_id } ) }}" class="ajax">
|
||||
<img src="/skins/icons/miniadjust03.gif"/>
|
||||
<span>{% trans 'admin::collection: ordre des collections' %}</span>
|
||||
<span>{{ 'admin::collection: ordre des collections' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
@@ -153,7 +153,7 @@
|
||||
<li>
|
||||
<a target="right" href="{{ path('admin_users_search', { 'sbas_id' : [ sbas_id ] }) }}" class="ajax">
|
||||
<img src="/skins/admin/Users.png"/>
|
||||
<span>{% trans 'admin::utilisateurs: utilisateurs' %}</span>
|
||||
<span>{{ 'admin::utilisateurs: utilisateurs' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
@@ -175,7 +175,7 @@
|
||||
<li>
|
||||
<a target="right" href="{{ path('admin_collection_display_suggested_values', { 'bas_id' : collection.get_base_id() }) }}" class="ajax">
|
||||
<img src="/skins/icons/foldph20open_0.gif"/>
|
||||
<span>{% trans 'admin::base: preferences de collection' %}</span>
|
||||
<span>{{ 'admin::base: preferences de collection' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
@@ -187,7 +187,7 @@
|
||||
<li>
|
||||
<a target="right" href="{{ path('admin_users_search', { 'base_id' : [ collection.get_base_id() ] }) }}" class="ajax">
|
||||
<img src="/skins/admin/Users.png"/>
|
||||
<span>{% trans 'admin::utilisateurs: utilisateurs' %}</span>
|
||||
<span>{{ 'admin::utilisateurs: utilisateurs' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
@@ -179,13 +179,13 @@
|
||||
</script>
|
||||
|
||||
<div class="page-header">
|
||||
<h1>{% trans 'admin:: demandes en cours' %}</h1>
|
||||
<h1>{{ 'admin:: demandes en cours' | trans }}</h1>
|
||||
</div>
|
||||
|
||||
{% if app['request'].query.get('success') == '1' %}
|
||||
<div class="alert alert-success">
|
||||
<a class="close" data-dismiss="alert" href="#">×</a>
|
||||
{% trans 'Requests for the application registrations were recorded successfully' %}
|
||||
{{ 'Requests for the application registrations were recorded successfully' | trans }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@@ -193,25 +193,25 @@
|
||||
<form id="accept-demand" action="{{ path('users_submit_demands') }}" method="post">
|
||||
<div class="btn-group btn-all-action">
|
||||
<button data-event="deny" class="btn deny-checker" type="button">
|
||||
<img title="{% trans 'admin:: refuser l\'acces' %}" src="/skins/icons/delete.gif"/>
|
||||
<img title="{{ 'admin:: refuser l\'acces' | trans }}" src="/skins/icons/delete.gif"/>
|
||||
</button>
|
||||
<button data-event="accept" class="btn accept-checker" type="button">
|
||||
<img title="{% trans 'admin:: donner les droits de telechargement et consultation de previews' %}" src="/skins/icons/cmdok.gif"/>
|
||||
<img title="{{ 'admin:: donner les droits de telechargement et consultation de previews' | trans }}" src="/skins/icons/cmdok.gif"/>
|
||||
</button>
|
||||
<button data-event="hd" class="btn accept-hd-checker" type="button">
|
||||
<span title="{% trans 'admin:: donner les droits de telechargements de preview et hd' %}">HD</span>
|
||||
<span title="{{ 'admin:: donner les droits de telechargements de preview et hd' | trans }}">HD</span>
|
||||
</button>
|
||||
<button data-event="watermark" class="btn accept-watermark-checker" type="button">
|
||||
<span title="{% trans 'admin:: watermarquer les documents' %}">W</span>
|
||||
<span title="{{ 'admin:: watermarquer les documents' | trans }}">W</span>
|
||||
</button></td>
|
||||
</div>
|
||||
|
||||
<table class="table table-condensed" style="margin:0; table-layout:fixed;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% trans 'Informations' %}</th>
|
||||
<th>{% trans 'admin::collection' %}</th>
|
||||
<th>{% trans 'Models' %}</th>
|
||||
<th>{{ 'Informations' | trans }}</th>
|
||||
<th>{{ 'admin::collection' | trans }}</th>
|
||||
<th>{{ 'Models' | trans }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
@@ -230,21 +230,21 @@
|
||||
<td>
|
||||
{% set colls = tableColls[row['usr_id']] %}
|
||||
<dl class="dl-horizontal">
|
||||
<dt>{% trans 'admin::compte-utilisateur identifiant' %}</dt>
|
||||
<dt>{{ 'admin::compte-utilisateur identifiant' | trans }}</dt>
|
||||
<dd>{{ row['usr_login'] }}</dd>
|
||||
<dt>{% trans 'admin::compte-utilisateur nom' %} / {% trans 'admin::compte-utilisateur prenom' %}</dt>
|
||||
<dt>{{ 'admin::compte-utilisateur nom' | trans }} / {{ 'admin::compte-utilisateur prenom' | trans }}</dt>
|
||||
<dd>{{ row['usr_nom'] }} {{ row['usr_prenom'] }}</dd>
|
||||
<dt>{% trans 'admin::compte-utilisateur email' %}</dt>
|
||||
<dt>{{ 'admin::compte-utilisateur email' | trans }}</dt>
|
||||
<dd>{{ row['usr_mail'] }}</dd>
|
||||
<dt>{% trans 'admin::compte-utilisateur societe' %}</dt>
|
||||
<dt>{{ 'admin::compte-utilisateur societe' | trans }}</dt>
|
||||
<dd>{{ row['societe'] }}</dd>
|
||||
<dt>{% trans 'admin::compte-utilisateur poste' %}</dt>
|
||||
<dt>{{ 'admin::compte-utilisateur poste' | trans }}</dt>
|
||||
<dd>{{ row['fonction'] }}</dd>
|
||||
<dt>{% trans 'admin::compte-utilisateur activite' %}</dt>
|
||||
<dt>{{ 'admin::compte-utilisateur activite' | trans }}</dt>
|
||||
<dd>{{ row['activite'] }}</dd>
|
||||
<dt>{% trans 'admin::compte-utilisateur telephone' %}</dt>
|
||||
<dt>{{ 'admin::compte-utilisateur telephone' | trans }}</dt>
|
||||
<dd>{{ row['tel'] }}</dd>
|
||||
<dt>{% trans 'admin::compte-utilisateur adresse' %}</dt>
|
||||
<dt>{{ 'admin::compte-utilisateur adresse' | trans }}</dt>
|
||||
<dd>{{ row['adresse'] }}</dd>
|
||||
<dd>{{ row['cpostal'] }}</dd>
|
||||
<dd>{{ row['ville'] }}</dd>
|
||||
@@ -258,25 +258,25 @@
|
||||
</h1>
|
||||
{% set btn_value = row['usr_id'] ~ "_" ~ basId %}
|
||||
<div class="btn-group btn-single-action" style="margin:auto auto 5px 0;">
|
||||
<button data-event="deny" value="{{ btn_value }}" type="button" name="deny[]" class="btn deny-checker" title="{% trans 'admin:: refuser l\'acces' %}">
|
||||
<img title="{% trans 'admin:: refuser l\'acces' %}" src='/skins/icons/delete.gif' />
|
||||
<button data-event="deny" value="{{ btn_value }}" type="button" name="deny[]" class="btn deny-checker" title="{{ 'admin:: refuser l\'acces' | trans }}">
|
||||
<img title="{{ 'admin:: refuser l\'acces' | trans }}" src='/skins/icons/delete.gif' />
|
||||
</button>
|
||||
<button data-event="accept" value="{{ btn_value }}" type="button" name="accept[]" class="btn accept-checker" title="{% trans 'admin:: donner les droits de telechargement et consultation de previews' %}">
|
||||
<img title="{% trans 'admin:: donner les droits de telechargement et consultation de previews' %}" src='/skins/icons/cmdok.gif' />
|
||||
<button data-event="accept" value="{{ btn_value }}" type="button" name="accept[]" class="btn accept-checker" title="{{ 'admin:: donner les droits de telechargement et consultation de previews' | trans }}">
|
||||
<img title="{{ 'admin:: donner les droits de telechargement et consultation de previews' | trans }}" src='/skins/icons/cmdok.gif' />
|
||||
</button>
|
||||
<button data-event="hd" value="{{ btn_value }}" type="button" name="accept_hd[]" class="btn accept-hd-checker" title="{% trans 'admin:: donner les droits de telechargements de preview et hd' %}">
|
||||
<span title="{% trans 'admin:: donner les droits de telechargements de preview et hd' %}">HD</span>
|
||||
<button data-event="hd" value="{{ btn_value }}" type="button" name="accept_hd[]" class="btn accept-hd-checker" title="{{ 'admin:: donner les droits de telechargements de preview et hd' | trans }}">
|
||||
<span title="{{ 'admin:: donner les droits de telechargements de preview et hd' | trans }}">HD</span>
|
||||
</button>
|
||||
<button data-event="watermark" value="{{ btn_value }}" type="button" name="watermark[]" class="btn accept-watermark-checker" title="{% trans 'admin:: watermarquer les documents' %}">
|
||||
<span title="{% trans 'admin:: watermarquer les documents' %}">W</span>
|
||||
<button data-event="watermark" value="{{ btn_value }}" type="button" name="watermark[]" class="btn accept-watermark-checker" title="{{ 'admin:: watermarquer les documents' | trans }}">
|
||||
<span title="{{ 'admin:: watermarquer les documents' | trans }}">W</span>
|
||||
</button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</td>
|
||||
<td>
|
||||
<div>{% trans 'admin:: appliquer le modele' %}</div>
|
||||
<div>{{ 'admin:: appliquer le modele' | trans }}</div>
|
||||
<select name="template[]" id="model_{{ row['usr_id'] }}" onchange="modelChecker('{{ row['usr_id'] }}')">
|
||||
<option value="">{% trans 'None' %}</option>
|
||||
<option value="">{{ 'None' | trans }}</option>
|
||||
{% for model in models %}
|
||||
<option value="{{ row['usr_id'] }}_{{ model['usr_id'] }}">{{ model['usr_login'] }}</option>
|
||||
{% endfor %}
|
||||
@@ -289,9 +289,9 @@
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
<button type="button" class="btn btn-primary submit">{% trans 'boutton::valider' %}</button>
|
||||
<button type="button" class="btn btn-primary submit">{{ 'boutton::valider' | trans }}</button>
|
||||
</div>
|
||||
</form>
|
||||
{% else %}
|
||||
{% trans 'No application for registration has been recorded' %}
|
||||
{{ 'No application for registration has been recorded' | trans }}
|
||||
{% endif %}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<div class="page-header">
|
||||
<h1>{% trans 'Upload a csv file for users creation' %}</h1>
|
||||
<h1>{{ 'Upload a csv file for users creation' | trans }}</h1>
|
||||
</div>
|
||||
|
||||
{% if app['request'].query.get('error') is not none %}
|
||||
@@ -7,15 +7,15 @@
|
||||
<div class="alert alert-error">
|
||||
<button class="close" data-dismiss="alert" type="button">×</button>
|
||||
{% if error == 'file-invalid' %}
|
||||
{% trans 'An error occured while upload the file. Please retry' %}
|
||||
{{ 'An error occured while upload the file. Please retry' | trans }}
|
||||
{% elseif error == 'row-login' %}
|
||||
{% trans 'Row login is missing, script has stopped' %}
|
||||
{{ 'Row login is missing, script has stopped' | trans }}
|
||||
{% elseif error == 'row-pwd' %}
|
||||
{% trans 'Row password is missing, script has stopped' %}
|
||||
{{ 'Row password is missing, script has stopped' | trans }}
|
||||
{% elseif error == 'row-mail' %}
|
||||
{% trans 'Row mail is missing, script has stopped' %}
|
||||
{{ 'Row mail is missing, script has stopped' | trans }}
|
||||
{% elseif error == 'no-user' %}
|
||||
{% trans 'The file does not contains any user to add' %}
|
||||
{{ 'The file does not contains any user to add' | trans }}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -33,17 +33,17 @@
|
||||
|
||||
<div>
|
||||
<div class="well well-small">
|
||||
<a target="_blank" href="{{ path('users_import_csv') }}" class="no-ajax"> <i class="icon-share"></i> {% trans 'You can download an example by clicking here' %}</a>
|
||||
<a target="_blank" href="{{ path('users_import_csv') }}" class="no-ajax"> <i class="icon-share"></i> {{ 'You can download an example by clicking here' | trans }}</a>
|
||||
</div>
|
||||
<div class="well well-small">
|
||||
<a target="_blank" href="{{ path('users_import_rtf') }}" class="no-ajax"> <i class="icon-share"></i> {% trans 'You can download the documentation here' %}</a>
|
||||
<a target="_blank" href="{{ path('users_import_rtf') }}" class="no-ajax"> <i class="icon-share"></i> {{ 'You can download the documentation here' | trans }}</a>
|
||||
</div>
|
||||
<span class="btn btn-success fileinput-button">
|
||||
<i class="icon-plus icon-white"></i>
|
||||
<span>{% trans %}Select files...{% endtrans %}</span>
|
||||
<input id="fileupload" type="file" name="files" data-url="/admin/users/import/file/" accept="text/csv, text/rtf">
|
||||
</span>
|
||||
<a href="{{ path('admin_users_search') }}" class="btn ajax">{% trans 'boutton::retour' %}</a>
|
||||
<a href="{{ path('admin_users_search') }}" class="btn ajax">{{ 'boutton::retour' | trans }}</a>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
@@ -68,4 +68,4 @@ $(function () {
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
@@ -26,7 +26,7 @@
|
||||
{# Hide wrapper if there are errors #}
|
||||
<div class="wrapper {% if errors|length > 0 %}hidden{% endif %}">
|
||||
<div class="page-header">
|
||||
<h1>{% trans 'Apply a model' %} <small>({{ nb_user_to_add }} {% trans 'Users' %})</small></h1>
|
||||
<h1>{{ 'Apply a model' | trans }} <small>({{ nb_user_to_add }} {{ 'Users' | trans }})</small></h1>
|
||||
</div>
|
||||
|
||||
<form method="post" name="importform2" action="{{ path('users_submit_import') }}" ENCTYPE="multipart/form-data" >
|
||||
@@ -38,17 +38,17 @@
|
||||
{% endfor %}
|
||||
</select>
|
||||
<div class="form-actions">
|
||||
<button class="btn btn-primary" type="submit">{% trans 'boutton::valider' %}</button>
|
||||
<button class="btn btn-primary" type="submit">{{ 'boutton::valider' | trans }}</button>
|
||||
<a href="{{ path('users_display_import_file') }}" target="right" class="btn">{% trans %}Cancel{% endtrans %}</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{% elseif models|length == 0 %}
|
||||
<div class="alert alert-block">
|
||||
{% trans 'You need define a model before importing a list of users' %}
|
||||
{{ 'You need define a model before importing a list of users' | trans }}
|
||||
</div>
|
||||
{% elseif nb_user_to_add == 0 %}
|
||||
<div class="alert alert-block">
|
||||
{% trans 'There is no user to add.' %}
|
||||
{{ 'There is no user to add.' | trans }}
|
||||
</div>
|
||||
{% endif %}
|
@@ -20,61 +20,61 @@
|
||||
{% endif %}
|
||||
|
||||
<div class="page-header">
|
||||
<h1>{% trans 'Users' %}</h1>
|
||||
<h1>{{ 'Users' | trans }}</h1>
|
||||
</div>
|
||||
|
||||
<div id="users_page">
|
||||
<p class="admin_head_opts">
|
||||
<a class="user_adder" href="#">{% trans 'admin::user: nouvel utilisateur' %}</a>
|
||||
<a class="template_adder" href="#">{% trans 'admin::user: nouveau template' %}</a>
|
||||
<a href="{{ path('users_display_import_file') }}" target='right'>{% trans 'admin::user: import d\'utilisateurs' %}</a> /
|
||||
<a href="#" onclick="exportlist();return(false);">{% trans 'admin::user: export d\'utilisateurs' %}</a>
|
||||
<a class="invite_modifier" href="#">{% trans 'Reglages:: reglages d acces guest' %}</a>
|
||||
<a class="user_adder" href="#">{{ 'admin::user: nouvel utilisateur' | trans }}</a>
|
||||
<a class="template_adder" href="#">{{ 'admin::user: nouveau template' | trans }}</a>
|
||||
<a href="{{ path('users_display_import_file') }}" target='right'>{{ 'admin::user: import d\'utilisateurs' | trans }}</a> /
|
||||
<a href="#" onclick="exportlist();return(false);">{{ 'admin::user: export d\'utilisateurs' | trans }}</a>
|
||||
<a class="invite_modifier" href="#">{{ 'Reglages:: reglages d acces guest' | trans }}</a>
|
||||
<input type="hidden" value="{{invite_user.get_id()}}" name="invite_user_id"/>
|
||||
<a class="autoregister_modifier" href="#">{% trans 'Reglages:: reglages d inscitpition automatisee' %}</a>
|
||||
<a class="autoregister_modifier" href="#">{{ 'Reglages:: reglages d inscitpition automatisee' | trans }}</a>
|
||||
<input type="hidden" value="{{autoregister_user.get_id()}}" name="autoregister_user_id"/>
|
||||
</p>
|
||||
|
||||
<form id="users_page_search" method="post" action="{{ path('admin_users_search') }}" target="_self" class="form-inline">
|
||||
<fieldset class="admin_head_opts">
|
||||
<span>{% trans 'Filter' %}</span>
|
||||
<span>{{ 'Filter' | trans }}</span>
|
||||
<select name="like_field" class="input-medium">
|
||||
<option {% if parm['like_field'] == "usr_login" %}selected="selected"{% endif %} value="usr_login">{% trans 'Push::filter on login' %}</option>
|
||||
<option {% if parm['like_field'] == "name" %}selected="selected"{% endif %} value="name">{% trans 'First/Last Name' %}</option>
|
||||
<option {% if parm['like_field'] == "pays" %}selected="selected"{% endif %} value="pays">{% trans 'Push::filter on countries' %}</option>
|
||||
<option {% if parm['like_field'] == "societe" %}selected="selected"{% endif %} value="societe">{% trans 'Push::filter on companies' %}</option>
|
||||
<option {% if parm['like_field'] == "usr_mail" %}selected="selected"{% endif %} value="usr_mail">{% trans 'Push::filter on emails' %}</option>
|
||||
<option {% if parm['like_field'] == "usr_login" %}selected="selected"{% endif %} value="usr_login">{{ 'Push::filter on login' | trans }}</option>
|
||||
<option {% if parm['like_field'] == "name" %}selected="selected"{% endif %} value="name">{{ 'First/Last Name' | trans }}</option>
|
||||
<option {% if parm['like_field'] == "pays" %}selected="selected"{% endif %} value="pays">{{ 'Push::filter on countries' | trans }}</option>
|
||||
<option {% if parm['like_field'] == "societe" %}selected="selected"{% endif %} value="societe">{{ 'Push::filter on companies' | trans }}</option>
|
||||
<option {% if parm['like_field'] == "usr_mail" %}selected="selected"{% endif %} value="usr_mail">{{ 'Push::filter on emails' | trans }}</option>
|
||||
</select>
|
||||
<span>{% trans 'Push::filter starts' %}</span>
|
||||
<span>{{ 'Push::filter starts' | trans }}</span>
|
||||
<input type="text" value="{{parm['like_value']}}" name="like_value" class="input-medium">
|
||||
<span>{% trans 'Last applied template' %}</span>
|
||||
<span>{{ 'Last applied template' | trans }}</span>
|
||||
<select name="last_model" class="input-medium">
|
||||
<option value="">{% trans 'None' %}</option>
|
||||
<option value="">{{ 'None' | trans }}</option>
|
||||
{% for template in templates %}
|
||||
<option {% if parm['last_model'] == template.get_login() %}selected="selected"{% endif %} value="{{ template.get_login() }}">{{ template.get_login() }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<button type="submit" class="btn">{% trans 'boutton::chercher' %}</button>
|
||||
<button type="submit" class="btn">{{ 'boutton::chercher' | trans }}</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<form id="users_apply_template" method="post" action="{{ path('admin_users_apply_template') }}" target="_self" class="form-inline pull-left no-ajax" style="margin:0">
|
||||
<fieldset class="admin_head_opts">
|
||||
<span>{% trans 'Apply a template' %}</span>
|
||||
<span>{{ 'Apply a template' | trans }}</span>
|
||||
<select name="template_chooser" class="input-medium">
|
||||
<option value="">{% trans 'boutton::choisir' %}</option>
|
||||
<option value="">{{ 'boutton::choisir' | trans }}</option>
|
||||
{% for template in templates %}
|
||||
<option value="{{ template.get_id() }}">{{ template.get_display_name() }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<button type="submit" class="btn">{% trans 'boutton::appliquer' %}</button>
|
||||
<button type="submit" class="btn">{{ 'boutton::appliquer' | trans }}</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<form id="users_reset_rights" method="post" action="{{ path('admin_users_rights_reset') }}" target="_self" class="form-inline pull-right" style="margin:0">
|
||||
<fieldset class="admin_head_opts">
|
||||
<input type="hidden" value="" name="users">
|
||||
<button type='button' class="btn btn-warning">{% trans 'Delete all users rights' %}</button>
|
||||
<button type='button' class="btn btn-warning">{{ 'Delete all users rights' | trans }}</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
@@ -82,42 +82,42 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align: center;" class="sortable {{ parm.srt == 'usr_id' ? 'sorted' : '' }} {{ parm.ord == 'asc' ? 'sort_asc' : 'sort_desc' }}">
|
||||
<span>{% trans 'admin::compte-utilisateur id utilisateur' %}</span>
|
||||
<span>{{ 'admin::compte-utilisateur id utilisateur' | trans }}</span>
|
||||
<span class="ord_notifier">{{ parm.ord == 'asc' ? '▼' : '▲' }}</span>
|
||||
<input type="hidden" name="srt" value="usr_id" />
|
||||
</th>
|
||||
<th class="sortable {{ parm.srt == 'usr_login' ? 'sorted' : '' }} ">
|
||||
<span>{% trans 'admin::compte-utilisateur identifiant' %}</span>
|
||||
<span>{{ 'admin::compte-utilisateur identifiant' | trans }}</span>
|
||||
<span class="ord_notifier">{{ parm.ord == 'asc' ? '▼' : '▲' }}</span>
|
||||
<input type="hidden" name="srt" value="usr_login" />
|
||||
</th>
|
||||
<th class="sortable {{ parm.srt == 'usr_nom' ? 'sorted' : '' }} {{ parm.ord == 'asc' ? 'sort_asc' : 'sort_desc' }}">
|
||||
<span>{% trans 'First/Last Name' %}</span>
|
||||
<span>{{ 'First/Last Name' | trans }}</span>
|
||||
<span class="ord_notifier">{{ parm.ord == 'asc' ? '▼' : '▲' }}</span>
|
||||
<input type="hidden" name="srt" value="usr_nom" />
|
||||
</th>
|
||||
<th class="sortable {{ parm.srt == 'societe' ? 'sorted' : '' }} {{ parm.ord == 'asc' ? 'sort_asc' : 'sort_desc' }}">
|
||||
<span>{% trans 'admin::compte-utilisateur societe' %}</span>
|
||||
<span>{{ 'admin::compte-utilisateur societe' | trans }}</span>
|
||||
<span class="ord_notifier">{{ parm.ord == 'asc' ? '▼' : '▲' }}</span>
|
||||
<input type="hidden" name="srt" value="societe" />
|
||||
</th>
|
||||
<th class="sortable {{ parm.srt == 'usr_mail' ? 'sorted' : '' }} {{ parm.ord == 'asc' ? 'sort_asc' : 'sort_desc' }}">
|
||||
<span>{% trans 'admin::compte-utilisateur email' %}</span>
|
||||
<span>{{ 'admin::compte-utilisateur email' | trans }}</span>
|
||||
<span class="ord_notifier">{{ parm.ord == 'asc' ? '▼' : '▲' }}</span>
|
||||
<input type="hidden" name="srt" value="usr_mail" />
|
||||
</th>
|
||||
<th class="sortable {{ parm.srt == 'pays' ? 'sorted' : '' }} {{ parm.ord == 'asc' ? 'sort_asc' : 'sort_desc' }}">
|
||||
<span>{% trans 'admin::compte-utilisateur pays' %}</span>
|
||||
<span>{{ 'admin::compte-utilisateur pays' | trans }}</span>
|
||||
<span class="ord_notifier">{{ parm.ord == 'asc' ? '▼' : '▲' }}</span>
|
||||
<input type="hidden" name="srt" value="pays" />
|
||||
</th>
|
||||
<th class="sortable {{ parm.srt == 'lastModel' ? 'sorted' : '' }} {{ parm.ord == 'asc' ? 'sort_asc' : 'sort_desc' }}">
|
||||
<span>{% trans 'admin::compte-utilisateur dernier modele applique' %}</span>
|
||||
<span>{{ 'admin::compte-utilisateur dernier modele applique' | trans }}</span>
|
||||
<span class="ord_notifier">{{ parm.ord == 'asc' ? '▼' : '▲' }}</span>
|
||||
<input type="hidden" name="srt" value="lastModel" />
|
||||
</th>
|
||||
<th class="sortable {{ parm.srt == 'usr_creationdate' ? 'sorted' : '' }} {{ parm.ord == 'asc' ? 'sort_asc' : 'sort_desc' }}">
|
||||
<span>{% trans 'admin::compte-utilisateur date de creation' %}</span>
|
||||
<span>{{ 'admin::compte-utilisateur date de creation' | trans }}</span>
|
||||
<span class="ord_notifier">{{ parm.ord == 'asc' ? '▼' : '▲' }}</span>
|
||||
<input type="hidden" name="srt" value="usr_creationdate" />
|
||||
</th>
|
||||
@@ -128,10 +128,10 @@
|
||||
<tr class="{% if loop.index is odd %}odd{% else %}even{% endif %}" id="user_{{usr.get_id()}}">
|
||||
<td style="text-align: center;">
|
||||
{% if usr.is_template() %}
|
||||
<img title="{% trans 'This is a template' %}" src="/skins/icons/template.png"/>
|
||||
<img title="{{ 'This is a template' | trans }}" src="/skins/icons/template.png"/>
|
||||
{% else %}
|
||||
{% if app['acl'].get(usr).is_phantom() %}
|
||||
<img title="{% trans 'This user has no rights' %}" src="/skins/admin/ghost.png"/>
|
||||
<img title="{{ 'This user has no rights' | trans }}" src="/skins/admin/ghost.png"/>
|
||||
{% endif %}
|
||||
{{usr.get_id()}}
|
||||
{% endif %}
|
||||
@@ -209,8 +209,8 @@
|
||||
{% set n_par_page = 50 %}
|
||||
<option value="50" {% if parm['per_page'] == 50%}selected="selected"{% endif %}>{% trans %}{{n_par_page}} par page {% endtrans %}</option>
|
||||
</select>
|
||||
<button class="user_modifier btn">{% trans 'boutton::modifier' %}</button>
|
||||
<button class="user_deleter btn">{% trans 'Supprimer' %}</button>
|
||||
<button class="user_modifier btn">{{ 'boutton::modifier' | trans }}</button>
|
||||
<button class="user_deleter btn">{{ 'Supprimer' | trans }}</button>
|
||||
|
||||
<input type="hidden" name="total_results" value="{{users.get_total()}}"/>
|
||||
<input type="hidden" name="page" value="{{users.get_page()}}"/>
|
||||
@@ -248,7 +248,7 @@
|
||||
{% endif %}
|
||||
<input name="like_value" value="{{parm.like_value}}" type="hidden" />
|
||||
<input name="like_field" value="{{parm.like_field}}" type="hidden" />
|
||||
<button class="btn btn-warning">{% trans 'boutton::exporter' %}</button>
|
||||
<button class="btn btn-warning">{{ 'boutton::exporter' | trans }}</button>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
@@ -269,7 +269,7 @@
|
||||
|
||||
if(selectedUsers.length === 0)
|
||||
{
|
||||
alert("{% trans 'select at least one user' %}");
|
||||
alert("{{ 'select at least one user' | trans }}");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -278,7 +278,7 @@
|
||||
users += $(n).attr("id").split("_").pop() + ';';
|
||||
});
|
||||
|
||||
if(confirm("{% trans 'Are you sure you want delete users rights ?' %}"))
|
||||
if(confirm("{{ 'Are you sure you want delete users rights ?' | trans }}"))
|
||||
{
|
||||
$("#users_reset_rights input[name='users']").val(users);
|
||||
|
||||
@@ -292,11 +292,11 @@
|
||||
success: function(data){
|
||||
if(data.error)
|
||||
{
|
||||
alert("{% trans 'An error occured' %}");
|
||||
alert("{{ 'An error occured' | trans }}");
|
||||
}
|
||||
else
|
||||
{
|
||||
alert("{% trans 'users rights have been reseted' %}");
|
||||
alert("{{ 'users rights have been reseted' | trans }}");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@@ -40,19 +40,19 @@
|
||||
<input type="hidden" name="{{key}}" value="{{value}}">
|
||||
{% endfor %}
|
||||
{% if errorMessage is defined %}
|
||||
<p class="login_error">{% trans 'Erreur de login / mot de passe' %}</p>
|
||||
<p class="login_error">{{ 'Erreur de login / mot de passe' | trans }}</p>
|
||||
{% endif %}
|
||||
<p class="login_hello">
|
||||
{% trans %}
|
||||
Bonjour, veuillez vous identifier sur {{home_title}} :
|
||||
{% endtrans %}
|
||||
</p>
|
||||
<input id="myLogin" name="login" class="span6" type="text" placeholder="{% trans 'admin::compte-utilisateur identifiant' %}" />
|
||||
<input id="myPass" name="password" class="span6" type="password" placeholder="{% trans 'admin::compte-utilisateur mot de passe' %}" />
|
||||
<input id="button_login" name="action_login" class="btn btn-inverse btn-large span6" type="submit" value="{% trans 'Se connecter' %}" />
|
||||
<input id="myLogin" name="login" class="span6" type="text" placeholder="{{ 'admin::compte-utilisateur identifiant' | trans }}" />
|
||||
<input id="myPass" name="password" class="span6" type="password" placeholder="{{ 'admin::compte-utilisateur mot de passe' | trans }}" />
|
||||
<input id="button_login" name="action_login" class="btn btn-inverse btn-large span6" type="submit" value="{{ 'Se connecter' | trans }}" />
|
||||
</form>
|
||||
<p>
|
||||
<a href="#">{% trans 'Problèmes de connexion ?' %}</a>
|
||||
<a href="#">{{ 'Problèmes de connexion ?' | trans }}</a>
|
||||
</p>
|
||||
</div>
|
||||
{% else %}
|
||||
@@ -87,14 +87,14 @@
|
||||
<input type="hidden" name="{{key}}" value="{{value}}">
|
||||
{% endfor %}
|
||||
<input type="hidden" name="action_accept" value="1">
|
||||
<input id="button_access" class="btn btn-inverse btn-large span3" type="submit" value="{% trans 'Autoriser' %}" />
|
||||
<input id="button_access" class="btn btn-inverse btn-large span3" type="submit" value="{{ 'Autoriser' | trans }}" />
|
||||
</form>
|
||||
<form method="post" class="access-deny">
|
||||
{% for key,value in auth.getParams %}
|
||||
<input type="hidden" name="{{key}}" value="{{value}}">
|
||||
{% endfor %}
|
||||
<input type="hidden" name="action_accept" value="0">
|
||||
<input id="button_deny" class="btn btn-inverse btn-large span3" type="submit" value="{% trans 'Ne pas autoriser' %}" />
|
||||
<input id="button_deny" class="btn btn-inverse btn-large span3" type="submit" value="{{ 'Ne pas autoriser' | trans }}" />
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@@ -4,9 +4,9 @@
|
||||
<meta charset="utf-8" />
|
||||
<title>
|
||||
{% if error is defined %}
|
||||
{% trans 'Fail' %}
|
||||
{{ 'Fail' | trans }}
|
||||
{% else %}
|
||||
{% trans 'Success' %}
|
||||
{{ 'Success' | trans }}
|
||||
{% endif %}
|
||||
</title>
|
||||
<meta name="author" content="Alchemy" />
|
||||
|
@@ -25,7 +25,7 @@
|
||||
</script>
|
||||
|
||||
{% set tooltip_html %}
|
||||
<div>{% trans "client::answers: rapport de questions par bases" %}</div>
|
||||
<div>{{ "client::answers: rapport de questions par bases" | trans }}</div>
|
||||
{% endset %}
|
||||
|
||||
{% set txt %}
|
||||
@@ -183,13 +183,13 @@
|
||||
<div class="buttons">
|
||||
<div class="minilogos">{{ data['mini_logo']|raw }}</div>
|
||||
{% if data['can_download'] %}
|
||||
<div class="downloader" title="{% trans 'action : exporter' %}" onclick="evt_dwnl('{{ record.get_serialize_key() }}');"></div>
|
||||
<div class="downloader" title="{{ 'action : exporter' | trans }}" onclick="evt_dwnl('{{ record.get_serialize_key() }}');"></div>
|
||||
{% endif %}
|
||||
|
||||
<div class="printer" title="{% trans 'action : print' %}" onClick="evt_print('{{ record.get_serialize_key() }}');"></div>
|
||||
<div class="printer" title="{{ 'action : print' | trans }}" onClick="evt_print('{{ record.get_serialize_key() }}');"></div>
|
||||
|
||||
{% if data['can_add_to_basket'] %}
|
||||
<div class="baskAdder" title="{% trans 'action : ajouter au panier' %}" onClick="evt_add_in_chutier({{ record.get_sbas_id() }}, {{ record.get_record_id() }});"></div>
|
||||
<div class="baskAdder" title="{{ 'action : ajouter au panier' | trans }}" onClick="evt_add_in_chutier({{ record.get_sbas_id() }}, {{ record.get_record_id() }});"></div>
|
||||
{% endif %}
|
||||
|
||||
{% if mod_col != 1 %}
|
||||
|
@@ -21,14 +21,14 @@
|
||||
<td>
|
||||
{% if total_baskets > 0 %}
|
||||
<select id="chutier_name" name="chutier_name" onChange="chg_chu();" style="width:120px;">
|
||||
<optgroup label="{% trans 'paniers::categories: mes paniers' %}">
|
||||
<optgroup label="{{ 'paniers::categories: mes paniers' | trans }}">
|
||||
{% for basket in user_baskets %}
|
||||
<option class="chut_choice" {% if basket.getId() == selected_basket.getId() %}selected{% endif %} value="{{ basket.getId() }}">
|
||||
{{ basket.getName() }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
<optgroup label="{% trans 'paniers::categories: paniers recus' %}">
|
||||
<optgroup label="{{ 'paniers::categories: paniers recus' | trans }}">
|
||||
{% for basket in recept_user_basket %}
|
||||
<option class="chut_choice" {% if basket.getId() == selected_basket.getId() %}selected{% endif %} value="{{ basket.getId() }}">
|
||||
{{ basket.getName() }}
|
||||
@@ -40,21 +40,21 @@
|
||||
</td>
|
||||
<td style="width:40%">
|
||||
{% if total_baskets > 0 %}
|
||||
<div class="baskDel" title="{% trans 'action : supprimer' %}" onclick="evt_chutier('DELSSEL');"/></div>
|
||||
<div class="baskDel" title="{{ 'action : supprimer' | trans }}" onclick="evt_chutier('DELSSEL');"/></div>
|
||||
{% endif %}
|
||||
<div class="baskCreate" title="{% trans 'action:: nouveau panier' %}" onclick="newBasket();"></div>
|
||||
<div class="baskCreate" title="{{ 'action:: nouveau panier' | trans }}" onclick="newBasket();"></div>
|
||||
<div style="float:right;position:relative;width:3px;height:16px;"></div>
|
||||
|
||||
{% if total_baskets > 0 and (app['acl'].get(app['authentication'].getUser()).has_right("candwnldhd") or app['acl'].get(app['authentication'].getUser()).has_right("candwnldpreview") or app['acl'].get(app['authentication'].getUser()).has_right("cancmd") > 0) %}
|
||||
<div class="baskDownload" title="{% trans 'action : exporter' %}" onclick="evt_dwnl();"></div>
|
||||
<div class="baskDownload" title="{{ 'action : exporter' | trans }}" onclick="evt_dwnl();"></div>
|
||||
{% endif %}
|
||||
|
||||
{% if total_baskets > 0%}
|
||||
<div class="baskPrint" title="{% trans 'action : print' %}" onclick="evt_print();"></div>
|
||||
<div class="baskPrint" title="{{ 'action : print' | trans }}" onclick="evt_print();"></div>
|
||||
{% endif %}
|
||||
|
||||
{% if total_baskets > 0 %}
|
||||
<div class="baskComparator" onclick="openCompare({{ selected_basket.getId() }})" title="{% trans 'action : ouvrir dans le comparateur' %}"></div>
|
||||
<div class="baskComparator" onclick="openCompare({{ selected_basket.getId() }})" title="{{ 'action : ouvrir dans le comparateur' | trans }}"></div>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -115,13 +115,13 @@
|
||||
<div
|
||||
class="baskOneDel"
|
||||
onclick="evt_del_in_chutier({{ element.getId() }});"
|
||||
title="{% trans 'action : supprimer' %}">
|
||||
title="{{ 'action : supprimer' | trans }}">
|
||||
</div>
|
||||
{% if app['acl'].get(app['authentication'].getUser()).has_right_on_base(record.get_base_id(), 'candwnldhd')
|
||||
or app['acl'].get(app['authentication'].getUser()).has_right_on_base(record.get_base_id(), 'candwnldpreview')
|
||||
or app['acl'].get(app['authentication'].getUser()).has_right_on_base(record.get_base_id(), 'cancmd')
|
||||
or app['acl'].get(app['authentication'].getUser()).has_preview_grant(record) %}
|
||||
<div class="baskOneDownload" onclick="evt_dwnl('{{ record.get_serialize_key() }}');" title="{% trans 'action : exporter' %}"></div>
|
||||
<div class="baskOneDownload" onclick="evt_dwnl('{{ record.get_serialize_key() }}');" title="{{ 'action : exporter' | trans }}"></div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
@@ -148,6 +148,6 @@
|
||||
p4.nbNoview = 0;
|
||||
|
||||
if(p4.nbNoview > oldNoview) {
|
||||
alert('{% trans 'paniers:: vous avez de nouveaux paniers non consultes' %}');
|
||||
alert('{{ 'paniers:: vous avez de nouveaux paniers non consultes' | trans }}');
|
||||
}
|
||||
</script>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<div style="height:50px;" class="homePubTitleBox">
|
||||
<div style="float:left;width:350px;"><h1 style="font-size:20px;margin-top:15px;">
|
||||
<h1>{% trans "publications:: dernieres publications" %}</h1>
|
||||
<h1>{{ "publications:: dernieres publications" | trans }}</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
{% if entry.getUpdatedOn() > entry.getCreatedOn() %}
|
||||
<br/>
|
||||
<span style="font-style:italic;">
|
||||
{% trans "publications:: derniere mise a jour" %} {{ app['date-formatter'].getPrettyString(entry.getUpdatedOn()) }}
|
||||
{{ "publications:: derniere mise a jour" | trans }} {{ app['date-formatter'].getPrettyString(entry.getUpdatedOn()) }}
|
||||
</span>
|
||||
<br />
|
||||
<br />
|
||||
|
@@ -63,19 +63,19 @@
|
||||
{% set active_tab = 'ongSearch' %}
|
||||
{% endif %}
|
||||
|
||||
<td class="bigTabs {{ tab_active }}" id="ongSearch" onclick="chgOngSearch('ongSearch');">{% trans 'client:: recherche' %}</td>
|
||||
<td class="bigTabs {{ tab_active }}" id="ongSearch" onclick="chgOngSearch('ongSearch');">{{ 'client:: recherche' | trans }}</td>
|
||||
{% elseif tab == 2 %}
|
||||
{% if tab_active == 'actif' %}
|
||||
{% set active_tab = 'ongAdvSearch' %}
|
||||
{% endif %}
|
||||
|
||||
<td class="bigTabs {{ tab_active }}" id="ongAdvSearch" onclick="chgOngSearch('ongAdvSearch');return(false);">{% trans 'client:: recherche avancee' %}</td>
|
||||
<td class="bigTabs {{ tab_active }}" id="ongAdvSearch" onclick="chgOngSearch('ongAdvSearch');return(false);">{{ 'client:: recherche avancee' | trans }}</td>
|
||||
{% elseif tab == 3 %}
|
||||
{% if tab_active == 'actif' %}
|
||||
{% set active_tab = 'ongTopic' %}
|
||||
{% endif %}
|
||||
|
||||
<td class="bigTabs {{ tab_active }}" id="ongTopic" onclick="chgOngSearch('ongTopic');return(false);"><{% trans 'client:: topics' %}</td>
|
||||
<td class="bigTabs {{ tab_active }}" id="ongTopic" onclick="chgOngSearch('ongTopic');return(false);"><{{ 'client:: topics' | trans }}</td>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
@@ -92,27 +92,27 @@
|
||||
<div id="idongAdvSearch" style="display:none;">
|
||||
<div>
|
||||
<select name="opAdv[]" style="width:54px">
|
||||
<option value="{% trans "phraseanet::technique:: et" %}">{% trans "phraseanet::technique:: et" %}</option>
|
||||
<option value="{% trans "phraseanet::technique:: or" %}">{% trans "phraseanet::technique:: or" %}</option>
|
||||
<option value="{% trans "phraseanet::technique:: except" %}">{% trans "phraseanet::technique:: except" %}</option>
|
||||
<option value="{{ "phraseanet::technique:: et" | trans }}">{{ "phraseanet::technique:: et" | trans }}</option>
|
||||
<option value="{{ "phraseanet::technique:: or" | trans }}">{{ "phraseanet::technique:: or" | trans }}</option>
|
||||
<option value="{{ "phraseanet::technique:: except" | trans }}">{{ "phraseanet::technique:: except" | trans }}</option>
|
||||
</select>
|
||||
<input type="text" name="qryAdv[]" id="qryAdv1" style="width:185px">
|
||||
</div>
|
||||
<div>
|
||||
<select name="opAdv[]" style="width:54px">
|
||||
<option value="{% trans "phraseanet::technique:: et" %}">{% trans "phraseanet::technique:: et" %}</option>
|
||||
<option value="{% trans "phraseanet::technique:: or" %}">{% trans "phraseanet::technique:: or" %}</option>
|
||||
<option value="{% trans "phraseanet::technique:: except" %}">{% trans "phraseanet::technique:: except" %}</option>
|
||||
<option value="{{ "phraseanet::technique:: et" | trans }}">{{ "phraseanet::technique:: et" | trans }}</option>
|
||||
<option value="{{ "phraseanet::technique:: or" | trans }}">{{ "phraseanet::technique:: or" | trans }}</option>
|
||||
<option value="{{ "phraseanet::technique:: except" | trans }}">{{ "phraseanet::technique:: except" | trans }}</option>
|
||||
</select>
|
||||
<input type="text" name="qryAdv[]" id="qryAdv2" style="width:185px">
|
||||
</div>
|
||||
</div>
|
||||
{% if app['phraseanet.registry'].get('GV_client_coll_ckbox') == 'popup' %}
|
||||
<div>
|
||||
{% trans "client::recherche: rechercher dans les bases :" %}
|
||||
{{ "client::recherche: rechercher dans les bases :" | trans }}
|
||||
{% if app['phraseanet.appbox'].get_databoxes()|length > 0 %}
|
||||
<select id="basSelector" onchange="beforeAnswer();" style="width:245px;">
|
||||
<option value="{{ storage_access['collections']|keys|join(';') }}">{% trans "client::recherche: rechercher dans toutes les bases" %}</option>
|
||||
<option value="{{ storage_access['collections']|keys|join(';') }}">{{ "client::recherche: rechercher dans toutes les bases" | trans }}</option>
|
||||
{% for sbasId, databoxWrapper in storage_access['databoxes'] %}
|
||||
{% set databox = databoxWrapper['databoxes'] %}
|
||||
{% set collections = databoxWrapper['collections'] %}
|
||||
@@ -130,7 +130,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
<div>
|
||||
<select title="{% trans "phraseanet:: presentation des resultats" %}" name="mod" id="mod" onChange="changeModCol();" >
|
||||
<select title="{{ "phraseanet:: presentation des resultats" | trans }}" name="mod" id="mod" onChange="changeModCol();" >
|
||||
{% for property in grid_properties %}
|
||||
{% set selected = '' %}
|
||||
{% if mod_pres is empty %}
|
||||
@@ -144,13 +144,13 @@
|
||||
<option {{ selected }} value="{{ property['h'] ~ 'X' ~ property['w'] }}"> {{ property['name'] }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<input type="radio" value="0" class="checkbox" {% if app['phraseanet.registry'].get('GV_defaultQuery_type') == 0 %}checked="checked"{% endif %} id="search_type_docs" name="search_type" /><label for="search_type_docs">{% trans "phraseanet::type:: documents" %}</label>
|
||||
<input type="radio" value="1" class="checkbox" {% if app['phraseanet.registry'].get('GV_defaultQuery_type') != 0 %}checked="checked"{% endif %} id="search_type_group" name="search_type" /><label for="search_type_group">{% trans "phraseanet::type:: reportages" %}</label>
|
||||
<input type="radio" value="0" class="checkbox" {% if app['phraseanet.registry'].get('GV_defaultQuery_type') == 0 %}checked="checked"{% endif %} id="search_type_docs" name="search_type" /><label for="search_type_docs">{{ "phraseanet::type:: documents" | trans }}</label>
|
||||
<input type="radio" value="1" class="checkbox" {% if app['phraseanet.registry'].get('GV_defaultQuery_type') != 0 %}checked="checked"{% endif %} id="search_type_group" name="search_type" /><label for="search_type_group">{{ "phraseanet::type:: reportages" | trans }}</label>
|
||||
<input type="hidden" name="sort" value="{{ app['phraseanet.registry'].get('GV_phrasea_sort') }}"/>
|
||||
<input type="hidden" name="ord" id="searchOrd" value="{{ search_order }}" />
|
||||
</div>
|
||||
<div>
|
||||
<div style="text-align:center;"><input class="pointer" type="button" onclick="doSearch();" value="{% trans "boutton::rechercher" %}" /></div>
|
||||
<div style="text-align:center;"><input class="pointer" type="button" onclick="doSearch();" value="{{ "boutton::rechercher" | trans }}" /></div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="hidden" name="pag" id="formAnswerPage" value="">
|
||||
@@ -159,17 +159,17 @@
|
||||
<div class="onglets" style="white-space: nowrap; margin-left: 5px; width: 227px;">
|
||||
{% if app['phraseanet.registry'].get('GV_client_coll_ckbox') == 'checkbox' %}
|
||||
<span id="idOnglet1" class="actif actives" onclick="chgOng(1);">
|
||||
{% trans "phraseanet:: collections" %} <img onclick="removeFilters();" id="filter_danger" src="/skins/icons/alert.png" title="{% trans "client::recherche: cliquez ici pour desactiver tous les filtres de toutes base" %}" style="vertical-align:bottom;width:12px;height:12px;display:none;"/>
|
||||
{{ "phraseanet:: collections" | trans }} <img onclick="removeFilters();" id="filter_danger" src="/skins/icons/alert.png" title="{{ "client::recherche: cliquez ici pour desactiver tous les filtres de toutes base" | trans }}" style="vertical-align:bottom;width:12px;height:12px;display:none;"/>
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
{% if app['phraseanet.registry'].get('GV_thesaurus') %}
|
||||
<span id="idOnglet4" class="{{ app['phraseanet.registry'].get('GV_client_coll_ckbox') == 'checkbox' ? "inactif" : "actif" }} actives" onclick="chgOng(4);">
|
||||
{% trans "phraseanet:: propositions" %}
|
||||
{{ "phraseanet:: propositions" | trans }}
|
||||
</span>
|
||||
{% endif %}
|
||||
<span id="idOnglet5" class="{{ not app['phraseanet.registry'].get('GV_client_coll_ckbox') == 'checkbox' and not app['phraseanet.registry'].get('GV_thesaurus') ? 'actif' : 'inactif' }} actives" onclick="chgOng(5);">
|
||||
{% trans "phraseanet:: historique" %}
|
||||
{{ "phraseanet:: historique" | trans }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -178,8 +178,8 @@
|
||||
<div id="onglet1" style="display:block;height:100%;overflow-x: hidden; overflow-y: auto;" class="searchZone" >
|
||||
<div>
|
||||
<div style="text-align:center;margin:5px;">
|
||||
<input id="bases_all" class="actives" type="button" value="{% trans 'boutton:: selectionner toutes les bases' %}" onclick="checkBases(true);"/>
|
||||
<input id="bases_none" class="actives" type="button" value="{% trans 'boutton:: selectionner aucune base' %}" onclick="checkBases(false);"/>
|
||||
<input id="bases_all" class="actives" type="button" value="{{ 'boutton:: selectionner toutes les bases' | trans }}" onclick="checkBases(true);"/>
|
||||
<input id="bases_none" class="actives" type="button" value="{{ 'boutton:: selectionner aucune base' | trans }}" onclick="checkBases(false);"/>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
@@ -192,7 +192,7 @@
|
||||
<div class="basTitle">
|
||||
<input class="basChecker checkbox" id="basChecker{{ sbasId }}" type="checkbox" onclick="chkSbas({{ sbasId }},this)" />
|
||||
<label for="basChecker{{ sbasId }}">{{ databox.get_label(app['locale.I18n']) }}</label>
|
||||
<img onclick="removeFilters({{ sbasId }});" id="filter_danger{{ sbasId }}" class="filter_danger" src="/skins/icons/alert.png" title="{% trans "client::recherche: cliquez ici pour desactiver tous les filtres de cette base" %}" style="vertical-align:bottom;width:12px;height:12px;display:none;"/>
|
||||
<img onclick="removeFilters({{ sbasId }});" id="filter_danger{{ sbasId }}" class="filter_danger" src="/skins/icons/alert.png" title="{{ "client::recherche: cliquez ici pour desactiver tous les filtres de cette base" | trans }}" style="vertical-align:bottom;width:12px;height:12px;display:none;"/>
|
||||
</div>
|
||||
{% set status_bit_filters = '' %}
|
||||
{% for bit, data in databox.get_statusbits() if data['searchable'] %}
|
||||
@@ -246,10 +246,10 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width:50%;">
|
||||
{% trans "phraseanet::time:: de" %}
|
||||
{{ "phraseanet::time:: de" | trans }}
|
||||
</td>
|
||||
<td style="width:50%;">
|
||||
{% trans "phraseanet::time:: a" %}
|
||||
{{ "phraseanet::time:: a" | trans }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -279,23 +279,23 @@
|
||||
{% if status_bit_filters is not empty or fields_filters is not empty or date_filters is not empty %}
|
||||
<div class="filter">
|
||||
<span class="actives" onclick="toggleFilter('Filters{{sbasId}}',this);">
|
||||
{% trans "client::recherche: filter sur" %}
|
||||
{{ "client::recherche: filter sur" | trans }}
|
||||
</span>
|
||||
</div>
|
||||
<div id="Filters{{ sbasId }}" class="base_filter" style="display:none;">
|
||||
{% if date_filters is not empty %}
|
||||
<div class="filterTitle">{% trans "client::recherche: filtrer par dates" %}</div>
|
||||
<div class="filterTitle">{{ "client::recherche: filtrer par dates" | trans }}</div>
|
||||
{{ date_filters|raw }}
|
||||
{% endif %}
|
||||
{% if status_bit_filters is not empty %}
|
||||
<div class="filterTitle">{% trans "client::recherche: filtrer par status" %}</div>
|
||||
<div class="filterTitle">{{ "client::recherche: filtrer par status" | trans }}</div>
|
||||
{{ status_bit_filters|raw }}
|
||||
{% endif %}
|
||||
{% if fields_filters is not empty %}
|
||||
<div class="filterTitle">{% trans "client::recherche: filtrer par champs" %}</div>
|
||||
<div class="filterTitle">{{ "client::recherche: filtrer par champs" | trans }}</div>
|
||||
<div>
|
||||
<select db="{{sbasId}}" onchange="checkFilters();" name="infield[]" style="width:165px;">
|
||||
<option value="" selected="selected">{% trans 'client::recherche: filtrer par champs : tous les champs' %}</option>
|
||||
<option value="" selected="selected">{{ 'client::recherche: filtrer par champs : tous les champs' | trans }}</option>
|
||||
{{ fields_filters|raw }}
|
||||
</select>
|
||||
</div>
|
||||
@@ -361,7 +361,7 @@
|
||||
<span id="SPANTITLE" style="font-size:16px;font-weight:bold;"> </span>
|
||||
<div style="position:absolute;right:0;top:0;">
|
||||
<div onclick="closePreview();" style="cursor:pointer;color:#CCCCCC;font-size:12px;font-weight:bold;text-align:right;text-decoration:underline;">
|
||||
{% trans 'boutton::fermer' %}
|
||||
{{ 'boutton::fermer' | trans }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -377,9 +377,9 @@
|
||||
<div style="margin-right:10px;">
|
||||
<div id="PREVIEWIMGDESC" class="preview_col_cont" style="overflow-x:hidden;overflow-y:auto;">
|
||||
<ul style="height:30px;overflow:hidden;">
|
||||
<li><a href="#PREVIEWIMGDESCINNER-BOX">{% trans 'preview:: Description' %}</a></li>
|
||||
<li><a href="#HISTORICOPS-BOX">{% trans 'preview:: Historique' %}</a></li>
|
||||
<li><a href="#popularity-BOX">{% trans 'preview:: Popularite' %}</a></li>
|
||||
<li><a href="#PREVIEWIMGDESCINNER-BOX">{{ 'preview:: Description' | trans }}</a></li>
|
||||
<li><a href="#HISTORICOPS-BOX">{{ 'preview:: Historique' | trans }}</a></li>
|
||||
<li><a href="#popularity-BOX">{{ 'preview:: Popularite' | trans }}</a></li>
|
||||
</ul>
|
||||
<div id="PREVIEWIMGDESCINNER-BOX" class="descBoxes">
|
||||
<div id="PREVIEWIMGDESCINNER" style="margin:10px;overflow-x:hidden;overflow-y:auto;">
|
||||
@@ -405,7 +405,7 @@
|
||||
<div id="MESSAGE"></div>
|
||||
</div>
|
||||
<iframe id="MODALDL" class="modalbox" src="" name="download" frameborder="0"></iframe>
|
||||
<div id="dialog_dwnl" title="{% trans 'action : exporter' %}" style="display:none;z-index:12000;">
|
||||
<div id="dialog_dwnl" title="{{ 'action : exporter' | trans }}" style="display:none;z-index:12000;">
|
||||
</div>
|
||||
<form name="formChu" id="formChu" action="{{ path('get_client_baskets') }}" method="post" style="visibility:hidden; display:none" >
|
||||
<input type="hidden" name="sbas" id="formChubas" value="">
|
||||
|
@@ -3,56 +3,56 @@
|
||||
{% macro print_ftp_form(datas) %}
|
||||
<div class="ftp_form ftp_form_{{datas.usr_id}}">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="ftp-address-{{datas.usr_id}}">{% trans 'phraseanet:: adresse' %} ftp://</label>
|
||||
<label class="control-label" for="ftp-address-{{datas.usr_id}}">{{ 'phraseanet:: adresse' | trans }} ftp://</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="address" id="ftp-address-{{datas.usr_id}}" value="{{datas.address}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="ftp-ssl-{{datas.usr_id}}">{% trans 'phraseanet:: utiliser SSL' %}</label>
|
||||
<label class="control-label" for="ftp-ssl-{{datas.usr_id}}">{{ 'phraseanet:: utiliser SSL' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="checkbox" name="ssl" id="ftp-ssl-{{datas.usr_id}}" {% if datas.ssl %}checked{% endif %} />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="ftp-login-{{datas.usr_id}}">{% trans 'admin::compte-utilisateur identifiant' %}</label>
|
||||
<label class="control-label" for="ftp-login-{{datas.usr_id}}">{{ 'admin::compte-utilisateur identifiant' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="login" id="ftp-login-{{datas.usr_id}}" value="{{datas.login}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="ftp-password-{{datas.usr_id}}">{% trans 'admin::compte-utilisateur mot de passe' %}</label>
|
||||
<label class="control-label" for="ftp-password-{{datas.usr_id}}">{{ 'admin::compte-utilisateur mot de passe' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="password" name="password" id="ftp-password-{{datas.usr_id}}" value="{{datas.password}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="ftp-passive-{{datas.usr_id}}">{% trans 'admin::compte-utilisateur:ftp: Utiliser le mode passif' %}</label>
|
||||
<label class="control-label" for="ftp-passive-{{datas.usr_id}}">{{ 'admin::compte-utilisateur:ftp: Utiliser le mode passif' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input value="1" type="checkbox" name="passive" id="ftp-passive-{{datas.usr_id}}" {% if datas.passive %}checked{% endif %} />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="ftp-max-retry-{{datas.usr_id}}">{% trans 'admin::compte-utilisateur:ftp: Nombre d\'essais max' %}</label>
|
||||
<label class="control-label" for="ftp-max-retry-{{datas.usr_id}}">{{ 'admin::compte-utilisateur:ftp: Nombre d\'essais max' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="max_retry" id="ftp-max-retry-{{datas.usr_id}}" value="{{datas.max_retry}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="ftp-dest-folder-{{datas.usr_id}}">{% trans 'admin::compte-utilisateur:ftp: repertoire de destination ftp' %}</label>
|
||||
<label class="control-label" for="ftp-dest-folder-{{datas.usr_id}}">{{ 'admin::compte-utilisateur:ftp: repertoire de destination ftp' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="dest_folder" id="ftp-dest-folder-{{datas.usr_id}}" value="{{datas.dest_folder}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="ftp-prefix-folder-{{datas.usr_id}}">{% trans 'admin::compte-utilisateur:ftp: creer un dossier' %}</label>
|
||||
<label class="control-label" for="ftp-prefix-folder-{{datas.usr_id}}">{{ 'admin::compte-utilisateur:ftp: creer un dossier' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="checkbox" class="ftp_folder_check" {% if datas.prefix_folder != '' %}checked{% endif %} name="prefix_folder_check" id="ftp-prefix-folder-check-{{datas.usr_id}}" />
|
||||
<input type="text" name="prefix_folder" id="ftp-prefix-folder-{{datas.usr_id}}" value="{{datas.prefix_folder}}" {% if datas.prefix_folder == '' %}disabled{% endif %} />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="logfile_{{datas.usr_id}}">{% trans 'admin::compte-utilisateur:ftp: ecrire un fichier de log' %}</label>
|
||||
<label class="control-label" for="logfile_{{datas.usr_id}}">{{ 'admin::compte-utilisateur:ftp: ecrire un fichier de log' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="checkbox" class=ftp_logfile_check" name="logfile" id="logfile_{{datas.usr_id}}" value="1" />
|
||||
</div>
|
||||
@@ -62,15 +62,15 @@
|
||||
|
||||
{% macro choose_title(id, choose_export_title, default_export_title)%}
|
||||
<div class="buttons_line" style="display:{% if choose_export_title %}{% else %}none{% endif %}; text-align: left;">
|
||||
<p>{% trans 'Nom des fichiers a l\'export'%}</p>
|
||||
<p>{{ 'Nom des fichiers a l\'export' | trans }}</p>
|
||||
<div class="well-small">
|
||||
<label for="type_{{id}}_original" class="radio">
|
||||
<input type="radio" name="type" id="type_{{id}}_original" {% if default_export_title == "title" %}checked{% endif %} value="title" />
|
||||
{% trans 'export::titre: titre du documument' %}
|
||||
{{ 'export::titre: titre du documument' | trans }}
|
||||
</label>
|
||||
<label for="type_{{id}}_title" class="radio">
|
||||
<input type="radio" name="type" id="type_{{id}}_title" {% if default_export_title == "original" %}checked{% endif %} value="originalname" />
|
||||
{% trans 'export::titre: nom original du document' %}
|
||||
{{ 'export::titre: nom original du document' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -84,28 +84,28 @@
|
||||
{% else %}
|
||||
{% if download.get_total_download() <= 0 and download.get_total_order() <= 0 and download.get_total_ftp() <= 0%}
|
||||
<div class="buttons_line" style="text-align: left;">
|
||||
<p>{% trans 'Les documents ne peuvent pas etre exportes' %}</p>
|
||||
<button type="button" class="close_button">{% trans 'boutton::fermer'%}</button>
|
||||
<p>{{ 'Les documents ne peuvent pas etre exportes' | trans }}</p>
|
||||
<button type="button" class="close_button">{{ 'boutton::fermer' | trans }}</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
{% if download.get_total_download() > 0 %}
|
||||
<li><a href="#download">{% trans 'export:: telechargement' %}</a></li>
|
||||
<li><a href="#sendmail">{% trans 'export:: envoi par mail' %}</a></li>
|
||||
<li><a href="#download">{{ 'export:: telechargement' | trans }}</a></li>
|
||||
<li><a href="#sendmail">{{ 'export:: envoi par mail' | trans }}</a></li>
|
||||
{% endif %}
|
||||
{% if download.get_total_order() > 0 %}
|
||||
<li><a href="#order">{% trans 'export:: commande' %}</a></li>
|
||||
<li><a href="#order">{{ 'export:: commande' | trans }}</a></li>
|
||||
{% endif %}
|
||||
{% if download.get_total_ftp() > 0 %}
|
||||
<li><a href="#ftp">{% trans 'export:: FTP' %}</a></li>
|
||||
<li><a href="#ftp">{{ 'export:: FTP' | trans }}</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% if download.get_total_download() > 0 %}
|
||||
<div id="download">
|
||||
<div style="padding:10px; text-align: center;">
|
||||
<h4>{% trans 'export:: telechargement' %}</h4>
|
||||
<h4>{{ 'export:: telechargement' | trans }}</h4>
|
||||
<form method="post" target="_blank" action="{{ path('check_download') }}" style="text-align: left;">
|
||||
<input type="hidden" name="lst" value="{{lst}}"/>
|
||||
<input type="hidden" name="ssttid" value="{{ssttid}}"/>
|
||||
@@ -119,14 +119,14 @@
|
||||
{{values.label}} {% if values.total != values.available %}{{values.available}}/{{values.total}}{% endif %} ({{values.size | formatOctets}})
|
||||
{% if values.refused|length > 0 %}
|
||||
{% set title%}
|
||||
{% trans 'Documents indisponibles' %}
|
||||
{{ 'Documents indisponibles' | trans }}
|
||||
{% endset %}
|
||||
<a href="#" class="undisposable_link" title="{{title|trim}}"> + </a>
|
||||
{% endif %}
|
||||
</label>
|
||||
{% if values.refused|length > 0 %}
|
||||
<div style="display:none;" class="well-small undisposable">
|
||||
<div>{% trans 'Les documents ne peuvent pas etre exportes' %}</div>
|
||||
<div>{{ 'Les documents ne peuvent pas etre exportes' | trans }}</div>
|
||||
{% for datas in values.refused%}
|
||||
{{ thumbnail.format(datas, 80, 80,'', true, false) }}
|
||||
{% endfor %}
|
||||
@@ -139,7 +139,7 @@
|
||||
<div class="businessfields well-small" style="margin-left:20px;display:none;">
|
||||
<label for="business_download" class="checkbox">
|
||||
<input type="checkbox" name="businessfields" id="business_download" value="1" />
|
||||
{% trans 'Include Business-fields in caption' %}
|
||||
{{ 'Include Business-fields in caption' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -158,20 +158,20 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="buttons_line">
|
||||
<button type="button" class="download_button btn btn-inverse">{% trans 'boutton::telecharger'%}</button>
|
||||
<button type="button" class="close_button btn btn-inverse">{% trans 'boutton::annuler'%}</button>
|
||||
<button type="button" class="download_button btn btn-inverse">{{ 'boutton::telecharger' | trans }}</button>
|
||||
<button type="button" class="close_button btn btn-inverse">{{ 'boutton::annuler' | trans }}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div id="sendmail">
|
||||
<div style="padding:10px; text-align: center;">
|
||||
<h4>{% trans 'export:: envoi par mail' %}</h4>
|
||||
<h4>{{ 'export:: envoi par mail' | trans }}</h4>
|
||||
<form action="{{ path('export_mail') }}" method="post" target="sendmail_target" style="text-align: left;">
|
||||
<input type="hidden" name="lst" value="{{lst}}"/>
|
||||
<input type="hidden" name="ssttid" value="{{ssttid}}"/>
|
||||
<div>
|
||||
{% trans 'export::mail: destinataire' %}
|
||||
{{ 'export::mail: destinataire' | trans }}
|
||||
<input type="text" value="" name="destmail" class="required span4">
|
||||
{% set my_email = app['authentication'].getUser().get_email() %}
|
||||
{% if my_email != '' %}
|
||||
@@ -181,18 +181,18 @@
|
||||
</label>
|
||||
{% else %}
|
||||
<label class="checkbox">
|
||||
{% trans 'Accuse de reception indisponible, vous n\'avez pas declare d\'adresse email' %}
|
||||
{{ 'Accuse de reception indisponible, vous n\'avez pas declare d\'adresse email' | trans }}
|
||||
<input type="checkbox" name="reading_confirm" value="1" readonly />
|
||||
</label>
|
||||
{% endif %}
|
||||
<span style="font-style: italic; color: #999999;">{% trans 'Entrez plusieurs adresses email en les separant par des points-virgules' %}</span>
|
||||
<span style="font-style: italic; color: #999999;">{{ 'Entrez plusieurs adresses email en les separant par des points-virgules' | trans }}</span>
|
||||
</div>
|
||||
<div>
|
||||
<p>{% trans 'export::mail: contenu du mail' %}</p>
|
||||
<p>{{ 'export::mail: contenu du mail' | trans }}</p>
|
||||
<textarea rows="6" style="width:90%; white-space:pre;resize:none;" name="textmail" id="sendmail_message"></textarea>
|
||||
</div>
|
||||
<div>
|
||||
<p>{% trans 'export::mail: fichiers joint' %}</p>
|
||||
<p>{{ 'export::mail: fichiers joint' | trans }}</p>
|
||||
{% for name, values in download.get_display_download() %}
|
||||
{% if values.available > 0 %}
|
||||
<div class="well-small">
|
||||
@@ -201,14 +201,14 @@
|
||||
{{values.label}} {% if values.total != values.available %}{{values.available}}/{{values.total}}{% endif %} ({{values.size | formatOctets}})
|
||||
{% if values.refused|length > 0 %}
|
||||
{% set title%}
|
||||
{% trans 'Documents indisponibles' %}
|
||||
{{ 'Documents indisponibles' | trans }}
|
||||
{% endset %}
|
||||
<a href="#" class="undisposable_link" title="{{title|trim}}"> + </a>
|
||||
{% endif %}
|
||||
</label>
|
||||
{% if values.refused|length > 0 %}
|
||||
<div style="display:none;" class="well-small undisposable">
|
||||
<div><i>{% trans 'La sous resolution n\'est pas disponible pour les documents suivants' %}</i></div>
|
||||
<div><i>{{ 'La sous resolution n\'est pas disponible pour les documents suivants' | trans }}</i></div>
|
||||
{% for datas in values.refused%}
|
||||
{{ thumbnail.format(datas, 80, 80,'', true, false) }}
|
||||
{% endfor %}
|
||||
@@ -222,7 +222,7 @@
|
||||
<div class="businessfields well-small" style="margin-left:20px;display:none;">
|
||||
<label for="business_sendmail" class="checkbox">
|
||||
<input type="checkbox" name="businessfields" id="business_sendmail" value="1" />
|
||||
{% trans 'Include Business-fields in caption' %}
|
||||
{{ 'Include Business-fields in caption' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -241,9 +241,9 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="buttons_line">
|
||||
<button type="button" class="sendmail_button btn btn-inverse">{% trans 'boutton::envoyer'%}</button>
|
||||
<button type="button" class="sendmail_button btn btn-inverse">{{ 'boutton::envoyer' | trans }}</button>
|
||||
<img class="sendmail_button_loader" src="/skins/icons/loader404040.gif" style="visibility:hidden;margin:0 5px;"/>
|
||||
<button type="button" class="close_button btn btn-inverse">{% trans 'boutton::annuler'%}</button>
|
||||
<button type="button" class="close_button btn btn-inverse">{{ 'boutton::annuler' | trans }}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -270,11 +270,11 @@
|
||||
{% endif %}
|
||||
{% if values.refused|length > 0 %}
|
||||
{% set title%}
|
||||
{% trans 'Documents indisponibles' %}
|
||||
{{ 'Documents indisponibles' | trans }}
|
||||
{% endset %}
|
||||
<a href="#" class="undisposable_link" title="{{title|trim}}"> + </a>
|
||||
<div style="display:none;" class="well-small undisposable">
|
||||
<div><i>{% trans 'La sous resolution n\'est pas disponible pour les documents suivants' %}</i></div>
|
||||
<div><i>{{ 'La sous resolution n\'est pas disponible pour les documents suivants' | trans }}</i></div>
|
||||
{% for datas in values.refused%}
|
||||
{{ thumbnail.format(datas, 80, 80,'', true, false) }}
|
||||
{% endfor %}
|
||||
@@ -289,95 +289,95 @@
|
||||
<input type="hidden" name="ssel" value="{{ssttid}}"/>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="order_usage">{% trans 'commande::utilisation prevue' %}</label>
|
||||
<label class="control-label" for="order_usage">{{ 'commande::utilisation prevue' | trans }}</label>
|
||||
<div class="controls">
|
||||
<textarea rows="5" name="use" id="order_usage"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="deadline">{% trans 'commande::deadline' %}</label>
|
||||
<label class="control-label" for="deadline">{{ 'commande::deadline' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="datepicker" type="text" name="deadline" id="deadline" value="" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="sexe">{% trans 'Civility' %}</label>
|
||||
<label class="control-label" for="sexe">{{ 'Civility' | trans }}</label>
|
||||
<div class="controls">
|
||||
<select name="sexe" id="sexe">
|
||||
<option {% if app['authentication'].getUser().get_gender == 0 %}selected="selected"{% endif %} value="0">{% trans 'admin::compte-utilisateur:sexe: mademoiselle' %}</option>
|
||||
<option {% if app['authentication'].getUser().get_gender == 1 %}selected="selected"{% endif %} value="1">{% trans 'admin::compte-utilisateur:sexe: madame' %}</option>
|
||||
<option {% if app['authentication'].getUser().get_gender == 2 %}selected="selected"{% endif %} value="2">{% trans 'admin::compte-utilisateur:sexe: monsieur' %}</option>
|
||||
<option {% if app['authentication'].getUser().get_gender == 0 %}selected="selected"{% endif %} value="0">{{ 'admin::compte-utilisateur:sexe: mademoiselle' | trans }}</option>
|
||||
<option {% if app['authentication'].getUser().get_gender == 1 %}selected="selected"{% endif %} value="1">{{ 'admin::compte-utilisateur:sexe: madame' | trans }}</option>
|
||||
<option {% if app['authentication'].getUser().get_gender == 2 %}selected="selected"{% endif %} value="2">{{ 'admin::compte-utilisateur:sexe: monsieur' | trans }}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="usr_lastname">{% trans 'admin::compte-utilisateur nom' %}</label>
|
||||
<label class="control-label" for="usr_lastname">{{ 'admin::compte-utilisateur nom' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input id='usr_lastname' type="text" name="usr_nom" class="required" value="{{ app['authentication'].getUser().get_lastname() }}"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="usr_firstname">{% trans 'admin::compte-utilisateur prenom' %}</label>
|
||||
<label class="control-label" for="usr_firstname">{{ 'admin::compte-utilisateur prenom' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="usr_prenom" class="required" id="usr_firstname" value="{{ app['authentication'].getUser().get_firstname() }}"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="usr_mail"> {% trans 'admin::compte-utilisateur email' %}</label>
|
||||
<label class="control-label" for="usr_mail"> {{ 'admin::compte-utilisateur email' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="required" type="text" name="usr_mail" id="usr_mail" value="{{ app['authentication'].getUser().get_email() }}"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="usr_tel">{% trans 'admin::compte-utilisateur telephone' %}</label>
|
||||
<label class="control-label" for="usr_tel">{{ 'admin::compte-utilisateur telephone' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="tel" id="usr_tel" value="{{ app['authentication'].getUser().get_tel() }}"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="usr_societe">{% trans 'admin::compte-utilisateur societe' %}</label>
|
||||
<label class="control-label" for="usr_societe">{{ 'admin::compte-utilisateur societe' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="societe" id="usr_societe" value="{{ app['authentication'].getUser().get_company() }}"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="usr_function">{% trans 'admin::compte-utilisateur poste' %}</label>
|
||||
<label class="control-label" for="usr_function">{{ 'admin::compte-utilisateur poste' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="fonction" id="usr_fonction" value="{{ app['authentication'].getUser().get_job() }}"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="usr_address">{% trans 'admin::compte-utilisateur adresse' %}</label>
|
||||
<label class="control-label" for="usr_address">{{ 'admin::compte-utilisateur adresse' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="required" type="text" name="adresse" id="usr_adresse" value="{{ app['authentication'].getUser().get_address() }}"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="usr_zip_code">{% trans 'admin::compte-utilisateur code postal' %}</label>
|
||||
<label class="control-label" for="usr_zip_code">{{ 'admin::compte-utilisateur code postal' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input id="usr_zip_code" type="text" name="cpostal" name="cpostal" class="required" value="{{ app['authentication'].getUser().get_zipcode() }}"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="command_geoname_field">{% trans 'admin::compte-utilisateur ville' %}</label>
|
||||
<label class="control-label" for="command_geoname_field">{{ 'admin::compte-utilisateur ville' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="required geoname_field" type="text" name="geonameid" id="command_geoname_field" value="{{ app['authentication'].getUser().get_geonameid() }}" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="usr_fax">{% trans 'admin::compte-utilisateur fax' %}</label>
|
||||
<label class="control-label" for="usr_fax">{{ 'admin::compte-utilisateur fax' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input type="text" id="usr_fax" name="fax" value="{{ app['authentication'].getUser().get_fax() }}"/>
|
||||
</div>
|
||||
@@ -397,9 +397,9 @@
|
||||
{% endif %}
|
||||
|
||||
<div class="form_actions buttons_line">
|
||||
<button type="button" class="order_button btn btn-primary">{% trans 'boutton::commander'%}</button>
|
||||
<button type="button" class="order_button btn btn-primary">{{ 'boutton::commander' | trans }}</button>
|
||||
<img class="order_button_loader" src="/skins/icons/loader404040.gif" style="visibility:hidden;margin:0 5px;"/>
|
||||
<button type="button" class="close_button btn btn-inverse">{% trans 'boutton::annuler'%}</button>
|
||||
<button type="button" class="close_button btn btn-inverse">{{ 'boutton::annuler' | trans }}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -407,13 +407,13 @@
|
||||
{% if download.get_total_ftp() > 0 %}
|
||||
<div id="ftp">
|
||||
<div style="padding:10px; text-align: center;">
|
||||
<h4>{% trans 'export:: FTP' %}</h4>
|
||||
<h4>{{ 'export:: FTP' | trans }}</h4>
|
||||
<form action="{{ path('export_ftp') }}" method="post" target="_blank" class="form-horizontal" style="text-align: left;">
|
||||
<input type="hidden" name="lst" value="{{lst}}"/>
|
||||
<input type="hidden" name="ssttid" value="{{ssttid}}"/>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="ftp_form_selector">
|
||||
{% trans 'phraseanet:: prereglages'%}
|
||||
{{ 'phraseanet:: prereglages' | trans }}
|
||||
</label>
|
||||
<div class="controls">
|
||||
<select id="ftp_form_selector" class="span3">
|
||||
@@ -431,7 +431,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<p>{% trans 'export::mail: fichiers joint' %}</p>
|
||||
<p>{{ 'export::mail: fichiers joint' | trans }}</p>
|
||||
{% for name, values in download.get_display_ftp() %}
|
||||
{% if values.available > 0 %}
|
||||
<div class="well-small">
|
||||
@@ -440,14 +440,14 @@
|
||||
{{values.label}} {% if values.total != values.available %}{{values.available}}/{{values.total}}{% endif %} ({{values.size | formatOctets}}))
|
||||
{% if values.refused|length > 0 %}
|
||||
{% set title%}
|
||||
{% trans 'Documents indisponibles' %}
|
||||
{{ 'Documents indisponibles' | trans }}
|
||||
{% endset %}
|
||||
<a href="#" class="undisposable_link" title="{{title|trim}}"> + </a>
|
||||
{% endif %}
|
||||
</label>
|
||||
{% if values.refused|length > 0 %}
|
||||
<div style="display:none;" class="well-small undisposable">
|
||||
<div><i>{% trans 'La sous resolution n\'est pas disponible pour les documents suivants' %}</i></div>
|
||||
<div><i>{{ 'La sous resolution n\'est pas disponible pour les documents suivants' | trans }}</i></div>
|
||||
{% for datas in values.refused%}
|
||||
{{ thumbnail.format(datas, 80, 80,'', true, false) }}
|
||||
{% endfor %}
|
||||
@@ -461,7 +461,7 @@
|
||||
<div class="businessfields" style="margin-left:20px;display:none;">
|
||||
<label for="business_ftp" class="checkbox">
|
||||
<input type="checkbox" name="businessfields" id="business_ftp" value="1" />
|
||||
{% trans 'Include Business-fields in caption' %}
|
||||
{{ 'Include Business-fields in caption' | trans }}
|
||||
</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -479,11 +479,11 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="buttons_line">
|
||||
<button type="button" class="tryftp_button btn btn-inverse">{% trans 'boutton::essayer'%}</button>
|
||||
<button type="button" class="tryftp_button btn btn-inverse">{{ 'boutton::essayer' | trans }}</button>
|
||||
<img class="tryftp_button_loader" src="/skins/icons/loader404040.gif" style="visibility:hidden;margin:0 5px;"/>
|
||||
<button type="button" class="ftp_button btn btn-inverse">{% trans 'boutton::envoyer'%}</button>
|
||||
<button type="button" class="ftp_button btn btn-inverse">{{ 'boutton::envoyer' | trans }}</button>
|
||||
<img class="ftp_button_loader" src="/skins/icons/loader404040.gif" style="visibility:hidden;margin:0 5px;"/>
|
||||
<button type="button" class="close_button btn btn-inverse">{% trans 'boutton::annuler'%}</button>
|
||||
<button type="button" class="close_button btn btn-inverse">{{ 'boutton::annuler' | trans }}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -516,14 +516,14 @@
|
||||
if(!go)
|
||||
{
|
||||
{% set alert_message %}
|
||||
{% trans 'You must agree to the Terms of Use to continue.' %}
|
||||
{{ 'You must agree to the Terms of Use to continue.' | trans }}
|
||||
{% endset %}
|
||||
|
||||
var alert = p4.Dialog.Create({
|
||||
size : 'Alert',
|
||||
closeOnEscape : true,
|
||||
closeButton:true,
|
||||
title : '{% trans "Warning !" %}'
|
||||
title : '{{ "Warning !" | trans }}'
|
||||
}, 2);
|
||||
|
||||
alert.setContent("{{ alert_message|e }}");
|
||||
@@ -559,14 +559,14 @@
|
||||
if(required)
|
||||
{
|
||||
{% set alert_message %}
|
||||
{% trans 'Certains champs sont obligatoires, veuillez les remplir' %}
|
||||
{{ 'Certains champs sont obligatoires, veuillez les remplir' | trans }}
|
||||
{% endset %}
|
||||
|
||||
var alert = p4.Dialog.Create({
|
||||
size : 'Alert',
|
||||
closeOnEscape : true,
|
||||
closeButton:true,
|
||||
title : '{% trans "Warning !" %}'
|
||||
title : '{{ "Warning !" | trans }}'
|
||||
}, 2);
|
||||
|
||||
alert.setContent("{{ alert_message|e }}");
|
||||
@@ -576,14 +576,14 @@
|
||||
if(!go)
|
||||
{
|
||||
{% set alert_message %}
|
||||
{% trans 'Vous devez selectionner un type de sous definitions' %}
|
||||
{{ 'Vous devez selectionner un type de sous definitions' | trans }}
|
||||
{% endset %}
|
||||
|
||||
var alert = p4.Dialog.Create({
|
||||
size : 'Alert',
|
||||
closeOnEscape : true,
|
||||
closeButton:true,
|
||||
title : '{% trans "Warning !" %}'
|
||||
title : '{{ "Warning !" | trans }}'
|
||||
}, 2);
|
||||
|
||||
alert.setContent("{{ alert_message|e }}");
|
||||
@@ -595,7 +595,7 @@
|
||||
}
|
||||
|
||||
{% set TOUTitle %}
|
||||
{% trans "Terms of Use" %}
|
||||
{{ "Terms of Use" | trans }}
|
||||
{% endset %}
|
||||
|
||||
$(document).ready(function(){
|
||||
@@ -652,10 +652,10 @@
|
||||
{% trans %} You can not directly download more than {{max_download}} Mo ; time to package all documents is too long{% endtrans %}
|
||||
{% endset %}
|
||||
{% set alert_too_big_two %}
|
||||
{% trans 'You can alternatively receive an email when the download is ready.' %}
|
||||
{{ 'You can alternatively receive an email when the download is ready.' | trans }}
|
||||
{% endset %}
|
||||
{% set alert_too_big_three %}
|
||||
{% trans 'Would you like to receive an e-mail when your download is ready ?' %}
|
||||
{{ 'Would you like to receive an e-mail when your download is ready ?' | trans }}
|
||||
{% endset %}
|
||||
|
||||
if(count>1 && total/1024/1024 > {{max_download}}) {
|
||||
@@ -697,9 +697,9 @@
|
||||
$('#order .order_button_loader').css('visibility','hidden');
|
||||
|
||||
if(!data.error) {
|
||||
var title = '{% trans "Success" %}';
|
||||
var title = '{{ "Success" | trans }}';
|
||||
} else {
|
||||
var title = '{% trans "Warning !" %}';
|
||||
var title = '{{ "Warning !" | trans }}';
|
||||
}
|
||||
|
||||
var options = {
|
||||
@@ -753,7 +753,7 @@
|
||||
size : 'Alert',
|
||||
closeOnEscape : true,
|
||||
closeButton:true,
|
||||
title : '{% trans "Warning !" %}'
|
||||
title : '{{ "Warning !" | trans }}'
|
||||
}, 2);
|
||||
|
||||
alert.setContent(data.message);
|
||||
@@ -777,7 +777,7 @@
|
||||
var options = {
|
||||
size : 'Alert',
|
||||
closeButton: true,
|
||||
title : data.success ? '{% trans "Success" %}' : '{% trans "Warning !" %}'
|
||||
title : data.success ? '{{ "Success" | trans }}' : '{{ "Warning !" | trans }}'
|
||||
};
|
||||
|
||||
p4.Dialog.Create(options, 2).setContent(data.message);
|
||||
|
@@ -1,16 +1,16 @@
|
||||
{% macro format(record)%}
|
||||
{% set doctype = record.get_type() %}
|
||||
{% if record.is_grouping() %}
|
||||
<img src="/skins/icons/icon_story.gif" title="{% trans 'reportage' %}" />
|
||||
<img src="/skins/icons/icon_story.gif" title="{{ 'reportage' | trans }}" />
|
||||
{% elseif doctype == 'image' %}
|
||||
<img src="/skins/icons/icon_image.gif" title="{% trans 'image' %}" />
|
||||
<img src="/skins/icons/icon_image.gif" title="{{ 'image' | trans }}" />
|
||||
{% elseif doctype == 'document' %}
|
||||
<img src="/skins/icons/icon_document.gif" title="{% trans 'document' %}" />
|
||||
<img src="/skins/icons/icon_document.gif" title="{{ 'document' | trans }}" />
|
||||
{% elseif doctype == 'flash' %}
|
||||
<img src="/skins/icons/icon_flash.gif" title="{% trans 'animation flash' %}" />
|
||||
<img src="/skins/icons/icon_flash.gif" title="{{ 'animation flash' | trans }}" />
|
||||
{% elseif doctype == 'video' %}
|
||||
<img src="/skins/icons/icon_video.gif" title="{% trans 'video' %}" />
|
||||
<img src="/skins/icons/icon_video.gif" title="{{ 'video' | trans }}" />
|
||||
{% elseif doctype == 'audio' %}
|
||||
<img src="/skins/icons/icon_audio.gif" title="{% trans 'audio' %}" />
|
||||
<img src="/skins/icons/icon_audio.gif" title="{{ 'audio' | trans }}" />
|
||||
{% endif %}
|
||||
{% endmacro %}
|
@@ -12,7 +12,7 @@
|
||||
<div title="" class="context-menu-item">
|
||||
<div class="context-menu-item-inner"
|
||||
onclick="evt_add_in_chutier('{{record.get_sbas_id}}','{{record.get_record_id}}',false,this);return(false);">
|
||||
{% trans 'action : ajouter au panier' %}
|
||||
{{ 'action : ajouter au panier' | trans }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -20,14 +20,14 @@
|
||||
<div title="" class="context-menu-item">
|
||||
<div class="context-menu-item-inner"
|
||||
onclick="evt_dwnl('{{record.get_sbas_id}}_{{record.get_record_id}}',false,this);return(false);">
|
||||
{% trans 'action : exporter' %}
|
||||
{{ 'action : exporter' | trans }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div title="" class="context-menu-item">
|
||||
<div class="context-menu-item-inner"
|
||||
onclick="evt_print('{{record.get_sbas_id}}_{{record.get_record_id}}');return(false);">
|
||||
{% trans 'action : print' %}
|
||||
{{ 'action : print' | trans }}
|
||||
</div>
|
||||
</div>
|
||||
{% if app['phraseanet.registry'].get('GV_social_tools') == 'all' or (app['phraseanet.registry'].get('GV_social_tools') == 'publishers' and app['acl'].get(user).has_right_on_sbas(record.get_sbas_id(), 'bas_chupub')) %}
|
||||
@@ -35,7 +35,7 @@
|
||||
<div title="" class="context-menu-item">
|
||||
<div class="context-menu-item-inner"
|
||||
onclick="shareThis('{{record.get_base_id}}','{{record.get_record_id}}');">
|
||||
{% trans 'reponses:: partager' %}
|
||||
{{ 'reponses:: partager' | trans }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@@ -15,7 +15,7 @@
|
||||
</div>
|
||||
<div class="row-fluid recaptcha_only_if_incorrect_sol">
|
||||
<div class="alert-error" style="padding:2px;margin: 2px 0;border:1px solid #c9322b">
|
||||
<i class="icon-warning-sign"></i> {% trans "Incorrect please try again" %}
|
||||
<i class="icon-warning-sign"></i> {{ "Incorrect please try again" | trans }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
{% if module is defined and module == "prod" %}
|
||||
<a target="_self" href="{{ path('get_client') }}">
|
||||
<span class="">
|
||||
{% trans 'admin::monitor: Ancienne version (client)' %}
|
||||
{{ 'admin::monitor: Ancienne version (client)' | trans }}
|
||||
</span>
|
||||
</a>
|
||||
{% else %}
|
||||
@@ -19,13 +19,13 @@
|
||||
{% if module is defined and module == "client" %}
|
||||
<a target="_self" href="{{ path('prod') }}">
|
||||
<span class="">
|
||||
{% trans 'admin::monitor: Nouvelle version (prod)' %}
|
||||
{{ 'admin::monitor: Nouvelle version (prod)' | trans }}
|
||||
</span>
|
||||
</a>
|
||||
{% else %}
|
||||
<a target="_blank" href="{{ path('prod') }}">
|
||||
<span class="">
|
||||
{% trans 'admin::monitor: production' %}
|
||||
{{ 'admin::monitor: production' | trans }}
|
||||
</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
@@ -37,7 +37,7 @@
|
||||
<li>
|
||||
<a target="_blank" href="{{ path('thesaurus') }}">
|
||||
<span class="{% if module is defined and module == "thesaurus" %}selected{% endif %}">
|
||||
{% trans 'admin::monitor: module thesaurus' %}
|
||||
{{ 'admin::monitor: module thesaurus' | trans }}
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
@@ -49,7 +49,7 @@
|
||||
<li>
|
||||
<a target="_blank" href="{{ path('admin') }}">
|
||||
<span class="{% if module is defined and module == "admin" %}selected{% endif %}">
|
||||
{% trans 'admin::monitor: module admin' %}
|
||||
{{ 'admin::monitor: module admin' | trans }}
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
@@ -60,7 +60,7 @@
|
||||
<li>
|
||||
<a target="_blank" href="{{ path('report_dashboard') }}">
|
||||
<span class="{% if module is defined and module == "report" %}selected{% endif %}">
|
||||
{% trans 'admin::monitor: module report' %}
|
||||
{{ 'admin::monitor: module report' | trans }}
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
@@ -70,7 +70,7 @@
|
||||
<li>
|
||||
<a id="validation_link" target="_blank" href="{{ path('lightbox') }}">
|
||||
<span>
|
||||
{% trans 'admin::monitor: module validation' %}
|
||||
{{ 'admin::monitor: module validation' | trans }}
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
@@ -85,9 +85,9 @@
|
||||
{% set link = path('upload_flash_form') %}
|
||||
{% endif %}
|
||||
|
||||
<a href="{{ link }}" class="dialog full-dialog" title="{% trans 'Upload' %}">
|
||||
<a href="{{ link }}" class="dialog full-dialog" title="{{ 'Upload' | trans }}">
|
||||
<span>
|
||||
{% trans 'admin::monitor: module upload' %}
|
||||
{{ 'admin::monitor: module upload' | trans }}
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
@@ -99,7 +99,7 @@
|
||||
<li>
|
||||
<a href="#" onclick="getHome('PUBLI');" >
|
||||
<span>
|
||||
{% trans 'Publications' %}
|
||||
{{ 'Publications' | trans }}
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
@@ -107,9 +107,9 @@
|
||||
|
||||
{% if module is defined and module == "prod" and app['acl'].get(app['authentication'].getUser()).has_right('order_master') %}
|
||||
<li>
|
||||
<a href="{{ path('prod_orders') }}" class="dialog full-dialog" title="{% trans 'Orders manager' %}">
|
||||
<a href="{{ path('prod_orders') }}" class="dialog full-dialog" title="{{ 'Orders manager' | trans }}">
|
||||
<span>
|
||||
{% trans 'Commandes' %}
|
||||
{{ 'Commandes' | trans }}
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
@@ -126,7 +126,7 @@
|
||||
<li id="notification_trigger">
|
||||
<a href="#" style="font-weight:bold;text-decoration:none;">
|
||||
<span>
|
||||
{% trans 'Notifications' %}
|
||||
{{ 'Notifications' | trans }}
|
||||
<button class="counter btn btn-danger" style="visibility:{% if app['events-manager'].get_unread_notifications_number > 0 %}visible{% else %}hidden{% endif %};">
|
||||
{% if app['events-manager'].get_unread_notifications_number > 0 %}
|
||||
{{app['events-manager'].get_unread_notifications_number}}
|
||||
@@ -140,10 +140,10 @@
|
||||
{% if app['authentication'].isAuthenticated() %}
|
||||
{% if app['authentication'].getUser().is_guest %}
|
||||
<span>
|
||||
{% trans 'Guest' %}
|
||||
{{ 'Guest' | trans }}
|
||||
</span>
|
||||
{% else %}
|
||||
<a target="_blank" href="{{ path('account') }}" title="{% trans 'login:: Mon compte' %}">
|
||||
<a target="_blank" href="{{ path('account') }}" title="{{ 'login:: Mon compte' | trans }}">
|
||||
<span>
|
||||
{{app['authentication'].getUser().get_login()}}
|
||||
</span>
|
||||
@@ -154,7 +154,7 @@
|
||||
<li>
|
||||
<a target="_blank" href="https://docs.phraseanet.com/3.8/">
|
||||
<span>
|
||||
{% trans 'phraseanet:: aide' %}
|
||||
{{ 'phraseanet:: aide' | trans }}
|
||||
<span style="display:inline-block;cursor:pointer;padding:0;border:none;" id="help-trigger"> ▼</span>
|
||||
</span>
|
||||
</a>
|
||||
@@ -166,12 +166,12 @@
|
||||
{% if module is defined and module == "prod" %}
|
||||
<div title="" class="context-menu-item menu3-custom-item">
|
||||
<div style="" class="context-menu-item-inner shortcuts-trigger">
|
||||
{% trans 'phraseanet:: raccourcis clavier' %}
|
||||
{{ 'phraseanet:: raccourcis clavier' | trans }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div title="" class="context-menu-item menu3-custom-item">
|
||||
<div style="" class="context-menu-item-inner infoDialog" infos="<div><span style='font-size:18px;'>PHRASEANET</span> {{ app['phraseanet.version'].getName() }} (V{{ app['phraseanet.version'].getNumber() }})</div><div></div><br/><div><a href='http://www.gnu.org/licenses/gpl.html' target='_blank'><img src='http://www.gnu.org/graphics/gplv3-88x31.png' style='vertical-align:middle;'/><span>License GNU GPL v3</span></a></div><br/><div><a href='http://www.phraseanet.com/' target='_blank'> © Copyright Alchemy 2005-{{ "now"|date("Y") }}</a></div>">{% trans 'phraseanet:: a propos' %}</div>
|
||||
<div style="" class="context-menu-item-inner infoDialog" infos="<div><span style='font-size:18px;'>PHRASEANET</span> {{ app['phraseanet.version'].getName() }} (V{{ app['phraseanet.version'].getNumber() }})</div><div></div><br/><div><a href='http://www.gnu.org/licenses/gpl.html' target='_blank'><img src='http://www.gnu.org/graphics/gplv3-88x31.png' style='vertical-align:middle;'/><span>License GNU GPL v3</span></a></div><br/><div><a href='http://www.phraseanet.com/' target='_blank'> © Copyright Alchemy 2005-{{ "now"|date("Y") }}</a></div>">{{ 'phraseanet:: a propos' | trans }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
@@ -183,7 +183,7 @@
|
||||
{% if app['authentication'].isAuthenticated() %}
|
||||
<a href="{{ path('logout', { 'redirect' : '..' ~ app['request'].getPathInfo() }) }}" target="_self">
|
||||
<span>
|
||||
{% trans 'phraseanet:: deconnection' %}
|
||||
{{ 'phraseanet:: deconnection' | trans }}
|
||||
</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% if record.is_grouping() %}
|
||||
{% trans 'Story_id' %} : {{ record.get_record_id() }}<br/>
|
||||
{{ 'Story_id' | trans }} : {{ record.get_record_id() }}<br/>
|
||||
{% else %}
|
||||
{% trans 'Record_id' %} : {{ record.get_record_id() }}<br/>
|
||||
{{ 'Record_id' | trans }} : {{ record.get_record_id() }}<br/>
|
||||
{% endif %}
|
||||
|
||||
{% if record.is_grouping() == false %}
|
||||
@@ -9,7 +9,7 @@
|
||||
{% set document = record.get_subdef('document') %}
|
||||
|
||||
{% block td_original_name %}
|
||||
{% trans 'Nom Original' %} :
|
||||
{{ 'Nom Original' | trans }} :
|
||||
{{ record.get_original_name() }}
|
||||
{% endblock %}
|
||||
<br/>
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
{% block td_size %}
|
||||
{% if document and document.get_width() and document.get_height() %}
|
||||
{% trans 'Size' %} :
|
||||
{{ 'Size' | trans }} :
|
||||
{{document.get_width()}} x {{document.get_height()}} px
|
||||
<br/>
|
||||
{% if record.get_type() == 'image' and document.get_width() and document.get_height() %}
|
||||
@@ -43,116 +43,116 @@
|
||||
<hr/>
|
||||
{% block td_camera_model %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_CAMERAMODEL')) is not empty %}
|
||||
{% trans 'Camera Model' %} :
|
||||
{{ 'Camera Model' | trans }} :
|
||||
{{ record.get_technical_infos(constant('media_subdef::TC_DATA_CAMERAMODEL')) }}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_color_space %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_COLORSPACE')) is not empty %}
|
||||
{% trans 'Color space' %} :
|
||||
{{ 'Color space' | trans }} :
|
||||
{{ record.get_technical_infos(constant('media_subdef::TC_DATA_COLORSPACE')) }}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_channels %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_CHANNELS')) is not empty %}
|
||||
{% trans 'Channels' %} :
|
||||
{{ 'Channels' | trans }} :
|
||||
{{ record.get_technical_infos(constant('media_subdef::TC_DATA_CHANNELS')) }}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_color_depth %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_COLORDEPTH')) is not empty %}
|
||||
{% trans 'Color Depth' %} :
|
||||
{{ 'Color Depth' | trans }} :
|
||||
{{ record.get_technical_infos(constant('media_subdef::TC_DATA_COLORDEPTH')) }} bits
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_iso_sensibility %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_ISO')) is not empty %}
|
||||
{% trans 'ISO sensibility' %} :
|
||||
{{ 'ISO sensibility' | trans }} :
|
||||
{{ record.get_technical_infos(constant('media_subdef::TC_DATA_ISO')) }}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_flash %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_FLASHFIRED')) is not empty %}
|
||||
{% trans 'Flash' %} :
|
||||
{{ 'Flash' | trans }} :
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_FLASHFIRED')) %}
|
||||
{% trans 'yes' %}
|
||||
{{ 'yes' | trans }}
|
||||
{% else %}
|
||||
{% trans 'no' %}
|
||||
{{ 'no' | trans }}
|
||||
{% endif %}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_shutter_speed %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_SHUTTERSPEED')) is not empty %}
|
||||
{% trans 'Shutter speed' %} :
|
||||
{{ 'Shutter speed' | trans }} :
|
||||
{{ record.get_technical_infos(constant('media_subdef::TC_DATA_SHUTTERSPEED')) }} s.
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_apeture %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_APERTURE')) is not empty %}
|
||||
{% trans 'Aperture' %} :
|
||||
{{ 'Aperture' | trans }} :
|
||||
{{ record.get_technical_infos(constant('media_subdef::TC_DATA_APERTURE')) | round(2) }}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_focal_length %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_FOCALLENGTH')) is not empty %}
|
||||
{% trans 'Focal length' %} :
|
||||
{{ 'Focal length' | trans }} :
|
||||
{{ record.get_technical_infos(constant('media_subdef::TC_DATA_FOCALLENGTH')) }} mm
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_hyperfocal_distance %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_HYPERFOCALDISTANCE')) is not empty %}
|
||||
{% trans 'Hyperfocal distance' %} :
|
||||
{{ 'Hyperfocal distance' | trans }} :
|
||||
{{ record.get_technical_infos(constant('media_subdef::TC_DATA_HYPERFOCALDISTANCE')) | round(2) }} mm
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_light_value %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_LIGHTVALUE')) is not empty %}
|
||||
{% trans 'Light Value' %} :
|
||||
{{ 'Light Value' | trans }} :
|
||||
{{ record.get_technical_infos(constant('media_subdef::TC_DATA_LIGHTVALUE')) | round(2) }}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_duration %}
|
||||
{% if record.get_formated_duration() %}
|
||||
{% trans 'Duree' %} :
|
||||
{{ 'Duree' | trans }} :
|
||||
{{ record.get_formated_duration() }}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_framerate %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_FRAMERATE')) is not empty %}
|
||||
{% trans 'Images par secondes' %} :
|
||||
{{ 'Images par secondes' | trans }} :
|
||||
{{ record.get_technical_infos(constant('media_subdef::TC_DATA_FRAMERATE')) | round(2) }} ips
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_codec_audio %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_AUDIOCODEC')) %}
|
||||
{% trans 'Codec Audio' %} :
|
||||
{{ 'Codec Audio' | trans }} :
|
||||
{{ record.get_technical_infos(constant('media_subdef::TC_DATA_AUDIOCODEC')) }}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_codec_video %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_VIDEOCODEC')) %}
|
||||
{% trans 'Codec Video' %} :
|
||||
{{ 'Codec Video' | trans }} :
|
||||
{{ record.get_technical_infos(constant('media_subdef::TC_DATA_VIDEOCODEC')) }}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block td_audio_rate %}
|
||||
{% if record.get_technical_infos(constant('media_subdef::TC_DATA_AUDIOSAMPLERATE')) %}
|
||||
{% trans 'Frequence d\'echantillonage' %} :
|
||||
{{ 'Frequence d\'echantillonage' | trans }} :
|
||||
{{ record.get_technical_infos(constant('media_subdef::TC_DATA_AUDIOSAMPLERATE')) | round(2) }} kHz
|
||||
<br />
|
||||
{% endif %}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% extends "account/base.html.twig" %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Client application" %}
|
||||
{{ "Client application" | trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% set selected = "" %}
|
||||
@@ -9,7 +9,7 @@
|
||||
{% block content_account %}
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<h1>{% trans "Application" %}</h1>
|
||||
<h1>{{ "Application" | trans }}</h1>
|
||||
<input type="hidden" value="{{ application.get_id() }}" name="app_id"/>
|
||||
|
||||
<div>
|
||||
@@ -17,8 +17,8 @@
|
||||
<div>{{ application.get_description() }}</div>
|
||||
</div>
|
||||
|
||||
<h1>{% trans "settings OAuth" %}</h1>
|
||||
<p>{% trans "Les parametres oauth de votre application." %}</p>
|
||||
<h1>{{ "settings OAuth" | trans }}</h1>
|
||||
<p>{{ "Les parametres oauth de votre application." | trans }}</p>
|
||||
|
||||
<table id="app-oauth-setting" class="table table-condensed table-bordered">
|
||||
<tbody>
|
||||
@@ -31,7 +31,7 @@
|
||||
<td>{{ application.get_client_secret() }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{% trans "URL de callback" %}</td>
|
||||
<td>{{ "URL de callback" | trans }}</td>
|
||||
{% if application.get_type() == constant("API_OAuth2_Application::DESKTOP_TYPE") %}
|
||||
<td>
|
||||
<span>{{ application.get_redirect_uri() }}</span>
|
||||
@@ -40,10 +40,10 @@
|
||||
<td class="url_callback">
|
||||
<span class="url_callback_input">{{ application.get_redirect_uri() }}</span>
|
||||
<a href="{{ path("submit_application_callback", {"id" : application.get_id()}) }}" class="save_callback btn btn-small btn-info" style="display:none;">
|
||||
{% trans "Save" %}
|
||||
{{ "Save" | trans }}
|
||||
</a>
|
||||
<button type="button" class="modifier_callback btn btn-small">
|
||||
{% trans "Modify" %}
|
||||
{{ "Modify" | trans }}
|
||||
</button>
|
||||
</td>
|
||||
{%endif%}
|
||||
@@ -57,7 +57,7 @@
|
||||
<td>{{ app["phraseanet.registry"].get("GV_ServerName") }}api/oauthv2/token</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{% trans "Activer le grant_type de type password pour votre application" %}</td>
|
||||
<td>{{ "Activer le grant_type de type password pour votre application" | trans }}</td>
|
||||
<td>
|
||||
<input class="grant-type"
|
||||
type="checkbox"
|
||||
@@ -70,30 +70,30 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h1>{% trans "Votre token d\'access" %}</h1>
|
||||
<p> {% trans "Les paramétres oauth de votre application." %}</p>
|
||||
<h1>{{ "Votre token d\'access" | trans }}</h1>
|
||||
<p> {{ "Les paramétres oauth de votre application." | trans }}</p>
|
||||
|
||||
<table id="app-access-token-setting table" class="table table-condensed table-bordered">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
{% trans "Token" %}
|
||||
{{ "Token" | trans }}
|
||||
</td>
|
||||
<td>
|
||||
<span id="my_access_token">
|
||||
{% if not token is none %}
|
||||
{{ token|default("") }}
|
||||
{% else %}
|
||||
{% trans "Le token n\'a pas encore ete genere" %}
|
||||
{{ "Le token n\'a pas encore ete genere" | trans }}
|
||||
{% endif %}
|
||||
</span>
|
||||
<a id="generate_access" href="{{ path("submit_developers_application_token",{ "id" : application.get_id()}) }}" class="btn btn-small btn-info">{% trans "boutton::generer" %}</a>
|
||||
<a id="generate_access" href="{{ path("submit_developers_application_token",{ "id" : application.get_id()}) }}" class="btn btn-small btn-info">{{ "boutton::generer" | trans }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div>
|
||||
<a class="btn btn-primary" href="{{ path("developers_applications") }}">{% trans "boutton::retour" %}</a>
|
||||
<a class="btn btn-primary" href="{{ path("developers_applications") }}">{{ "boutton::retour" | trans }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% extends "account/base.html.twig" %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "new client application" %}
|
||||
{{ "new client application" | trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% set selected = "" %}
|
||||
@@ -47,8 +47,8 @@
|
||||
{% block content_account %}
|
||||
<form id="form_create" action="{{ path("submit_developers_application") }}" method="POST" class="form-horizontal">
|
||||
{% if form is none %}
|
||||
{% set name, description, website, callback = "", "", "", ""%}
|
||||
{% set app_type = "web"%}
|
||||
{% set name, description, website, callback = "", "", "", "" %}
|
||||
{% set app_type = "web" %}
|
||||
{% else %}
|
||||
{% set name = form.name %}
|
||||
{% set description = form.description %}
|
||||
@@ -58,21 +58,21 @@
|
||||
{% endif %}
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="name"><b>{% trans "Nom" %}</b></label>
|
||||
<label class="control-label" for="name"><b>{{ "Nom" | trans }}</b></label>
|
||||
<div class="controls">
|
||||
{{ _self.input("name", name, violations, "name", "input-xlarge") }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="name"><b>{% trans "Description" %}</b></label>
|
||||
<label class="control-label" for="name"><b>{{ "Description" | trans }}</b></label>
|
||||
<div class="controls">
|
||||
{{ _self.textarea("description", description, violations, "description", 5, 30, "input-xlarge") }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label for="website" class="control-label"><b>{% trans "Site web" %}</b></label>
|
||||
<label for="website" class="control-label"><b>{{ "Site web" | trans }}</b></label>
|
||||
<div class="controls">
|
||||
<select name="scheme-website" class="input-mini">
|
||||
<option value="http://">http://</option>
|
||||
@@ -83,23 +83,23 @@
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label"><b>{% trans "Type d\'application" %}</b></label>
|
||||
<label class="control-label"><b>{{ "Type d\'application" | trans }}</b></label>
|
||||
<div class="controls">
|
||||
<label class="radio">
|
||||
<input type="radio" name="type" value="web" {{ app_type == "web" ? "checked='checked'" : "" }}/>
|
||||
{% trans "Application web" %}
|
||||
{{ "Application web" | trans }}
|
||||
</label>
|
||||
|
||||
<label class="radio">
|
||||
<input type="radio" name="type" value="desktop" {{ app_type == "desktop" ? "checked='checked'" : "" }}/>
|
||||
{% trans "Application desktop" %}
|
||||
{{ "Application desktop" | trans }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if app_type == "web" %}
|
||||
<div class="control-group">
|
||||
<label for="callback" class="control-label"><b>{% trans "URL de callback" %}</b></label>
|
||||
<label for="callback" class="control-label"><b>{{ "URL de callback" | trans }}</b></label>
|
||||
<div class="controls">
|
||||
<select name="scheme-callback" class="input-mini">
|
||||
<option value="http://">http://</option>
|
||||
@@ -112,11 +112,11 @@
|
||||
|
||||
<div class="form-actions">
|
||||
<button class="btn btn-info" type="submit">
|
||||
{% trans "boutton::valider" %}
|
||||
{{ "boutton::valider" | trans }}
|
||||
</button>
|
||||
|
||||
<a class="btn" href="{{ path("developers_applications") }}">
|
||||
{% trans "boutton::retour" %}
|
||||
{{ "boutton::retour" | trans }}
|
||||
</a>
|
||||
</div>
|
||||
</form>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% extends "account/base.html.twig" %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Client applications" %}
|
||||
{{ "Client applications" | trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% set selected = "developer" %}
|
||||
@@ -11,13 +11,13 @@
|
||||
<div class="span7">
|
||||
<div id="content-apps">
|
||||
<h1>Phraseanet Developer Center</h1>
|
||||
<h3>{% trans "Mes applications" %}</h3>
|
||||
<h3>{{ "Mes applications" | trans }}</h3>
|
||||
{% if applications|length > 0 %}
|
||||
<ul class="app-list unstyled">
|
||||
{% for application in applications %}
|
||||
<li id="app_{{ application.get_id() }}">
|
||||
<a href="#appModal-{{ loop.index }}" role="button" data-toggle="modal" class="pull-right btn btn-danger btn-small" type="button">
|
||||
{% trans "button::supprimer" %}
|
||||
{{ "button::supprimer" | trans }}
|
||||
</a>
|
||||
<!-- Modal -->
|
||||
<div id="appModal-{{ loop.index }}" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||
@@ -26,11 +26,11 @@
|
||||
<h3 id="myModalLabel">{{ application.get_name() }}</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>{% trans "Are you sure you want to delete this application?" %} </p>
|
||||
<p>{{ "Are you sure you want to delete this application?" | trans }} </p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn" data-dismiss="modal" aria-hidden="true">{% trans "No" %}</button>
|
||||
<a href="{{ path("delete_developers_application", {"id" : application.get_id()}) }}" class="delete-app btn btn-info">{% trans "Yes" %}</a>
|
||||
<button class="btn" data-dismiss="modal" aria-hidden="true">{{ "No" | trans }}</button>
|
||||
<a href="{{ path("delete_developers_application", {"id" : application.get_id()}) }}" class="delete-app btn btn-info">{{ "Yes" | trans }}</a>
|
||||
</div>
|
||||
</div>
|
||||
<p class="app-row">
|
||||
@@ -46,22 +46,22 @@
|
||||
</ul>
|
||||
{% else %}
|
||||
<div>
|
||||
{% trans "Aucune application creee." %}
|
||||
{{ "Aucune application creee." | trans }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="span5">
|
||||
<div class="well well-small">
|
||||
<p>{% trans "Decouvrez la documentation" %}</p>
|
||||
<p>{{ "Decouvrez la documentation" | trans }}</p>
|
||||
<a href="http://developer.phraseanet.com/" target="_blank" class="btn btn-large text-center input-block-level">
|
||||
{% trans "Demarrer avec l\'API Phraseanet" %}
|
||||
{{ "Demarrer avec l\'API Phraseanet" | trans }}
|
||||
</a>
|
||||
</div>
|
||||
<div class="well well-small">
|
||||
<p>{% trans "Creez une application pour commencer a utiliser l\'API Phraseanet" %}</p>
|
||||
<p>{{ "Creez une application pour commencer a utiliser l\'API Phraseanet" | trans }}</p>
|
||||
<a href="{{ path("developers_application_new") }}" class="btn-info btn btn-large text-center input-block-level">
|
||||
{% trans "Creer une nouvelle applications" %}
|
||||
{{ "Creer une nouvelle applications" | trans }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -25,7 +25,7 @@
|
||||
<table width="100%" bgcolor="#f2f2f2;" cellpadding="0" cellspacing="0" border="0" style="margin:0; padding:0; width:100% !important; line-height: 100% !important;background-color:#f2f2f2;">
|
||||
<tr>
|
||||
<td height="40" valign="center" align="center" style="font-family: Helvetica, Tahoma, Arial, sans-serif; font-size:12px; font-weight:normal; color:#999999;line-height:20px;">
|
||||
{% trans 'Si cet email contient des liens non cliquables, copiez/collez ces liens dans votre navigateur.' %}
|
||||
{{ 'Si cet email contient des liens non cliquables, copiez/collez ces liens dans votre navigateur.' | trans }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -116,7 +116,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="60" valign="center" align="center" style="font-family: Helvetica, Tahoma, Arial, sans-serif; font-size:13px; font-style:italic; color:#dc4848;">
|
||||
{% trans 'Le contenu de cet email est confidentiel, ne le divulguez pas.' %}
|
||||
{{ 'Le contenu de cet email est confidentiel, ne le divulguez pas.' | trans }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -125,7 +125,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="50" valign="center" align="center" style="font-family: Helvetica, Tahoma, Arial, sans-serif; font-size:12px; color:#999999;">
|
||||
{% trans 'Message automatique de Phraseanet' %}<br />
|
||||
{{ 'Message automatique de Phraseanet' | trans }}<br />
|
||||
{% set link %}
|
||||
<a href="{{ phraseanetURL }}" target="_blank" style="font-weight:bold; cursor:pointer; color:#999999;">
|
||||
{{ phraseanetTitle }}
|
||||
|
@@ -5,5 +5,5 @@
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% if geonames|length == 0 %}
|
||||
<div class='box boxI unselectable'> <div>{% trans 'No matches found' %}</div></div>
|
||||
<div class='box boxI unselectable'> <div>{{ 'No matches found' | trans }}</div></div>
|
||||
{% endif %}
|
||||
|
@@ -3,10 +3,10 @@
|
||||
<table style="margin-left:10px;width:220px;height:30px;" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="title">{% trans 'VALIDATION' %}</td>
|
||||
<td class="title">{{ 'VALIDATION' | trans }}</td>
|
||||
<td class="report_wrapper">
|
||||
<a class="report" href="#">
|
||||
{% trans 'lightbox::recaptitulatif' %}
|
||||
{{ 'lightbox::recaptitulatif' | trans }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -41,12 +41,12 @@
|
||||
<td>
|
||||
{% set agreement = basket_element.getUserValidationDatas(app['authentication'].getUser(), app).getAgreement() %}
|
||||
<div style="width:70px;margin:0px auto 0;" class="ui-corner-all big_box agree_{{basket_element.getId()}} agree {% if agreement is null or agreement == false %}not_decided{% endif %}">
|
||||
<img src="/skins/lightbox/agree-bigie6.gif" style="vertical-align:middle;"/><span>{% trans 'validation:: OUI' %}</span>
|
||||
<img src="/skins/lightbox/agree-bigie6.gif" style="vertical-align:middle;"/><span>{{ 'validation:: OUI' | trans }}</span>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div style="width:70px;margin:0px auto;" class="ui-corner-all big_box disagree_{{basket_element.getId()}} disagree {% if agreement is null or agreement == true %}not_decided{% endif %}">
|
||||
<img src="/skins/lightbox/disagree-bigie6.gif" style="vertical-align:middle;"/><span>{% trans 'validation:: NON' %}</span>
|
||||
<img src="/skins/lightbox/disagree-bigie6.gif" style="vertical-align:middle;"/><span>{{ 'validation:: NON' | trans }}</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% if basket.getValidation() and basket.getValidation().getParticipant(app['authentication'].getUser(), app).getCanAgree() %}
|
||||
<button class="confirm_report" title="{% trans 'validation::envoyer mon rapport'%}">
|
||||
<button class="confirm_report" title="{{ 'validation::envoyer mon rapport' | trans }}">
|
||||
<img src="/skins/lightbox/envoyerie6.gif"/>
|
||||
{% trans 'validation::envoyer mon rapport'%}
|
||||
{{ 'validation::envoyer mon rapport' | trans }}
|
||||
<img src="/skins/icons/loader1F1E1B.gif" style="visibility:hidden;" class="loader"/>
|
||||
</button>
|
||||
{% endif %}
|
||||
|
@@ -72,7 +72,7 @@
|
||||
<tr>
|
||||
<td>
|
||||
<img class="collapsed" src="/skins/lightbox/collapsedie6.gif"/>
|
||||
<span class="caption">{% trans 'notice'%}</span>
|
||||
<span class="caption">{{ 'notice' | trans }}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -106,7 +106,7 @@
|
||||
<td style="width:20px;">
|
||||
</td>
|
||||
<td style="width:40px;">
|
||||
<button class="ui-corner-all basket_downloader" title="{% trans 'boutton::telecharger tous les documents' %}">
|
||||
<button class="ui-corner-all basket_downloader" title="{{ 'boutton::telecharger tous les documents' | trans }}">
|
||||
<img src="/skins/lightbox/save.png"/>
|
||||
</button>
|
||||
</td>
|
||||
@@ -128,7 +128,7 @@
|
||||
</div>
|
||||
<div id="report" style="display:none;">
|
||||
</div>
|
||||
<div id="dialog_dwnl" title="{% trans 'action : exporter' %}" style="display:none;"></div>
|
||||
<div id="dialog_dwnl" title="{{ 'action : exporter' | trans }}" style="display:none;"></div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
@@ -1,24 +1,24 @@
|
||||
<span style="padding:10px 4px 7px;">
|
||||
{% if feed_element %}
|
||||
<button class="previous_button play" title="{% trans 'boutton::precedent' %}">
|
||||
<button class="previous_button play" title="{{ 'boutton::precedent' | trans }}">
|
||||
<img src="/skins/lightbox/previe6.png" />
|
||||
</button>
|
||||
<button class="previous_button pause" title="{% trans 'boutton::precedent' %}">
|
||||
<button class="previous_button pause" title="{{ 'boutton::precedent' | trans }}">
|
||||
<img src="/skins/lightbox/prev_pauseie6.png" />
|
||||
</button>
|
||||
<button class="play_button" title="{% trans 'boutton::demarrer' %}">
|
||||
<button class="play_button" title="{{ 'boutton::demarrer' | trans }}">
|
||||
<img src="/skins/lightbox/playie6.png" />
|
||||
</button>
|
||||
<button class="pause_button" title="{% trans 'boutton::pause' %}">
|
||||
<button class="pause_button" title="{{ 'boutton::pause' | trans }}">
|
||||
<img src="/skins/lightbox/pauseie6.png" />
|
||||
</button>
|
||||
<button class="next_button play" title="{% trans 'boutton::suivant' %}">
|
||||
<button class="next_button play" title="{{ 'boutton::suivant' | trans }}">
|
||||
<img src="/skins/lightbox/nextie6.png" />
|
||||
</button>
|
||||
<button class="next_button pause" title="{% trans 'boutton::suivant' %}">
|
||||
<button class="next_button pause" title="{{ 'boutton::suivant' | trans }}">
|
||||
<img src="/skins/lightbox/next_pauseie6.png" />
|
||||
</button>
|
||||
<button class="download_button" title="{% trans 'boutton::telecharger' %}">
|
||||
<button class="download_button" title="{{ 'boutton::telecharger' | trans }}">
|
||||
<img src="/skins/lightbox/saveie6.png"/>
|
||||
</button>
|
||||
<form name="download_form" style="display:none;">
|
||||
|
@@ -20,10 +20,10 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">
|
||||
<h1>{% trans 'Validations' %}</h1>
|
||||
<h1>{{ 'Validations' | trans }}</h1>
|
||||
</th>
|
||||
<th>
|
||||
<i>{% trans 'Voici vos validations en cours' %}</i>
|
||||
<i>{{ 'Voici vos validations en cours' | trans }}</i>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -53,11 +53,11 @@
|
||||
{{basket.getName()}}
|
||||
</h2>
|
||||
{% if basket.getValidation().isFinished() %}
|
||||
{% trans '(validation) session terminee' %}
|
||||
{{ '(validation) session terminee' | trans }}
|
||||
{% elseif basket.getValidation().getParticipant(app['authentication'].getUser(), app).getIsConfirmed() %}
|
||||
{% trans '(validation) envoyee' %}
|
||||
{{ '(validation) envoyee' | trans }}
|
||||
{% else %}
|
||||
{% trans '(validation) a envoyer' %}
|
||||
{{ '(validation) a envoyer' | trans }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="right">
|
||||
@@ -87,10 +87,10 @@
|
||||
{% endfor %}
|
||||
<tr>
|
||||
<th class="title">
|
||||
<h1>{% trans 'Paniers'%}</h1>
|
||||
<h1>{{ 'Paniers' | trans }}</h1>
|
||||
</th>
|
||||
<th>
|
||||
<i>{% trans 'Voici vos paniers' %}</i>
|
||||
<i>{{ 'Voici vos paniers' | trans }}</i>
|
||||
</th>
|
||||
</tr>
|
||||
{% for basket in baskets_collection %}
|
||||
|
@@ -1,24 +1,24 @@
|
||||
<span style="padding:10px 4px 7px;">
|
||||
{% if basket_element %}
|
||||
<button class="previous_button play" title="{% trans 'boutton::precedent' %}">
|
||||
<button class="previous_button play" title="{{ 'boutton::precedent' | trans }}">
|
||||
<img src="/skins/lightbox/previe6.png" />
|
||||
</button>
|
||||
<button class="previous_button pause" title="{% trans 'boutton::precedent' %}">
|
||||
<button class="previous_button pause" title="{{ 'boutton::precedent' | trans }}">
|
||||
<img src="/skins/lightbox/prev_pauseie6.png" />
|
||||
</button>
|
||||
<button class="play_button" title="{% trans 'boutton::demarrer' %}">
|
||||
<button class="play_button" title="{{ 'boutton::demarrer' | trans }}">
|
||||
<img src="/skins/lightbox/playie6.png" />
|
||||
</button>
|
||||
<button class="pause_button" title="{% trans 'boutton::pause' %}">
|
||||
<button class="pause_button" title="{{ 'boutton::pause' | trans }}">
|
||||
<img src="/skins/lightbox/pauseie6.png" />
|
||||
</button>
|
||||
<button class="next_button play" title="{% trans 'boutton::suivant' %}">
|
||||
<button class="next_button play" title="{{ 'boutton::suivant' | trans }}">
|
||||
<img src="/skins/lightbox/nextie6.png" />
|
||||
</button>
|
||||
<button class="next_button pause" title="{% trans 'boutton::suivant' %}">
|
||||
<button class="next_button pause" title="{{ 'boutton::suivant' | trans }}">
|
||||
<img src="/skins/lightbox/next_pauseie6.png" />
|
||||
</button>
|
||||
<button class="download_button" title="{% trans 'boutton::telecharger' %}">
|
||||
<button class="download_button" title="{{ 'boutton::telecharger' | trans }}">
|
||||
<img src="/skins/lightbox/saveie6.png"/>
|
||||
</button>
|
||||
<form name="download_form" style="display:none;">
|
||||
|
@@ -78,12 +78,12 @@
|
||||
<tr>
|
||||
<td>
|
||||
<img class="collapsed" src="/skins/lightbox/collapsedie6.gif"/>
|
||||
<span class="caption">{% trans 'notice'%}</span>
|
||||
<span class="caption">{{ 'notice' | trans }}</span>
|
||||
</td>
|
||||
{% if basket.getValidation() %}
|
||||
<td>
|
||||
<img class="collapsed" src="/skins/lightbox/collapsedie6.gif"/>
|
||||
<span class="validate highlight">{% trans 'Validation'%}</span>
|
||||
<span class="validate highlight">{{ 'Validation' | trans }}</span>
|
||||
</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
@@ -125,7 +125,7 @@
|
||||
<tr>
|
||||
<td>
|
||||
<select id="navigation">
|
||||
<optgroup label="{% trans 'Validations'%}">
|
||||
<optgroup label="{{ 'Validations' | trans }}">
|
||||
{% for item in baskets_collection %}
|
||||
{% if item.getValidation() %}
|
||||
<option {% if basket.getId() == item.getId() %} selected="selected" {% endif %}
|
||||
@@ -133,7 +133,7 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
<optgroup label="{% trans 'Paniers'%}">
|
||||
<optgroup label="{{ 'Paniers' | trans }}">
|
||||
{% for item in baskets_collection %}
|
||||
{% if item.getValidation() is null %}
|
||||
<option {% if basket.getId() == item.getId() %} selected="selected" {% endif %}
|
||||
@@ -142,7 +142,7 @@
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
</select>
|
||||
<button class="ui-corner-all basket_downloader" title="{% trans 'boutton::telecharger tous les documents' %}">
|
||||
<button class="ui-corner-all basket_downloader" title="{{ 'boutton::telecharger tous les documents' | trans }}">
|
||||
<img src="/skins/lightbox/save.png"/>
|
||||
</button>
|
||||
</td>
|
||||
@@ -161,7 +161,7 @@
|
||||
</div>
|
||||
<div id="report" style="display:none;">
|
||||
</div>
|
||||
<div id="dialog_dwnl" title="{% trans 'action : exporter' %}" style="display:none;"></div>
|
||||
<div id="dialog_dwnl" title="{{ 'action : exporter' | trans }}" style="display:none;"></div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
@@ -3,10 +3,10 @@
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="title title15">{% trans 'VALIDATION' %}</td>
|
||||
<td class="title title15">{{ 'VALIDATION' | trans }}</td>
|
||||
<td class="report_wrapper">
|
||||
<a class="report" href="#">
|
||||
{% trans 'lightbox::recaptitulatif' %}
|
||||
{{ 'lightbox::recaptitulatif' | trans }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -37,12 +37,12 @@
|
||||
<div style="height:60px;">
|
||||
{% set agreement = basket_element.getUserValidationDatas(app['authentication'].getUser(), app).getAgreement() %}
|
||||
<div class="ui-corner-all big_box agree_{{basket_element.getId()}} agree {% if agreement is null or agreement == false %}not_decided{% endif %}">
|
||||
<img src="/skins/lightbox/agree-big.png"/><span class="title15">{% trans 'validation:: OUI' %}</span>
|
||||
<img src="/skins/lightbox/agree-big.png"/><span class="title15">{{ 'validation:: OUI' | trans }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="height:60px;">
|
||||
<div class="ui-corner-all big_box disagree_{{basket_element.getId()}} disagree {% if agreement is null or agreement == true %}not_decided{% endif %}">
|
||||
<img src="/skins/lightbox/disagree-big.png"/><span class="title15">{% trans 'validation:: NON' %}</span>
|
||||
<img src="/skins/lightbox/disagree-big.png"/><span class="title15">{{ 'validation:: NON' | trans }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% if basket.getValidation() and basket.getValidation().getParticipant(app['authentication'].getUser(), app).getCanAgree() %}
|
||||
<button class="confirm_report" style="width:100%;" title="{% trans 'validation::envoyer mon rapport'%}">
|
||||
<button class="confirm_report" style="width:100%;" title="{{ 'validation::envoyer mon rapport' | trans }}">
|
||||
<img src="/skins/lightbox/envoyer.png"/>
|
||||
{% trans 'validation::envoyer mon rapport'%}
|
||||
{{ 'validation::envoyer mon rapport' | trans }}
|
||||
<img src="/skins/icons/loader1F1E1B.gif" style="visibility:hidden;" class="loader"/>
|
||||
</button>
|
||||
{% endif %}
|
||||
|
@@ -7,10 +7,10 @@
|
||||
|
||||
{% block content %}
|
||||
<div id="main_index">
|
||||
<h2 style="font-weight:bold;font-size:20px;margin:40px 0;">{% trans 'Erreur !' %}</h2>
|
||||
<h2 style="font-weight:bold;font-size:20px;margin:40px 0;">{{ 'Erreur !' | trans }}</h2>
|
||||
<p>{{ message }}</p>
|
||||
<p>{{error}}</p>
|
||||
<p><a style="color:black;" target="_self" href="{{ path('lightbox') }}">{% trans 'Retour a laccueil' %}</a></p>
|
||||
<p><a style="color:black;" target="_self" href="{{ path('lightbox') }}">{{ 'Retour a laccueil' | trans }}</a></p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
@@ -76,7 +76,7 @@
|
||||
</div>
|
||||
<div id="right_column" class="PNB">
|
||||
<div class="right_column_title title15 unselectable">
|
||||
{% trans 'notice'%}
|
||||
{{ 'notice' | trans }}
|
||||
</div>
|
||||
<div class="right_column_wrapper caption right_column_wrapper_caption PNB">
|
||||
<div id="record_infos" class="PNB">
|
||||
@@ -97,7 +97,7 @@
|
||||
<td style="width:20px;">
|
||||
</td>
|
||||
<td style="width:40px;">
|
||||
<button class="ui-corner-all basket_downloader" title="{% trans 'boutton::telecharger tous les documents' %}">
|
||||
<button class="ui-corner-all basket_downloader" title="{{ 'boutton::telecharger tous les documents' | trans }}">
|
||||
<img src="/skins/lightbox/save.png"/>
|
||||
</button>
|
||||
</td>
|
||||
@@ -120,7 +120,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="dialog_dwnl" title="{% trans 'action : exporter' %}" style="display:none;"></div>
|
||||
<div id="dialog_dwnl" title="{{ 'action : exporter' | trans }}" style="display:none;"></div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
@@ -1,24 +1,24 @@
|
||||
<span style="padding:10px 4px 7px;">
|
||||
{% if feed_element %}
|
||||
<button class="previous_button play btn btn-mini" title="{% trans 'boutton::precedent' %}">
|
||||
<button class="previous_button play btn btn-mini" title="{{ 'boutton::precedent' | trans }}">
|
||||
<i class="icon-chevron-left"></i>
|
||||
</button>
|
||||
<button class="previous_button pause btn btn-mini btn-inverse" title="{% trans 'boutton::precedent' %}">
|
||||
<button class="previous_button pause btn btn-mini btn-inverse" title="{{ 'boutton::precedent' | trans }}">
|
||||
<i class="icon-chevron-left icon-white"></i>
|
||||
</button>
|
||||
<button class="play_button btn btn-mini" title="{% trans 'boutton::demarrer' %}">
|
||||
<button class="play_button btn btn-mini" title="{{ 'boutton::demarrer' | trans }}">
|
||||
<i class="icon-play"></i>
|
||||
</button>
|
||||
<button class="pause_button btn btn-mini" title="{% trans 'boutton::pause' %}">
|
||||
<button class="pause_button btn btn-mini" title="{{ 'boutton::pause' | trans }}">
|
||||
<i class="icon-pause"></i>
|
||||
</button>
|
||||
<button class="next_button play btn btn-mini" title="{% trans 'boutton::suivant' %}">
|
||||
<button class="next_button play btn btn-mini" title="{{ 'boutton::suivant' | trans }}">
|
||||
<i class="icon-chevron-right"></i>
|
||||
</button>
|
||||
<button class="next_button pause btn btn-mini btn-inverse" title="{% trans 'boutton::suivant' %}">
|
||||
<button class="next_button pause btn btn-mini btn-inverse" title="{{ 'boutton::suivant' | trans }}">
|
||||
<i class="icon-chevron-right icon-white"></i>
|
||||
</button>
|
||||
<button class="download_button btn btn-mini btn-inverse" title="{% trans 'boutton::telecharger' %}">
|
||||
<button class="download_button btn btn-mini btn-inverse" title="{{ 'boutton::telecharger' | trans }}">
|
||||
<i class="icon-download icon-white"></i>
|
||||
</button>
|
||||
<form name="download_form" style="display:none;">
|
||||
|
@@ -21,10 +21,10 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">
|
||||
<h1>{% trans 'Validations' %}</h1>
|
||||
<h1>{{ 'Validations' | trans }}</h1>
|
||||
</th>
|
||||
<th>
|
||||
<i>{% trans 'Voici vos validations en cours' %}</i>
|
||||
<i>{{ 'Voici vos validations en cours' | trans }}</i>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -54,11 +54,11 @@
|
||||
{{basket.getName()|raw}}
|
||||
</h2>
|
||||
{% if basket.getValidation().isFinished() %}
|
||||
{% trans '(validation) session terminee' %}
|
||||
{{ '(validation) session terminee' | trans }}
|
||||
{% elseif basket.getValidation().getParticipant(app['authentication'].getUser(), app).getIsConfirmed() %}
|
||||
{% trans '(validation) envoyee' %}
|
||||
{{ '(validation) envoyee' | trans }}
|
||||
{% else %}
|
||||
{% trans '(validation) a envoyer' %}
|
||||
{{ '(validation) a envoyer' | trans }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="right">
|
||||
@@ -88,10 +88,10 @@
|
||||
{% endfor %}
|
||||
<tr>
|
||||
<th class="title">
|
||||
<h1>{% trans 'Paniers'%}</h1>
|
||||
<h1>{{ 'Paniers' | trans }}</h1>
|
||||
</th>
|
||||
<th>
|
||||
<i>{% trans 'Voici vos paniers' %}</i>
|
||||
<i>{{ 'Voici vos paniers' | trans }}</i>
|
||||
</th>
|
||||
</tr>
|
||||
{% for basket in baskets_collection %}
|
||||
|
@@ -3,7 +3,7 @@
|
||||
<div class="notes_overlay"></div>
|
||||
<div class="notes well-small">
|
||||
<div class="well-small">
|
||||
<h2 class="title15">{% trans 'validation:: votre note' %}</h2>
|
||||
<h2 class="title15">{{ 'validation:: votre note' | trans }}</h2>
|
||||
</div>
|
||||
<hr/>
|
||||
{% for validationDatas in basket_element.getValidationDatas() %}
|
||||
@@ -20,10 +20,10 @@
|
||||
<textarea>{{basket_element.getUserValidationDatas(app['authentication'].getUser(), app).getNote()}}</textarea>
|
||||
<div class="buttons">
|
||||
<button class="note_closer ui-corner-all">
|
||||
{% trans 'boutton::fermer' %}
|
||||
{{ 'boutton::fermer' | trans }}
|
||||
</button>
|
||||
<button class="note_saver ui-corner-all" id="note_saver_{{basket_element.getId()}}">
|
||||
{% trans 'boutton::enregistrer' %}
|
||||
{{ 'boutton::enregistrer' | trans }}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
|
@@ -1,24 +1,24 @@
|
||||
<span style="padding:10px 4px 7px;">
|
||||
{% if basket_element %}
|
||||
<button class="previous_button play btn btn-mini" title="{% trans 'boutton::precedent' %}">
|
||||
<button class="previous_button play btn btn-mini" title="{{ 'boutton::precedent' | trans }}">
|
||||
<i class="icon-chevron-left"></i>
|
||||
</button>
|
||||
<button class="previous_button pause btn btn-mini btn-inverse" title="{% trans 'boutton::precedent' %}">
|
||||
<button class="previous_button pause btn btn-mini btn-inverse" title="{{ 'boutton::precedent' | trans }}">
|
||||
<i class="icon-chevron-left icon-white"></i>
|
||||
</button>
|
||||
<button class="play_button btn btn-mini" title="{% trans 'boutton::demarrer' %}">
|
||||
<button class="play_button btn btn-mini" title="{{ 'boutton::demarrer' | trans }}">
|
||||
<i class="icon-play"></i>
|
||||
</button>
|
||||
<button class="pause_button btn btn-mini" title="{% trans 'boutton::pause' %}">
|
||||
<button class="pause_button btn btn-mini" title="{{ 'boutton::pause' | trans }}">
|
||||
<i class="icon-pause"></i>
|
||||
</button>
|
||||
<button class="next_button play btn btn-mini" title="{% trans 'boutton::suivant' %}">
|
||||
<button class="next_button play btn btn-mini" title="{{ 'boutton::suivant' | trans }}">
|
||||
<i class="icon-chevron-right"></i>
|
||||
</button>
|
||||
<button class="next_button pause btn btn-mini btn-inverse" title="{% trans 'boutton::suivant' %}">
|
||||
<button class="next_button pause btn btn-mini btn-inverse" title="{{ 'boutton::suivant' | trans }}">
|
||||
<i class="icon-chevron-right icon-white"></i>
|
||||
</button>
|
||||
<button class="download_button btn btn-mini btn-inverse" title="{% trans 'boutton::telecharger' %}">
|
||||
<button class="download_button btn btn-mini btn-inverse" title="{{ 'boutton::telecharger' | trans }}">
|
||||
<i class="icon-download icon-white"></i>
|
||||
</button>
|
||||
<form name="download_form" style="display:none;">
|
||||
|
@@ -91,7 +91,7 @@
|
||||
<img class="collapsed" src="/skins/lightbox/collapsed.png"/>
|
||||
<img class="expanded" src="/skins/lightbox/expanded.png"/>
|
||||
{% endif %}
|
||||
{% trans 'notice'%}
|
||||
{{ 'notice' | trans }}
|
||||
</div>
|
||||
<div class="right_column_wrapper caption right_column_wrapper_caption PNB" style="{% if basket.getValidation() %}display:none;{% endif %}">
|
||||
<div id="record_infos" class="PNB">
|
||||
@@ -111,7 +111,7 @@
|
||||
</div>
|
||||
<div id="right_column_validation_toggle" class="PNB ui-corner-all title15">
|
||||
<img src="/skins/lightbox/toexpand.png"/>
|
||||
{% trans 'VALIDATION' %}
|
||||
{{ 'VALIDATION' | trans }}
|
||||
</div>
|
||||
<div id="basket_options" class="PNB ui-corner-all unselectable">
|
||||
{% include 'lightbox/basket_options.html.twig' %}
|
||||
@@ -127,12 +127,12 @@
|
||||
</td>
|
||||
{% if basket.getValidation() %}
|
||||
<td style="width:50px;">
|
||||
<img title="{% trans 'lightbox::recaptitulatif' %}" class="report" src="/skins/lightbox/retour.png"/>
|
||||
<img title="{{ 'lightbox::recaptitulatif' | trans }}" class="report" src="/skins/lightbox/retour.png"/>
|
||||
</td>
|
||||
{% endif %}
|
||||
<td style="width:220px;">
|
||||
<select id="navigation" style='margin:0'>
|
||||
<optgroup label="{% trans 'Validations'%}">
|
||||
<optgroup label="{{ 'Validations' | trans }}">
|
||||
{% for item in baskets_collection %}
|
||||
{% if item.getValidation() %}
|
||||
<option {% if item.getId() == basket.getId() %} selected="selected" {% endif %}
|
||||
@@ -140,7 +140,7 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
<optgroup label="{% trans 'Paniers'%}">
|
||||
<optgroup label="{{ 'Paniers' | trans }}">
|
||||
{% for item in baskets_collection %}
|
||||
{% if item.getValidation() is null %}
|
||||
<option {% if basket.getId() == item.getId() %} selected="selected" {% endif %}
|
||||
@@ -151,7 +151,7 @@
|
||||
</select>
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
<button style='width:30px;margin:0;' class="ui-corner-all basket_downloader" title="{% trans 'boutton::telecharger tous les documents' %}">
|
||||
<button style='width:30px;margin:0;' class="ui-corner-all basket_downloader" title="{{ 'boutton::telecharger tous les documents' | trans }}">
|
||||
<img src="/skins/lightbox/save.png"/>
|
||||
</button>
|
||||
</td>
|
||||
@@ -178,10 +178,10 @@
|
||||
<div id="report" style="display:none;">
|
||||
</div>
|
||||
{% endif %}
|
||||
<div id="dialog_dwnl" title="{% trans 'action : exporter' %}" style="display:none;"></div>
|
||||
<div id="dialog_dwnl" title="{{ 'action : exporter' | trans }}" style="display:none;"></div>
|
||||
<script type="text/javascript">
|
||||
{% if basket.getValidation() %}
|
||||
p4.releasable = {% if basket.getValidation().getParticipant(app['authentication'].getUser(), app).isReleasable() %}"{% trans 'Do you want to send your report ?' %}"{% else %}false{% endif %}
|
||||
p4.releasable = {% if basket.getValidation().getParticipant(app['authentication'].getUser(), app).isReleasable() %}"{{ 'Do you want to send your report ?' | trans }}"{% else %}false{% endif %}
|
||||
{% endif %}
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
@@ -3,7 +3,7 @@
|
||||
{% extends "login/layout/content-only-layout.html.twig" %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Terms of use" %}
|
||||
{{ "Terms of use" | trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
@@ -3,7 +3,7 @@
|
||||
{% import "login/common/macros.html.twig" as auth_macro %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Forgotten password" %}
|
||||
{{ "Forgotten password" | trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
@@ -11,10 +11,10 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div class="text-title">
|
||||
{% trans "Forgot your password?" %}
|
||||
{{ "Forgot your password?" | trans }}
|
||||
</div>
|
||||
<div class="sidebar-hint">
|
||||
{% trans "Enter your e-mail address to retrieve your password" %}
|
||||
{{ "Enter your e-mail address to retrieve your password" | trans }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -43,7 +43,7 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<button type="submit" class="btn btn-success btn-trigger">
|
||||
{% trans "Send" %}
|
||||
{{ "Send" | trans }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -3,7 +3,7 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12 text-center">
|
||||
<a id="guest-link" class="btn btn-info btn-trigger" href="{{ path("login_authenticate_as_guest") }}">
|
||||
{% trans "Guest access" %}
|
||||
{{ "Guest access" | trans }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<div id="authentication-sidebar-language" class="text-right well-small clearfix">
|
||||
<div class="pull-left">
|
||||
<a href="{{ path("homepage") }}" title="{% trans "Home" %}"><i class="icon-home icon-white"></i></a>
|
||||
<a href="{{ path("homepage") }}" title="{{ "Home" | trans }}"><i class="icon-home icon-white"></i></a>
|
||||
</div>
|
||||
<div class="pull-right btn-group">
|
||||
<button id="language-button" class="btn btn-mini btn-flat dropdown-toggle" data-toggle="dropdown" type="button">
|
||||
@@ -13,5 +13,5 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="language pull-right">{% trans "language" %}</div>
|
||||
<div class="language pull-right">{{ "language" | trans }}</div>
|
||||
</div>
|
||||
|
@@ -2,12 +2,12 @@
|
||||
<div class="well-large sidebar-block">
|
||||
<div class="row-fluid">
|
||||
<div class="span12 text-center">
|
||||
{% trans "No account yet?" %}
|
||||
{{ "No account yet?" | trans }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<div class="span12 text-center">
|
||||
<a id="link-register" class="btn btn-success btn-trigger" href="{{ path("login_register") }}">{% trans "Register" %}</a>
|
||||
<a id="link-register" class="btn btn-success btn-trigger" href="{{ path("login_register") }}">{{ "Register" | trans }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /sidebar block -->
|
||||
|
@@ -21,7 +21,7 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12 authentication-sidebar-title">
|
||||
<div class="text-title">
|
||||
{% trans "Connection" %}
|
||||
{{ "Connection" | trans }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -33,9 +33,9 @@
|
||||
{% if unlock_usr_id is not empty %}
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
{% trans 'Your account is locked, please follow the following link to unlock it' %}<br/>
|
||||
{{ 'Your account is locked, please follow the following link to unlock it' | trans }}<br/>
|
||||
<a href="{{ path('login_send_mail', { 'usr_id' : unlock_usr_id }) }}" target ="_self">
|
||||
{% trans 'login:: Envoyer a nouveau le mail de confirmation' %}
|
||||
{{ 'login:: Envoyer a nouveau le mail de confirmation' | trans }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -67,7 +67,7 @@
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<a class="forget-password-link" href="{{ path("login_forgot_password") }}">
|
||||
{% trans "Forgot password?" %}
|
||||
{{ "Forgot password?" | trans }}
|
||||
</a>
|
||||
</div>
|
||||
{% if recaptcha_display %}
|
||||
@@ -81,7 +81,7 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<button type="submit" class="btn btn-success btn-trigger">
|
||||
{% trans "Connection" %}
|
||||
{{ "Connection" | trans }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -99,7 +99,7 @@
|
||||
<div class="well-large sidebar-block">
|
||||
<div class="row-fluid">
|
||||
<div class="span12 text-center">
|
||||
{% trans "Or login with" %}
|
||||
{{ "Or login with" | trans }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
|
@@ -96,15 +96,15 @@
|
||||
<div class="footer-block">
|
||||
<ul class="inline footer-list unstyled">
|
||||
<li class="item-first" >
|
||||
<a href="{{ path("homepage") }}">{% trans "Home" %}</a>
|
||||
<a href="{{ path("homepage") }}">{{ "Home" | trans }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">{% trans "Help" %}</a>
|
||||
<a href="#">{{ "Help" | trans }}</a>
|
||||
</li>
|
||||
{% if has_terms_of_use %}
|
||||
<li>
|
||||
{% block tou_link %}
|
||||
<a href="{{ path("login_cgus") }}">{% trans "Terms of use" %}</a>
|
||||
<a href="{{ path("login_cgus") }}">{{ "Terms of use" | trans }}</a>
|
||||
{% endblock tou_link %}
|
||||
</li>
|
||||
{% endif %}
|
||||
|
@@ -21,7 +21,7 @@
|
||||
<div class="text-title">
|
||||
{% block main_title %}{% endblock %}
|
||||
</div>
|
||||
<a class="visible-phone text-right" data-toggle="collapse" data-target="#headerDetail">{% trans "More" %} ...</a>
|
||||
<a class="visible-phone text-right" data-toggle="collapse" data-target="#headerDetail">{{ "More" | trans }} ...</a>
|
||||
<p id="headerDetail" class="collapse">
|
||||
{% block short_presentation %}{% endblock %}
|
||||
</p>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% extends "login/layout/middle-bar-layout.html.twig" %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Authorization Access" %}
|
||||
{{ "Authorization Access" | trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
@@ -18,7 +18,7 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div class="text-title">
|
||||
{% trans "Authorization Access" %}
|
||||
{{ "Authorization Access" | trans }}
|
||||
</div>
|
||||
<div>
|
||||
{% set application_name %}
|
||||
@@ -36,10 +36,10 @@
|
||||
<table class="authorize-panel fixed-table">
|
||||
<tr>
|
||||
<td class="span8">
|
||||
<a href="#" class="btn btn-trigger btn-success full-width">{% trans "Authorize" %}</a>
|
||||
<a href="#" class="btn btn-trigger btn-success full-width">{{ "Authorize" | trans }}</a>
|
||||
</td>
|
||||
<td class="text-right span4">
|
||||
<a href="#" >{% trans "Deny" %}</a>
|
||||
<a href="#" >{{ "Deny" | trans }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% extends "login/layout/middle-bar-layout.html.twig" %}
|
||||
|
||||
{% block title %}
|
||||
{% trans "Authorization code" %}
|
||||
{{ "Authorization code" | trans }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
@@ -18,10 +18,10 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div class="text-title">
|
||||
{% trans "Access code" %}
|
||||
{{ "Access code" | trans }}
|
||||
</div>
|
||||
<div>
|
||||
{% trans "Copy the code below, return to your application and paste the code to the right place." %}
|
||||
{{ "Copy the code below, return to your application and paste the code to the right place." | trans }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user