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-22 17:29:57 -04:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
33d7fa8cf6687c662fe97d27edecb6bc0bc5a1fc
gallery3/themes/default/views/block.html.php

8 lines
195 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.") ?>
Implement deleting dashboard blocks. * Refactor blocks so that they have a separate id vs css_id. This way we can have a unique identifier for each visual block. * Store blocks with a random id as their unique identifier * Add Admin_Dashboard::remove_block() and modify themes/admin_default/views/block.html.php to call it when you click the remove box.
2009-01-12 08:26:38 +00:00
<div id="<?= $css_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: 125ms 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