Skip to content

Commit

Permalink
Update test golden files.
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Apr 26, 2011
1 parent b0285f7 commit 11af2bc
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 59 deletions.
1 change: 1 addition & 0 deletions modules/gallery/tests/controller_auth_data.txt
@@ -1,6 +1,7 @@
modules/comment/controllers/admin_manage_comments.php queue DIRTY_CSRF modules/comment/controllers/admin_manage_comments.php queue DIRTY_CSRF
modules/comment/helpers/comment_rss.php feed DIRTY_AUTH modules/comment/helpers/comment_rss.php feed DIRTY_AUTH
modules/digibug/controllers/digibug.php print_proxy DIRTY_CSRF|DIRTY_AUTH modules/digibug/controllers/digibug.php print_proxy DIRTY_CSRF|DIRTY_AUTH
modules/g2_import/controllers/admin_g2_import.php autocomplete DIRTY_CSRF
modules/g2_import/controllers/g2.php map DIRTY_CSRF modules/g2_import/controllers/g2.php map DIRTY_CSRF
modules/gallery/controllers/admin.php __call DIRTY_AUTH modules/gallery/controllers/admin.php __call DIRTY_AUTH
modules/gallery/controllers/albums.php index DIRTY_AUTH modules/gallery/controllers/albums.php index DIRTY_AUTH
Expand Down
131 changes: 72 additions & 59 deletions modules/gallery/tests/xss_data.txt
Expand Up @@ -42,7 +42,8 @@ modules/digibug/views/digibug_form.html.php 4 DIRTY form::
modules/digibug/views/digibug_form.html.php 6 DIRTY form::hidden($key,$value) modules/digibug/views/digibug_form.html.php 6 DIRTY form::hidden($key,$value)
modules/exif/views/exif_dialog.html.php 14 DIRTY $details[$i]["caption"] modules/exif/views/exif_dialog.html.php 14 DIRTY $details[$i]["caption"]
modules/exif/views/exif_dialog.html.php 21 DIRTY $details[$i]["caption"] modules/exif/views/exif_dialog.html.php 21 DIRTY $details[$i]["caption"]
modules/g2_import/views/admin_g2_import.html.php 9 DIRTY $form modules/g2_import/views/admin_g2_import.html.php 7 DIRTY_JS url::site("__ARGS__")
modules/g2_import/views/admin_g2_import.html.php 52 DIRTY $form
modules/gallery/views/admin_advanced_settings.html.php 21 DIRTY_ATTR text::alternate("g-odd","g-even") modules/gallery/views/admin_advanced_settings.html.php 21 DIRTY_ATTR text::alternate("g-odd","g-even")
modules/gallery/views/admin_advanced_settings.html.php 22 DIRTY $var->module_name modules/gallery/views/admin_advanced_settings.html.php 22 DIRTY $var->module_name
modules/gallery/views/admin_block_log_entries.html.php 4 DIRTY_ATTR log::severity_class($entry->severity) modules/gallery/views/admin_block_log_entries.html.php 4 DIRTY_ATTR log::severity_class($entry->severity)
Expand Down Expand Up @@ -77,30 +78,35 @@ modules/gallery/views/admin_languages.html.php 62 DIRTY form::
modules/gallery/views/admin_languages.html.php 63 DIRTY $display_name modules/gallery/views/admin_languages.html.php 63 DIRTY $display_name
modules/gallery/views/admin_languages.html.php 65 DIRTY form::radio("default_locale",$code,($default_locale==$code),((isset($installed_locales[$code]))?'':'disabled="disabled"')) modules/gallery/views/admin_languages.html.php 65 DIRTY form::radio("default_locale",$code,($default_locale==$code),((isset($installed_locales[$code]))?'':'disabled="disabled"'))
modules/gallery/views/admin_languages.html.php 113 DIRTY $share_translations_form modules/gallery/views/admin_languages.html.php 113 DIRTY $share_translations_form
modules/gallery/views/admin_maintenance.html.php 40 DIRTY_ATTR text::alternate("g-odd","g-even") modules/gallery/views/admin_maintenance.html.php 42 DIRTY_ATTR text::alternate("g-odd","g-even")
modules/gallery/views/admin_maintenance.html.php 40 DIRTY_ATTR log::severity_class($task->severity) modules/gallery/views/admin_maintenance.html.php 42 DIRTY_ATTR log::severity_class($task->severity)
modules/gallery/views/admin_maintenance.html.php 41 DIRTY_ATTR log::severity_class($task->severity) modules/gallery/views/admin_maintenance.html.php 43 DIRTY_ATTR log::severity_class($task->severity)
modules/gallery/views/admin_maintenance.html.php 42 DIRTY $task->name modules/gallery/views/admin_maintenance.html.php 44 DIRTY $task->name
modules/gallery/views/admin_maintenance.html.php 45 DIRTY $task->description modules/gallery/views/admin_maintenance.html.php 47 DIRTY $task->description
modules/gallery/views/admin_maintenance.html.php 86 DIRTY_ATTR text::alternate("g-odd","g-even") modules/gallery/views/admin_maintenance.html.php 88 DIRTY_ATTR text::alternate("g-odd","g-even")
modules/gallery/views/admin_maintenance.html.php 86 DIRTY_ATTR $task->state=="stalled"?"g-warning":"" modules/gallery/views/admin_maintenance.html.php 88 DIRTY_ATTR $task->state=="stalled"?"g-warning":""
modules/gallery/views/admin_maintenance.html.php 87 DIRTY_ATTR $task->state=="stalled"?"g-warning":"" modules/gallery/views/admin_maintenance.html.php 89 DIRTY_ATTR $task->state=="stalled"?"g-warning":""
modules/gallery/views/admin_maintenance.html.php 88 DIRTY gallery::date_time($task->updated) modules/gallery/views/admin_maintenance.html.php 90 DIRTY gallery::date_time($task->updated)
modules/gallery/views/admin_maintenance.html.php 91 DIRTY $task->name modules/gallery/views/admin_maintenance.html.php 93 DIRTY $task->name
modules/gallery/views/admin_maintenance.html.php 106 DIRTY $task->status modules/gallery/views/admin_maintenance.html.php 108 DIRTY $task->status
modules/gallery/views/admin_maintenance.html.php 162 DIRTY_ATTR text::alternate("g-odd","g-even") modules/gallery/views/admin_maintenance.html.php 164 DIRTY_ATTR text::alternate("g-odd","g-even")
modules/gallery/views/admin_maintenance.html.php 162 DIRTY_ATTR $task->state=="success"?"g-success":"g-error" modules/gallery/views/admin_maintenance.html.php 164 DIRTY_ATTR $task->state=="success"?"g-success":"g-error"
modules/gallery/views/admin_maintenance.html.php 163 DIRTY_ATTR $task->state=="success"?"g-success":"g-error" modules/gallery/views/admin_maintenance.html.php 165 DIRTY_ATTR $task->state=="success"?"g-success":"g-error"
modules/gallery/views/admin_maintenance.html.php 164 DIRTY gallery::date_time($task->updated) modules/gallery/views/admin_maintenance.html.php 166 DIRTY gallery::date_time($task->updated)
modules/gallery/views/admin_maintenance.html.php 167 DIRTY $task->name modules/gallery/views/admin_maintenance.html.php 169 DIRTY $task->name
modules/gallery/views/admin_maintenance.html.php 179 DIRTY $task->status modules/gallery/views/admin_maintenance.html.php 181 DIRTY $task->status
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 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_show_log.html.php 13 DIRTY $task->name
modules/gallery/views/admin_maintenance_task.html.php 75 DIRTY $task->name modules/gallery/views/admin_maintenance_task.html.php 75 DIRTY $task->name
modules/gallery/views/admin_modules.html.php 51 DIRTY access::csrf_form_field() 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 61 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 64 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.html.php 66 DIRTY $module_info->version
modules/gallery/views/admin_modules.html.php 74 DIRTY_JS $module_info->author_url
modules/gallery/views/admin_modules.html.php 81 DIRTY_ATTR $module_info->author_name
modules/gallery/views/admin_modules.html.php 85 DIRTY $module_info->author_name
modules/gallery/views/admin_modules.html.php 93 DIRTY_JS $module_info->info_url
modules/gallery/views/admin_modules.html.php 106 DIRTY_JS $module_info->discuss_url
modules/gallery/views/admin_modules_confirm.html.php 11 DIRTY_ATTR $css_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 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 16 DIRTY access::csrf_form_field()
Expand All @@ -114,12 +120,17 @@ modules/gallery/views/admin_themes.html.php 3 DIRTY_JS url::s
modules/gallery/views/admin_themes.html.php 5 DIRTY_JS $csrf modules/gallery/views/admin_themes.html.php 5 DIRTY_JS $csrf
modules/gallery/views/admin_themes.html.php 22 DIRTY $themes[$site]->name modules/gallery/views/admin_themes.html.php 22 DIRTY $themes[$site]->name
modules/gallery/views/admin_themes.html.php 24 DIRTY $themes[$site]->description modules/gallery/views/admin_themes.html.php 24 DIRTY $themes[$site]->description
modules/gallery/views/admin_themes.html.php 38 DIRTY $info->name modules/gallery/views/admin_themes.html.php 39 DIRTY $info->name
modules/gallery/views/admin_themes.html.php 40 DIRTY $info->description modules/gallery/views/admin_themes.html.php 41 DIRTY $info->description
modules/gallery/views/admin_themes.html.php 60 DIRTY $themes[$admin]->name modules/gallery/views/admin_themes.html.php 62 DIRTY $themes[$admin]->name
modules/gallery/views/admin_themes.html.php 62 DIRTY $themes[$admin]->description modules/gallery/views/admin_themes.html.php 64 DIRTY $themes[$admin]->description
modules/gallery/views/admin_themes.html.php 76 DIRTY $info->name modules/gallery/views/admin_themes.html.php 79 DIRTY $info->name
modules/gallery/views/admin_themes.html.php 78 DIRTY $info->description modules/gallery/views/admin_themes.html.php 81 DIRTY $info->description
modules/gallery/views/admin_themes_buttonset.html.php 7 DIRTY_JS $info['author_url']
modules/gallery/views/admin_themes_buttonset.html.php 14 DIRTY_ATTR $info['author_name']
modules/gallery/views/admin_themes_buttonset.html.php 18 DIRTY $info['author_name']
modules/gallery/views/admin_themes_buttonset.html.php 26 DIRTY_JS $info['info_url']
modules/gallery/views/admin_themes_buttonset.html.php 39 DIRTY_JS $info['discuss_url']
modules/gallery/views/admin_themes_preview.html.php 8 DIRTY_ATTR $url modules/gallery/views/admin_themes_preview.html.php 8 DIRTY_ATTR $url
modules/gallery/views/error_404.html.php 14 DIRTY $login_form modules/gallery/views/error_404.html.php 14 DIRTY $login_form
modules/gallery/views/error_admin.html.php 178 DIRTY @gallery_block::get("platform_info") modules/gallery/views/error_admin.html.php 178 DIRTY @gallery_block::get("platform_info")
Expand Down Expand Up @@ -174,7 +185,8 @@ modules/gallery/views/form_uploadify.html.php 28 DIRTY_JS url::f
modules/gallery/views/form_uploadify.html.php 29 DIRTY_JS url::site("uploader/add_photo/{$album->id}") modules/gallery/views/form_uploadify.html.php 29 DIRTY_JS url::site("uploader/add_photo/{$album->id}")
modules/gallery/views/form_uploadify.html.php 33 DIRTY_JS url::file("lib/uploadify/cancel.png") modules/gallery/views/form_uploadify.html.php 33 DIRTY_JS url::file("lib/uploadify/cancel.png")
modules/gallery/views/form_uploadify.html.php 34 DIRTY_JS $simultaneous_upload_limit modules/gallery/views/form_uploadify.html.php 34 DIRTY_JS $simultaneous_upload_limit
modules/gallery/views/form_uploadify.html.php 160 DIRTY_ATTR request::protocol() modules/gallery/views/form_uploadify.html.php 35 DIRTY_JS $size_limit_bytes
modules/gallery/views/form_uploadify.html.php 162 DIRTY_ATTR request::protocol()
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")) 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"))
modules/gallery/views/in_place_edit.html.php 3 DIRTY access::csrf_form_field() modules/gallery/views/in_place_edit.html.php 3 DIRTY access::csrf_form_field()
modules/gallery/views/in_place_edit.html.php 6 DIRTY form::input("input",$form["input"]," class=\"textbox\"") modules/gallery/views/in_place_edit.html.php 6 DIRTY form::input("input",$form["input"]," class=\"textbox\"")
Expand Down Expand Up @@ -248,7 +260,7 @@ modules/gallery/views/permissions_form.html.php 80 DIRTY_JS $permi
modules/gallery/views/permissions_form.html.php 80 DIRTY_JS $item->id modules/gallery/views/permissions_form.html.php 80 DIRTY_JS $item->id
modules/gallery/views/quick_delete_confirm.html.php 11 DIRTY $form modules/gallery/views/quick_delete_confirm.html.php 11 DIRTY $form
modules/gallery/views/reauthenticate.html.php 9 DIRTY $form modules/gallery/views/reauthenticate.html.php 9 DIRTY $form
modules/gallery/views/upgrade_checker_block.html.php 17 DIRTY $new_version modules/gallery/views/upgrade_checker_block.html.php 19 DIRTY $new_version
modules/gallery/views/upgrader.html.php 76 DIRTY_ATTR $done?"muted":"" modules/gallery/views/upgrader.html.php 76 DIRTY_ATTR $done?"muted":""
modules/gallery/views/upgrader.html.php 94 DIRTY_ATTR $done?"muted":"" modules/gallery/views/upgrader.html.php 94 DIRTY_ATTR $done?"muted":""
modules/gallery/views/upgrader.html.php 102 DIRTY_ATTR $module->version==$module->code_version?"current":"upgradeable" modules/gallery/views/upgrader.html.php 102 DIRTY_ATTR $module->version==$module->code_version?"current":"upgradeable"
Expand Down Expand Up @@ -330,8 +342,9 @@ modules/search/views/search.html.php 27 DIRTY_ATTR $ite
modules/search/views/search.html.php 28 DIRTY_JS $item->url() modules/search/views/search.html.php 28 DIRTY_JS $item->url()
modules/search/views/search.html.php 29 DIRTY $item->thumb_img() modules/search/views/search.html.php 29 DIRTY $item->thumb_img()
modules/search/views/search.html.php 40 DIRTY $theme->paginator() modules/search/views/search.html.php 40 DIRTY $theme->paginator()
modules/server_add/views/admin_server_add.html.php 5 DIRTY $form modules/server_add/views/admin_server_add.html.php 8 DIRTY_JS url::site("__ARGS__")
modules/server_add/views/admin_server_add.html.php 15 DIRTY_ATTR $id modules/server_add/views/admin_server_add.html.php 19 DIRTY $form
modules/server_add/views/admin_server_add.html.php 30 DIRTY_ATTR $id
modules/server_add/views/server_add_tree.html.php 20 DIRTY_ATTR is_dir($file)?"ui-icon-folder-collapsed":"ui-icon-document" modules/server_add/views/server_add_tree.html.php 20 DIRTY_ATTR is_dir($file)?"ui-icon-folder-collapsed":"ui-icon-document"
modules/server_add/views/server_add_tree.html.php 21 DIRTY_ATTR is_dir($file)?"g-directory":"g-file" modules/server_add/views/server_add_tree.html.php 21 DIRTY_ATTR is_dir($file)?"g-directory":"g-file"
modules/server_add/views/server_add_tree_dialog.html.php 3 DIRTY_JS url::site("server_add/children?path=__PATH__") modules/server_add/views/server_add_tree_dialog.html.php 3 DIRTY_JS url::site("server_add/children?path=__PATH__")
Expand Down Expand Up @@ -365,21 +378,21 @@ modules/watermark/views/admin_watermarks.html.php 20 DIRTY_ATTR $wid
modules/watermark/views/admin_watermarks.html.php 20 DIRTY_ATTR $height modules/watermark/views/admin_watermarks.html.php 20 DIRTY_ATTR $height
modules/watermark/views/admin_watermarks.html.php 20 DIRTY_ATTR $url modules/watermark/views/admin_watermarks.html.php 20 DIRTY_ATTR $url
themes/admin_wind/views/admin.html.php 4 DIRTY $theme->html_attributes() themes/admin_wind/views/admin.html.php 4 DIRTY $theme->html_attributes()
themes/admin_wind/views/admin.html.php 31 DIRTY $theme->admin_head() themes/admin_wind/views/admin.html.php 33 DIRTY $theme->admin_head()
themes/admin_wind/views/admin.html.php 40 DIRTY_JS $theme->url() themes/admin_wind/views/admin.html.php 42 DIRTY_JS $theme->url()
themes/admin_wind/views/admin.html.php 45 DIRTY $theme->get_combined("script") themes/admin_wind/views/admin.html.php 47 DIRTY $theme->get_combined("css")
themes/admin_wind/views/admin.html.php 48 DIRTY $theme->get_combined("css") themes/admin_wind/views/admin.html.php 50 DIRTY $theme->get_combined("script")
themes/admin_wind/views/admin.html.php 52 DIRTY $theme->admin_page_top() themes/admin_wind/views/admin.html.php 54 DIRTY $theme->admin_page_top()
themes/admin_wind/views/admin.html.php 60 DIRTY $theme->admin_header_top() themes/admin_wind/views/admin.html.php 62 DIRTY $theme->admin_header_top()
themes/admin_wind/views/admin.html.php 61 DIRTY_JS item::root()->url() themes/admin_wind/views/admin.html.php 63 DIRTY_JS item::root()->url()
themes/admin_wind/views/admin.html.php 64 DIRTY $theme->user_menu() themes/admin_wind/views/admin.html.php 66 DIRTY $theme->user_menu()
themes/admin_wind/views/admin.html.php 67 DIRTY $theme->admin_menu() themes/admin_wind/views/admin.html.php 69 DIRTY $theme->admin_menu()
themes/admin_wind/views/admin.html.php 70 DIRTY $theme->admin_header_bottom() themes/admin_wind/views/admin.html.php 72 DIRTY $theme->admin_header_bottom()
themes/admin_wind/views/admin.html.php 77 DIRTY $content themes/admin_wind/views/admin.html.php 79 DIRTY $content
themes/admin_wind/views/admin.html.php 83 DIRTY $sidebar themes/admin_wind/views/admin.html.php 85 DIRTY $sidebar
themes/admin_wind/views/admin.html.php 88 DIRTY $theme->admin_footer() themes/admin_wind/views/admin.html.php 90 DIRTY $theme->admin_footer()
themes/admin_wind/views/admin.html.php 91 DIRTY $theme->admin_credits() themes/admin_wind/views/admin.html.php 93 DIRTY $theme->admin_credits()
themes/admin_wind/views/admin.html.php 96 DIRTY $theme->admin_page_bottom() themes/admin_wind/views/admin.html.php 98 DIRTY $theme->admin_page_bottom()
themes/admin_wind/views/block.html.php 3 DIRTY_ATTR $anchor themes/admin_wind/views/block.html.php 3 DIRTY_ATTR $anchor
themes/admin_wind/views/block.html.php 5 DIRTY $id themes/admin_wind/views/block.html.php 5 DIRTY $id
themes/admin_wind/views/block.html.php 5 DIRTY_ATTR $css_id themes/admin_wind/views/block.html.php 5 DIRTY_ATTR $css_id
Expand Down Expand Up @@ -414,19 +427,19 @@ themes/wind/views/page.html.php 4 DIRTY $theme
themes/wind/views/page.html.php 10 DIRTY $page_title themes/wind/views/page.html.php 10 DIRTY $page_title
themes/wind/views/page.html.php 13 DIRTY $theme->item()->title themes/wind/views/page.html.php 13 DIRTY $theme->item()->title
themes/wind/views/page.html.php 17 DIRTY item::root()->title themes/wind/views/page.html.php 17 DIRTY item::root()->title
themes/wind/views/page.html.php 31 DIRTY $new_width themes/wind/views/page.html.php 32 DIRTY $new_width
themes/wind/views/page.html.php 32 DIRTY $new_height themes/wind/views/page.html.php 33 DIRTY $new_height
themes/wind/views/page.html.php 33 DIRTY $thumb_proportion themes/wind/views/page.html.php 34 DIRTY $thumb_proportion
themes/wind/views/page.html.php 70 DIRTY_JS $theme->url() themes/wind/views/page.html.php 71 DIRTY_JS $theme->url()
themes/wind/views/page.html.php 75 DIRTY $theme->get_combined("script") themes/wind/views/page.html.php 76 DIRTY $theme->get_combined("css")
themes/wind/views/page.html.php 78 DIRTY $theme->get_combined("css") themes/wind/views/page.html.php 79 DIRTY $theme->get_combined("script")
themes/wind/views/page.html.php 88 DIRTY $header_text themes/wind/views/page.html.php 89 DIRTY $header_text
themes/wind/views/page.html.php 90 DIRTY_JS item::root()->url() themes/wind/views/page.html.php 91 DIRTY_JS item::root()->url()
themes/wind/views/page.html.php 94 DIRTY $theme->user_menu() themes/wind/views/page.html.php 95 DIRTY $theme->user_menu()
themes/wind/views/page.html.php 115 DIRTY_JS $parent->url($parent->id==$theme->item()->parent_id?"show={$theme->item()->id}":null) themes/wind/views/page.html.php 116 DIRTY_JS $parent->url($parent->id==$theme->item()->parent_id?"show={$theme->item()->id}":null)
themes/wind/views/page.html.php 136 DIRTY $content themes/wind/views/page.html.php 137 DIRTY $content
themes/wind/views/page.html.php 142 DIRTY newView("sidebar.html") themes/wind/views/page.html.php 143 DIRTY newView("sidebar.html")
themes/wind/views/page.html.php 149 DIRTY $footer_text themes/wind/views/page.html.php 150 DIRTY $footer_text
themes/wind/views/paginator.html.php 33 DIRTY_JS $first_page_url themes/wind/views/paginator.html.php 33 DIRTY_JS $first_page_url
themes/wind/views/paginator.html.php 42 DIRTY_JS $previous_page_url themes/wind/views/paginator.html.php 42 DIRTY_JS $previous_page_url
themes/wind/views/paginator.html.php 70 DIRTY_JS $next_page_url themes/wind/views/paginator.html.php 70 DIRTY_JS $next_page_url
Expand Down

0 comments on commit 11af2bc

Please sign in to comment.