diff options
author | zotlabs <mike@macgirvin.com> | 2017-05-02 12:46:50 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-05-02 12:46:50 -0700 |
commit | 80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc (patch) | |
tree | 484f2101b78ae16f397310470b7e30f2c03d7b57 /view/theme/redbasic/tpl/posted_date_widget.tpl | |
parent | 83c4dd6bda1677a3441d06247ea076094394703e (diff) | |
download | volse-hubzilla-80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc.tar.gz volse-hubzilla-80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc.tar.bz2 volse-hubzilla-80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc.zip |
Revert "move theme specific files to theme dir"
This reverts commit e332d1074f1b663ec66d37b0f575df2e41d5535c.
Diffstat (limited to 'view/theme/redbasic/tpl/posted_date_widget.tpl')
-rwxr-xr-x | view/theme/redbasic/tpl/posted_date_widget.tpl | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/view/theme/redbasic/tpl/posted_date_widget.tpl b/view/theme/redbasic/tpl/posted_date_widget.tpl deleted file mode 100755 index fb43c744b..000000000 --- a/view/theme/redbasic/tpl/posted_date_widget.tpl +++ /dev/null @@ -1,46 +0,0 @@ -<script> - -function toggle_posted_date_button() { - if($('#posted-date-dropdown').is(':visible')) { - $('#posted-date-icon').removeClass('fa-caret-up'); - $('#posted-date-icon').addClass('fa-cog'); - $('#posted-date-dropdown').hide(); - } - else { - $('#posted-date-icon').addClass('fa-caret-up'); - $('#posted-date-icon').removeClass('fa-cog'); - $('#posted-date-dropdown').show(); - } -} -</script> - - -<div id="datebrowse-sidebar" class="widget"> - <h3>{{$title}}</h3> - <script>function dateSubmit(dateurl) { window.location.href = dateurl; } </script> - <ul id="posted-date-selector" class="nav nav-pills flex-column"> - {{foreach $dates as $y => $arr}} - {{if $y == $cutoff_year}} - </ul> - <div id="posted-date-dropdown" style="display: none;"> - <ul id="posted-date-selector-drop" class="nav nav-pills flex-column"> - {{/if}} - <li class="nav-item" id="posted-date-selector-year-{{$y}}"> - <a class="nav-link" href="#" onclick="openClose('posted-date-selector-{{$y}}'); return false;">{{$y}}</a> - </li> - <div id="posted-date-selector-{{$y}}" style="display: none;"> - <ul class="posted-date-selector-months nav nav-pills flex-column"> - {{foreach $arr as $d}} - <li class="nav-item"> - <a class="nav-link" href="#" onclick="dateSubmit('{{$url}}?f=&dend={{$d.1}}{{if $showend}}&dbegin={{$d.2}}{{/if}}'); return false;">{{$d.0}}</a> - </li> - {{/foreach}} - </ul> - </div> - {{/foreach}} - {{if $cutoff}} - </div> - <button class="btn btn-outline-secondary btn-sm" onclick="toggle_posted_date_button(); return false;"><i id="posted-date-icon" class="fa fa-cog"></i></button> - {{/if}} - </ul> -</div> |