Pular para o conteúdo

TV Paiaguás TV Paiaguás

Governo do Estado fortalece atuação do Cira e Defaz em MT

Um erro ocorreu enquanto processava o modelo.
Expression serviceLocator is undefined on line 109, column 43 in 20154#20194#21579.
1<#-- 
2	Nome:  
3	Estrutura: 
4	Idioma: Freemarker 
5	Descrição: 
6	Fazer cache: não 
7	Data Alteração: 2022 10 19 
8	Tarefa: 51609 
9	Obs.:    
10--> 
11 
12 
13<#if (serviceLocator.findService("com.liferay.portal.service.ReleaseLocalService"))?? > 
14     
15    <#assign radio_url = (.vars['radio_url'].getData())!"" > 
16    <#assign author = (.vars['author'].getData())!"" > 
17    <#assign chapeu = (.vars['chapeu'].getData())!"" > 
18    <#assign image = (.vars['image'].getData())!"" > 
19    <#assign descricao = (.vars['descricao'].getData())!"" > 
20     
21    <#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.portlet.journal.service.JournalArticleLocalService")> 
22    <#assign articleId = .vars['reserved-article-id'].data > 
23    <#assign journalArticle = JournalArticleLocalService.getArticle( groupId, articleId ) > 
24     
25    <#setting datetime_format="dd 'de' MMMM 'de' yyyy 'às' HH:mm"> 
26     
27    <#assign dataPublicacao = journalArticle["displayDate"]?datetime > 
28     
29    <#assign urlTitle = journalArticle["urlTitle"] > 
30     
31     
32    <div style="text-align:center;margin-bottom:20px;"> 
33        <audio controls style="width: 92%;opacity: .4;" preload="none"> 
34          <source src="${radio_url}" type="audio/mpeg"> 
35          Seu navegador não possui suporte para reprodução de áudio. 
36        </audio><a href="${radio_url}" class="download-radio"><i class="icon-download-alt"></i></a> 
37    </div> 
38     
39    Por ${author} 
40     
41    <br><br> 
42    <#if image != "" > 
43        <div style="position:relative;margin-bottom:20px;"> 
44            <img src="${image}"/> 
45        </div> 
46    </#if> 
47     
48    ${descricao} 
49     
50    <#-- 
51    ### Verificar depois como liberar compartilhamento 
52    	<div class="news-end"> 
53    		<div class="social-share"> 
54    			Compartilhe esta notícia <i class="icon-chevron-right"></i> <a style="float: right;" class="visible-phone" onclick="shareWA()" target="_blank" rel="external" data-action="share/whatsapp/share"><i class="icon-mt-whatsapp"></i></a><a onclick="shareFB()" target="_blank"><i class="icon-facebook-sign"></i></a><a onclick="shareTT()"><i class="icon-twitter-sign"></i></a><a onclick="shareGP()"><i class="icon-google-plus-sign"></i></a> 
55    		</div> 
56    	</div> 
57    	#set ($themeDisplay = $portal.getClass().forName("com.liferay.portal.theme.ThemeDisplay").newInstance()) 
58    	#set ($portalURL = $httpUtil.getProtocol($request.attributes.CURRENT_URL) + "://" + $getterUtil.getString($request.theme-display.portal-url)) 
59     
60    	<script> 
61    		function shareFB(){ 
62    			window.location.assign('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent('$portalURL/-/$ja.urlTitle')); 
63
64    		 
65    		function shareTT(){ 
66    			window.location.assign('https://twitter.com/intent/tweet?url=' + encodeURIComponent('$portalURL/-/$ja.urlTitle') + '&text=' +encodeURIComponent('Confiram esta notícia do portal MT.GOV.BR')+'&via=govmatogrosso'); 
67
68    		 
69    		function shareGP(){ 
70    			window.location.assign('https://plus.google.com/share?url=' + encodeURIComponent('$portalURL/-/$ja.urlTitle')); 
71
72    		 
73    		function shareWA(){ 
74    			window.location.assign('whatsapp://send?text=' + encodeURIComponent('Veja esta notícia no portal MT.GOV.BR: $portalURL/-/$ja.urlTitle')); 
75
76    	</script> 
77    --> 
78     
79    <style> 
80    <#if chapeu != "" > 
81        .header-title:before{content:"${chapeu}";font-size:13px;display: -webkit-box;line-height: 15px;text-transform: uppercase;font-family:'Nexa'; display: block;} 
82        .taglib-header .header-back-to a {font-size: 1.8em;margin-top: 5px;} 
83    <#else> 
84        .taglib-header .header-back-to a {font-size: 1.8em;margin-top: -10px;} 
85    </#if> 
86    .rel-content-title{font-family: 'Nexa';text-transform: uppercase;color: #fff;font-size: 14px;padding: 5px;background-color: #1255A6;} 
87    .rel-content{margin-top: 3px;padding: 10px 0;border-top: 2px solid #1255A6;} 
88    .rel-content ul{margin: 0 0;} 
89    .rel-links{margin-top:10px;} 
90    .rel-links li{list-style:none;line-height: 20px;padding: 5px;background-color: rgba(255,255,255,.5);margin-bottom: 10px;border-bottom: 1px solid #ddd;} 
91    .rel-links li:last-child{margin-bottom:0;} 
92    .rel-links li a{font-size:18px;} 
93    .related-thumbs{margin-top:10px;} 
94    .related-thumbs .sm{height: 130px;} 
95    .related-thumbs .foto-title{font-size:16px;} 
96    .related-thumbs .video-title{font-size:14px;color:#fff;position:absolute;bottom:0;left:0;background:#0071bb;line-height: 15px;padding: 3px 6px;} 
97    .rel-video-icon{text-align: center;display: block;font-size: 32px;} 
98    .rel-video-icon i{color: #e62117;background-color: #fff;line-height: 17px !important;text-indent: -1px;margin-left: 0px;width: 23px;height: 14px !important;margin-top: 42px !important;} 
99    .mt-search{display:none;} 
100    .taglib-header:after {content: "${dataPublicacao}";font-size: 12px;float:right;margin-bottom: 30px;} 
101    </style> 
102<#else> 
103    <#assign radio_url = (.vars['radio_url'].getData())!"" > 
104    <#assign author = (.vars['author'].getData())!"" > 
105    <#assign chapeu = (.vars['chapeu'].getData())!"" > 
106    <#assign image = (.vars['image'].getData())!"" > 
107    <#assign descricao = (.vars['descricao'].getData())!"" > 
108     
109    <#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
110    <#assign articleId = .vars['reserved-article-id'].data > 
111    <#assign journalArticle = JournalArticleLocalService.getArticle( groupId, articleId ) > 
112     
113    <#setting datetime_format="dd 'de' MMMM 'de' yyyy 'às' HH:mm"> 
114     
115    <#assign dataPublicacao = journalArticle["displayDate"]?datetime > 
116     
117    <#assign urlTitle = journalArticle["urlTitle"] > 
118     
119     
120    <div style="text-align:center;margin-bottom:20px;"> 
121        <audio controls style="width: 92%;opacity: .4;" preload="none"> 
122          <source src="${radio_url}" type="audio/mpeg"> 
123          Seu navegador não possui suporte para reprodução de áudio. 
124        </audio><a href="${radio_url}" class="download-radio"><i class="icon-download-alt"></i></a> 
125    </div> 
126     
127    Por ${author} 
128     
129    <br><br> 
130    <#if image != "" > 
131        <div style="position:relative;margin-bottom:20px;"> 
132            <img src="${image}"/> 
133        </div> 
134    </#if> 
135     
136    ${descricao} 
137     
138    <#-- 
139    ### Verificar depois como liberar compartilhamento 
140    	<div class="news-end"> 
141    		<div class="social-share"> 
142    			Compartilhe esta notícia <i class="icon-chevron-right"></i> <a style="float: right;" class="visible-phone" onclick="shareWA()" target="_blank" rel="external" data-action="share/whatsapp/share"><i class="icon-mt-whatsapp"></i></a><a onclick="shareFB()" target="_blank"><i class="icon-facebook-sign"></i></a><a onclick="shareTT()"><i class="icon-twitter-sign"></i></a><a onclick="shareGP()"><i class="icon-google-plus-sign"></i></a> 
143    		</div> 
144    	</div> 
145    	#set ($themeDisplay = $portal.getClass().forName("com.liferay.portal.theme.ThemeDisplay").newInstance()) 
146    	#set ($portalURL = $httpUtil.getProtocol($request.attributes.CURRENT_URL) + "://" + $getterUtil.getString($request.theme-display.portal-url)) 
147     
148    	<script> 
149    		function shareFB(){ 
150    			window.location.assign('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent('$portalURL/-/$ja.urlTitle')); 
151
152    		 
153    		function shareTT(){ 
154    			window.location.assign('https://twitter.com/intent/tweet?url=' + encodeURIComponent('$portalURL/-/$ja.urlTitle') + '&text=' +encodeURIComponent('Confiram esta notícia do portal MT.GOV.BR')+'&via=govmatogrosso'); 
155
156    		 
157    		function shareGP(){ 
158    			window.location.assign('https://plus.google.com/share?url=' + encodeURIComponent('$portalURL/-/$ja.urlTitle')); 
159
160    		 
161    		function shareWA(){ 
162    			window.location.assign('whatsapp://send?text=' + encodeURIComponent('Veja esta notícia no portal MT.GOV.BR: $portalURL/-/$ja.urlTitle')); 
163
164    	</script> 
165    --> 
166     
167    <style> 
168    <#if chapeu != "" > 
169        .header-title:before{content:"${chapeu}";font-size:13px;display: -webkit-box;line-height: 15px;text-transform: uppercase;font-family:'Nexa'; display: block;} 
170        .taglib-header .header-back-to a {font-size: 1.8em;margin-top: 5px;} 
171    <#else> 
172        .taglib-header .header-back-to a {font-size: 1.8em;margin-top: -10px;} 
173    </#if> 
174    .rel-content-title{font-family: 'Nexa';text-transform: uppercase;color: #fff;font-size: 14px;padding: 5px;background-color: #1255A6;} 
175    .rel-content{margin-top: 3px;padding: 10px 0;border-top: 2px solid #1255A6;} 
176    .rel-content ul{margin: 0 0;} 
177    .rel-links{margin-top:10px;} 
178    .rel-links li{list-style:none;line-height: 20px;padding: 5px;background-color: rgba(255,255,255,.5);margin-bottom: 10px;border-bottom: 1px solid #ddd;} 
179    .rel-links li:last-child{margin-bottom:0;} 
180    .rel-links li a{font-size:18px;} 
181    .related-thumbs{margin-top:10px;} 
182    .related-thumbs .sm{height: 130px;} 
183    .related-thumbs .foto-title{font-size:16px;} 
184    .related-thumbs .video-title{font-size:14px;color:#fff;position:absolute;bottom:0;left:0;background:#0071bb;line-height: 15px;padding: 3px 6px;} 
185    .rel-video-icon{text-align: center;display: block;font-size: 32px;} 
186    .rel-video-icon i{color: #e62117;background-color: #fff;line-height: 17px !important;text-indent: -1px;margin-left: 0px;width: 23px;height: 14px !important;margin-top: 42px !important;} 
187    .mt-search{display:none;} 
188    .taglib-header:after {content: "${dataPublicacao}";font-size: 12px;float:right;margin-bottom: 30px;} 
189    </style> 
190</#if> 

Áudios Áudios

Governo do Estado fortalece atuação do Cira e Defaz em MT

por Igor Gabriel

OUÇA MAIS