Changeset 32637 for extensions/greydragon/include/greydragon.class.php
- Timestamp:
- Nov 5, 2021, 8:22:02 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/greydragon/include/greydragon.class.php
r32472 r32637 3 3 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 4 4 5 define('GDTHEME_VERSION', '1.3. 5');5 define('GDTHEME_VERSION', '1.3.6'); 6 6 7 7 define("QUOTES_NONE", FALSE); … … 51 51 52 52 // Advanced Options - General 53 "p_fullscreen" => array("value" => "off", "quotes" => QUOTES_NONE), 53 54 "p_main_menu" => array("value" => "closed", "quotes" => QUOTES_NONE), // static, closed, opened, top, header-bottom, header-top, disabled 54 55 "p_animated_menu" => array("value" => "off", "quotes" => QUOTES_NONE), … … 80 81 "p_rootpage_navarr" => array("value" => "off", "quotes" => QUOTES_NONE), 81 82 "p_rootpage_navctr" => array("value" => "off", "quotes" => QUOTES_NONE), 83 "p_rootpage_noclick" => array("value" => "off", "quotes" => QUOTES_NONE), 82 84 83 85 'p_customcss' => array("value" => null, "quotes" => (QUOTES_LAZY | QUOTES_SINGLE)), … … 288 290 $r_desc = $this->getOption('p_rootpage_desc'); 289 291 $r_link = $this->getOption('p_rootpage_link'); 292 $r_noclick = $this->getOption('p_rootpage_noclick'); 290 293 $r_scr = $this->getOption('p_rootpage_src'); 291 294 $r_size = $this->getOption('p_rootpage_size'); … … 300 303 <style type="text/css"> 301 304 .titrePage { display: none; } 302 .content { max-width: 95%; margin: 1em 0 1em 4%!important; }305 .content { max-width: 100%; margin: 0 !important; } 303 306 </style> 304 307 <div id="gdHomeContent">'; … … 312 315 endif; 313 316 $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 316 352 <div style="width: 800px; min-height: 500px; display: inline-block; overflow: hidden;"> 317 353 '; … … 325 361 endif; 326 362 $content .= ' 327 </div> 328 </a> 363 </div>'; 364 if ($r_noclick != "on"): 365 $content .= ' 366 </a>'; 367 endif; 368 $content .= ' 329 369 </div> 330 370 </div>';
Note: See TracChangeset
for help on using the changeset viewer.