mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Remove phraseanet registry
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
{% if app['phraseanet.registry'].get('GV_needAuth2DL') and app['authentication'].getUser().is_guest() %}
|
||||
{% if app['conf'].get(['registry', 'actions', 'auth-required-for-export']) and app['authentication'].getUser().is_guest() %}
|
||||
<script type="text/javascript">
|
||||
p4.Dialog.get(1).Close();
|
||||
parent.login({act:"dwnl",lst:"{{ lst }}",SSTTID:"{{ ssttid }}"});
|
||||
@@ -145,7 +145,7 @@
|
||||
{% endif %}
|
||||
{{ _self.choose_title('download', choose_export_title, default_export_title) }}
|
||||
|
||||
{% if app['phraseanet.registry'].get('GV_requireTOUValidationForExport') == true %}
|
||||
{% if app['conf'].get(['registry', 'actions', 'tou-validation-required-for-export']) == true %}
|
||||
<div class="well-small">
|
||||
<label for="TOU_acceptDL" class="checkbox">
|
||||
<input type="checkbox" name="TOU_accept" id="TOU_acceptDL" value="1" />
|
||||
@@ -226,7 +226,7 @@
|
||||
{% endif %}
|
||||
{{ _self.choose_title('sendmail', choose_export_title, default_export_title) }}
|
||||
|
||||
{% if app['phraseanet.registry'].get('GV_requireTOUValidationForExport') == true %}
|
||||
{% if app['conf'].get(['registry', 'actions', 'tou-validation-required-for-export']) == true %}
|
||||
<div class="well-small">
|
||||
<label for="TOU_acceptMail" class="checkbox">
|
||||
<input type="checkbox" name="TOU_accept" id="TOU_acceptMail" value="1" />
|
||||
@@ -379,7 +379,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if app['phraseanet.registry'].get('GV_requireTOUValidationForExport') == true %}
|
||||
{% if app['conf'].get(['registry', 'actions', 'tou-validation-required-for-export']) == true %}
|
||||
<div class="well-small">
|
||||
<label for="TOU_acceptOrder" class="checkbox">
|
||||
<input type="checkbox" name="TOU_accept" id="TOU_acceptOrder" value="1" />
|
||||
@@ -460,7 +460,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if app['phraseanet.registry'].get('GV_requireTOUValidationForExport') == true %}
|
||||
{% if app['conf'].get(['registry', 'actions', 'tou-validation-required-for-export']) == true %}
|
||||
<div class="well-small">
|
||||
<label for="TOU_acceptFTP" class="checkbox">
|
||||
<input type="checkbox" name="TOU_accept" id="TOU_acceptFTP" value="1" />
|
||||
@@ -639,7 +639,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
{% set max_download = app['phraseanet.registry'].get('GV_download_max', 120) %}
|
||||
{% set max_download = app['conf'].get(['registry', 'actions', 'download-max-size'], 120) %}
|
||||
{% set alert_too_big_one %}
|
||||
{% trans with {'%max_download%' : max_download} %}You can not directly download more than %max_download% Mo ; time to package all documents is too long{% endtrans %}
|
||||
{% endset %}
|
||||
|
Reference in New Issue
Block a user