Skip to content
Snippets Groups Projects

Implement DCF Tabs

Merged Jeff Sturek requested to merge JSTUREK8/UNL_Search:dcf-tabs into master

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 1 <?php if (!$isEmbed): ?><div class="dcf-bleed dcf-mb-0 dcf-overflow-y-auto"><?php endif ?>
2 2
3 <section class="dcf-wrapper dcf-grid dcf-col-gap-vw dcf-pt-9 dcf-txt-xs unl-font-sans unl-search-results" id="search_wrapper">
3 <section class="dcf-wrapper dcf-grid dcf-col-gap-6 dcf-row-gap-9 dcf-pt-9 dcf-txt-xs unl-font-sans unl-search-results" id="search_wrapper">
  • 30 )) ?>
    31 </div>
    32 <?php endif; ?>
    33 </div>
    23 34
    24 <div class="dcf-col-100% dcf-col-33%-end@sm dcf-col-50%-end@lg dcf-pb-10 results-group" id="directory_results">
    25 <div class="result-head">
    26 <h2>Directory Results</h2>
    27 <ul class="dcf-d-flex dcf-list-bare result-tab">
    28 <li><a href="#">People</a></li>
    29 <li><a href="#">Departments</a></li>
    30 </ul>
    31 </div>
    32 <div id="ppl_results" class="search-results"></div>
    33 </div>
    35 <div class="dcf-col-100% dcf-col-33%-end@md dcf-col-50%-end@lg dcf-pb-10 results-group" id="directory_results">
  • 10 <li><a href="#local-results-container">This Site</a></li>
    11 <li><a href="#unl-results-container">All of UNL</a></li>
    12 </ul>
    13 <div id="local-results-container">
    14 <?php echo $local_results ?>
    15 </div>
    16 <div id="unl-results-container">
    17 <?php echo renderTemplate('templates/5.0/google-results.tpl.php', array(
    18 'title' => 'All of UNL',
    19 'id' => 'unl_results'
    20 )) ?>
    21 </div>
    22 </div>
    23 <?php else: ?>
    24 <h2>Web Results</h2>
    25 <span class="dcf-d-inline-block dcf-txt-sm dcf-pt-4 dcf-pr-5 dcf-pb-4 dcf-pl-5 dcf-bg-white dcf-b-1 dcf-bb-0 dcf-b-solid unl-b-light-gray search-faux-tab">All of UNL</span>
  • Author Contributor

    business.unl.edu fails since UNL_Search::getScannedPage fails when it runs $scanned = @file_get_contents($referrer);

  • Author Contributor

    Not sure why that fails though

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading