1
0

Merge branch 'master' of git@github.com:gallery/gallery3-contrib into talmdal

This commit is contained in:
Tim Almdal 2009-10-30 06:41:05 -07:00
commit 496820034c
6 changed files with 10 additions and 8 deletions

View File

@ -1,10 +1,9 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<?= html::script("modules/developer/js/developer.js") ?>
<script>
<script type="text/javascript">
$("#g-developer-form").ready(function() {
ajaxify_developer_form("#g-developer-form form", module_success);
});
</script>
<div id="g-developer-admin">
<h2><?= $title ?></h2>

View File

@ -1,5 +1,5 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<script>
<script type="text/javascript">
$("#g-generate-test-data").ready(function() {
$(".g-generate-checkbox").click(function() {
var buttons = $(this).val();

View File

@ -1,5 +1,8 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="g-dyanmic-block">
<h2> <?= t("Dynamic Albums") ?> </h2>
<div id="g-dyanmic-block" class="g-block ui-helper-clearfix">
<h1> <?= t("Dynamic Albums") ?> </h1>
<div class="g-block-content">
<?= $form ?>
</div>
</div>

View File

@ -20,7 +20,7 @@
class highroller_theme_Core {
static function head($theme) {
$theme->script("highroller.js");
printf("<script>var PICK_THEME_URL = '%s'</script>", url::site("highroller/pick_theme"));
printf("<script type=\"text/javascript\"> var PICK_THEME_URL = '%s'; </script>", url::site("highroller/pick_theme"));
}
static function header_top($theme) {

View File

@ -1,5 +1,5 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<script>
<script type="text/javascript">
$("document").ready(function() {
$("#g-tag").gallery_tag_cloud({
movie: "<?= url::file("modules/tag_cloud/lib/tagcloud.swf") ?>"

2
themes/3nids/3nids/views/photo.html.php Executable file → Normal file
View File

@ -2,7 +2,7 @@
<? if (access::can("view_full", $theme->item())): ?>
<!-- Use javascript to show the full size as an overlay on the current page -->
<script>
<script type="text/javascript">
$(document).ready(function() {
$(".gFullSizeLink").click(function() {
$.gallery_show_full_size(<?= html::js_string($theme->item()->file_url()) ?>, "<?= $theme->item()->width ?>", "<?= $theme->item()->height ?>");