Skip to content

Commit

Permalink
Merge branch 'master' into kohana_3
Browse files Browse the repository at this point in the history
Conflicts:
	lib/uploadify/uploadify.swf.php
	modules/gallery/helpers/data_rest.php
	modules/gallery/orphans/views/form_uploadify.html.php
	modules/gallery/tests/File_Structure_Test.php
	modules/info/classes/Info/Hook/InfoBlock.php
	modules/info/classes/Info/Hook/InfoInstaller.php
  • Loading branch information
bharat committed Jun 12, 2013
2 parents 210a1cb + a3d06cc commit 1756203
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .build_number
Expand Up @@ -3,4 +3,4 @@
; process. You don't need to edit it. In fact..
;
; DO NOT EDIT THIS FILE BY HAND!
build_number=418
build_number=422
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -2,7 +2,6 @@ language: php
php:
- 5.3
- 5.4
- 5.5

branches:
only:
Expand Down
4 changes: 4 additions & 0 deletions modules/gallery/tests/File_Structure_Test.php
Expand Up @@ -169,6 +169,10 @@ public function test_code_files_start_with_preamble() {
// Front controllers
break;

case DOCROOT . "lib/mediaelementjs/flashmediaelement.swf.php":
// SWF wrappers - directly accessible
break;

case DOCROOT . "local.php":
// Special case optional file, not part of the codebase
break;
Expand Down
2 changes: 1 addition & 1 deletion modules/gallery/tests/xss_data.txt
Expand Up @@ -180,7 +180,7 @@ modules/gallery/views/error_admin.html.php 286 DIRTY_ATTR $env
modules/gallery/views/error_admin.html.php 296 DIRTY Kohana_Exception::safe_dump($value,$key)
modules/gallery/views/form_uploadify.html.php 16 DIRTY_JS url::site("uploader/status/_S/_E")
modules/gallery/views/form_uploadify.html.php 24 DIRTY_JS $flash_minimum_version
modules/gallery/views/form_uploadify.html.php 28 DIRTY_JS url::file("lib/uploadify/uploadify.php")
modules/gallery/views/form_uploadify.html.php 28 DIRTY_JS url::file("lib/uploadify/uploadify.swf.php")
modules/gallery/views/form_uploadify.html.php 29 DIRTY_JS url::site("uploader/add_photo/{$album->id}")
modules/gallery/views/form_uploadify.html.php 31 DIRTY_JS implode(";",$extensions)
modules/gallery/views/form_uploadify.html.php 33 DIRTY_JS url::file("lib/uploadify/cancel.png")
Expand Down
9 changes: 4 additions & 5 deletions modules/info/classes/Info/Hook/InfoBlock.php
Expand Up @@ -75,11 +75,10 @@ static function get($block_id, $theme) {
if (($theme->item->width && $theme->item->height) &&
Module::get_var("info", "show_dimensions")) {
$info["size"] = array(
"label" => t("Dimensions:"),
"value" => t(
"%width x %height px",
array("width" => $theme->item->width, "height" => $theme->item->height))
);
"label" => t("Dimensions:"),
"value" => t(
"%width x %height px",
array("width" => $theme->item->width, "height" => $theme->item->height)));
}

$block->content->metadata = $info;
Expand Down

0 comments on commit 1756203

Please sign in to comment.