Ignore:
Timestamp:
Nov 5, 2021, 8:22:02 AM (3 years ago)
Author:
SergeD
Message:

Version 1.3.6 - see changelog for details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/greydragon/include/greydragon.class.php

    r32472 r32637  
    33if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
    44
    5 define('GDTHEME_VERSION', '1.3.5');
     5define('GDTHEME_VERSION', '1.3.6');
    66
    77define("QUOTES_NONE",   FALSE);
     
    5151   
    5252      // Advanced Options - General
     53      "p_fullscreen"       => array("value" => "off",        "quotes" => QUOTES_NONE),
    5354      "p_main_menu"        => array("value" => "closed",     "quotes" => QUOTES_NONE), // static, closed, opened, top, header-bottom, header-top, disabled
    5455      "p_animated_menu"    => array("value" => "off",        "quotes" => QUOTES_NONE),
     
    8081      "p_rootpage_navarr"  => array("value" => "off",    "quotes" => QUOTES_NONE),
    8182      "p_rootpage_navctr"  => array("value" => "off",    "quotes" => QUOTES_NONE),
     83      "p_rootpage_noclick" => array("value" => "off",    "quotes" => QUOTES_NONE),
    8284
    8385      'p_customcss'        => array("value" => null,     "quotes" => (QUOTES_LAZY | QUOTES_SINGLE)),
     
    288290    $r_desc    = $this->getOption('p_rootpage_desc');
    289291    $r_link    = $this->getOption('p_rootpage_link');
     292    $r_noclick = $this->getOption('p_rootpage_noclick');
    290293    $r_scr     = $this->getOption('p_rootpage_src');
    291294    $r_size    = $this->getOption('p_rootpage_size');
     
    300303<style type="text/css">
    301304  .titrePage { display: none; }
    302   .content { max-width: 95%; margin: 1em 0 1em 4% !important; }
     305  .content { max-width: 100%; margin: 0 !important; }
    303306</style>
    304307<div id="gdHomeContent">';
     
    312315    endif;
    313316    $content .= '
    314   <div class="gdHomePagePhoto">
    315     <a href="index.php?/categories">
     317  <div class="gdHomePagePhoto">';
     318    if ($r_noclick != "on"):
     319      $content .= '
     320    <a href="index.php?/categories">';
     321    endif;
     322    $content .= '
     323<!--
     324<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
     325  <ol class="carousel-indicators">
     326    <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
     327    <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
     328    <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
     329  </ol>
     330  <div class="carousel-inner">
     331    <div class="carousel-item active">
     332      <img class="d-block w-100" src="..." alt="First slide">
     333    </div>
     334    <div class="carousel-item">
     335      <img class="d-block w-100" src="..." alt="Second slide">
     336    </div>
     337    <div class="carousel-item">
     338      <img class="d-block w-100" src="..." alt="Third slide">
     339    </div>
     340  </div>
     341  <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
     342    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
     343    <span class="sr-only">Previous</span>
     344  </a>
     345  <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
     346    <span class="carousel-control-next-icon" aria-hidden="true"></span>
     347    <span class="sr-only">Next</span>
     348  </a>
     349</div>
     350-->
     351
    316352      <div style="width: 800px; min-height: 500px; display: inline-block; overflow: hidden;">
    317353';
     
    325361      endif;
    326362      $content .= '     
    327       </div>
    328     </a>
     363      </div>';
     364    if ($r_noclick != "on"):
     365      $content .= '     
     366      </a>';
     367    endif;
     368    $content .= '     
    329369  </div>
    330370</div>';
Note: See TracChangeset for help on using the changeset viewer.