Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:gallery/gallery3
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Almdal committed Jan 28, 2010
2 parents 11fbcfe + df3db40 commit 1d4ed5a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
5 changes: 1 addition & 4 deletions modules/gallery/tests/xss_data.txt
Expand Up @@ -97,13 +97,11 @@ modules/gallery/views/admin_maintenance.html.php 158 DIRTY $task-
modules/gallery/views/admin_maintenance_show_log.html.php 8 DIRTY_JS url::site("admin/maintenance/save_log/$task->id?csrf=$csrf")
modules/gallery/views/admin_maintenance_show_log.html.php 13 DIRTY $task->name
modules/gallery/views/admin_maintenance_task.html.php 55 DIRTY $task->name
modules/gallery/views/admin_modules.html.php 25 DIRTY_JS t("Continue")
modules/gallery/views/admin_modules.html.php 35 DIRTY_JS t("Continue")
modules/gallery/views/admin_modules.html.php 51 DIRTY access::csrf_form_field()
modules/gallery/views/admin_modules.html.php 60 DIRTY_ATTR text::alternate("g-odd","g-even")
modules/gallery/views/admin_modules.html.php 63 DIRTY form::checkbox($data,'1',module::is_active($module_name))
modules/gallery/views/admin_modules.html.php 65 DIRTY $module_info->version
modules/gallery/views/admin_modules_confirm.html.php 11 DIRTY_ATTR $class
modules/gallery/views/admin_modules_confirm.html.php 11 DIRTY_ATTR $css_class
modules/gallery/views/admin_modules_confirm.html.php 11 DIRTY $message
modules/gallery/views/admin_modules_confirm.html.php 16 DIRTY access::csrf_form_field()
modules/gallery/views/admin_modules_confirm.html.php 18 DIRTY form::hidden($module,1)
Expand All @@ -127,7 +125,6 @@ modules/gallery/views/form_uploadify.html.php 30 DIRTY_JS url::f
modules/gallery/views/form_uploadify.html.php 31 DIRTY_JS url::site("simple_uploader/add_photo/{$album->id}")
modules/gallery/views/form_uploadify.html.php 35 DIRTY_JS url::file("lib/uploadify/cancel.png")
modules/gallery/views/form_uploadify.html.php 36 DIRTY_JS $simultaneous_upload_limit
modules/gallery/views/form_uploadify.html.php 61 DIRTY_JS t("Completed")
modules/gallery/views/in_place_edit.html.php 2 DIRTY form::open($action,array("method"=>"post","id"=>"g-in-place-edit-form","class"=>"g-short-form"),$hidden)
modules/gallery/views/in_place_edit.html.php 5 DIRTY form::input("input",$form["input"]," class=\"textbox\"")
modules/gallery/views/in_place_edit.html.php 12 DIRTY form::close()
Expand Down
4 changes: 2 additions & 2 deletions modules/gallery/views/admin_modules.html.php
Expand Up @@ -22,7 +22,7 @@
buttons: {
<?= t("Continue")->for_js() ?>: function() {
$("form", this).submit();
$(".ui-dialog-buttonpane button:contains(<?= t("Continue") ?>)")
$(".ui-dialog-buttonpane button:contains(" + <?= t("Continue")->for_js() ?> + ")")
.attr("disabled", "disabled")
.addClass("ui-state-disabled");
},
Expand All @@ -32,7 +32,7 @@
}
});
if (!data.allow_continue) {
$(".ui-dialog-buttonpane button:contains(<?= t("Continue") ?>)")
$(".ui-dialog-buttonpane button:contains(" + <?= t("Continue")->for_js() ?> + ")")
.attr("disabled", "disabled")
.addClass("ui-state-disabled");
}
Expand Down
4 changes: 2 additions & 2 deletions modules/gallery/views/admin_modules_confirm.html.php
Expand Up @@ -6,9 +6,9 @@

<div id="g-admin-modules-messages" class="g-block-content">
<ul>
<? foreach (array("error" => "g-error", "warn" => "g-warning") as $type => $class): ?>
<? foreach (array("error" => "g-error", "warn" => "g-warning") as $type => $css_class): ?>
<? foreach ($messages[$type] as $message): ?>
<li class="<?= $class ?>" style="padding-bottom: 0"><?= $message ?></li>
<li class="<?= $css_class ?>" style="padding-bottom: 0"><?= $message ?></li>
<? endforeach ?>
<? endforeach ?>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion modules/gallery/views/form_uploadify.html.php
Expand Up @@ -58,7 +58,7 @@
"<li class=\"g-error\">" + fileObj.name + " - " + msg[1] + "</li>");
} else {
$("#g-add-photos-status ul").append(
"<li class=\"g-success\">" + fileObj.name + " - <?= t("Completed") ?></li>");
"<li class=\"g-success\">" + fileObj.name + " - " + <?= t("Completed")->for_js() ?> + "</li>");
}
return true;
},
Expand Down

0 comments on commit 1d4ed5a

Please sign in to comment.