├── .gitattributes ├── installer ├── .gitignore ├── views │ ├── already_installed.html.php │ ├── invalid_db_version.html.php │ ├── invalid_db_info.html.php │ ├── oops.html.php │ ├── db_not_empty.html.php │ ├── environment_errors.html.php │ ├── missing_db.html.php │ ├── success.html.php │ └── install.html.php └── init_var.php ├── lib ├── images │ ├── logo.png │ ├── favicon.ico │ └── apple-touch-icon.png ├── uploadify │ ├── cancel.png │ └── uploadify.fla ├── mediaelementjs │ ├── bigplay.png │ ├── controls.png │ ├── loading.gif │ ├── background.png │ └── silverlightmediaelement.xap ├── superfish │ └── images │ │ └── arrows-ffffff.png ├── gallery.ajax.js ├── yui │ └── base-min.css └── jquery.cookie.js ├── themes ├── wind │ ├── thumbnail.png │ ├── images │ │ ├── avatar.jpg │ │ ├── ico-album.png │ │ ├── ico-error.png │ │ ├── ico-help.png │ │ ├── ico-info.png │ │ ├── ico-lock.png │ │ ├── ico-print.png │ │ ├── ico-denied.png │ │ ├── ico-success.png │ │ ├── ico-warning.png │ │ ├── ico-separator.gif │ │ ├── loading-large.gif │ │ ├── loading-small.gif │ │ ├── ico-denied-inactive.png │ │ ├── ico-denied-passive.png │ │ ├── ico-separator-rtl.gif │ │ ├── ico-success-passive.png │ │ ├── ico-view-comments.png │ │ ├── ico-view-fullsize.png │ │ ├── ico-view-slideshow.png │ │ ├── select-photos-backg.png │ │ ├── ico-success-inactive.png │ │ └── ico-view-slideshow-rtl.png │ ├── css │ │ ├── themeroller │ │ │ └── images │ │ │ │ ├── animated-overlay.gif │ │ │ │ ├── ui-icons_217bc0_256x240.png │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ ├── ui-icons_469bdd_256x240.png │ │ │ │ ├── ui-icons_6da8d5_256x240.png │ │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ │ ├── ui-icons_d8e7f3_256x240.png │ │ │ │ ├── ui-icons_f9bd01_256x240.png │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ ├── ui-bg_flat_55_fbec88_40x100.png │ │ │ │ ├── ui-bg_glass_75_d0e5f5_1x400.png │ │ │ │ ├── ui-bg_glass_85_dfeffc_1x400.png │ │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ │ ├── ui-bg_inset-hard_100_f5f8f9_1x100.png │ │ │ │ ├── ui-bg_inset-hard_100_fcfdfd_1x100.png │ │ │ │ └── ui-bg_gloss-wave_55_5c9ccc_500x100.png │ │ └── fix-ie.css │ ├── views │ │ ├── block.html.php │ │ ├── no_sidebar.html.php │ │ ├── sidebar.html.php │ │ ├── movie.html.php │ │ └── dynamic.html.php │ └── theme.info └── admin_wind │ ├── thumbnail.png │ ├── images │ ├── avatar.jpg │ ├── ico-info.png │ ├── ico-lock.png │ ├── ico-denied.png │ ├── ico-error.png │ ├── ico-separator.gif │ ├── ico-success.png │ ├── ico-warning.png │ ├── loading-large.gif │ ├── loading-small.gif │ ├── ico-denied-passive.png │ ├── ico-separator-rtl.gif │ ├── ico-denied-inactive.png │ ├── ico-success-inactive.png │ └── ico-success-passive.png │ ├── css │ ├── themeroller │ │ └── images │ │ │ ├── animated-overlay.gif │ │ │ ├── ui-icons_217bc0_256x240.png │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ ├── ui-icons_469bdd_256x240.png │ │ │ ├── ui-icons_6da8d5_256x240.png │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ ├── ui-icons_d8e7f3_256x240.png │ │ │ ├── ui-icons_f9bd01_256x240.png │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ ├── ui-bg_flat_55_fbec88_40x100.png │ │ │ ├── ui-bg_glass_75_d0e5f5_1x400.png │ │ │ ├── ui-bg_glass_85_dfeffc_1x400.png │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ ├── ui-bg_gloss-wave_55_5c9ccc_500x100.png │ │ │ ├── ui-bg_inset-hard_100_f5f8f9_1x100.png │ │ │ └── ui-bg_inset-hard_100_fcfdfd_1x100.png │ └── fix-ie.css │ ├── theme.info │ └── views │ └── block.html.php ├── modules ├── gallery │ ├── images │ │ ├── gd.png │ │ ├── ffmpeg.png │ │ ├── gallery.png │ │ ├── imagemagick.jpg │ │ ├── graphicsmagick.png │ │ ├── loading-small.gif │ │ ├── missing_movie.jpg │ │ ├── missing_photo.jpg │ │ └── missing_album_cover.jpg │ ├── tests │ │ ├── test.flv │ │ ├── test.jpg │ │ ├── Input_Library_Test.php │ │ ├── Valid_Test.php │ │ └── System_Helper_Test.php │ ├── views │ │ ├── error_cli.txt.php │ │ ├── admin_sidebar_blocks.html.php │ │ ├── admin_theme_options.html.php │ │ ├── user_profile_info.html.php │ │ ├── menu_dialog.html.php │ │ ├── menu_link.html.php │ │ ├── admin_block_news.html.php │ │ ├── error.html.php │ │ ├── login_current_user.html.php │ │ ├── admin_graphics_none.html.php │ │ ├── welcome_message_loader.html.php │ │ ├── admin_block_stats.html.php │ │ ├── menu_ajax_link.html.php │ │ ├── admin_themes_preview.html.php │ │ ├── quick_delete_confirm.html.php │ │ ├── reauthenticate.html.php │ │ ├── admin_block_photo_stream.html.php │ │ ├── admin_block_log_entries.html.php │ │ ├── form_uploadify_buttons.html.php │ │ ├── user_languages_block.html.php │ │ ├── menu.html.php │ │ ├── movieplayer.html.php │ │ ├── in_place_edit.html.php │ │ ├── admin_maintenance_show_log.html.php │ │ ├── error_404.html.php │ │ ├── admin_modules_confirm.html.php │ │ ├── kohana_profiler.php │ │ ├── admin_block_platform.html.php │ │ ├── admin_graphics_imagemagick.html.php │ │ ├── admin_graphics_graphicsmagick.html.php │ │ ├── admin_block_welcome.html.php │ │ └── admin_graphics_gd.html.php │ ├── js │ │ ├── item_form_delete.js │ │ └── albums_form_add.js │ ├── module.info │ ├── css │ │ └── debug.css │ ├── models │ │ ├── cache.php │ │ ├── theme.php │ │ ├── var.php │ │ ├── message.php │ │ ├── module.php │ │ ├── failed_auth.php │ │ ├── permission.php │ │ ├── access_cache.php │ │ ├── access_intent.php │ │ ├── graphics_rule.php │ │ ├── incoming_translation.php │ │ └── outgoing_translation.php │ ├── config │ │ ├── database.php │ │ ├── log_file.php │ │ ├── user_agents.php │ │ └── upload.php │ ├── libraries │ │ ├── Form_Uploadify_buttons.php │ │ ├── Block.php │ │ └── MY_Input.php │ ├── helpers │ │ ├── MY_valid.php │ │ ├── gallery_error.php │ │ ├── ajax.php │ │ └── json.php │ └── controllers │ │ ├── logout.php │ │ └── welcome_message.php ├── exif │ ├── tests │ │ └── data │ │ │ └── image.jpg │ ├── module.info │ ├── views │ │ ├── exif_sidebar.html.php │ │ └── exif_dialog.html.php │ ├── models │ │ ├── exif_key.php │ │ └── exif_record.php │ └── controllers │ │ └── exif.php ├── user │ ├── images │ │ └── progressImg1.png │ ├── module.info │ ├── views │ │ ├── admin_users_delete_user.html.php │ │ └── reset_password.html.php │ ├── helpers │ │ ├── user_theme.php │ │ └── user_event.php │ └── tests │ │ └── User_Groups_Test.php ├── g2_import │ ├── data │ │ └── broken-image.gif │ ├── module.info │ └── models │ │ └── g2_map.php ├── organize │ ├── vendor │ │ └── ext │ │ │ └── images │ │ │ ├── default │ │ │ ├── s.gif │ │ │ ├── qtip │ │ │ │ └── bg.gif │ │ │ ├── shadow.png │ │ │ ├── button │ │ │ │ └── btn.gif │ │ │ ├── dd │ │ │ │ ├── drop-no.gif │ │ │ │ └── drop-yes.gif │ │ │ ├── shadow-c.png │ │ │ ├── shadow-lr.png │ │ │ ├── toolbar │ │ │ │ └── bg.gif │ │ │ ├── box │ │ │ │ └── tb-blue.gif │ │ │ ├── form │ │ │ │ ├── text-bg.gif │ │ │ │ └── trigger.gif │ │ │ ├── grid │ │ │ │ ├── loading.gif │ │ │ │ └── invalid_line.gif │ │ │ ├── tree │ │ │ │ ├── arrows.gif │ │ │ │ ├── folder.gif │ │ │ │ ├── loading.gif │ │ │ │ ├── drop-add.gif │ │ │ │ ├── drop-over.gif │ │ │ │ ├── drop-between.gif │ │ │ │ └── folder-open.gif │ │ │ ├── window │ │ │ │ ├── left-right.png │ │ │ │ ├── top-bottom.png │ │ │ │ ├── left-corners.png │ │ │ │ └── right-corners.png │ │ │ ├── panel │ │ │ │ ├── tool-sprites.gif │ │ │ │ └── white-top-bottom.gif │ │ │ └── progress │ │ │ │ └── progress-bg.gif │ │ │ └── fam │ │ │ └── delete.gif │ ├── module.info │ ├── css │ │ └── organize_dialog.css │ ├── views │ │ └── organize_dialog.html.php │ └── helpers │ │ └── organize_installer.php ├── recaptcha │ ├── css │ │ └── recaptcha.css │ ├── module.info │ ├── views │ │ └── form_recaptcha.html.php │ └── helpers │ │ ├── recaptcha_installer.php │ │ └── recaptcha_theme.php ├── gallery_unit_test │ ├── views │ │ └── kohana │ │ │ └── error.php │ └── helpers │ │ └── MY_request.php ├── comment │ ├── views │ │ ├── admin_comments.html.php │ │ ├── user_profile_comments.html.php │ │ ├── admin_block_recent_comments.html.php │ │ └── comment.html.php │ ├── module.info │ ├── css │ │ └── comment.css │ └── js │ │ └── comment.js ├── rest │ ├── views │ │ ├── error_rest.json.php │ │ ├── reset_api_key_confirm.html.php │ │ └── user_profile_rest.html.php │ ├── module.info │ ├── models │ │ └── user_access_key.php │ └── helpers │ │ └── registry_rest.php ├── info │ ├── views │ │ └── info_block.html.php │ └── module.info ├── rss │ ├── module.info │ ├── views │ │ └── rss_block.html.php │ └── helpers │ │ └── rss.php ├── tag │ ├── module.info │ ├── views │ │ ├── tag_cloud.html.php │ │ └── tag_block.html.php │ └── helpers │ │ └── tag_theme.php ├── search │ ├── module.info │ ├── views │ │ └── search_link.html.php │ ├── models │ │ └── search_record.php │ └── helpers │ │ └── search_theme.php ├── image_block │ ├── views │ │ └── image_block_block.html.php │ ├── module.info │ └── controllers │ │ └── image_block.php ├── slideshow │ ├── module.info │ └── helpers │ │ └── slideshow_theme.php ├── watermark │ ├── module.info │ └── helpers │ │ └── watermark_event.php ├── server_add │ ├── module.info │ ├── css │ │ └── server_add.css │ ├── models │ │ └── server_add_entry.php │ ├── helpers │ │ └── server_add_theme.php │ └── views │ │ ├── admin_server_add.html.php │ │ └── server_add_tree.html.php ├── notification │ ├── module.info │ ├── views │ │ ├── user_profile_notification.html.php │ │ ├── item_deleted.html.php │ │ ├── item_added.html.php │ │ ├── comment_published.html.php │ │ └── item_updated.html.php │ └── models │ │ ├── subscription.php │ │ └── pending_notification.php ├── unit_test │ ├── config │ │ └── unit_test.php │ └── controllers │ │ └── unit_test.php ├── akismet │ ├── module.info │ ├── views │ │ ├── admin_akismet_stats.html.php │ │ └── admin_akismet.html.php │ └── helpers │ │ └── akismet_installer.php ├── forge │ └── libraries │ │ ├── Form_Radio.php │ │ ├── Form_Password.php │ │ ├── Form_Hidden.php │ │ ├── Form_Submit.php │ │ └── Form_Textarea.php └── kohana23_compat │ └── config │ └── pagination.php ├── bin ├── .htaccess └── README ├── .build_number ├── .gitignore ├── robots.txt ├── system ├── libraries │ ├── Cache_Exception.php │ ├── Database_Exception.php │ ├── Database_Expression.php │ ├── drivers │ │ ├── Log.php │ │ ├── Cache.php │ │ └── Log │ │ │ ├── Syslog.php │ │ │ ├── Database.php │ │ │ └── File.php │ ├── ORM_Validation_Exception.php │ ├── Kohana_User_Exception.php │ ├── Controller.php │ └── Kohana_404_Exception.php ├── config │ ├── image.php │ ├── profiler.php │ ├── view.php │ ├── upload.php │ ├── http.php │ ├── log.php │ └── locale.php ├── helpers │ ├── num.php │ ├── security.php │ └── db.php ├── views │ ├── profiler │ │ ├── profiler.php │ │ ├── table.php │ │ └── table.css │ └── kohana │ │ └── error_disabled.php └── messages │ ├── kohana │ └── core.php │ └── validation │ └── default.php ├── php.ini └── .travis.yml /.gitattributes: -------------------------------------------------------------------------------- 1 | .build_number merge=merge-keep-ours 2 | 3 | -------------------------------------------------------------------------------- /installer/.gitignore: -------------------------------------------------------------------------------- 1 | # ignore the tmp directory if it is present 2 | tmp 3 | -------------------------------------------------------------------------------- /lib/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/lib/images/logo.png -------------------------------------------------------------------------------- /lib/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/lib/images/favicon.ico -------------------------------------------------------------------------------- /lib/uploadify/cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/lib/uploadify/cancel.png -------------------------------------------------------------------------------- /lib/uploadify/uploadify.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/lib/uploadify/uploadify.fla -------------------------------------------------------------------------------- /themes/wind/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/thumbnail.png -------------------------------------------------------------------------------- /modules/gallery/images/gd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/gallery/images/gd.png -------------------------------------------------------------------------------- /themes/wind/images/avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/avatar.jpg -------------------------------------------------------------------------------- /lib/images/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/lib/images/apple-touch-icon.png -------------------------------------------------------------------------------- /lib/mediaelementjs/bigplay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/lib/mediaelementjs/bigplay.png -------------------------------------------------------------------------------- /lib/mediaelementjs/controls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/lib/mediaelementjs/controls.png -------------------------------------------------------------------------------- /lib/mediaelementjs/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/lib/mediaelementjs/loading.gif -------------------------------------------------------------------------------- /modules/gallery/tests/test.flv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/gallery/tests/test.flv -------------------------------------------------------------------------------- /modules/gallery/tests/test.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/gallery/tests/test.jpg -------------------------------------------------------------------------------- /themes/admin_wind/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/thumbnail.png -------------------------------------------------------------------------------- /themes/wind/images/ico-album.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-album.png -------------------------------------------------------------------------------- /themes/wind/images/ico-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-error.png -------------------------------------------------------------------------------- /themes/wind/images/ico-help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-help.png -------------------------------------------------------------------------------- /themes/wind/images/ico-info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-info.png -------------------------------------------------------------------------------- /themes/wind/images/ico-lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-lock.png -------------------------------------------------------------------------------- /themes/wind/images/ico-print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-print.png -------------------------------------------------------------------------------- /lib/mediaelementjs/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/lib/mediaelementjs/background.png -------------------------------------------------------------------------------- /modules/exif/tests/data/image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/exif/tests/data/image.jpg -------------------------------------------------------------------------------- /modules/gallery/images/ffmpeg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/gallery/images/ffmpeg.png -------------------------------------------------------------------------------- /modules/gallery/images/gallery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/gallery/images/gallery.png -------------------------------------------------------------------------------- /themes/wind/images/ico-denied.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-denied.png -------------------------------------------------------------------------------- /themes/wind/images/ico-success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-success.png -------------------------------------------------------------------------------- /themes/wind/images/ico-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-warning.png -------------------------------------------------------------------------------- /modules/user/images/progressImg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/user/images/progressImg1.png -------------------------------------------------------------------------------- /themes/admin_wind/images/avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/avatar.jpg -------------------------------------------------------------------------------- /themes/admin_wind/images/ico-info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/ico-info.png -------------------------------------------------------------------------------- /themes/admin_wind/images/ico-lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/ico-lock.png -------------------------------------------------------------------------------- /themes/wind/images/ico-separator.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-separator.gif -------------------------------------------------------------------------------- /themes/wind/images/loading-large.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/loading-large.gif -------------------------------------------------------------------------------- /themes/wind/images/loading-small.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/loading-small.gif -------------------------------------------------------------------------------- /lib/superfish/images/arrows-ffffff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/lib/superfish/images/arrows-ffffff.png -------------------------------------------------------------------------------- /modules/g2_import/data/broken-image.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/g2_import/data/broken-image.gif -------------------------------------------------------------------------------- /modules/gallery/images/imagemagick.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/gallery/images/imagemagick.jpg -------------------------------------------------------------------------------- /themes/admin_wind/images/ico-denied.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/ico-denied.png -------------------------------------------------------------------------------- /themes/admin_wind/images/ico-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/ico-error.png -------------------------------------------------------------------------------- /modules/gallery/images/graphicsmagick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/gallery/images/graphicsmagick.png -------------------------------------------------------------------------------- /modules/gallery/images/loading-small.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/gallery/images/loading-small.gif -------------------------------------------------------------------------------- /modules/gallery/images/missing_movie.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/gallery/images/missing_movie.jpg -------------------------------------------------------------------------------- /modules/gallery/images/missing_photo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/gallery/images/missing_photo.jpg -------------------------------------------------------------------------------- /themes/admin_wind/images/ico-separator.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/ico-separator.gif -------------------------------------------------------------------------------- /themes/admin_wind/images/ico-success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/ico-success.png -------------------------------------------------------------------------------- /themes/admin_wind/images/ico-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/ico-warning.png -------------------------------------------------------------------------------- /themes/admin_wind/images/loading-large.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/loading-large.gif -------------------------------------------------------------------------------- /themes/admin_wind/images/loading-small.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/loading-small.gif -------------------------------------------------------------------------------- /themes/wind/images/ico-denied-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-denied-inactive.png -------------------------------------------------------------------------------- /themes/wind/images/ico-denied-passive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-denied-passive.png -------------------------------------------------------------------------------- /themes/wind/images/ico-separator-rtl.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-separator-rtl.gif -------------------------------------------------------------------------------- /themes/wind/images/ico-success-passive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-success-passive.png -------------------------------------------------------------------------------- /themes/wind/images/ico-view-comments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-view-comments.png -------------------------------------------------------------------------------- /themes/wind/images/ico-view-fullsize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-view-fullsize.png -------------------------------------------------------------------------------- /themes/wind/images/ico-view-slideshow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-view-slideshow.png -------------------------------------------------------------------------------- /themes/wind/images/select-photos-backg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/select-photos-backg.png -------------------------------------------------------------------------------- /themes/wind/images/ico-success-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-success-inactive.png -------------------------------------------------------------------------------- /lib/mediaelementjs/silverlightmediaelement.xap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/lib/mediaelementjs/silverlightmediaelement.xap -------------------------------------------------------------------------------- /modules/gallery/images/missing_album_cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/gallery/images/missing_album_cover.jpg -------------------------------------------------------------------------------- /themes/admin_wind/images/ico-denied-passive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/ico-denied-passive.png -------------------------------------------------------------------------------- /themes/admin_wind/images/ico-separator-rtl.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/ico-separator-rtl.gif -------------------------------------------------------------------------------- /themes/wind/images/ico-view-slideshow-rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/images/ico-view-slideshow-rtl.png -------------------------------------------------------------------------------- /modules/organize/vendor/ext/images/default/s.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/organize/vendor/ext/images/default/s.gif -------------------------------------------------------------------------------- /modules/organize/vendor/ext/images/fam/delete.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/organize/vendor/ext/images/fam/delete.gif -------------------------------------------------------------------------------- /themes/admin_wind/images/ico-denied-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/ico-denied-inactive.png -------------------------------------------------------------------------------- /themes/admin_wind/images/ico-success-inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/ico-success-inactive.png -------------------------------------------------------------------------------- /themes/admin_wind/images/ico-success-passive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/images/ico-success-passive.png -------------------------------------------------------------------------------- /modules/gallery/views/error_cli.txt.php: -------------------------------------------------------------------------------- 1 | 2 | 2 |

3 | Your Gallery 3 install is complete. 4 |

5 | 6 | -------------------------------------------------------------------------------- /modules/organize/vendor/ext/images/default/panel/white-top-bottom.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/modules/organize/vendor/ext/images/default/panel/white-top-bottom.gif -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-icons_217bc0_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-icons_217bc0_256x240.png -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-icons_469bdd_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-icons_469bdd_256x240.png -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-icons_6da8d5_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-icons_6da8d5_256x240.png -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-icons_d8e7f3_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-icons_d8e7f3_256x240.png -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-icons_f9bd01_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-icons_f9bd01_256x240.png -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-bg_flat_55_fbec88_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-bg_flat_55_fbec88_40x100.png -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-bg_glass_75_d0e5f5_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-bg_glass_75_d0e5f5_1x400.png -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-bg_glass_85_dfeffc_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-bg_glass_85_dfeffc_1x400.png -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /themes/wind/css/themeroller/images/ui-bg_inset-hard_100_f5f8f9_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/css/themeroller/images/ui-bg_inset-hard_100_f5f8f9_1x100.png -------------------------------------------------------------------------------- /themes/wind/css/themeroller/images/ui-bg_inset-hard_100_fcfdfd_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/css/themeroller/images/ui-bg_inset-hard_100_fcfdfd_1x100.png -------------------------------------------------------------------------------- /themes/wind/css/themeroller/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/wind/css/themeroller/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png -------------------------------------------------------------------------------- /bin/.htaccess: -------------------------------------------------------------------------------- 1 | DirectoryIndex .htaccess 2 | SetHandler Gallery_Security_Do_Not_Remove 3 | Options None 4 | 5 | RewriteEngine off 6 | 7 | Order allow,deny 8 | Deny from all 9 | -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-bg_inset-hard_100_f5f8f9_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-bg_inset-hard_100_f5f8f9_1x100.png -------------------------------------------------------------------------------- /themes/admin_wind/css/themeroller/images/ui-bg_inset-hard_100_fcfdfd_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gallery/gallery3/master/themes/admin_wind/css/themeroller/images/ui-bg_inset-hard_100_fcfdfd_1x100.png -------------------------------------------------------------------------------- /modules/gallery_unit_test/views/kohana/error.php: -------------------------------------------------------------------------------- 1 | 2 | getMessage(), "\n"; 4 | echo $e->getFile(), ":", $e->getLine(), "\n"; 5 | echo $e->getTraceAsString(), "\n"; 6 | 7 | -------------------------------------------------------------------------------- /modules/gallery/views/admin_sidebar_blocks.html.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | $text): ?> 4 |
  • 5 | 6 | -------------------------------------------------------------------------------- /.build_number: -------------------------------------------------------------------------------- 1 | ; This file keeps track of the build number for the "master" 2 | ; branch of gallery3. It's kept up to date by an automated 3 | ; process. You don't need to edit it. In fact.. 4 | ; 5 | ; DO NOT EDIT THIS FILE BY HAND! 6 | build_number=434 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # We store Gallery3 data in var 2 | var 3 | 4 | # local.php is a local customization point that gets loaded at the end of index.php 5 | local.php 6 | 7 | # http://codex.galleryproject.org/Gallery3:Using_Vagrant 8 | Vagrantfile 9 | .vagrant 10 | -------------------------------------------------------------------------------- /modules/comment/views/admin_comments.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    4 |
    5 | 6 |
    7 |
    8 | -------------------------------------------------------------------------------- /modules/gallery/views/admin_theme_options.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    4 |
    5 | 6 |
    7 |
    8 | -------------------------------------------------------------------------------- /modules/rest/views/error_rest.json.php: -------------------------------------------------------------------------------- 1 | 2 | response, 1)); 5 | ?> 6 | response); -------------------------------------------------------------------------------- /installer/views/invalid_db_version.html.php: -------------------------------------------------------------------------------- 1 | 2 |

    Uh oh!

    3 |

    4 | Gallery requires at least MySQL version 5.0.0. You're using version 5 |

    6 | -------------------------------------------------------------------------------- /installer/views/invalid_db_info.html.php: -------------------------------------------------------------------------------- 1 | 2 |

    Uh oh!

    3 |

    4 | We were unable to connect to your MySQL server with the username and 5 | password that you provided. Please go back and try again! 6 |

    7 | -------------------------------------------------------------------------------- /bin/README: -------------------------------------------------------------------------------- 1 | This directory contains utility software that Gallery uses to perform 2 | image manipulation and other useful functions. It should not be 3 | accessible from a web browser, and by default it's empty. Gallery 4 | will instruct you when it's appropriate to download software and 5 | install it here. 6 | -------------------------------------------------------------------------------- /modules/info/views/info_block.html.php: -------------------------------------------------------------------------------- 1 | 2 | 9 | -------------------------------------------------------------------------------- /modules/rss/module.info: -------------------------------------------------------------------------------- 1 | name = "RSS" 2 | description = "Provides RSS feeds" 3 | version = 1 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:rss" 7 | discuss_url = "http://galleryproject.org/forum_module_rss" 8 | -------------------------------------------------------------------------------- /themes/wind/views/block.html.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
    6 |

    7 |
    8 | 9 |
    10 |
    11 | -------------------------------------------------------------------------------- /modules/gallery/views/user_profile_info.html.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | $value): ?> 4 | 5 | 6 | 7 | 8 | 9 |
    10 | -------------------------------------------------------------------------------- /modules/tag/module.info: -------------------------------------------------------------------------------- 1 | name = "Tags" 2 | description = "Allows users to tag photos and albums" 3 | version = 3 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:tag" 7 | discuss_url = "http://galleryproject.org/forum_module_tag" 8 | -------------------------------------------------------------------------------- /installer/views/oops.html.php: -------------------------------------------------------------------------------- 1 | 2 |

    Oops!

    3 |

    4 | Something unexpected happened and we can't finish your install. 5 | We'll try to provide some details about the specific problem below. 6 |

    7 |

    8 | 9 |

    10 | 11 | -------------------------------------------------------------------------------- /modules/gallery/module.info: -------------------------------------------------------------------------------- 1 | name = "Gallery 3" 2 | description = "Gallery core application" 3 | version = 58 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:gallery" 7 | discuss_url = "http://galleryproject.org/forum_module_gallery" 8 | -------------------------------------------------------------------------------- /modules/search/module.info: -------------------------------------------------------------------------------- 1 | name = "Search" 2 | description = "Allows users to search their Gallery" 3 | version = 1 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:search" 7 | discuss_url = "http://galleryproject.org/forum_module_search" 8 | -------------------------------------------------------------------------------- /modules/info/module.info: -------------------------------------------------------------------------------- 1 | name = "Info" 2 | description = "Display extra information about photos and albums" 3 | version = 3 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:info" 7 | discuss_url = "http://galleryproject.org/forum_module_info" 8 | -------------------------------------------------------------------------------- /modules/user/module.info: -------------------------------------------------------------------------------- 1 | name = "Users and Groups" 2 | description = "Gallery 3 user and group management" 3 | version = 4 4 | 5 | author_name = "Gallery Team" 6 | author_url = "http://codex.galleryproject.org/Gallery:Team" 7 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:user" 8 | discuss_url = "http://galleryproject.org/forum_module_user" 9 | -------------------------------------------------------------------------------- /themes/admin_wind/css/fix-ie.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Fix display in IE 6 and 7 3 | */ 4 | 5 | .g-unavailable { 6 | filter: alpha(opacity=40); 7 | } 8 | 9 | .g-unavailable:hover { 10 | filter: alpha(opacity=100); 11 | } 12 | 13 | tr.g-error td, 14 | tr.g-info td, 15 | tr.g-success td, 16 | tr.g-warning td { 17 | background: none !important; 18 | } 19 | -------------------------------------------------------------------------------- /modules/exif/module.info: -------------------------------------------------------------------------------- 1 | name = "Exif Data" 2 | description = "Extract Exif data and display it on photo pages." 3 | version = 1 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:exif" 7 | discuss_url = "http://galleryproject.org/forum_module_exif" 8 | -------------------------------------------------------------------------------- /modules/image_block/views/image_block_block.html.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
    4 | id); ?>"> 5 | thumb_img(array("class" => "g-thumbnail")) ?> 6 | 7 |
    8 | 9 | -------------------------------------------------------------------------------- /modules/rest/views/reset_api_key_confirm.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    4 | 5 |

    6 | 7 |
    8 | -------------------------------------------------------------------------------- /modules/slideshow/module.info: -------------------------------------------------------------------------------- 1 | name = "Slideshow" 2 | description = "Allows users to view a slideshow of photos" 3 | version = 2 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:slideshow" 7 | discuss_url = "http://galleryproject.org/forum_module_slideshow" 8 | -------------------------------------------------------------------------------- /modules/watermark/module.info: -------------------------------------------------------------------------------- 1 | name = "Watermarks" 2 | description = "Allows users to watermark their photos" 3 | version = 2 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:watermark" 7 | discuss_url = "http://galleryproject.org/forum_module_watermark" 8 | -------------------------------------------------------------------------------- /modules/image_block/module.info: -------------------------------------------------------------------------------- 1 | name = "Image Block" 2 | description = "Display a random image in the sidebar" 3 | version = 3 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:image_block" 7 | discuss_url = "http://galleryproject.org/forum_module_image_block" 8 | -------------------------------------------------------------------------------- /modules/organize/module.info: -------------------------------------------------------------------------------- 1 | name = "Organize" 2 | description = "Visually rearrange and move photos in your gallery" 3 | version = 4 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:organize" 7 | discuss_url = "http://galleryproject.org/forum_module_organize" 8 | -------------------------------------------------------------------------------- /modules/g2_import/module.info: -------------------------------------------------------------------------------- 1 | name = "Gallery 2 Import" 2 | description = "Import your Gallery 2 content into Gallery 3" 3 | version = 2 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:g2_import" 7 | discuss_url = "http://galleryproject.org/forum_module_g2_import" 8 | -------------------------------------------------------------------------------- /robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: /application/ 3 | Disallow: /installer/ 4 | Disallow: /lib/ 5 | Disallow: /modules/ 6 | Disallow: /system/ 7 | Disallow: /themes/ 8 | Disallow: /var/logs/ 9 | Disallow: /var/modules/ 10 | Disallow: /var/resizes/ 11 | Disallow: /var/thumbs/ 12 | Disallow: /var/tmp/ 13 | Disallow: /var/uploads/ 14 | Disallow: /digibug/print_photo/ 15 | -------------------------------------------------------------------------------- /modules/comment/module.info: -------------------------------------------------------------------------------- 1 | name = "Comments" 2 | description = "Allows users and guests to leave comments on photos and albums." 3 | version = 8 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:comment" 7 | discuss_url = "http://galleryproject.org/forum_module_comment" 8 | -------------------------------------------------------------------------------- /system/libraries/Cache_Exception.php: -------------------------------------------------------------------------------- 1 | 2 |
  • 3 | css_id ? "id='{$menu->css_id}'" : "" ?> 4 | class="g-dialog-link css_class ?>" 5 | href="url ?>" 6 | title="label->for_html_attr() ?>"> 7 | label->for_html() ?> 8 | 9 |
  • 10 | -------------------------------------------------------------------------------- /modules/gallery/views/menu_link.html.php: -------------------------------------------------------------------------------- 1 | 2 |
  • 3 | css_id ? "id='{$menu->css_id}'" : "" ?> 4 | class="g-menu-link css_class ?>" 5 | href="url ?>" 6 | title="label->for_html_attr() ?>"> 7 | label->for_html() ?> 8 | 9 |
  • 10 | -------------------------------------------------------------------------------- /modules/gallery/js/albums_form_add.js: -------------------------------------------------------------------------------- 1 | $("#g-add-album-form input[name='title']").on("input keyup", function() { 2 | $("#g-add-album-form input[name='name']").val( 3 | $(this).val().replace(/[\s\/\\]+/g, "-").replace(/\.+$/, "")); 4 | $("#g-add-album-form input[name='slug']").val( 5 | $(this).val().replace(/[^A-Za-z0-9-_]+/g, "-").replace(/^-+/, "").replace(/-+$/, "")); 6 | }); 7 | -------------------------------------------------------------------------------- /modules/gallery/views/admin_block_news.html.php: -------------------------------------------------------------------------------- 1 | 2 | 12 | -------------------------------------------------------------------------------- /modules/gallery/views/error.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    4 | 5 |

    6 |

    7 | 8 |

    9 |

    10 | 11 |

    12 |
    -------------------------------------------------------------------------------- /modules/gallery/views/login_current_user.html.php: -------------------------------------------------------------------------------- 1 | 2 |
  • 3 | label->for_html() ?> 4 | for_html_attr() ?> 5 | html::mark_clean( 6 | "{$name}"))) ?> 7 |
  • 8 | -------------------------------------------------------------------------------- /modules/server_add/module.info: -------------------------------------------------------------------------------- 1 | name = "Server Add" 2 | description = "Allows authorized users to load images directly from your web server" 3 | version = 4 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:server_add" 7 | discuss_url = "http://galleryproject.org/forum_module_server_add" 8 | -------------------------------------------------------------------------------- /modules/tag/views/tag_cloud.html.php: -------------------------------------------------------------------------------- 1 | 2 | 10 | -------------------------------------------------------------------------------- /installer/views/db_not_empty.html.php: -------------------------------------------------------------------------------- 1 | 2 |

    Uh oh!

    3 |

    4 | The database you provided already has Gallery 3 tables in it. 5 | Continuing with the install would overwrite your existing install. 6 | Please either use a different database, delete the old tables, 7 | or choose a different table prefix. 8 |

    9 | -------------------------------------------------------------------------------- /modules/gallery/views/admin_graphics_none.html.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
    4 |

    5 |

    6 | 7 |

    8 |
    9 | -------------------------------------------------------------------------------- /modules/notification/module.info: -------------------------------------------------------------------------------- 1 | name = "Notification" 2 | description = "Send notifications to users when changes are made to watched albums." 3 | version = 2 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:notification" 7 | discuss_url = "http://galleryproject.org/forum_module_notification" 8 | -------------------------------------------------------------------------------- /modules/rest/module.info: -------------------------------------------------------------------------------- 1 | name = "REST API Module" 2 | description = "A REST-based API that allows desktop clients and other apps to interact with Gallery 3" 3 | 4 | version = 3 5 | author_name = "Gallery Team" 6 | author_url = "http://codex.galleryproject.org/Gallery:Team" 7 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:rest" 8 | discuss_url = "http://galleryproject.org/forum_module_rest" 9 | -------------------------------------------------------------------------------- /modules/unit_test/config/unit_test.php: -------------------------------------------------------------------------------- 1 | 2 | id}") ?>" title="for_html_attr() ?>" 3 | class="g-dialog-link g-button ui-icon-left ui-state-default ui-corner-all"> 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/gallery/views/welcome_message_loader.html.php: -------------------------------------------------------------------------------- 1 | 2 | for_html_attr() ?>" 4 | href=""/> 5 | 8 | -------------------------------------------------------------------------------- /modules/gallery/views/admin_block_stats.html.php: -------------------------------------------------------------------------------- 1 | 2 | 13 | -------------------------------------------------------------------------------- /modules/gallery/views/menu_ajax_link.html.php: -------------------------------------------------------------------------------- 1 | 2 |
  • 3 | css_id ? "id='{$menu->css_id}'" : "" ?> 4 | class="g-ajax-link css_class ?>" 5 | href="url ?>" 6 | title="label->for_html_attr() ?>" 7 | data-ajax-handler="ajax_handler ?>"> 8 | label->for_html() ?> 9 | 10 |
  • 11 | -------------------------------------------------------------------------------- /modules/user/views/admin_users_delete_user.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    4 | %name? Any photos, movies or albums owned by this user will transfer ownership to %new_owner.", array("name" => $user->display_name(), "new_owner" => identity::active_user()->display_name())) ?> 5 |

    6 | 7 |
    8 | -------------------------------------------------------------------------------- /modules/notification/views/user_profile_notification.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 | 12 |
    13 | -------------------------------------------------------------------------------- /modules/organize/css/organize_dialog.css: -------------------------------------------------------------------------------- 1 | #g-organize-frame { 2 | border: 0px; 3 | width: 100%; 4 | height: 100%; 5 | } 6 | 7 | #g-organize-app-loading { 8 | display: block; 9 | position: absolute; 10 | top: 50%; 11 | left: 50%; 12 | width: 16px; 13 | height: 16px; 14 | background-image: url(../vendor/ext/images/default/tree/loading.gif); 15 | background-position: center center; 16 | background-repeat: no-repeat; 17 | } 18 | -------------------------------------------------------------------------------- /modules/rss/views/rss_block.html.php: -------------------------------------------------------------------------------- 1 | 2 | 14 | -------------------------------------------------------------------------------- /modules/akismet/module.info: -------------------------------------------------------------------------------- 1 | name = "Akismet" 2 | description = "Filter comments through the Akismet web service to detect and eliminate spam (http://akismet.com). You'll need a WordPress.com API key to use it." 3 | version = 1 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:akismet" 7 | discuss_url = "http://galleryproject.org/forum_module_akismet" 8 | -------------------------------------------------------------------------------- /themes/admin_wind/theme.info: -------------------------------------------------------------------------------- 1 | name = "Gallery Wind" 2 | description = "A crisp Site Administration theme with soft colors and drop down menus." 3 | version = 1 4 | author = "Gallery Team" 5 | admin = 1 6 | site = 0 7 | author_name = "Gallery Team" 8 | author_url = "http://codex.galleryproject.org/Gallery:Team" 9 | info_url = "http://codex.galleryproject.org/Gallery3:Themes:admin_wind" 10 | discuss_url = "http://galleryproject.org/forum_theme_admin_wind" 11 | -------------------------------------------------------------------------------- /themes/wind/views/no_sidebar.html.php: -------------------------------------------------------------------------------- 1 | 2 | 12 | -------------------------------------------------------------------------------- /system/libraries/Database_Exception.php: -------------------------------------------------------------------------------- 1 | 2 |

    $info->name)) ?>

    3 |

    4 | "> 5 | %theme_name", array("theme_name" => $info->name)) ?> 6 | 7 |

    8 | 9 | -------------------------------------------------------------------------------- /themes/wind/theme.info: -------------------------------------------------------------------------------- 1 | name = "Gallery Wind" 2 | description = "A crisp and distinctive theme that uses large fonts and icons for easy navigation and an enjoyable browsing experience." 3 | version = 1 4 | author = "Gallery Team" 5 | site = 1 6 | admin = 0 7 | author_name = "Gallery Team" 8 | author_url = "http://codex.galleryproject.org/Gallery:Team" 9 | info_url = "http://codex.galleryproject.org/Gallery3:Themes:wind" 10 | discuss_url = "http://galleryproject.org/forum_theme_wind" 11 | -------------------------------------------------------------------------------- /modules/recaptcha/module.info: -------------------------------------------------------------------------------- 1 | name = "reCAPTCHA" 2 | description = "reCAPTCHA displays a graphical verification that protects the input form from abuse from 'bots,' or automated programs usually written to generate spam (http://recaptcha.net)." 3 | version = 1 4 | author_name = "Gallery Team" 5 | author_url = "http://codex.galleryproject.org/Gallery:Team" 6 | info_url = "http://codex.galleryproject.org/Gallery3:Modules:recaptcha" 7 | discuss_url = "http://galleryproject.org/forum_module_recaptcha" 8 | -------------------------------------------------------------------------------- /modules/rest/views/user_profile_rest.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 | 13 |
    14 | -------------------------------------------------------------------------------- /modules/akismet/views/admin_akismet_stats.html.php: -------------------------------------------------------------------------------- 1 | 2 | 7 |
    8 | 11 |
    12 | -------------------------------------------------------------------------------- /installer/views/environment_errors.html.php: -------------------------------------------------------------------------------- 1 | 2 |

    Whoa there!

    3 | 4 |

    5 | There are some problems with your web hosting environment 6 | that need to be fixed before you can successfully install 7 | Gallery 3. 8 |

    9 | 10 | 17 | 18 |

    19 | Check again 20 |

    21 | -------------------------------------------------------------------------------- /modules/gallery/views/quick_delete_confirm.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    4 | is_album()): ?> 5 | %title? All photos and movies in the album will also be deleted.", 6 | array("title" => html::purify($item->title))) ?> 7 | 8 | %title?", array("title" => html::purify($item->title))) ?> 9 | 10 |

    11 | 12 |
    13 | -------------------------------------------------------------------------------- /modules/gallery/views/reauthenticate.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    4 | 5 |

    6 |

    7 | $user_name)) ?> 8 |

    9 | 10 | 15 |
    -------------------------------------------------------------------------------- /php.ini: -------------------------------------------------------------------------------- 1 | ; Set some reasonable defaults for PHP. Most of these cannot be set 2 | ; inside the script itself. These settings are mirrored in the 3 | ; .htaccess file for hosts that support .htaccess but not per-dir 4 | ; php.ini files. 5 | ; 6 | [PHP] 7 | short_open_tag = On 8 | magic_quotes_gpc = Off 9 | magic_quotes_sybase = Off 10 | magic_quotes_runtime = Off 11 | register_globals = Off 12 | upload_max_filesize = 20M 13 | post_max_size = 100M 14 | 15 | [Session] 16 | session.auto_start = Off 17 | 18 | [suhosin] 19 | suhosin.session.encrypt = Off 20 | -------------------------------------------------------------------------------- /installer/views/missing_db.html.php: -------------------------------------------------------------------------------- 1 | 2 |

    Can't find that database!

    3 |

    4 | We were able to connect to your MySQL server, yay! But the database 5 | name you gave us doesn't exist and we don't have permissions to 6 | create it for you. Please create the database manually, then go 7 | back and try again. 8 |

    9 | 10 |

    11 | If you're having trouble creating the database, please contact your 12 | web host or system administrator for assistance. 13 |

    14 | -------------------------------------------------------------------------------- /system/config/image.php: -------------------------------------------------------------------------------- 1 | expression = $expression; 17 | } 18 | 19 | public function __toString() 20 | { 21 | return $this->expression; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /system/libraries/drivers/Log.php: -------------------------------------------------------------------------------- 1 | config = $config; 19 | } 20 | 21 | abstract public function save(array $messages); 22 | } -------------------------------------------------------------------------------- /modules/unit_test/controllers/unit_test.php: -------------------------------------------------------------------------------- 1 | 'radio', 17 | 'class' => 'radio', 18 | 'value' => '1', 19 | 'checked' => FALSE, 20 | ); 21 | 22 | } // End Form_Radio -------------------------------------------------------------------------------- /modules/gallery/views/admin_block_photo_stream.html.php: -------------------------------------------------------------------------------- 1 | 2 | 12 |

    13 | 14 |

    15 | -------------------------------------------------------------------------------- /system/config/view.php: -------------------------------------------------------------------------------- 1 | 2 | sidebar_top() ?> 3 |
    4 | 5 | album_menu() ?> 6 | 7 | photo_menu() ?> 8 | 9 | movie_menu() ?> 10 | 11 | tag_menu() ?> 12 | 13 |
    14 | 15 | sidebar_blocks() ?> 16 | sidebar_bottom() ?> 17 | -------------------------------------------------------------------------------- /system/helpers/num.php: -------------------------------------------------------------------------------- 1 | 'password', 17 | 'class' => 'password', 18 | 'value' => '', 19 | ); 20 | 21 | protected $protect = array('type'); 22 | 23 | } // End Form Password -------------------------------------------------------------------------------- /themes/wind/views/movie.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 | photo_top() ?> 4 | 5 | paginator() ?> 6 | 7 |
    8 | resize_top($item) ?> 9 | movie_img(array("class" => "g-movie", "id" => "g-item-id-{$item->id}")) ?> 10 | resize_bottom($item) ?> 11 |
    12 | 13 |
    14 |

    title) ?>

    15 |
    description)) ?>
    16 |
    17 | 18 | photo_bottom() ?> 19 |
    20 | -------------------------------------------------------------------------------- /modules/gallery/views/admin_block_log_entries.html.php: -------------------------------------------------------------------------------- 1 | 2 | 16 | -------------------------------------------------------------------------------- /installer/views/success.html.php: -------------------------------------------------------------------------------- 1 | 2 |

    Success!

    3 |

    4 | Your Gallery 3 install is complete! 5 |

    6 | 7 | 8 |

    Before you start using it...

    9 |

    10 | We've created an account for you to use: 11 |
    12 | username: 13 |
    14 | password: 15 |
    16 |
    17 | Save this information in a safe place, or change your admin password 18 | right away! 19 |

    20 | 21 | 22 |

    Start using Gallery

    23 | 24 | -------------------------------------------------------------------------------- /modules/forge/libraries/Form_Hidden.php: -------------------------------------------------------------------------------- 1 | '', 17 | 'value' => '', 18 | ); 19 | 20 | public function render() 21 | { 22 | return form::hidden($this->data['name'], $this->data['value']); 23 | } 24 | 25 | } // End Form Hidden -------------------------------------------------------------------------------- /modules/recaptcha/views/form_recaptcha.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 | 5 | 18 | 19 | -------------------------------------------------------------------------------- /modules/gallery/views/form_uploadify_buttons.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 | 4 | 7 | 10 | 11 |
    12 | -------------------------------------------------------------------------------- /system/config/http.php: -------------------------------------------------------------------------------- 1 | `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` 22 | - php ./installer/index.php 23 | 24 | script: 25 | - 'php index.php test' 26 | -------------------------------------------------------------------------------- /modules/gallery/views/user_languages_block.html.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 19 | 20 | -------------------------------------------------------------------------------- /modules/comment/views/user_profile_comments.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 | 20 |
    21 | -------------------------------------------------------------------------------- /modules/server_add/css/server_add.css: -------------------------------------------------------------------------------- 1 | #g-server-add button { 2 | margin-bottom: .5em; 3 | } 4 | 5 | #g-server-add-tree { 6 | cursor: pointer; 7 | padding-left: 4px; 8 | width: 95%; 9 | } 10 | 11 | #g-server-add-tree li { 12 | padding: 0; 13 | float: none; 14 | } 15 | 16 | #g-server-add-tree span.selected { 17 | background: #ddd; 18 | } 19 | 20 | #g-server-add-tree { 21 | border: 1px solid #ccc; 22 | height: 20em; 23 | overflow: auto; 24 | margin-bottom: .5em; 25 | padding: .5em; 26 | } 27 | 28 | #g-server-add ul ul li { 29 | padding-left: 1.2em; 30 | } 31 | 32 | #g-server-add-paths li .ui-icon { 33 | margin-top: .4em; 34 | } 35 | 36 | #g-server-add-admin-form .textbox { 37 | width: 400px; 38 | } 39 | -------------------------------------------------------------------------------- /themes/admin_wind/views/block.html.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
    6 | 15 |
    16 | 17 |
    18 |
    19 | -------------------------------------------------------------------------------- /modules/gallery/views/menu.html.php: -------------------------------------------------------------------------------- 1 | 2 | is_empty()): // Don't show the menu if it has no choices ?> 3 | is_root): ?> 4 | 9 | 10 | 11 | 12 |
  • 13 | 14 | label->for_html() ?> 15 | 16 | 21 |
  • 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /modules/forge/libraries/Form_Submit.php: -------------------------------------------------------------------------------- 1 | 'submit', 17 | 'class' => 'submit' 18 | ); 19 | 20 | protected $protect = array('type'); 21 | 22 | public function render() 23 | { 24 | $data = $this->data; 25 | unset($data['label']); 26 | 27 | return form::submit($data); 28 | } 29 | 30 | } // End Form Submit -------------------------------------------------------------------------------- /system/config/log.php: -------------------------------------------------------------------------------- 1 | 1, 17 | 'alert' => 2, 18 | 'info' => 3, 19 | 'debug' => 4, 20 | ); 21 | 22 | /** 23 | * See different log levels above 24 | */ 25 | $config['log_threshold'] = 1; 26 | 27 | /** 28 | * Log Date format 29 | */ 30 | $config['date_format'] = 'Y-m-d H:i:s P'; 31 | 32 | /** 33 | * We can define multiple logging backends at the same time. 34 | */ 35 | $config['drivers'] = array('file'); -------------------------------------------------------------------------------- /modules/forge/libraries/Form_Textarea.php: -------------------------------------------------------------------------------- 1 | 'textarea', 17 | 'value' => '', 18 | ); 19 | 20 | protected $protect = array('type'); 21 | 22 | protected function html_element() 23 | { 24 | $data = $this->data; 25 | 26 | unset($data['label']); 27 | 28 | return form::textarea($data); 29 | } 30 | 31 | } // End Form Textarea -------------------------------------------------------------------------------- /modules/notification/views/item_deleted.html.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <?= html::clean($subject) ?> 5 | 6 | 7 |

    8 | 9 | 10 | 14 | 15 | 16 | 17 | 22 | 23 |
    11 | html::purify($item->parent()->title))) ?> 13 |
    18 | 19 | parent()->abs_url() ?> 20 | 21 |
    24 | 25 | 26 | -------------------------------------------------------------------------------- /installer/views/install.html.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Gallery 3 Installer 5 | 6 | 7 | 8 |
    9 | 10 |
    11 | 12 |
    13 | 22 |
    23 | 24 | 25 | -------------------------------------------------------------------------------- /modules/gallery/views/movieplayer.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    > 3 | 6 |
    7 | 19 | -------------------------------------------------------------------------------- /system/libraries/ORM_Validation_Exception.php: -------------------------------------------------------------------------------- 1 | $table)); 21 | $exception->validation = $array; 22 | throw $exception; 23 | } 24 | } // End ORM_Validation_Exception -------------------------------------------------------------------------------- /modules/gallery/views/in_place_edit.html.php: -------------------------------------------------------------------------------- 1 | 2 | "post", "id" => "g-in-place-edit-form", "class" => "g-short-form")) ?> 3 | 4 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /modules/notification/views/item_added.html.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <?= html::clean($subject) ?> 5 | 6 | 7 |

    8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 20 | 21 | description): ?> 22 | 23 | 24 | 25 | 26 | 27 |
    title) ?>
    16 | 17 | abs_url() ?> 18 | 19 |
    description)) ?>
    28 | 29 | 30 | -------------------------------------------------------------------------------- /modules/gallery/views/admin_maintenance_show_log.html.php: -------------------------------------------------------------------------------- 1 | 2 | 12 |
    13 |

    name ?>

    14 |
    15 |
    get_log()) ?>
    16 |
    17 | 18 | 19 |
    20 | -------------------------------------------------------------------------------- /modules/gallery/views/error_404.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    4 | 5 |

    6 | 7 |

    8 | 9 |

    10 |

    11 | 12 | 13 |

    14 | 15 | 20 | 21 |

    22 | 23 | 24 |

    25 | 26 |
    27 | -------------------------------------------------------------------------------- /modules/gallery/views/admin_modules_confirm.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    4 | 5 |

    6 | 7 |
    8 |
      9 | "g-error", "warn" => "g-warning") as $type => $css_class): ?> 10 | 11 |
    • 12 | 13 | 14 |
    15 |
    "> 16 | 17 | 18 | 19 | 20 |
    21 |
    22 |
    23 | -------------------------------------------------------------------------------- /modules/user/views/reset_password.html.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <?= t("Password reset request") ?> 5 | 6 | 7 |

    8 |

    9 | $user->full_name ? $user->full_name : $user->name)) ?> 10 |

    11 |

    12 | %base_url. If you made this request, you can confirm it by clicking this link. If you didn't request this password reset, it's ok to ignore this mail.", 13 | array("site_url" => html::mark_clean(url::abs_site("/")), 14 | "base_url" => html::mark_clean(url::base(false)), 15 | "confirm_url" => $confirm_url)) ?> 16 |

    17 | 18 | 19 | -------------------------------------------------------------------------------- /lib/yui/base-min.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2010, Yahoo! Inc. All rights reserved. 3 | Code licensed under the BSD License: 4 | http://developer.yahoo.com/yui/license.html 5 | version: 2.8.1 6 | */ 7 | body{margin:10px;}h1{font-size:138.5%;}h2{font-size:123.1%;}h3{font-size:108%;}h1,h2,h3{margin:1em 0;}h1,h2,h3,h4,h5,h6,strong,dt{font-weight:bold;}optgroup{font-weight:normal;}abbr,acronym{border-bottom:1px dotted #000;cursor:help;}em{font-style:italic;}del{text-decoration:line-through;}blockquote,ul,ol,dl{margin:1em;}ol,ul,dl{margin-left:2em;}ol li{list-style:decimal outside;}ul li{list-style:disc outside;}dl dd{margin-left:1em;}th,td{border:1px solid #000;padding:.5em;}th{font-weight:bold;text-align:center;}caption{margin-bottom:.5em;text-align:center;}sup{vertical-align:super;}sub{vertical-align:sub;}p,fieldset,table,pre{margin-bottom:1em;}button,input[type="checkbox"],input[type="radio"],input[type="reset"],input[type="submit"]{padding:1px;} -------------------------------------------------------------------------------- /system/libraries/Kohana_User_Exception.php: -------------------------------------------------------------------------------- 1 | code = $title; 28 | } 29 | 30 | } // End Kohana User Exception 31 | -------------------------------------------------------------------------------- /modules/comment/css/comment.css: -------------------------------------------------------------------------------- 1 | #g-content #g-comment-form { 2 | margin-top: 2em; 3 | } 4 | 5 | #g-content #g-comments { 6 | margin-top: 2em; 7 | position: relative; 8 | } 9 | 10 | #g-content #g-comments ul li { 11 | margin: 1em 0; 12 | } 13 | 14 | #g-content #g-comments .g-author { 15 | border-bottom: 1px solid #ccc; 16 | color: #999; 17 | height: 32px; 18 | line-height: 32px; 19 | } 20 | 21 | #g-content #g-comments ul li div { 22 | padding: 0 8px 8px 43px; 23 | } 24 | 25 | #g-content #g-comments .g-avatar { 26 | height: 32px; 27 | margin-right: .4em; 28 | width: 32px; 29 | } 30 | 31 | #g-add-comment { 32 | position: absolute; 33 | right: 0; 34 | top: 2px; 35 | } 36 | 37 | #g-admin-comments-menu { 38 | margin: 1em 0; 39 | } 40 | 41 | #g-admin-comments-menu a { 42 | margin: 0; 43 | padding: .2em .6em; 44 | } 45 | 46 | .g-comment-state-unpublished { 47 | font-style: italic; 48 | color: #999; 49 | } 50 | -------------------------------------------------------------------------------- /modules/search/views/search_link.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    " id="g-quick-search-form" class="g-short-form"> 3 | 4 | is_album() ? $item->id : $item->parent_id; ?> 5 | 6 | id; ?> 7 | 8 | 22 |
    23 | -------------------------------------------------------------------------------- /system/views/profiler/profiler.php: -------------------------------------------------------------------------------- 1 | 2 | 29 |
    30 | render(); 34 | } 35 | ?> 36 |

    number_format($execution_time, 3))) ?>

    37 |
    -------------------------------------------------------------------------------- /system/views/profiler/table.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | > 10 | $column) 12 | { 13 | $class = empty($column['class']) ? '' : ' class="'.$column['class'].'"'; 14 | $style = empty($column['style']) ? '' : ' style="'.$column['style'].'"'; 15 | $value = $row['data'][$index]; 16 | $value = (is_array($value) OR is_object($value)) ? '
    '.htmlspecialchars(print_r($value, TRUE), ENT_QUOTES, Kohana::CHARSET).'
    ' : htmlspecialchars($value, ENT_QUOTES, Kohana::CHARSET); 17 | echo '' . wordwrap($value, 100, '
    ', true) . ''; 18 | } 19 | ?> 20 | 21 | 24 |
    25 | -------------------------------------------------------------------------------- /modules/tag/views/tag_block.html.php: -------------------------------------------------------------------------------- 1 | 2 | 23 |
    24 | 26 | 27 |
    28 | 29 | -------------------------------------------------------------------------------- /system/config/locale.php: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 |
    31 | 32 | render(); ?> 33 | 34 |

    s

    35 |
    36 | -------------------------------------------------------------------------------- /modules/gallery/models/cache.php: -------------------------------------------------------------------------------- 1 | xss_clean($str, $tool); 22 | } 23 | 24 | /** 25 | * Remove image tags from a string. 26 | * 27 | * @param string string to sanitize 28 | * @return string 29 | */ 30 | public static function strip_image_tags($str) 31 | { 32 | return preg_replace('#\s]*)["\']?[^>]*)?>#is', '$1', $str); 33 | } 34 | 35 | } // End security -------------------------------------------------------------------------------- /system/libraries/drivers/Cache.php: -------------------------------------------------------------------------------- 1 | 2 | " /> 3 | 20 |
     
    21 | 23 | 24 | -------------------------------------------------------------------------------- /system/libraries/drivers/Log/Syslog.php: -------------------------------------------------------------------------------- 1 | LOG_ERR, 13 | 'alert' => LOG_WARNING, 14 | 'info' => LOG_INFO, 15 | 'debug' => LOG_DEBUG); 16 | 17 | public function save(array $messages) 18 | { 19 | // Open the connection to syslog 20 | openlog($this->config['ident'], LOG_CONS, LOG_USER); 21 | 22 | do 23 | { 24 | // Load the next message 25 | list ($date, $type, $text) = array_shift($messages); 26 | 27 | syslog($this->syslog_levels[$type], $text); 28 | } 29 | while ( ! empty($messages)); 30 | 31 | // Close connection to syslog 32 | closelog(); 33 | } 34 | } -------------------------------------------------------------------------------- /modules/exif/models/exif_key.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |

    4 |

    5 | Wordpress.com API Key, which is also free. Your comments will be automatically relayed to Akismet.com where they'll be scanned for spam. Spam messages will be flagged accordingly and hidden from your vistors until you approve or delete them.", 6 | array("api_key_url" => "http://wordpress.com/api-keys", 7 | "akismet_url" => "http://akismet.com")) ?> 8 |

    9 |
    10 | 11 |
    12 | 13 |
    14 | 15 | 16 | 17 |
    18 |
    19 | -------------------------------------------------------------------------------- /modules/exif/models/exif_record.php: -------------------------------------------------------------------------------- 1 | 2 | 25 | -------------------------------------------------------------------------------- /modules/server_add/models/server_add_entry.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 | dynamic_top() ?> 5 |
    6 |

    7 |
    8 | 9 | 27 | dynamic_bottom() ?> 28 | 29 | paginator() ?> 30 | -------------------------------------------------------------------------------- /system/libraries/drivers/Log/Database.php: -------------------------------------------------------------------------------- 1 | config['group']) 17 | ->insert($this->config['table']) 18 | ->columns(array('date', 'level', 'message')); 19 | 20 | $run_insert = FALSE; 21 | 22 | foreach ($messages AS $message) 23 | { 24 | if ($this->config['log_levels'][$message['type']] <= $this->config['log_threshold']) 25 | { 26 | // Add new message to database 27 | $insert->values($message); 28 | 29 | // There is data to insert 30 | $run_insert = TRUE; 31 | } 32 | } 33 | 34 | // Update the database 35 | if ($run_insert) 36 | { 37 | $insert->execute(); 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /modules/gallery/config/database.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | <?php echo htmlspecialchars(__('Unable to Complete Request'), ENT_QUOTES, Kohana::CHARSET) ?> 7 | 8 | 9 |
    10 |

    11 |

    12 | home page or try again.', 14 | array('%site%' => htmlspecialchars(url::site(), ENT_QUOTES, Kohana::CHARSET), '%uri%' => htmlspecialchars(url::site(Router::$current_uri), ENT_QUOTES, Kohana::CHARSET))); 15 | ?> 16 |

    17 |
    18 | 19 | 20 | -------------------------------------------------------------------------------- /modules/exif/views/exif_dialog.html.php: -------------------------------------------------------------------------------- 1 | 2 | 7 |

    8 |
    9 | 10 | 11 | 12 | 13 | 16 | 19 | 20 | 23 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 |
    34 | -------------------------------------------------------------------------------- /modules/notification/views/comment_published.html.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <?= html::clean($subject) ?> 5 | 6 | 7 |

    8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 32 | 33 |
    text)) ?>
    author_name()) ?>
    author_email()) ?>
    author_url()) ?>
    28 | 29 | item()->abs_url() ?>#comments 30 | 31 |
    34 | 35 | 36 | -------------------------------------------------------------------------------- /modules/search/models/search_record.php: -------------------------------------------------------------------------------- 1 | item_id); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /modules/gallery/libraries/Form_Uploadify_buttons.php: -------------------------------------------------------------------------------- 1 | 2 |
    installed ? " g-installed-toolkit" : " g-unavailable" ?>"> 3 | " alt="" /> 4 |

    5 |

    6 | ImageMagick website for more information.", 7 | array("url" => "http://www.imagemagick.org")) ?> 8 |

    9 | installed): ?> 10 |
    11 | $tk->version, "dir" => $tk->dir)) ?> 12 |
    13 |

    14 | 15 |

    16 | error): ?> 17 |
    18 | error ?> 19 |
    20 | 21 |
    22 | -------------------------------------------------------------------------------- /system/helpers/db.php: -------------------------------------------------------------------------------- 1 | select($columns); 25 | } 26 | 27 | public static function insert($table = NULL, $set = NULL) 28 | { 29 | return db::build()->insert($table, $set); 30 | } 31 | 32 | public static function update($table = NULL, $set = NULL, $where = NULL) 33 | { 34 | return db::build()->update($table, $set, $where); 35 | } 36 | 37 | public static function delete($table = NULL, $where = NULL) 38 | { 39 | return db::build()->delete($table, $where); 40 | } 41 | 42 | public static function expr($expression) 43 | { 44 | return new Database_Expression($expression); 45 | } 46 | 47 | } // End db 48 | -------------------------------------------------------------------------------- /modules/akismet/helpers/akismet_installer.php: -------------------------------------------------------------------------------- 1 | 2 |
    installed ? " g-installed-toolkit" : " g-unavailable" ?>"> 3 | " alt="" /> 4 |

    5 |

    6 | GraphicsMagick website for more information.", 7 | array("url" => "http://www.graphicsmagick.org")) ?> 8 |

    9 | installed): ?> 10 |
    11 | $tk->version, "dir" => $tk->dir)) ?> 12 |
    13 |

    14 | 15 |

    16 | 17 |
    18 | error ?> 19 |
    20 | 21 |
    22 | -------------------------------------------------------------------------------- /modules/gallery/tests/Input_Library_Test.php: -------------------------------------------------------------------------------- 1 | assert_same("foo_bar", $input->clean_input_keys("foo|bar")); 24 | } 25 | } -------------------------------------------------------------------------------- /modules/notification/views/item_updated.html.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <?= html::clean($subject) ?> 5 | 6 | 7 |

    8 | 9 | 10 | title != $item->title): ?> 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | description != $item->description): ?> 23 | 24 | 25 | 26 | 27 | description)): ?> 28 | 29 | 30 | 31 | 32 | 33 |
    title) ?>title) ?>
    abs_url() ?>
    description) ?>
    description) ?>
    34 | 35 | 36 | -------------------------------------------------------------------------------- /modules/recaptcha/helpers/recaptcha_installer.php: -------------------------------------------------------------------------------- 1 | 2 | 24 | -------------------------------------------------------------------------------- /modules/recaptcha/helpers/recaptcha_theme.php: -------------------------------------------------------------------------------- 1 | css("recaptcha.css"); 23 | } 24 | 25 | static function admin_head($theme) { 26 | return $theme->css("recaptcha.css"); 27 | } 28 | } -------------------------------------------------------------------------------- /modules/server_add/helpers/server_add_theme.php: -------------------------------------------------------------------------------- 1 | admin) { 23 | return $theme->css("server_add.css") 24 | . $theme->script("server_add.js"); 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /modules/kohana23_compat/config/pagination.php: -------------------------------------------------------------------------------- 1 | "pagination", 22 | "style" => "classic", 23 | "uri_segment" => 3, 24 | "query_string" => "", 25 | "items_per_page" => 20, 26 | "auto_hide" => FALSE 27 | ); 28 | -------------------------------------------------------------------------------- /lib/jquery.cookie.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery Cookie Plugin v1.3.1 3 | * https://github.com/carhartl/jquery-cookie 4 | * 5 | * Copyright 2013 Klaus Hartl 6 | * Released under the MIT license 7 | */ 8 | (function(d){"function"===typeof define&&define.amd?define(["jquery"],d):d(jQuery)})(function(d){function k(a){return e.raw?a:decodeURIComponent(a.replace(n," "))}function l(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));a=k(a);try{return e.json?JSON.parse(a):a}catch(c){}}var n=/\+/g,e=d.cookie=function(a,c,b){if(void 0!==c){b=d.extend({},e.defaults,b);if("number"===typeof b.expires){var f=b.expires,h=b.expires=new Date;h.setDate(h.getDate()+f)}c=e.json?JSON.stringify(c): 9 | String(c);return document.cookie=[e.raw?a:encodeURIComponent(a),"=",e.raw?c:encodeURIComponent(c),b.expires?"; expires="+b.expires.toUTCString():"",b.path?"; path="+b.path:"",b.domain?"; domain="+b.domain:"",b.secure?"; secure":""].join("")}c=document.cookie.split("; ");b=a?void 0:{};f=0;for(h=c.length;fcss("tag.css"); 23 | } 24 | 25 | static function admin_head($theme) { 26 | return $theme->css("tag.css") 27 | . $theme->script("gallery.in_place_edit.js"); 28 | } 29 | } -------------------------------------------------------------------------------- /modules/search/helpers/search_theme.php: -------------------------------------------------------------------------------- 1 | page_subtype() != "login") { 23 | $view = new View("search_link.html"); 24 | return $view->render(); 25 | } else { 26 | return ""; 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /modules/slideshow/helpers/slideshow_theme.php: -------------------------------------------------------------------------------- 1 | "; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /modules/gallery/config/user_agents.php: -------------------------------------------------------------------------------- 1 | array 13 | ( 14 | E_KOHANA => 'Framework Error', 15 | E_PAGE_NOT_FOUND => 'Page Not Found', 16 | E_DATABASE_ERROR => 'Database Error', 17 | E_RECOVERABLE_ERROR => 'Recoverable Error', 18 | E_ERROR => 'Fatal Error', 19 | E_COMPILE_ERROR => 'Fatal Error', 20 | E_CORE_ERROR => 'Fatal Error', 21 | E_USER_ERROR => 'Fatal Error', 22 | E_PARSE => 'Syntax Error', 23 | E_WARNING => 'Warning Message', 24 | E_COMPILE_WARNING => 'Warning Message', 25 | E_CORE_WARNING => 'Warning Message', 26 | E_USER_WARNING => 'Warning Message', 27 | E_STRICT => 'Strict Mode Error', 28 | E_NOTICE => 'Runtime Message', 29 | E_USER_NOTICE => 'Runtime Message', 30 | ), 31 | ); 32 | 33 | // E_DEPRECATED is only defined in PHP >= 5.3.0 34 | if (defined('E_DEPRECATED')) 35 | { 36 | $messages['errors'][E_DEPRECATED] = 'Deprecated'; 37 | } -------------------------------------------------------------------------------- /modules/gallery/libraries/Block.php: -------------------------------------------------------------------------------- 1 | __toString(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /modules/organize/helpers/organize_installer.php: -------------------------------------------------------------------------------- 1 | get("continue_url")) { 25 | url::redirect($continue_url); 26 | } 27 | url::redirect(item::root()->abs_url()); 28 | } 29 | } -------------------------------------------------------------------------------- /modules/user/helpers/user_theme.php: -------------------------------------------------------------------------------- 1 | css("user.css") 23 | . $theme->script("password_strength.js"); 24 | } 25 | 26 | static function admin_head($theme) { 27 | return $theme->css("user.css") 28 | . $theme->script("password_strength.js"); 29 | } 30 | } -------------------------------------------------------------------------------- /modules/watermark/helpers/watermark_event.php: -------------------------------------------------------------------------------- 1 | get("content_menu") 23 | ->append( 24 | Menu::factory("link") 25 | ->id("watermarks") 26 | ->label(t("Watermarks")) 27 | ->url(url::site("admin/watermarks"))); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /modules/user/tests/User_Groups_Test.php: -------------------------------------------------------------------------------- 1 | add($user); 27 | $group->save(); 28 | 29 | $this->assert_true($user->has($group)); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /modules/gallery/helpers/gallery_error.php: -------------------------------------------------------------------------------- 1 | 2 | css("server_add.css") ?> 3 | 10 | 11 |
    12 |

    13 |
    14 | 15 |

    16 | 34 |
    35 |
    36 | -------------------------------------------------------------------------------- /modules/server_add/views/server_add_tree.html.php: -------------------------------------------------------------------------------- 1 | 2 |
  • 3 | 4 | 5 | 6 | 7 |
      8 | 9 | 10 |
    • 11 | 12 | 13 | 14 | 15 |
        16 | 17 | 18 | 19 |
      • 20 | "> 21 | " 22 | ref="" > 23 | 24 | 25 |
      • 26 | 27 | 28 |
      • 29 | 30 | 31 | 32 |
      33 |
    • 34 | 35 | 36 |
    37 |
  • 38 | -------------------------------------------------------------------------------- /modules/image_block/controllers/image_block.php: -------------------------------------------------------------------------------- 1 | abs_url()); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /modules/gallery/controllers/welcome_message.php: -------------------------------------------------------------------------------- 1 | admin) { 23 | url::redirect(item::root()->abs_url()); 24 | } 25 | 26 | $v = new View("welcome_message.html"); 27 | $v->user = identity::active_user(); 28 | print $v; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /modules/gallery/tests/Valid_Test.php: -------------------------------------------------------------------------------- 1 | assert_true(valid::url("http://foo.bar.com")); 23 | $this->assert_true(valid::url("https://foo.bar.com")); 24 | 25 | $this->assert_false(valid::url("mailto://bar")); 26 | $this->assert_false(valid::url("ftp://bar")); 27 | } 28 | } -------------------------------------------------------------------------------- /modules/comment/views/comment.html.php: -------------------------------------------------------------------------------- 1 | 2 |
  • 3 |

    4 | 5 | " 6 | class="g-avatar" 7 | alt="author_name()) ?>" 8 | width="40" 9 | height="40" /> 10 | 11 | author()->guest): ?> 12 | gallery::date_time($comment->created), 14 | "name" => html::clean($comment->author_name()))) ?> 15 | 16 | %name said", 17 | array("date_time" => gallery::date_time($comment->created), 18 | "url" => user_profile::url($comment->author_id), 19 | "name" => html::clean($comment->author_name()))) ?> 20 | 21 |

    22 |
    23 | text)) ?> 24 |
    25 | state == "unpublished"): ?> 26 | 27 | 28 |
  • 29 | -------------------------------------------------------------------------------- /modules/gallery/tests/System_Helper_Test.php: -------------------------------------------------------------------------------- 1 | assert_true(file_exists($filename), "File not created"); 24 | unlink($filename); 25 | $this->assert_pattern($filename, "|/file.*\\.ext$|"); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /modules/user/helpers/user_event.php: -------------------------------------------------------------------------------- 1 | add_after("appearance_menu", Menu::factory("link") 24 | ->id("users_groups") 25 | ->label(t("Users/Groups")) 26 | ->url(url::site("admin/users"))); 27 | 28 | return $menu; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /system/messages/validation/default.php: -------------------------------------------------------------------------------- 1 | 'The :field field is required', 13 | 'length' => 'The :field field must be between :param1 and :param2 characters long', 14 | 'depends_on' => 'The :field field requires the :param1 field', 15 | 'matches' => 'The :field field must be the same as :param1', 16 | 'email' => 'The :field field must be a valid email address', 17 | 'decimal' => 'The :field field must be a decimal with :param1 places', 18 | 'digit' => 'The :field field must be a digit', 19 | 'in_array' => 'The :field field must be one of the available options', 20 | 'alpha_numeric' => 'The :field field must consist only of alphabetical or numeric characters', 21 | 'alpha_dash ' => 'The :field field must consist only of alphabetical, numeric, underscore and dash characters', 22 | 'numeric ' => 'The :field field must be a valid number', 23 | 'url' => 'The :field field must be a valid url', 24 | 'phone' => 'The :field field must be a valid phone number', 25 | ); 26 | -------------------------------------------------------------------------------- /system/views/profiler/table.css: -------------------------------------------------------------------------------- 1 | #kohana-profiler .kp-table 2 | { 3 | font-size: 1.0em; 4 | color: #4D6171; 5 | width: 100%; 6 | border-collapse: collapse; 7 | border-top: 1px solid #E5EFF8; 8 | border-right: 1px solid #E5EFF8; 9 | border-left: 1px solid #E5EFF8; 10 | margin-bottom: 10px; 11 | } 12 | #kohana-profiler .kp-table td 13 | { 14 | background-color: #FFFFFF; 15 | border-bottom: 1px solid #E5EFF8; 16 | padding: 3px; 17 | vertical-align: top; 18 | } 19 | #kohana-profiler .kp-table .kp-title td 20 | { 21 | font-weight: bold; 22 | background-color: inherit; 23 | } 24 | #kohana-profiler .kp-table .kp-altrow td 25 | { 26 | background-color: #F7FBFF; 27 | } 28 | #kohana-profiler .kp-table .kp-totalrow td 29 | { 30 | background-color: #FAFAFA; 31 | border-top: 1px solid #D2DCE5; 32 | font-weight: bold; 33 | } 34 | #kohana-profiler .kp-table .kp-column 35 | { 36 | width: 100px; 37 | border-left: 1px solid #E5EFF8; 38 | text-align: center; 39 | } 40 | #kohana-profiler .kp-table .kp-data, #kohana-profiler .kp-table .kp-name 41 | { 42 | background-color: #FAFAFB; 43 | vertical-align: top; 44 | } 45 | #kohana-profiler .kp-table .kp-name 46 | { 47 | width: 200px; 48 | border-right: 1px solid #E5EFF8; 49 | } 50 | #kohana-profiler .kp-table .kp-altrow .kp-data, #kohana-profiler .kp-table .kp-altrow .kp-name 51 | { 52 | background-color: #F6F8FB; 53 | } -------------------------------------------------------------------------------- /modules/exif/controllers/exif.php: -------------------------------------------------------------------------------- 1 | details = exif::get($item); 30 | 31 | print $view; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /modules/gallery/libraries/MY_Input.php: -------------------------------------------------------------------------------- 1 | name}/helpers/*_rest.php") as $filename) { 25 | $results[] = str_replace("_rest.php", "", basename($filename)); 26 | } 27 | } 28 | return array_unique($results); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /modules/gallery/config/upload.php: -------------------------------------------------------------------------------- 1 | \n"; 29 | print $content; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /modules/gallery/helpers/json.php: -------------------------------------------------------------------------------- 1 | 2 |

    3 | 4 |

    5 |
      6 |
    • 7 | graphics and language settings.", 8 | array("graphics_url" => html::mark_clean(url::site("admin/graphics")), 9 | "language_url" => html::mark_clean(url::site("admin/languages")))) ?> 10 |
    • 11 |
    • 12 | choose a theme, or customize the way it looks.", 13 | array("theme_url" => html::mark_clean(url::site("admin/themes")), 14 | "theme_options_url" => html::mark_clean(url::site("admin/theme_options")))) ?> 15 |
    • 16 |
    • 17 | install modules to add cool features!", 18 | array("modules_url" => html::mark_clean(url::site("admin/modules")))) ?> 19 |
    • 20 |
    21 | -------------------------------------------------------------------------------- /modules/gallery/views/admin_graphics_gd.html.php: -------------------------------------------------------------------------------- 1 | 2 |
    installed ? " g-installed-toolkit" : " g-unavailable" ?>"> 3 | " alt="" /> 4 |

    5 |

    6 | GD website for more information.", 7 | array("url" => "http://www.boutell.com/gd")) ?> 8 |

    9 | installed && $tk->rotate): ?> 10 |
    11 | $tk->version)) ?> 12 |
    13 |

    14 | 15 |

    16 | installed): ?> 17 | error): ?> 18 |

    19 | error ?> 20 |

    21 | 22 |

    23 | 24 |

    25 | 26 |
    27 | 28 |
    29 | 30 |
    31 | -------------------------------------------------------------------------------- /installer/init_var.php: -------------------------------------------------------------------------------- 1 | 2 | element for a given rss feed id. 31 | */ 32 | static function feed_link($uri) { 33 | $url = url::site("rss/feed/$uri"); 34 | return ""; 35 | } 36 | } -------------------------------------------------------------------------------- /system/libraries/drivers/Log/File.php: -------------------------------------------------------------------------------- 1 | config['log_directory'].'/'.date('Y-m-d').'.log'.EXT; 18 | 19 | if ( ! is_file($filename)) 20 | { 21 | // Write the SYSPATH checking header 22 | file_put_contents($filename, 23 | ''.PHP_EOL.PHP_EOL); 24 | 25 | // Prevent external writes 26 | chmod($filename, $this->config['posix_permissions']); 27 | } 28 | 29 | foreach ($messages AS $message) 30 | { 31 | if ($this->config['log_levels'][$message['type']] <= $this->config['log_threshold']) 32 | { 33 | // Add a new message line 34 | $messages_to_write[] = date($this->config['date_format'], $message['date']).' --- '.$message['type'].': '.$message['message']; 35 | } 36 | } 37 | 38 | if ( ! empty($messages_to_write)) 39 | { 40 | // Write messages to log file 41 | file_put_contents($filename, implode(PHP_EOL, $messages_to_write).PHP_EOL, FILE_APPEND); 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /modules/comment/js/comment.js: -------------------------------------------------------------------------------- 1 | $("document").ready(function() { 2 | $("#g-add-comment").click(function(event) { 3 | event.preventDefault(); 4 | if (!$("#g-comment-form").length) { 5 | $.get($(this).attr("href"), 6 | {}, 7 | function(data) { 8 | $("#g-comment-detail").append(data); 9 | ajaxify_comment_form(); 10 | $.scrollTo("#g-comment-form-anchor", 800); 11 | }); 12 | } 13 | }); 14 | $(".g-no-comments a").click(function(event) { 15 | event.preventDefault(); 16 | if (!$("#g-comment-form").length) { 17 | $.get($(this).attr("href"), 18 | {}, 19 | function(data) { 20 | $("#g-comment-detail").append(data); 21 | ajaxify_comment_form(); 22 | }); 23 | $(".g-no-comments").remove(); 24 | } 25 | }); 26 | }); 27 | 28 | function ajaxify_comment_form() { 29 | $("#g-comments form").ajaxForm({ 30 | dataType: "json", 31 | success: function(data) { 32 | if (data.result == "success") { 33 | $("#g-comments #g-comment-detail ul").append(data.view); 34 | $("#g-comments #g-comment-detail ul li:last").effect("highlight", {color: "#cfc"}, 8000); 35 | $("#g-comment-form").hide(2000).remove(); 36 | $("#g-no-comments").hide(2000); 37 | } else { 38 | if (data.form) { 39 | $("#g-comments form").replaceWith(data.form); 40 | ajaxify_comment_form(); 41 | } 42 | } 43 | } 44 | }); 45 | } 46 | -------------------------------------------------------------------------------- /system/libraries/Kohana_404_Exception.php: -------------------------------------------------------------------------------- 1 | $page)); 32 | } 33 | 34 | /** 35 | * Throws a new 404 exception. 36 | * 37 | * @throws Kohana_404_Exception 38 | * @return void 39 | */ 40 | public static function trigger($page = NULL) 41 | { 42 | throw new Kohana_404_Exception($page); 43 | } 44 | 45 | /** 46 | * Sends 404 headers, to emulate server behavior. 47 | * 48 | * @return void 49 | */ 50 | public function sendHeaders() 51 | { 52 | // Send the 404 header 53 | header('HTTP/1.1 404 File Not Found'); 54 | } 55 | 56 | } // End Kohana 404 Exception --------------------------------------------------------------------------------