first commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<ul class="nav navbar-nav">
|
||||
{foreach item=link from=$links}
|
||||
<li>
|
||||
{if $link.custom_url}
|
||||
<a href="{$link.custom_url}" target="_blank">{$link.name}</a>
|
||||
{else}
|
||||
<a href="{$link.url}">{$link.name}</a>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
@@ -0,0 +1,27 @@
|
||||
<a href="{$url}" data-toggle="modal" data-target="#webpage-modal-{$id}" rel="nofollow">{$label}</a>
|
||||
|
||||
<div class="modal fade" id="webpage-modal-{$id}" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
{literal}
|
||||
jQuery(function($) {
|
||||
$('[data-toggle="modal"]').contextmenu(function(e) {
|
||||
$(this).click();
|
||||
e.stopImmediatePropagation();
|
||||
return false;
|
||||
});
|
||||
$('[data-toggle="modal"]').mousedown(function(e) {
|
||||
if (e.which == 2) {
|
||||
$(this).click();
|
||||
e.stopImmediatePropagation();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
{/literal}
|
||||
</script>
|
||||
@@ -0,0 +1,27 @@
|
||||
<a href="{$url}" data-toggle="modal" data-target="#webpage-modal-{$id}-2" rel="nofollow">{$label}</a>
|
||||
|
||||
<div class="modal fade" id="webpage-modal-{$id}-2" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
{literal}
|
||||
jQuery(function($) {
|
||||
$('[data-toggle="modal"]').contextmenu(function(e) {
|
||||
$(this).click();
|
||||
e.stopImmediatePropagation();
|
||||
return false;
|
||||
});
|
||||
$('[data-toggle="modal"]').mousedown(function(e) {
|
||||
if (e.which == 2) {
|
||||
$(this).click();
|
||||
e.stopImmediatePropagation();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
{/literal}
|
||||
</script>
|
||||
@@ -0,0 +1,7 @@
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
||||
<h4 class="modal-title">{$webpage->getName()}</h4>
|
||||
</div>
|
||||
<div class="modal-body tinymce_html">
|
||||
{$webpage->getContent()}
|
||||
</div>
|
||||
@@ -0,0 +1,14 @@
|
||||
<div id="webpage_footer" class="col-xs-12 col-sm-9 col-md-9 col-lg-9">
|
||||
<div class="panel-group row" id="accordion_footer">
|
||||
{foreach key=row item=webpages_group from=$results}
|
||||
<div class="foot-group list-group col-xs-12 col-sm-3">
|
||||
{st_get_component module="stWebpageFrontend" component="groupWebpage" params="id=`$webpages_group.id`"}
|
||||
</div>
|
||||
{/foreach}
|
||||
{if $contact_link}
|
||||
<div class="foot-group list-group col-xs-12 col-sm-3 visible-xs">
|
||||
<h5 class="list-group-item-heading">{$contact_link}</h5>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,9 @@
|
||||
<h5 class="list-group-item-heading">
|
||||
<a data-toggle="collapse" data-parent="#accordion_footer" href="#collapse_{$webpage_group_id}">{$webpage_group_name} <span class="caret hidden-sm hidden-md hidden-lg"></span></a>
|
||||
</h5>
|
||||
<div id="collapse_{$webpage_group_id}" class="list-group collapse">
|
||||
{foreach key=row item=webpage from=$results}
|
||||
{$webpage.link}
|
||||
{$webpage.other_link}
|
||||
{/foreach}
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
{foreach key=row item=webpage from=$results}
|
||||
<li>{$webpage.link}</li>
|
||||
{/foreach}
|
||||
@@ -0,0 +1,11 @@
|
||||
<div id="webpage-show" class="error-404 text-center">
|
||||
<img class="img-error" src="{image_path image='e404.png'}" />
|
||||
<div class="title title-error">
|
||||
<h1>{__ text="Strona o podanym adresie nie istnieje." langCatalogue="stErrorFrontend"}</h1>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<a href="/" class="btn-primary btn">
|
||||
{__ text="Przejdź do strony głównej" langCatalogue="stErrorFrontend"}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,21 @@
|
||||
<div id="webpage-show">
|
||||
<div class="title">
|
||||
<h1>{$content_name}</h1>
|
||||
{st_get_component module="stAddThisFrontend" component="shareButtons" params="view='webpage'"}
|
||||
</div>
|
||||
|
||||
<div class="content tinymce_html">
|
||||
{$content}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
jQuery(function($) {
|
||||
var href = "{/literal}{$url}{literal}";
|
||||
$('.horizontal-categories').trigger('highlight', href);
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
{/literal}
|
||||
Reference in New Issue
Block a user