|
@@ -4,6 +4,10 @@
|
4
|
4
|
|
5
|
5
|
{% block content %}
|
6
|
6
|
|
|
7
|
+ <a href="#" id="element_add_link" class="button gradient">
|
|
8
|
+ {{ 'home.add_element'|trans({}, 'navigationui') }} >>
|
|
9
|
+ </a>
|
|
10
|
+
|
7
|
11
|
<ul id="tabs_tag_search_buttons">
|
8
|
12
|
<li class="selected gradient">
|
9
|
13
|
<a id="tabs_tag_search_no_tags" href="#" >
|
|
@@ -22,79 +26,78 @@
|
22
|
26
|
<input type="hidden" class="filter_clear_url" value="{{ path('filter_clear') }}" />
|
23
|
27
|
<input type="hidden" class="filter_mytags_url" value="{{ path('filter_mytags') }}" />
|
24
|
28
|
|
25
|
|
- <div id="element_add_box" style="display: none;">
|
26
|
|
-
|
27
|
|
- <a href="#" id="element_add_close_link" class="button">
|
28
|
|
- << {{ 'home.add_element_box.close'|trans({}, 'navigationui') }}
|
29
|
|
- </a>
|
30
|
|
-
|
31
|
|
- <form novalidate name="{{ add_form_name }}"
|
32
|
|
- {% if app.environment != 'test' %}
|
33
|
|
- action="{{ path('element_retrieve_api_datas') }}" method="post" {{ form_enctype(add_form) }}
|
34
|
|
- {% else %}
|
35
|
|
- action="{{ path('element_add') }}" method="post" {{ form_enctype(add_form) }}
|
36
|
|
- {% endif %}
|
37
|
|
- >
|
38
|
|
-
|
39
|
|
- {% include "MuzichCoreBundle:Element:form.add.html.twig" with {
|
40
|
|
- 'form' : add_form,
|
41
|
|
- 'form_name' : add_form_name
|
42
|
|
- } %}
|
43
|
|
-
|
44
|
|
- {% if from_url is defined %}
|
45
|
|
- {% if from_url %}
|
46
|
|
- <script type="text/javascript">
|
47
|
|
- $(document).ready(function(){
|
48
|
|
- $('#element_add_box').slideDown("slow");
|
49
|
|
- $('#element_add_link').hide();
|
50
|
|
- $('form[name="search"]').slideUp();
|
51
|
|
- $('img#form_add_loader').show();
|
52
|
|
- $('input#element_add_url').val("{{ from_url }}");
|
53
|
|
- $('form[name="add"]').submit();
|
54
|
|
- });
|
55
|
|
- </script>
|
56
|
|
- {% endif %}
|
57
|
|
- {% endif %}
|
|
29
|
+ <div id="home_top_tools">
|
|
30
|
+
|
|
31
|
+ <div id="element_add_box" style="display: none;">
|
58
|
32
|
|
59
|
|
- </form>
|
60
|
|
- </div>
|
|
33
|
+ <a href="#" id="element_add_close_link" class="button">
|
|
34
|
+ << {{ 'home.add_element_box.close'|trans({}, 'navigationui') }}
|
|
35
|
+ </a>
|
61
|
36
|
|
|
37
|
+ <form novalidate name="{{ add_form_name }}"
|
|
38
|
+ {% if app.environment != 'test' %}
|
|
39
|
+ action="{{ path('element_retrieve_api_datas') }}" method="post" {{ form_enctype(add_form) }}
|
|
40
|
+ {% else %}
|
|
41
|
+ action="{{ path('element_add') }}" method="post" {{ form_enctype(add_form) }}
|
|
42
|
+ {% endif %}
|
|
43
|
+ >
|
|
44
|
+
|
|
45
|
+ {% include "MuzichCoreBundle:Element:form.add.html.twig" with {
|
|
46
|
+ 'form' : add_form,
|
|
47
|
+ 'form_name' : add_form_name
|
|
48
|
+ } %}
|
|
49
|
+
|
|
50
|
+ {% if from_url is defined %}
|
|
51
|
+ {% if from_url %}
|
|
52
|
+ <script type="text/javascript">
|
|
53
|
+ $(document).ready(function(){
|
|
54
|
+ $('#element_add_box').slideDown("slow");
|
|
55
|
+ $('#element_add_link').hide();
|
|
56
|
+ $('form[name="search"]').slideUp();
|
|
57
|
+ $('img#form_add_loader').show();
|
|
58
|
+ $('input#element_add_url').val("{{ from_url }}");
|
|
59
|
+ $('form[name="add"]').submit();
|
|
60
|
+ });
|
|
61
|
+ </script>
|
|
62
|
+ {% endif %}
|
|
63
|
+ {% endif %}
|
62
|
64
|
|
63
|
|
- <a href="#" id="element_add_link" class="button">
|
64
|
|
- {{ 'home.add_element'|trans({}, 'navigationui') }} >>
|
65
|
|
- </a>
|
|
65
|
+ </form>
|
|
66
|
+ </div>
|
|
67
|
+
|
|
68
|
+ <div id="added_element_to_group" style="display: none;">
|
|
69
|
+ <img class="loader" style="display: none;" src="{{ asset('/bundles/muzichcore/img/ajax-loader.gif') }}" alt="loading" />
|
|
70
|
+ <p class="help">
|
|
71
|
+ {{ 'element_add.added_to_group.sentence'|trans({}, 'userui') }}
|
|
72
|
+ </p>
|
|
73
|
+ <ul id="groups_to_add_element"></ul>
|
|
74
|
+ <p class="cancel">
|
|
75
|
+ <a href="" class="cancel">
|
|
76
|
+ {{ 'element_add.added_to_group.nothanks'|trans({}, 'userui') }}
|
|
77
|
+ </a>
|
|
78
|
+ </p>
|
|
79
|
+ </div>
|
|
80
|
+
|
|
81
|
+ <form name="{{ search_form_name }}" action="{{ path('search_elements') }}" method="post" {{ form_enctype(search_form) }}>
|
|
82
|
+
|
|
83
|
+ {% include "MuzichCoreBundle:SearchElement:form.html.twig" with {
|
|
84
|
+ 'form_name' : search_form_name,
|
|
85
|
+ 'search_tags' : search_tags_id
|
|
86
|
+ } %}
|
66
|
87
|
|
67
|
|
- <div id="added_element_to_group" style="display: none;">
|
68
|
|
- <img class="loader" style="display: none;" src="{{ asset('/bundles/muzichcore/img/ajax-loader.gif') }}" alt="loading" />
|
69
|
|
- <p class="help">
|
70
|
|
- {{ 'element_add.added_to_group.sentence'|trans({}, 'userui') }}
|
71
|
|
- </p>
|
72
|
|
- <ul id="groups_to_add_element"></ul>
|
73
|
|
- <p class="cancel">
|
74
|
|
- <a href="" class="cancel">
|
75
|
|
- {{ 'element_add.added_to_group.nothanks'|trans({}, 'userui') }}
|
76
|
|
- </a>
|
77
|
|
- </p>
|
78
|
|
- </div>
|
|
88
|
+ <input class="main button" type="submit" value="{{ 'filter.submit'|trans({}, 'userui') }}"/>
|
79
|
89
|
|
80
|
|
- <form name="{{ search_form_name }}" action="{{ path('search_elements') }}" method="post" {{ form_enctype(search_form) }}>
|
|
90
|
+ </form>
|
81
|
91
|
|
82
|
|
- {% include "MuzichCoreBundle:SearchElement:form.html.twig" with {
|
83
|
|
- 'form_name' : search_form_name,
|
84
|
|
- 'search_tags' : search_tags_id
|
85
|
|
- } %}
|
86
|
|
-
|
87
|
|
- <input class="main button" type="submit" value="{{ 'filter.submit'|trans({}, 'userui') }}"/>
|
88
|
|
-
|
89
|
|
- </form>
|
90
|
92
|
|
|
93
|
+ <a href="{{ path('elements_get_filter_data_autoplay', {
|
|
94
|
+ 'type' : 'filter'
|
|
95
|
+ }) }}" class="button" id="autoplay_launch"
|
|
96
|
+ title="{{ 'elements.autoplay.launch'|trans({}, 'elements') }}" >
|
|
97
|
+ <img src="{{ asset('/bundles/muzichcore/img/1353494305_player_play.png') }}" alt="" />
|
|
98
|
+ </a>
|
91
|
99
|
|
92
|
|
- <a href="{{ path('elements_get_filter_data_autoplay', {
|
93
|
|
- 'type' : 'filter'
|
94
|
|
- }) }}" class="button" id="autoplay_launch"
|
95
|
|
- title="{{ 'elements.autoplay.launch'|trans({}, 'elements') }}" >
|
96
|
|
- <img src="{{ asset('/bundles/muzichcore/img/1353494305_player_play.png') }}" alt="" />
|
97
|
|
- </a>
|
|
100
|
+ </div>
|
98
|
101
|
|
99
|
102
|
<div class="display_more_elements" style="display: none;">
|
100
|
103
|
<span></span>
|