Logo
Explore Help
Sign In
stian/gallery3
1
0
Fork 0
You've already forked gallery3
mirror of https://github.com/Pathduck/gallery3.git synced 2026-06-21 17:09:54 -04:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
2f9eae867c8dcd995608da63f08f8f4a8c01efbf
gallery3/themes/default/views/block.html.php

8 lines
191 B
PHP
Raw Normal View History

Change the preamble for views in two ways: 1) drop unnecessary semicolon 2) start with <?php for extra security in the case that the server itself doesn't have short_tags enabled (the app won't work, but we need to make sure that we're still secure)
2009-01-01 00:23:29 +00:00
<?php defined("SYSPATH") or die("No direct script access.") ?>
The carousel block is now off into its own module. The sidebar.html.php file loops over $theme->blocks() which in turn calls carousel::block() which uses the Block object to create a standard block UI. Hooray!
2008-11-05 05:20:20 +00:00
<div id="<?= $id ?>" class="gBlock">
Missed these in r19485.
2008-12-30 00:52:03 +00:00
<h2><?= $title ?></h2>
The carousel block is now off into its own module. The sidebar.html.php file loops over $theme->blocks() which in turn calls carousel::block() which uses the Block object to create a standard block UI. Hooray!
2008-11-05 05:20:20 +00:00
<div class="gBlockContent">
<?= $content ?>
</div>
</div>
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 187ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API