Version 4.5.0
This commit is contained in:
1 parent
1a0c7fd3c2
commit
f79dcf067a
3791 files changed
+248032
-76372
No files matched your search
@@ -352,13 +352,7 @@
|
||||
"keywords": [
|
||||
"image dimensions",
|
||||
"image size",
|
||||
"small image dimensions"
|
||||
]
|
||||
},
|
||||
"app=gallery&module=gallery&controller=settings&searchResult=form_gallery_thumb_dims": {
|
||||
"lang_key": "gallery_thumb_dims",
|
||||
"restriction": "settings_manage",
|
||||
"keywords": [
|
||||
"small image dimensions",
|
||||
"thumbnail dimensions"
|
||||
]
|
||||
},
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<build>
|
||||
<module key="admin/gallery"><![CDATA[{"default_controller":"categories","protected":0,"default":1}]]></module>
|
||||
<module key="admin/stats"><![CDATA[{"default_controller":null,"protected":0,"default":0}]]></module>
|
||||
<module key="front/gallery"><![CDATA[{"default_controller":"browse","protected":0,"default":1}]]></module>
|
||||
<task frequency="P0Y0M1DT0H0M0S">clearBandwidthLog</task>
|
||||
<task frequency="P0Y0M1DT0H0M0S">clearUploads</task>
|
||||
<setting key="gallery_bandwidth_period"><![CDATA[{"key":"gallery_bandwidth_period","default":"-1","report":"full"}]]></setting>
|
||||
<setting key="gallery_detailed_bandwidth"><![CDATA[{"key":"gallery_detailed_bandwidth","default":"1","report":"full"}]]></setting>
|
||||
<setting key="gallery_large_dims"><![CDATA[{"key":"gallery_large_dims","default":"1600x1200","report":"full"}]]></setting>
|
||||
<setting key="gallery_maps_default"><![CDATA[{"key":"gallery_maps_default","default":"0","report":"full"}]]></setting>
|
||||
<setting key="gallery_rss_enabled"><![CDATA[{"key":"gallery_rss_enabled","default":"1","report":"full"}]]></setting>
|
||||
<setting key="gallery_small_dims"><![CDATA[{"key":"gallery_small_dims","default":"600x600","report":"full"}]]></setting>
|
||||
<setting key="gallery_use_square_thumbnails"><![CDATA[{"key":"gallery_use_square_thumbnails","default":"0","report":"full"}]]></setting>
|
||||
<setting key="gallery_use_watermarks"><![CDATA[{"key":"gallery_use_watermarks","default":"0","report":"full"}]]></setting>
|
||||
<setting key="gallery_watermark_images"><![CDATA[{"key":"gallery_watermark_images","default":"large","report":"full"}]]></setting>
|
||||
<setting key="gallery_watermark_path"><![CDATA[{"key":"gallery_watermark_path","default":"","report":"none"}]]></setting>
|
||||
<widget key="galleryStats"><![CDATA[{"class":"\\IPS\\Widget\\PermissionCache","restrict":[],"default_area":""}]]></widget>
|
||||
<widget key="recentComments"><![CDATA[{"class":"\\IPS\\Widget\\PermissionCache","restrict":["sidebar","cms"],"default_area":"","allow_reuse":false,"menu_style":"menu","embeddable":true}]]></widget>
|
||||
<widget key="imageFeed"><![CDATA[{"class":"\\IPS\\Widget\\PermissionCache","restrict":["sidebar","cms"],"default_area":"","allow_reuse":true,"menu_style":"modal","embeddable":true}]]></widget>
|
||||
<widget key="recentImageReviews"><![CDATA[{"class":"\\IPS\\Widget\\PermissionCache","restrict":["sidebar","cms"],"default_area":"","allow_reuse":false,"menu_style":"menu","embeddable":true}]]></widget>
|
||||
<widget key="albums"><![CDATA[{"class":"\\IPS\\Widget\\PermissionCache","restrict":["sidebar","cms"],"default_area":"","allow_reuse":true,"menu_style":"menu","embeddable":true}]]></widget>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories"><![CDATA[{"lang_key":"menu__gallery_gallery_categories","restriction":"categories_manage","keywords":["gallery categories","image categories"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&do=form"><![CDATA[{"lang_key":"menu__gallery_gallery_categories","restriction":"categories_manage","keywords":["add category"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=category_allow_comments"><![CDATA[{"lang_key":"category_allow_comments","restriction":"categories_manage","keywords":["allow comments","comments"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=category_approve_com"><![CDATA[{"lang_key":"category_approve_com","restriction":"categories_manage","keywords":["comments approved","must approved"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=category_can_tag"><![CDATA[{"lang_key":"category_can_tag","restriction":"categories_manage","keywords":["allow tags","tags"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=category_sort_options"><![CDATA[{"lang_key":"category_sort_options","restriction":"categories_manage","keywords":["default sort","sort order"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=category_tag_prefixes"><![CDATA[{"lang_key":"category_tag_prefixes","restriction":"categories_manage","keywords":["allow prefixes","prefixes"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_1_category_allow_albums"><![CDATA[{"lang_key":"category_allow_albums","restriction":"categories_manage","keywords":["allow albums"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_1_category_allow_reviews"><![CDATA[{"lang_key":"category_allow_reviews","restriction":"categories_manage","keywords":["allow reviews","reviews"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_1_category_approve_img"><![CDATA[{"lang_key":"category_approve_img","restriction":"categories_manage","keywords":["images must","must approved"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_1_category_description"><![CDATA[{"lang_key":"category_description","restriction":"categories_manage","keywords":["category description"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_1_category_name"><![CDATA[{"lang_key":"category_name","restriction":"categories_manage","keywords":["category name"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_1_category_show_rules"><![CDATA[{"lang_key":"category_show_rules","restriction":"categories_manage","keywords":["gallery rules","rules","show rules"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_1_gcategory_allow_rating"><![CDATA[{"lang_key":"gcategory_allow_rating","restriction":"categories_manage","keywords":["allow ratings","ratings"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_1_gcategory_parent_id"><![CDATA[{"lang_key":"gcategory_parent_id","restriction":"categories_manage","keywords":["parent category"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_new_category_allow_albums"><![CDATA[{"lang_key":"category_allow_albums","restriction":"categories_manage","keywords":["albums","allow albums"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_new_category_allow_reviews"><![CDATA[{"lang_key":"category_allow_reviews","restriction":"categories_manage","keywords":["allow reviews","reviews"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_new_category_approve_img"><![CDATA[{"lang_key":"category_approve_img","restriction":"categories_manage","keywords":["items approved","must approved"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_new_category_description"><![CDATA[{"lang_key":"category_description","restriction":"categories_manage","keywords":["category description"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_new_category_name"><![CDATA[{"lang_key":"category_name","restriction":"categories_manage","keywords":["category name"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_new_category_show_rules"><![CDATA[{"lang_key":"category_show_rules","restriction":"categories_manage","keywords":["rules","show rules"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_new_gcategory_allow_rating"><![CDATA[{"lang_key":"gcategory_allow_rating","restriction":"categories_manage","keywords":["allow ratings","ratings"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=form_new_gcategory_parent_id"><![CDATA[{"lang_key":"gcategory_parent_id","restriction":"categories_manage","keywords":["parent","parent category"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&searchResult=gallery_permission_custom_error"><![CDATA[{"lang_key":"category_permission_custom_error","restriction":"categories_manage","keywords":["custom error","permission denied"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=category_allow_comments"><![CDATA[{"lang_key":"category_allow_comments","restriction":"categories_manage","keywords":["allow comments","comments"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=category_approve_com"><![CDATA[{"lang_key":"category_approve_com","restriction":"categories_manage","keywords":["comments must","must approved"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=category_can_tag"><![CDATA[{"lang_key":"category_can_tag","restriction":"categories_manage","keywords":["allow tags","tags"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=category_sort_options"><![CDATA[{"lang_key":"category_sort_options","restriction":"categories_manage","keywords":["default sort","sort order"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=category_tag_prefixes"><![CDATA[{"lang_key":"category_tag_prefixes","restriction":"categories_manage","keywords":["allow prefixes","prefixes"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_category_allow_albums"><![CDATA[{"lang_key":"category_allow_albums","restriction":"categories_manage","keywords":["allow albums"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_category_allow_reviews"><![CDATA[{"lang_key":"category_allow_reviews","restriction":"categories_manage","keywords":["allow reviews","reviews"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_category_approve_img"><![CDATA[{"lang_key":"category_approve_img","restriction":"categories_manage","keywords":["approved","images must","must approved"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_category_description"><![CDATA[{"lang_key":"category_description","restriction":"categories_manage","keywords":["category description"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_category_name"><![CDATA[{"lang_key":"category_name","restriction":"categories_manage","keywords":["category name"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_category_show_rules"><![CDATA[{"lang_key":"category_show_rules","restriction":"categories_manage","keywords":["rules","show rules"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_gcategory_allow_rating"><![CDATA[{"lang_key":"gcategory_allow_rating","restriction":"categories_manage","keywords":["allow ratings","ratings"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=form_new_gcategory_parent_id"><![CDATA[{"lang_key":"gcategory_parent_id","restriction":"categories_manage","keywords":["parent","parent category"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=categories&subnode=0&parent=1&searchResult=gallery_permission_custom_error"><![CDATA[{"lang_key":"category_permission_custom_error","restriction":"categories_manage","keywords":["custom error","custom permission denied"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=settings"><![CDATA[{"lang_key":"menu__gallery_gallery_settings","restriction":"settings_manage","keywords":["gallery settings"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=settings&searchResult=form_gallery_bandwidth_period"><![CDATA[{"lang_key":"gallery_bandwidth_period","restriction":"settings_manage","keywords":["bandwidth log retention","bandwidth logs","number of hours"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=settings&searchResult=form_gallery_detailed_bandwidth"><![CDATA[{"lang_key":"gallery_detailed_bandwidth","restriction":"settings_manage","keywords":["bandwidth","bandwidth logs","store bandwidth logs"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=settings&searchResult=form_gallery_large_dims"><![CDATA[{"lang_key":"gallery_large_dims","restriction":"settings_manage","keywords":["image dimensions","image size","large image"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=settings&searchResult=form_gallery_medium_dims"><![CDATA[{"lang_key":"gallery_medium_dims","restriction":"settings_manage","keywords":["image dimensions","image size","medium image size"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=settings&searchResult=form_gallery_rss_enabled"><![CDATA[{"lang_key":"gallery_rss_enabled","restriction":"settings_manage","keywords":["gallery rss","image rss"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=settings&searchResult=form_gallery_small_dims"><![CDATA[{"lang_key":"gallery_small_dims","restriction":"settings_manage","keywords":["image dimensions","image size","small image dimensions","thumbnail dimensions"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=settings&searchResult=form_gallery_use_square_thumbnails"><![CDATA[{"lang_key":"gallery_use_square_thumbnails","restriction":"settings_manage","keywords":["square thumbnails"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=settings&searchResult=form_gallery_use_watermarks"><![CDATA[{"lang_key":"gallery_use_watermarks","restriction":"settings_manage","keywords":["watermark images"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=gallery&controller=settings&searchResult=form_gallery_watermark_path"><![CDATA[{"lang_key":"gallery_watermark_path","restriction":"settings_manage","keywords":["watermark"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=stats&controller=bandwidth"><![CDATA[{"lang_key":"menu__gallery_stats_bandwidth","restriction":"bandwidth_manage","keywords":["bandwidth","gallery bandwidth"]}]]></acpsearch>
|
||||
<acpsearch key="app=gallery&module=stats&controller=diskspace"><![CDATA[{"lang_key":"menu__gallery_stats_diskspace","restriction":"diskspace_manage","keywords":["top uploaders"]}]]></acpsearch>
|
||||
<acpsearch key="app=core&module=members&controller=members&searchResult=form_remove_gallery_access"><![CDATA[{"lang_key":"remove_gallery_access","restriction":null,"keywords":["Access","Allowed to","Gallery"]}]]></acpsearch>
|
||||
<acpsearch key="app=core&module=members&controller=members&searchResult=remove_gallery_upload"><![CDATA[{"lang_key":"remove_gallery_upload","restriction":null,"keywords":["Can Upload","Gallery Upload","Images"]}]]></acpsearch>
|
||||
<acpsearch key="app=core&module=members&controller=groups&searchResult=4_g_max_upload"><![CDATA[{"lang_key":"g_max_upload","restriction":"groups_manage","keywords":["gallery image size","gallery max image size","gallery maximum image size","max size of image","maximum image size"]}]]></acpsearch>
|
||||
<acpsearch key="app=core&module=members&controller=groups&searchResult=4_g_movies"><![CDATA[{"lang_key":"g_movies","restriction":"groups_manage","keywords":["ability to upload movies","movie upload ability","movies","upload movie permission","upload movies"]}]]></acpsearch>
|
||||
<acpsearch key="app=core&module=members&controller=groups&searchResult=4_g_create_albums"><![CDATA[{"lang_key":"g_create_albums","restriction":"groups_manage","keywords":["albums","albums permission","create albums","create albums permission"]}]]></acpsearch>
|
||||
</build>
|
||||
@@ -1,11 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<emails><template><template_app>gallery</template_app><template_name>digests__item</template_name><template_content_html><![CDATA[<tr style='border-bottom: 1px solid #eeeeee'>
|
||||
<emails><template><template_app>gallery</template_app><template_name>_imageContent</template_name><template_content_html><![CDATA[{{if $includeAuthor}}
|
||||
<table width='100%' cellpadding='0' cellspacing='0' border='0'>
|
||||
<tr>
|
||||
<td dir='{dir}' width='40' valign='top' class='hidePhone' style='width: 0; max-height: 0; overflow: hidden; float: left;'>
|
||||
<img src='{$content->author()->get_photo( true, true )}' width='40' height='40' style='border: 1px solid #777777; vertical-align: middle;'>
|
||||
</td>
|
||||
<td dir='{dir}' width='30' valign='top' class='hidePhone' style='width: 0; max-height: 0; overflow: hidden; float: left;'>
|
||||
<br />
|
||||
<span style='display: block; width: 0px; height: 0px; border-width: 15px; border-color: transparent #f9f9f9 transparent transparent; border-style: solid'></span>
|
||||
</td>
|
||||
<td dir='{dir}' valign='top' style='background: #f9f9f9;'>
|
||||
{{endif}}
|
||||
<table width='100%' cellpadding='10' cellspacing='0' border='0'>
|
||||
<tr>
|
||||
<td dir='{dir}' width='120' align='center' valign='top'>
|
||||
<img src='{file="$content->small_file_name" extension="gallery_Images"}' style='border: 1px solid #000; vertical-align: middle;' width='100' height='100'>
|
||||
</td>
|
||||
<td dir='{dir}' align='left'>
|
||||
<table width='100%' cellpadding='5' cellspacing='0' border='0'>
|
||||
{{if $container = $content->containerWrapper()}}
|
||||
<tr>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; line-height: 1.5; font-size: 14px; color: #8d8d8d">
|
||||
{$email->language->addToStack("email_posted_in", FALSE, array( 'sprintf' => array( $container->getTitleForLanguage( $email->language ) ) ) )}
|
||||
</td>
|
||||
</tr>
|
||||
{{endif}}
|
||||
<tr>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; line-height: 1.5; font-size: 14px;">
|
||||
<strong>{$content->mapped('title')}</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td dir='{dir}' style="font-family: 'Helvetica Neue', helvetica, sans-serif; line-height: 1.5; font-size: 14px;">
|
||||
{$email->parseTextForEmail( $content->content(), $email->language )|raw}
|
||||
</td>
|
||||
</tr>
|
||||
{{if $includeLinks}}
|
||||
<tr>
|
||||
<td dir='{dir}'>
|
||||
<a href='{$content->url()}' style="color: #ffffff; font-family: 'Helvetica Neue', helvetica, sans-serif; text-decoration: none; font-size: 14px; background: {setting="email_color"}; line-height: 32px; padding: 0 10px; display: inline-block; border-radius: 3px;">{$email->language->addToStack("go_to_this_x", FALSE, array( 'sprintf' => array( mb_strtolower( $email->language->addToStack( $content::$title, FALSE ) ) ) ) )}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{{endif}}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{{if $includeAuthor}}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{{endif}}]]></template_content_html><template_data>$content, $includeLinks, $includeAuthor, $email</template_data><template_content_plaintext/><template_pinned>0</template_pinned></template><template><template_app>gallery</template_app><template_name>digests__item</template_name><template_content_html><![CDATA[<tr style='border-bottom: 1px solid #eeeeee'>
|
||||
<td dir='{dir}' width='120' align='center' valign='top'>
|
||||
<img src='{file="$image->small_file_name" extension="gallery_Images"}' style='border: 1px solid #000; vertical-align: middle;' width='100' height='100'>
|
||||
</td>
|
||||
<td dir='{dir}' align='left'>
|
||||
<p style='font-family: "Helvetica Neue", helvetica, sans-serif; margin: 0; font-size: 13px; font-weight: bold'>
|
||||
{$email->language->addToStack("x_added_image_in", FALSE, array( 'sprintf' => array( $image->author()->name, $image->container()->_title ) ) )}
|
||||
{$email->language->addToStack("x_added_image_in", FALSE, array( 'sprintf' => array( $image->author()->name, $image->container()->getTitleForLanguage( $email->language ) ) ) )}
|
||||
</p>
|
||||
<h2 style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 20px; font-weight: 500 !important; margin: 0;">
|
||||
<a href='{$image->url()}' style='text-decoration: none;'>{$image->mapped('name')}</a>
|
||||
@@ -22,7 +73,7 @@
|
||||
<strong style='font-family: "Helvetica Neue", helvetica, sans-serif; '><img src='{resource="email/comment.png" location="interface" app="core"}' width='13' height='12' style='vertical-align: middle'> {$email->language->addToStack("num_comments", FALSE, array( 'pluralize' => array( $image->comments ) ) )}</strong>
|
||||
</p>
|
||||
</td>
|
||||
</tr>]]></template_content_html><template_data>$image, $email</template_data><template_content_plaintext><![CDATA[{$email->language->addToStack("x_added_image_in", FALSE, array( 'sprintf' => array( $image->author()->name, $image->container()->_title ) ) )}: {$image->mapped('name')} ({$image->url()})]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>gallery</template_app><template_name>digests__comment</template_name><template_content_html><![CDATA[<tr style='border-bottom: 1px solid #eeeeee'>
|
||||
</tr>]]></template_content_html><template_data>$image, $email</template_data><template_content_plaintext><![CDATA[{$email->language->addToStack("x_added_image_in", FALSE, array( 'htmlsprintf' => array( $image->author()->name, $image->container()->getTitleForLanguage( $email->language ) ) ) )}: {$image->mapped('name')} ({$image->url()})]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>gallery</template_app><template_name>digests__comment</template_name><template_content_html><![CDATA[<tr style='border-bottom: 1px solid #eeeeee'>
|
||||
<td dir='{dir}' width='120' align='center' valign='top'>
|
||||
<img src='{file="$comment->item()->small_file_name" extension="gallery_Images"}' style='border: 1px solid #000; vertical-align: middle;' width='100' height='100'>
|
||||
</td>
|
||||
@@ -37,5 +88,5 @@
|
||||
{$email->parseTextForEmail( $comment->content(), $email->language )|raw}
|
||||
</div>
|
||||
</td>
|
||||
</tr>]]></template_content_html><template_data>$comment, $email</template_data><template_content_plaintext><![CDATA[{$email->language->addToStack("x_commented_photo", FALSE, array( 'sprintf' => array( $comment->author()->name ) ) )}: {$comment->item()->name} ({$comment->url()})
|
||||
</tr>]]></template_content_html><template_data>$comment, $email</template_data><template_content_plaintext><![CDATA[{$email->language->addToStack("x_commented_photo", FALSE, array( 'htmlsprintf' => array( $comment->author()->name ) ) )}: {$comment->item()->name} ({$comment->url()})
|
||||
]]></template_content_plaintext><template_pinned>0</template_pinned></template></emails>
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"core": {
|
||||
"AdvertisementLocations": {
|
||||
"ImageLightbox": "IPS\\gallery\\extensions\\core\\AdvertisementLocations\\ImageLightbox"
|
||||
},
|
||||
"ContentRouter": {
|
||||
"gallery": "IPS\\gallery\\extensions\\core\\ContentRouter\\gallery"
|
||||
},
|
||||
"CreateMenu": {
|
||||
"gallery": "IPS\\gallery\\extensions\\core\\CreateMenu\\gallery"
|
||||
},
|
||||
"Dashboard": {
|
||||
"Overview": "IPS\\gallery\\extensions\\core\\Dashboard\\Overview"
|
||||
},
|
||||
"EditorLocations": {
|
||||
"Albums": "IPS\\gallery\\extensions\\core\\EditorLocations\\Albums",
|
||||
"Categories": "IPS\\gallery\\extensions\\core\\EditorLocations\\Categories",
|
||||
"Gallery": "IPS\\gallery\\extensions\\core\\EditorLocations\\Gallery",
|
||||
"Images": "IPS\\gallery\\extensions\\core\\EditorLocations\\Images"
|
||||
},
|
||||
"EditorMedia": {
|
||||
"Images": "IPS\\gallery\\extensions\\core\\EditorMedia\\Images"
|
||||
},
|
||||
"FileStorage": {
|
||||
"Images": "IPS\\gallery\\extensions\\core\\FileStorage\\Images"
|
||||
},
|
||||
"FrontNavigation": {
|
||||
"Gallery": "IPS\\gallery\\extensions\\core\\FrontNavigation\\Gallery"
|
||||
},
|
||||
"GroupForm": {
|
||||
"Gallery": "IPS\\gallery\\extensions\\core\\GroupForm\\Gallery"
|
||||
},
|
||||
"GroupLimits": {
|
||||
"Album": "IPS\\gallery\\extensions\\core\\GroupLimits\\Album"
|
||||
},
|
||||
"LiveSearch": {
|
||||
"Categories": "IPS\\gallery\\extensions\\core\\LiveSearch\\Categories"
|
||||
},
|
||||
"MemberACPProfileContentTab": {
|
||||
"Gallery": "IPS\\gallery\\extensions\\core\\MemberACPProfileContentTab\\Gallery"
|
||||
},
|
||||
"MemberFilter": {
|
||||
"Album": "IPS\\gallery\\extensions\\core\\MemberFilter\\Album"
|
||||
},
|
||||
"MemberRestrictions": {
|
||||
"Gallery": "IPS\\gallery\\extensions\\core\\MemberRestrictions\\Gallery"
|
||||
},
|
||||
"MemberSync": {
|
||||
"Gallery": "IPS\\gallery\\extensions\\core\\MemberSync\\Gallery"
|
||||
},
|
||||
"Permissions": {
|
||||
"Permissions": "IPS\\gallery\\extensions\\core\\Permissions\\Permissions"
|
||||
},
|
||||
"Profile": {
|
||||
"gallery": "IPS\\gallery\\extensions\\core\\Profile\\gallery"
|
||||
},
|
||||
"Queue": {
|
||||
"CleanUpGalleryImages": "IPS\\gallery\\extensions\\core\\Queue\\CleanUpGalleryImages",
|
||||
"Follow": "IPS\\gallery\\extensions\\core\\Queue\\Follow",
|
||||
"RebuildGalleryImages": "IPS\\gallery\\extensions\\core\\Queue\\RebuildGalleryImages"
|
||||
},
|
||||
"Sitemap": {
|
||||
"Images": "IPS\\gallery\\extensions\\core\\Sitemap\\Images",
|
||||
"Videos": "IPS\\gallery\\extensions\\core\\Sitemap\\Videos"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -32,7 +32,8 @@
|
||||
"gallery_album": {
|
||||
"friendly": "album/{#album}-{?}",
|
||||
"real": "app=gallery&module=gallery&controller=browse",
|
||||
"verify": "\\IPS\\gallery\\Album"
|
||||
"verify": "\\IPS\\gallery\\Album",
|
||||
"seoPagination": true
|
||||
},
|
||||
"gallery_categories": {
|
||||
"friendly": "categories",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<javascript app="gallery">
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/browse" javascript_name="ips.browse.lightbox.js" javascript_type="controller" javascript_version="103038" javascript_position="1000200"><![CDATA[/**
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/browse" javascript_name="ips.browse.lightbox.js" javascript_type="controller" javascript_version="105100" javascript_position="1000200"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
@@ -20,6 +20,7 @@
|
||||
initialize: function () {
|
||||
this.on( 'click', '[data-imageLightbox]', this.launchLightbox );
|
||||
this.on( document, 'keydown', this.keyDown );
|
||||
this.on( document, 'click', '.cLightboxClose', this.closeLightbox );
|
||||
|
||||
// Primary event that watches for URL changes
|
||||
History.Adapter.bind( window, 'statechange', _.bind( this.stateChange, this ) );
|
||||
@@ -38,11 +39,6 @@
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Monitor state change and close lightbox if we go back again
|
||||
*/
|
||||
closeLightboxNextStateChange: false,
|
||||
|
||||
/**
|
||||
* Handles URL state changes
|
||||
*
|
||||
@@ -52,21 +48,14 @@
|
||||
var state = History.getState();
|
||||
|
||||
// Monitor for back button when we're on the 'first' image
|
||||
if( state.data.controller == 'gallery.front.browse.imageLightbox' && ( !_.isUndefined( state.data.initialLaunch ) && state.data.initialLaunch == true ) ) {
|
||||
this.closeLightboxNextStateChange = true;
|
||||
}
|
||||
|
||||
if( state.data.controller != 'gallery.front.view.image' ){
|
||||
if( state.data.controller == 'gallery.front.browse.imageLightbox' && ( _.isUndefined( state.data.initialLaunch ) || state.data.initialLaunch != true ) ) {
|
||||
this.closeLightboxNextStateChange = false;
|
||||
Debug.log( state.data );
|
||||
this.closeLightbox();
|
||||
this.hideLightbox();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
this.closeLightboxNextStateChange = false;
|
||||
|
||||
// We are looking for next/prev clicks in the lightbox, so make sure we know which was done
|
||||
if( _.isUndefined( state.data.direction ) ){
|
||||
return;
|
||||
@@ -128,8 +117,6 @@
|
||||
$('#cLightbox').css({
|
||||
zIndex: ips.ui.zIndex()
|
||||
});
|
||||
|
||||
$('.cLightboxClose').on( 'click', this.closeLightbox );
|
||||
} else if( !$('#cLightbox').is(':visible') ) {
|
||||
$('#cLightbox').show();
|
||||
}
|
||||
@@ -175,25 +162,38 @@
|
||||
},
|
||||
|
||||
/**
|
||||
* Close the lightbox
|
||||
* Close the lightbox and update the state history
|
||||
*
|
||||
* @returns {void}
|
||||
*/
|
||||
closeLightbox: function( e ) {
|
||||
// Hide the lightbox
|
||||
$('#cLightbox').fadeOut( 400, function(){
|
||||
// Empty the lightbox
|
||||
$('#cLightbox > .cLightboxBack').html('');
|
||||
});
|
||||
|
||||
$('body').removeClass('ipsNoScroll');
|
||||
closeLightbox: function( e ) {
|
||||
this.hideLightbox();
|
||||
|
||||
// Store a history entry
|
||||
History.pushState( { controller: 'gallery.front.browse.imageLightbox', bypassStateAdjustment: true }, $('#cLightbox').attr('data-originalTitle'), $('#cLightbox').attr('data-originalUrl') );
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Hides the lightbox
|
||||
*
|
||||
* @returns {void}
|
||||
*/
|
||||
hideLightbox: function() {
|
||||
// Hide the lightbox
|
||||
$('#cLightbox').fadeOut( 400 );
|
||||
$('body').removeClass('ipsNoScroll');
|
||||
|
||||
// If it's a video, pause it to stop the sound
|
||||
if( $('#cLightbox video').length )
|
||||
{
|
||||
_.each( $('#cLightbox video'), function( elem ) {
|
||||
elem.pause();
|
||||
} );
|
||||
}
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/browse" javascript_name="ips.browse.list.js" javascript_type="controller" javascript_version="103038" javascript_position="1000200">/**
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/browse" javascript_name="ips.browse.list.js" javascript_type="controller" javascript_version="105100" javascript_position="1000200">/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
@@ -241,7 +241,7 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));</file>
|
||||
<file javascript_app="gallery" javascript_location="admin" javascript_path="controllers/settings" javascript_name="ips.settings.settings.js" javascript_type="controller" javascript_version="103038" javascript_position="1000050">/**
|
||||
<file javascript_app="gallery" javascript_location="admin" javascript_path="controllers/settings" javascript_name="ips.settings.settings.js" javascript_type="controller" javascript_version="105100" javascript_position="1000050">/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
@@ -298,7 +298,7 @@
|
||||
|
||||
});
|
||||
}(jQuery, _));</file>
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/submit" javascript_name="ips.submit.chooseCategory.js" javascript_type="controller" javascript_version="103038" javascript_position="1000100"><![CDATA[/**
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/submit" javascript_name="ips.submit.chooseCategory.js" javascript_type="controller" javascript_version="105100" javascript_position="1000100"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
@@ -314,13 +314,18 @@
|
||||
_chosen: false,
|
||||
_resizeTimer: null,
|
||||
|
||||
initialize: function () {
|
||||
initialize: function () {
|
||||
this.on( 'nodeItemSelected', '[data-name="image_category"]', this.chooseCategory );
|
||||
this.on( 'nodeSelectedChanged', '[data-name="image_category"]', this.chooseCategoryInitially );
|
||||
this.on( 'click', '[data-action="continueNoAlbum"]', this.continueNoAlbum );
|
||||
this.on( 'click', '[data-type]:not([data-disabled])', this.chooseAlbumType );
|
||||
|
||||
// Try to set the dialog title
|
||||
this.setup();
|
||||
|
||||
// But in some cases we finish loading before the wrapper controller, so also listen for the wrapper controller to finish
|
||||
// and set the title then, if appropriate
|
||||
this.on( document, 'gallery.wrapperInit', this.setup );
|
||||
},
|
||||
|
||||
setup: function () {
|
||||
@@ -389,7 +394,7 @@
|
||||
}
|
||||
|
||||
form.show().css({
|
||||
opacity: 0.001
|
||||
opacity: "0.001"
|
||||
});
|
||||
|
||||
if( this.scope.closest('.ipsDialog').length ){
|
||||
@@ -397,7 +402,7 @@
|
||||
}
|
||||
|
||||
form.animate({
|
||||
opacity: 1
|
||||
opacity: "1"
|
||||
}, function () {
|
||||
if( self.scope.closest('.ipsDialog').length ){
|
||||
self._resizeTimer = setInterval( function () {
|
||||
@@ -491,8 +496,9 @@
|
||||
},
|
||||
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/submit" javascript_name="ips.submit.existingAlbums.js" javascript_type="controller" javascript_version="103038" javascript_position="1000100"><![CDATA[/**
|
||||
}(jQuery, _));
|
||||
]]></file>
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/submit" javascript_name="ips.submit.existingAlbums.js" javascript_type="controller" javascript_version="105100" javascript_position="1000100"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
@@ -539,7 +545,7 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/submit" javascript_name="ips.submit.uploadImages.js" javascript_type="controller" javascript_version="103038" javascript_position="1000100"><![CDATA[/**
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/submit" javascript_name="ips.submit.uploadImages.js" javascript_type="controller" javascript_version="105100" javascript_position="1000100"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
@@ -670,7 +676,7 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/submit" javascript_name="ips.submit.wrapper.js" javascript_type="controller" javascript_version="103038" javascript_position="1000100"><![CDATA[/**
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/submit" javascript_name="ips.submit.wrapper.js" javascript_type="controller" javascript_version="105100" javascript_position="1000100"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
@@ -694,6 +700,7 @@
|
||||
initialize: function () {
|
||||
// Intercept form submissions
|
||||
this.on( 'submit', 'form', this.submitForm );
|
||||
this.on( 'click', '[data-role="submitForm"]', this.maybeSubmitForm );
|
||||
|
||||
// If another controller tells us to do something, do it
|
||||
this.on( 'gallery.submit.response', this._updateWrapper );
|
||||
@@ -717,7 +724,11 @@
|
||||
this.on( 'gallery.enlargeUploader', this.enlargeUploader );
|
||||
this.on( 'gallery.updateTitle', this.updateTitle );
|
||||
|
||||
// Set us up
|
||||
this.setup();
|
||||
|
||||
// Let everyone know we're done in case they're waiting
|
||||
this.trigger('gallery.wrapperInit');
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -934,7 +945,7 @@
|
||||
}
|
||||
} else {
|
||||
// Otherwise, clone our existing form to use
|
||||
$('[data-role="defaultImageDetailsForm"]').find('#cke_image_description_DEFAULT').remove();
|
||||
$('[data-role="defaultImageDetailsForm"]').find('#cke_filedata__image_description_DEFAULT').remove();
|
||||
var htmlToInsert = $('[data-role="defaultImageDetailsForm"]').html();
|
||||
htmlToInsert = '<div id="image_details_' + imageId + '">' + htmlToInsert.replace( /name="image_tags_DEFAULT"/g, 'name="image_tags_DEFAULT" data-ipsAutocomplete ').replace( /_DEFAULT/g, '_' + imageId ) + "</div>";
|
||||
|
||||
@@ -1015,7 +1026,7 @@
|
||||
if( !show ){
|
||||
detailsPanel
|
||||
.animate({
|
||||
opacity: 0,
|
||||
opacity: "0",
|
||||
top: '400px'
|
||||
}, 400, function () {
|
||||
detailsPanel.hide()
|
||||
@@ -1024,11 +1035,11 @@
|
||||
detailsPanel
|
||||
.show()
|
||||
.css({
|
||||
opacity: 0,
|
||||
opacity: "0",
|
||||
top: '400px'
|
||||
})
|
||||
.animate({
|
||||
opacity: 1,
|
||||
opacity: "1",
|
||||
top: '0px'
|
||||
}, 400 );
|
||||
}
|
||||
@@ -1062,6 +1073,25 @@
|
||||
e.preventDefault();
|
||||
},
|
||||
|
||||
/**
|
||||
* IE11 doesn't support submit buttons outside of a <form> like HTML5 does.
|
||||
* So, if we click the button, are on IE11, and not inside a form, manually trigger a submit.
|
||||
*
|
||||
* @param {event} e Event object
|
||||
* @returns {void}
|
||||
*/
|
||||
maybeSubmitForm: function (e) {
|
||||
var isIE11 = !(window.ActiveXObject) && "ActiveXObject" in window;
|
||||
|
||||
if( !$( e.currentTarget ).closest('form').length && $( e.currentTarget ).is('[form]') && isIE11 ){
|
||||
var form = $('#' + $( e.currentTarget ).attr('form'));
|
||||
|
||||
if( form.length ){
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Event handler for submitting forms inside the wizard
|
||||
*
|
||||
@@ -1070,7 +1100,7 @@
|
||||
*/
|
||||
submitForm: function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
|
||||
var form = $( e.currentTarget );
|
||||
var url = form.attr('action');
|
||||
|
||||
@@ -1102,7 +1132,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
form.find('input[name="images_autofollow_all"]').val( $('#check_image_auto_follow_wrapper').hasClass('ipsToggle_on') ? 1 : 0 );
|
||||
if( ips.getSetting('memberID') )
|
||||
{
|
||||
form.find('input[name="images_autofollow_all"]').val( $('#check_image_auto_follow_wrapper').hasClass('ipsToggle_on') ? 1 : 0 );
|
||||
}
|
||||
|
||||
// Get the order of the images and store this in the submission
|
||||
var imageOrder = [];
|
||||
@@ -1187,6 +1220,7 @@
|
||||
* @returns {void}
|
||||
*/
|
||||
_updateContents: function ( response ) {
|
||||
|
||||
var wrapper = $('[data-role="submitWrapper"]');
|
||||
var container = wrapper.find('[data-role="container"]');
|
||||
|
||||
@@ -1315,45 +1349,57 @@
|
||||
_enlargeUploadStep: function (callback) {
|
||||
var wrapper = $('[data-role="submitWrapper"]');
|
||||
var dialogElem = this.scope.closest('.cGalleryDialog_outer > div');
|
||||
var dialogElemPos = ips.utils.position.getElemPosition( dialogElem );
|
||||
var viewportSize = { width: $( window ).width(), height: $( window ).height() };
|
||||
var left = ( viewportSize.width - dialogElem.width() ) / 2;
|
||||
|
||||
// Set the size of the dialog div, and then animate expanding to fullscreen size
|
||||
this.scope.closest('.cGalleryDialog_outer > div').css({
|
||||
width: 'auto',
|
||||
maxWidth: '100%',
|
||||
position: 'fixed',
|
||||
margin: 0,
|
||||
top: dialogElemPos.absPos.top + 'px',
|
||||
left: left + 'px',
|
||||
right: viewportSize.width - ( left + dialogElem.width() ) + 'px'
|
||||
}).animate({
|
||||
left: '10px',
|
||||
right: '10px',
|
||||
bottom: '10px',
|
||||
top: '10px',
|
||||
}, function () {
|
||||
if( dialogElem.length )
|
||||
{
|
||||
var dialogElemPos = ips.utils.position.getElemPosition( dialogElem );
|
||||
var viewportSize = { width: $( window ).width(), height: $( window ).height() };
|
||||
var left = ( viewportSize.width - dialogElem.width() ) / 2;
|
||||
|
||||
// Now fade in the wrapper
|
||||
wrapper.find('[data-role="images"]').css({
|
||||
opacity: 0.0001,
|
||||
}).show();
|
||||
// Set the size of the dialog div, and then animate expanding to fullscreen size
|
||||
this.scope.closest('.cGalleryDialog_outer > div').css({
|
||||
width: 'auto',
|
||||
maxWidth: '100%',
|
||||
position: 'fixed',
|
||||
margin: 0,
|
||||
top: dialogElemPos.absPos.top + 'px',
|
||||
left: left + 'px',
|
||||
right: viewportSize.width - ( left + dialogElem.width() ) + 'px'
|
||||
}).animate({
|
||||
left: '10px',
|
||||
right: '10px',
|
||||
bottom: '10px',
|
||||
top: '10px',
|
||||
}, function () {
|
||||
|
||||
// Now fade in the wrapper
|
||||
wrapper.find('[data-role="images"]').css({
|
||||
opacity: "0.0001",
|
||||
}).show();
|
||||
|
||||
if( callback ){
|
||||
callback();
|
||||
}
|
||||
|
||||
wrapper.find('[data-role="images"]').animate({
|
||||
opacity: "1"
|
||||
});
|
||||
|
||||
$( document ).trigger( 'contentChange', [ wrapper ] );
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
if( callback ){
|
||||
callback();
|
||||
}
|
||||
|
||||
wrapper.find('[data-role="images"]').animate({
|
||||
opacity: 1
|
||||
});
|
||||
|
||||
$( document ).trigger( 'contentChange', [ wrapper ] );
|
||||
});
|
||||
}
|
||||
|
||||
// Positioning needed for upload step
|
||||
this.scope.find('.cGalleryDialog').css({ minHeight: 0, position: 'absolute', top: 0, left: 0, right: 0, bottom: 0 });
|
||||
this.scope.closest('.ipsDialog_content').css({ position: 'absolute', top: 0, left: 0, right: 0, bottom: 0 });
|
||||
this.scope.find('.cGalleryDialog').css({ minHeight: "0", position: 'absolute', top: "0", left: "0", right: "0", bottom: "0" });
|
||||
this.scope.closest('.ipsDialog_content').css({ position: 'absolute', top: "0", left: "0", right: "0", bottom: "0" });
|
||||
|
||||
if( !wrapper.find('.cGallerySubmit_bottomBar').hasClass('ipsHide') ){
|
||||
wrapper.find('.cGallerySubmit_bottomBar').removeClass('ipsHide').fadeIn();
|
||||
@@ -1363,7 +1409,7 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/view" javascript_name="ips.view.image.js" javascript_type="controller" javascript_version="103038" javascript_position="1000150"><![CDATA[/**
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/view" javascript_name="ips.view.image.js" javascript_type="controller" javascript_version="105100" javascript_position="1000150"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
@@ -1434,17 +1480,25 @@
|
||||
// Add swipe left/right support
|
||||
delete Hammer.defaults.cssProps.userSelect; // see https://github.com/hammerjs/hammer.js/issues/81
|
||||
var mc = new Hammer( this.scope.find('.elGalleryHeader').get(0) ); // Can't touch this
|
||||
|
||||
var self = this;
|
||||
mc.on( 'swipeleft', function( e ) {
|
||||
$( document ).trigger('lightboxNextImage');
|
||||
if( !self.scope.find('.cGalleryNote_editing').length )
|
||||
{
|
||||
$( document ).trigger('lightboxNextImage');
|
||||
}
|
||||
} );
|
||||
mc.on( 'swiperight', function( e ) {
|
||||
$( document ).trigger('lightboxPrevImage');
|
||||
if( !self.scope.find('.cGalleryNote_editing').length )
|
||||
{
|
||||
$( document ).trigger('lightboxPrevImage');
|
||||
}
|
||||
} );
|
||||
|
||||
// Toggle document scrolling when dialogs open/close
|
||||
var self = this;
|
||||
$(document).on( 'hideDialog', function() {
|
||||
if( self.scope.closest('#cLightbox').length )
|
||||
if( self.scope.closest('#cLightbox').length && !ips.ui.dialog.hasOpenDialogs() )
|
||||
{
|
||||
$('body').addClass('ipsNoScroll');
|
||||
}
|
||||
@@ -1533,6 +1587,11 @@
|
||||
// Track page view
|
||||
ips.utils.analytics.trackPageView( state.data.realUrl );
|
||||
|
||||
// If the request was in the lightbox but the lightbox is closed, we must have closed the lightbox but then hit 'back' so now we need to relaunch it
|
||||
if( $('#cLightbox').length && !$('#cLightbox').is(':visible') ) {
|
||||
$('#cLightbox').show();
|
||||
}
|
||||
|
||||
// Scroll to the image but only if we're not in the lightbox
|
||||
if( !$('#cLightbox').length || !$('#cLightbox').is(':visible') ) {
|
||||
this._scrollPage();
|
||||
@@ -1748,6 +1807,19 @@
|
||||
if( !cacheOnly ){
|
||||
this.cleanContents();
|
||||
this._setImageLoading();
|
||||
|
||||
var urlToRequest = url;
|
||||
}
|
||||
else
|
||||
{
|
||||
// We need to add preload=1 to the
|
||||
if( url.match(/\?/) ) {
|
||||
if( url.slice(-1) != '?' ){
|
||||
var urlToRequest = url + '&preload=1';
|
||||
}
|
||||
} else {
|
||||
var urlToRequest = url + '?preload=1';
|
||||
}
|
||||
}
|
||||
|
||||
// If this is a regular load, set to loading
|
||||
@@ -1764,6 +1836,7 @@
|
||||
// Already have cached data? Just show it.
|
||||
if( self._cachedUrls[ url ] ){
|
||||
self._updateImage( self._cachedUrls[ url ] );
|
||||
self._markImageRead( url );
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1775,7 +1848,7 @@
|
||||
this._ajaxObj = ajax;
|
||||
}
|
||||
|
||||
ajax( url, {
|
||||
ajax( urlToRequest, {
|
||||
dataType: 'json'
|
||||
} )
|
||||
.done( function (response) {
|
||||
@@ -1797,6 +1870,32 @@
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* Mark an image read. When we fetch for caching we don't want the image marked as read, but when we move forward/back
|
||||
* to view the image in the lightbox, it should be marked at that point.
|
||||
*
|
||||
* @param {string} url URL of new image to fetch
|
||||
* @returns {void}
|
||||
*/
|
||||
_markImageRead: function (url) {
|
||||
var self = this;
|
||||
|
||||
if( url.match(/\?/) ) {
|
||||
if( url.slice(-1) != '?' ){
|
||||
url = url + '&do=markread';
|
||||
}
|
||||
} else {
|
||||
url = url + '?do=markread';
|
||||
}
|
||||
|
||||
ips.getAjax()( url, {
|
||||
dataType: 'json'
|
||||
} )
|
||||
.done( function (response) {
|
||||
Debug.log( "Marked read" );
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* Handles a response from the server with new image info
|
||||
*
|
||||
@@ -2008,7 +2107,7 @@
|
||||
if( maxHeight < 400 ){
|
||||
maxHeight = 400;
|
||||
}
|
||||
console.dir(imageData);
|
||||
|
||||
if( imageData ){
|
||||
imageData = $.parseJSON( imageData );
|
||||
ratio = imageData['large'][ 0 ] / imageData['large'][ 1 ];
|
||||
@@ -2018,7 +2117,7 @@ console.dir(imageData);
|
||||
width: imageData['large'][0],
|
||||
height: imageData['large'][1]
|
||||
};
|
||||
console.dir(imageSize);
|
||||
|
||||
if( imageSize['width'] > maxWidth ){
|
||||
imageSize['width'] = maxWidth;
|
||||
imageSize['height'] = Math.round( imageSize['width'] / ratio );
|
||||
@@ -2085,7 +2184,7 @@ console.dir(imageSize);
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/view" javascript_name="ips.view.note.js" javascript_type="controller" javascript_version="103038" javascript_position="1000150"><![CDATA[/**
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/view" javascript_name="ips.view.note.js" javascript_type="controller" javascript_version="105100" javascript_position="1000150"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
@@ -2113,6 +2212,7 @@ console.dir(imageSize);
|
||||
this.on( 'mousedown', '.cGalleryNote_note', this.mouseDown );
|
||||
this.on( 'mouseenter', this.mouseEnter );
|
||||
this.on( 'mouseleave', this.mouseLeave );
|
||||
|
||||
this.setup();
|
||||
},
|
||||
|
||||
@@ -2124,7 +2224,8 @@ console.dir(imageSize);
|
||||
setup: function () {
|
||||
var self = this;
|
||||
|
||||
if( !_.isUndefined( this.scope.attr('data-editable') ) ){
|
||||
// Force disable for mobile as the behavior isn't terribly good on a small device
|
||||
if( !_.isUndefined( this.scope.attr('data-editable') ) && !ips.utils.responsive.currentIs('phone') ){
|
||||
this._editable = true;
|
||||
}
|
||||
|
||||
@@ -2155,7 +2256,7 @@ console.dir(imageSize);
|
||||
|
||||
this.scope.draggable('enable');
|
||||
|
||||
if( !$.trim( note ) ){
|
||||
if( !note.trim() ){
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2262,7 +2363,7 @@ console.dir(imageSize);
|
||||
* @returns {void}
|
||||
*/
|
||||
mouseDown: function () {
|
||||
this.scope.draggable('disable');
|
||||
// this.scope.draggable('disable');
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -2276,6 +2377,12 @@ console.dir(imageSize);
|
||||
return;
|
||||
}
|
||||
|
||||
if( this._editing === true )
|
||||
{
|
||||
this.scope.find('.cGalleryNote_note > div textarea').focus();
|
||||
return;
|
||||
}
|
||||
|
||||
this._editing = true;
|
||||
|
||||
this.scope
|
||||
@@ -2477,6 +2584,34 @@ console.dir(imageSize);
|
||||
_updatePosition: function () {
|
||||
var self = this;
|
||||
|
||||
// If the note block is now out of view, flip it to the other side
|
||||
var parent = this.scope.closest('.cGalleryViewImage');
|
||||
var notePos = this.scope.position();
|
||||
|
||||
var posLeft = this.scope.find('.cGalleryNote_note').css('left');
|
||||
var posRight = this.scope.find('.cGalleryNote_note').css('right');
|
||||
|
||||
// If the text box is on the right side, and is now past the boundary of the image, flip it to the left side
|
||||
if( parseInt( posLeft ) > 0 ) {
|
||||
if( notePos['left'] + parseInt( this.scope.width() ) + parseInt( this.scope.find('.cGalleryNote_note').width() ) > parent.width() ) {
|
||||
// But don't bother doing it if it will just be off the other side now
|
||||
if( notePos['left'] - parseInt( this.scope.find('.cGalleryNote_note').width() ) > 0 ) {
|
||||
this.scope.find('.cGalleryNote_note').css( 'left', posRight );
|
||||
this.scope.find('.cGalleryNote_note').css( 'right', posLeft );
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if( notePos['left'] - parseInt( this.scope.find('.cGalleryNote_note').width() ) < 0 ) {
|
||||
// Don't flip if it will be off the other side now
|
||||
if( notePos['left'] + parseInt( this.scope.width() ) + parseInt( this.scope.find('.cGalleryNote_note').width() ) < parent.width() ) {
|
||||
this.scope.find('.cGalleryNote_note').css( 'left', posRight );
|
||||
this.scope.find('.cGalleryNote_note').css( 'right', posLeft );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// If this is a new note, we don't want to update the position remotely yet.
|
||||
// We'll only do that once the note text is saved for the first time.
|
||||
if( this.scope.attr('data-noteID') == 'new' ){
|
||||
@@ -2515,7 +2650,7 @@ console.dir(imageSize);
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/view" javascript_name="ips.view.notes.js" javascript_type="controller" javascript_version="103038" javascript_position="1000150"><![CDATA[/**
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="controllers/view" javascript_name="ips.view.notes.js" javascript_type="controller" javascript_version="105100" javascript_position="1000150"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
@@ -2598,7 +2733,7 @@ console.dir(imageSize);
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="templates" javascript_name="ips.templates.browse.js" javascript_type="template" javascript_version="103038" javascript_position="1000050"><![CDATA[ips.templates.set('gallery.patchwork.indexItem', " \
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="templates" javascript_name="ips.templates.browse.js" javascript_type="template" javascript_version="105100" javascript_position="1000050"><![CDATA[ips.templates.set('gallery.patchwork.indexItem', " \
|
||||
{{#showThumb}}\
|
||||
<span class='cGalleryPatchwork_item' style='width: {{dims.width}}px; height: {{dims.height}}px; margin: {{dims.margin}}px {{dims.marginRight}}px {{dims.margin}}px {{dims.marginLeft}}px'>\
|
||||
{{/showThumb}}\
|
||||
@@ -2606,7 +2741,14 @@ console.dir(imageSize);
|
||||
<span class='cGalleryPatchwork_item ipsNoThumb ipsNoThumb_video' style='width: {{dims.width}}px; height: {{dims.height}}px; margin: {{dims.margin}}px {{dims.marginRight}}px {{dims.margin}}px {{dims.marginLeft}}px'>\
|
||||
{{/showThumb}}\
|
||||
<a data-imageLightbox title='{{image.caption}}' href='{{image.url}}'>\
|
||||
{{#showThumb}}<img src='{{image.src}}' alt='{{image.caption}}' class='cGalleryPatchwork_image'>{{/showThumb}}\
|
||||
{{#showThumb}}\
|
||||
{{#lazyLoad}}\
|
||||
<img src='{{blankImg}}' data-src='{{image.src}}' data-ratio='{{dims.ratio}}' alt='{{image.caption}}' class='cGalleryPatchwork_image'>\
|
||||
{{/lazyLoad}}\
|
||||
{{^lazyLoad}}\
|
||||
<img src='{{image.src}}' data-ratio='{{dims.ratio}}' alt='{{image.caption}}' class='cGalleryPatchwork_image'>\
|
||||
{{/lazyLoad}}\
|
||||
{{/showThumb}}\
|
||||
<div class='ipsPhotoPanel ipsPhotoPanel_mini'>\
|
||||
<img src='{{image.author.photo}}' class='ipsUserPhoto ipsUserPhoto_mini'>\
|
||||
<div>\
|
||||
@@ -2614,9 +2756,32 @@ console.dir(imageSize);
|
||||
<span class='ipsType_small ipsTruncate ipsTruncate_line'>{{#lang}}in{{/lang}} {{image.container}}</span>\
|
||||
</div>\
|
||||
</div>\
|
||||
{{#image.allowComments}}\
|
||||
<span class='cGalleryPatchwork_comments' data-commentCount='{{image.comments}}'><i class='fa fa-comment'></i> {{image.comments}}</span>\
|
||||
{{/image.allowComments}}\
|
||||
<ul class='ipsList_inline cGalleryPatchwork_stats'>\
|
||||
{{#image.unread}}\
|
||||
<li class='ipsPos_left'>\
|
||||
<span class='ipsItemStatus ipsItemStatus_small' data-ipsTooltip title='{{image.unread}}'><i class='fa fa-circle'></i></span>\
|
||||
</li>\
|
||||
{{/image.unread}}\
|
||||
{{#image.hasState}}\
|
||||
<li class='ipsPos_left'>\
|
||||
{{#image.state.hidden}}\
|
||||
<span class='ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning' data-ipsTooltip title='{{#lang}}hidden{{/lang}}'><i class='fa fa-eye-slash'></i></span>\
|
||||
{{/image.state.hidden}}\
|
||||
{{#image.state.pending}}\
|
||||
<span class='ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning' data-ipsTooltip title='{{#lang}}pending{{/lang}}'><i class='fa fa-warning'></i></span>\
|
||||
{{/image.state.pending}}\
|
||||
{{#image.state.pinned}}\
|
||||
<span class='ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive' data-ipsTooltip title='{{#lang}}pinned{{/lang}}'><i class='fa fa-thumb-tack'></i></span>\
|
||||
{{/image.state.pinned}}\
|
||||
{{#image.state.featured}}\
|
||||
<span class='ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive' data-ipsTooltip title='{{#lang}}featured{{/lang}}'><i class='fa fa-star'></i></span>\
|
||||
{{/image.state.featured}}\
|
||||
</li>\
|
||||
{{/image.hasState}}\
|
||||
{{#image.allowComments}}\
|
||||
<li class='ipsPos_right' data-commentCount='{{image.comments}}'><i class='fa fa-comment'></i> {{image.comments}}</li>\
|
||||
{{/image.allowComments}}\
|
||||
</ul>\
|
||||
</a>\
|
||||
</span>\
|
||||
");
|
||||
@@ -2629,7 +2794,14 @@ ips.templates.set('gallery.patchwork.tableItem', " \
|
||||
<div data-imageID='{{image.id}}' class='cGalleryPatchwork_item ipsNoThumb ipsNoThumb_video' style='width: {{dims.width}}px; height: {{dims.height}}px; margin: {{dims.margin}}px {{dims.marginRight}}px {{dims.margin}}px {{dims.marginLeft}}px'>\
|
||||
{{/showThumb}}\
|
||||
<a data-imageLightbox title='{{image.caption}}' href='{{image.url}}'>\
|
||||
{{#showThumb}}<img src='{{image.src}}' alt='{{image.caption}}' class='cGalleryPatchwork_image'>{{/showThumb}}\
|
||||
{{#showThumb}}\
|
||||
{{#lazyLoad}}\
|
||||
<img src='{{blankImg}}' data-src='{{image.src}}' data-ratio='{{dims.ratio}}' alt='{{image.caption}}' class='cGalleryPatchwork_image'>\
|
||||
{{/lazyLoad}}\
|
||||
{{^lazyLoad}}\
|
||||
<img src='{{image.src}}' data-ratio='{{dims.ratio}}' alt='{{image.caption}}' class='cGalleryPatchwork_image'>\
|
||||
{{/lazyLoad}}\
|
||||
{{/showThumb}}\
|
||||
<div class='ipsPhotoPanel ipsPhotoPanel_mini'>\
|
||||
<img src='{{image.author.photo}}' class='ipsUserPhoto ipsUserPhoto_mini'>\
|
||||
<div>\
|
||||
@@ -2676,7 +2848,7 @@ ips.templates.set('gallery.lightbox.wrapper', " \
|
||||
<div class='cLightboxBack'></div>\
|
||||
</div>\
|
||||
");]]></file>
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="templates" javascript_name="ips.templates.submit.js" javascript_type="template" javascript_version="103038" javascript_position="1000050"><![CDATA[ips.templates.set('gallery.submit.imageItem', " \
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="templates" javascript_name="ips.templates.submit.js" javascript_type="template" javascript_version="105100" javascript_position="1000050"><![CDATA[ips.templates.set('gallery.submit.imageItem', " \
|
||||
<div class='ipsAttach ipsImageAttach ipsPad_half ipsAreaBackground_light {{#done}}ipsAttach_done{{/done}}' id='{{id}}' data-role='file' data-fileid='{{id}}' data-fullsizeurl='{{imagesrc}}' data-thumbnailurl='{{thumbnail}}' data-isImage='1'>\
|
||||
<ul class='ipsList_inline ipsImageAttach_controls'>\
|
||||
<li data-role='insert' {{#insertable}}style='display: none'{{/insertable}}><a href='#' data-action='insertFile' class='ipsAttach_selection' data-ipsTooltip title='{{#lang}}insertIntoPost{{/lang}}'><i class='fa fa-plus'></i></a></li>\
|
||||
@@ -2686,7 +2858,7 @@ ips.templates.set('gallery.lightbox.wrapper', " \
|
||||
<a href='#' data-role='deleteFile' class='ipsButton ipsButton_verySmall ipsButton_light' data-ipsTooltip title='{{#lang}}attachRemove{{/lang}}'><i class='fa fa-trash-o'></i></a>\
|
||||
</li>\
|
||||
</ul>\
|
||||
<div class='ipsImageAttach_thumb ipsType_center' data-role='preview' data-grid-ratio='65' data-action='insertFile' {{#thumb}}style='background-image: url( {{thumbnail}} )'{{/thumb}}>\
|
||||
<div class='ipsImageAttach_thumb ipsType_center' data-role='preview' data-grid-ratio='65' data-action='insertFile' {{#thumb}}style='background-image: url( \"{{thumbnail}}\" )'{{/thumb}}>\
|
||||
{{#status}}\
|
||||
<span class='ipsImageAttach_status ipsType_light' data-role='status'>{{{status}}}</span>\
|
||||
<span class='ipsAttachment_progress'><span data-role='progressbar'></span></span>\
|
||||
@@ -2703,7 +2875,7 @@ ips.templates.set('gallery.lightbox.wrapper', " \
|
||||
ips.templates.set('gallery.submit.imageItemWrapper', " \
|
||||
<div class='cGallerySubmit_fileList'>{{{content}}}</div>\
|
||||
");]]></file>
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="templates" javascript_name="ips.templates.view.js" javascript_type="template" javascript_version="103038" javascript_position="1000050"><![CDATA[ips.templates.set('gallery.notes.wrapper', " \
|
||||
<file javascript_app="gallery" javascript_location="front" javascript_path="templates" javascript_name="ips.templates.view.js" javascript_type="template" javascript_version="105100" javascript_position="1000050"><![CDATA[ips.templates.set('gallery.notes.wrapper', " \
|
||||
<div class='cGalleryNote' data-controller='gallery.front.view.note' data-noteID='{{id}}' data-note=\"{{note}}\" {{#editable}}data-editable{{/editable}} data-posLeft='{{left}}' data-posTop='{{top}}' data-dimWidth='{{width}}' data-dimHeight='{{height}}'>\
|
||||
<div class='cGalleryNote_border'></div>\
|
||||
<div class='cGalleryNote_note' style='display: none'>\
|
||||
@@ -2733,9 +2905,11 @@ controllers</order>
|
||||
jquery
|
||||
mustache
|
||||
jstz
|
||||
IntersectionObserver
|
||||
Debug.js
|
||||
app.js</order>
|
||||
<order app="global" path="/dev/js//library//jquery">jquery.js
|
||||
jquery-migrate.js
|
||||
jquery.history.js
|
||||
jquery.transform.js</order>
|
||||
<order app="global" path="/dev/js//library//linkify">linkify.min.js
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<language>
|
||||
<app key="gallery" version="103038">
|
||||
<app key="gallery" version="105100">
|
||||
<word key="__app_gallery" js="0">Gallery</word>
|
||||
<word key="frontnavigation_gallery" js="0">Gallery</word>
|
||||
<word key="gallery_title" js="0">Gallery</word>
|
||||
@@ -18,7 +18,7 @@
|
||||
<word key="__defart_gallery_album_review" js="0">review on a gallery album</word>
|
||||
<word key="module__gallery_stats" js="0">Statistics</word>
|
||||
<word key="search_contextual_item_gallery_image" js="0">This Image</word>
|
||||
<word key="album_user_own_activity_item" js="0">%s added images to %s in </word>
|
||||
<word key="album_user_own_activity_item" js="0">%2$s added images to %1$s in </word>
|
||||
<word key="club_node_gallery" js="0">Club Images</word>
|
||||
<word key="community_image_categories" js="0">Community Images</word>
|
||||
<word key="menu__gallery_gallery" js="0">Gallery</word>
|
||||
@@ -70,6 +70,11 @@
|
||||
<word key="gallery_suffix_day" js="0">per day</word>
|
||||
<word key="gallery_suffix_kb_day" js="0">kB/day</word>
|
||||
<word key="gallery_requires_log" js="0">These settings rely on the detailed bandwidth log which can be disabled in the Gallery Settings and cleared periodically. If using these settings, it is recommended that you leave the log turned on and set not to clear more often than every 48 hours otherwise you may experience unexpected behavior.</word>
|
||||
<word key="g_download_original" js="0">Can download original image?</word>
|
||||
<word key="g_download_original_desc" js="0">Users will still be able to download the large size image through their browser</word>
|
||||
<word key="g_download_raw" js="0">Yes, without watermark</word>
|
||||
<word key="g_download_watermarked" js="0">Yes, with watermark</word>
|
||||
<word key="g_download_none" js="0">No</word>
|
||||
<word key="r__albums" js="0">Albums</word>
|
||||
<word key="r__albums_manage" js="0">Can view albums?</word>
|
||||
<word key="r__diskspace" js="0">Diskspace</word>
|
||||
@@ -86,7 +91,9 @@
|
||||
<word key="gcategory_allow_rating" js="0">Allow ratings?</word>
|
||||
<word key="category_can_tag" js="0">Allow tags?</word>
|
||||
<word key="category_tag_prefixes" js="0">Allow prefixes?</word>
|
||||
<word key="category_allow_albums_club" js="0">Allow albums?</word>
|
||||
<word key="category_allow_albums" js="0">Albums</word>
|
||||
<word key="category_allow_albums_desc" js="0"><![CDATA[You can control which groups are allowed to create albums from <a href='{internal.app=core&module=members&controller=groups}'>Group Settings</a>. If you require albums but the user does not have permission to create albums, they will not be able to submit to this category.]]></word>
|
||||
<word key="cat_no_allow_albums" js="0">Do not allow albums</word>
|
||||
<word key="cat_no_allow_albums_desc" js="0">Images can only be submitted directly to the category</word>
|
||||
<word key="cat_allow_albums" js="0">Allow albums</word>
|
||||
@@ -95,6 +102,7 @@
|
||||
<word key="cat_require_albums_desc" js="0">Images can only be submitted to albums within the category</word>
|
||||
<word key="category_watermark" js="0">Watermark images?</word>
|
||||
<word key="category_preset_tags" js="0">Preset tags</word>
|
||||
<word key="category_preset_tags_desc" js="0">If using a closed system, users will have to choose from these tags. If using an open system, tags entered here will show as suggestions.</word>
|
||||
<word key="perm__view" js="0">See Category</word>
|
||||
<word key="perm__read" js="0">View Images</word>
|
||||
<word key="perm__add" js="0">Upload Images</word>
|
||||
@@ -114,10 +122,15 @@
|
||||
<word key="category_rules_link" js="0">Link to rules</word>
|
||||
<word key="node_move_catsalbums" js="0">Move child categories and albums to</word>
|
||||
<word key="node_move_subalbums" js="0">Move albums to</word>
|
||||
<word key="node_mass_move_delete_albums" js="0">Move albums to / Delete</word>
|
||||
<word key="node_delete_children_catsalbums" js="0">Delete child categories and albums</word>
|
||||
<word key="node_delete_children_cats" js="0">Delete child categories</word>
|
||||
<word key="node_delete_children_albums" js="0">Delete albums</word>
|
||||
<word key="delete_or_move_pick_one" js="0">If you choose not to delete images in this category, you must select a new category or album to move them to instead</word>
|
||||
<word key="acplog__catalbum_mass_move" js="0">Mass Moved %s albums from %s to %s</word>
|
||||
<word key="acplog__catalbum_mass_delete" js="0">Mass Deleted %s albums From %s</word>
|
||||
<word key="galnode_mass_content_move_blurb" js="0"><![CDATA[<strong>%s albums</strong> will be moved to %s]]></word>
|
||||
<word key="galnode_mass_content_delete_blurb" js="0"><![CDATA[<strong>%s albums</strong> will be <strong>deleted</strong>.]]></word>
|
||||
<word key="error_messages" js="0">Error Messages</word>
|
||||
<word key="category_permission_custom_error" js="0">Custom permission denied message</word>
|
||||
<word key="category_permission_custom_error_desc" js="0">This error message will be shown to anyone who can browse the category but cannot view images within it</word>
|
||||
@@ -234,10 +247,11 @@
|
||||
<word key="gallery_bandwidth_period" js="0">Number of hours to keep bandwidth logs</word>
|
||||
<word key="gallery_options" js="0">General Options</word>
|
||||
<word key="gallery_rss_enabled" js="0">Enable latest images RSS feed</word>
|
||||
<word key="gallery_rss_enabled_desc" js="0"><![CDATA[Only content that is available to guests will be shown. For more options, create a <a href='{internal.app=core&module=discovery&controller=rss}'>Custom RSS Feed</a>]]></word>
|
||||
<word key="gallery_rebuildimages" js="0">Rebuilding images</word>
|
||||
<word key="rebuilding_gallery_images" js="0">Rebuilding gallery images</word>
|
||||
<word key="cleaning_up_gallery_images" js="0">Cleaning up Gallery images </word>
|
||||
<word key="gallery_maps_default" js="0">Enable maps by default</word>
|
||||
<word key="gallery_maps_default_desc" js="0">Users can choose whether or not to show a map next to images that have geolocation data embedded into the image. This option controls whether those maps are enabled by default or not, however users can override this preference while submitting their images.</word>
|
||||
<word key="member__gallery_Images" js="0">Gallery</word>
|
||||
<word key="remove_gallery_access" js="0">Allowed to access gallery?</word>
|
||||
<word key="remove_gallery_upload" js="0">Allowed to upload images?</word>
|
||||
@@ -284,6 +298,7 @@
|
||||
<word key="gallery_submit_prefix_album" js="0">Uploading to album "%s"</word>
|
||||
<word key="gallery_submit_prefix_cat" js="0">Uploading to category "%s"</word>
|
||||
<word key="loc_gallery_adding_image" js="0">Uploading an image</word>
|
||||
<word key="loc_gallery_adding_image_action" js="0">%s is uploading an image</word>
|
||||
<word key="upload_more_images" js="0">Upload more images</word>
|
||||
<word key="select_your_images" js="0">Select your images</word>
|
||||
<word key="select_your_movies" js="0">Select your movies</word>
|
||||
@@ -292,7 +307,7 @@
|
||||
<word key="image_ipaddress" js="0">IP Address</word>
|
||||
<word key="image_tags" js="0">Tags</word>
|
||||
<word key="image_auto_follow" js="0"></word>
|
||||
<word key="image_auto_follow_suffix" js="0">Notify me when other comments are posted</word>
|
||||
<word key="image_auto_follow_suffix" js="0">Follow this image</word>
|
||||
<word key="image_description" js="0">Description</word>
|
||||
<word key="image_credit_info" js="0">Credit</word>
|
||||
<word key="image_credit_info_desc" js="0">If credit must be provided for use of the image, supply the source of the image</word>
|
||||
@@ -310,17 +325,23 @@
|
||||
<word key="image__comment_placeholder" js="0">Add a comment...</word>
|
||||
<word key="image_submit_comment" js="0">Submit Comment</word>
|
||||
<word key="map_enabled" js="0">Show map?</word>
|
||||
<word key="map_enabled_lightbox" js="0">Show map?</word>
|
||||
<word key="map_privacy" js="0">Map privacy</word>
|
||||
<word key="set_image_as" js="0">Set as</word>
|
||||
<word key="loc_gallery_browsing" js="0">Browsing Gallery</word>
|
||||
<word key="loc_gallery_browsing_action" js="0">%s is browsing the gallery</word>
|
||||
<word key="loc_gallery_browsing_categories" js="0">Browsing gallery categories</word>
|
||||
<word key="loc_gallery_browsing_categories_action" js="0">%s is browsing gallery categories</word>
|
||||
<word key="featured_images" js="0">Featured Images</word>
|
||||
<word key="new_images" js="0">New Images</word>
|
||||
<word key="new_image_comments_notification" js="0">Notify me of comments on these images</word>
|
||||
<word key="images_no_number" js="0">{!# [1:image][?:images]}</word>
|
||||
<word key="loc_gallery_viewing_image" js="0">Viewing image: %s</word>
|
||||
<word key="loc_gallery_viewing_image_action" js="0">%s is viewing an image</word>
|
||||
<word key="loc_gallery_viewing_category" js="0">Viewing category: %s</word>
|
||||
<word key="loc_gallery_viewing_category_action" js="0">%s is browsing a gallery category</word>
|
||||
<word key="loc_gallery_viewing_album" js="0">Viewing album: %s</word>
|
||||
<word key="loc_gallery_viewing_album_action" js="0">%s is viewing an album</word>
|
||||
<word key="gallery_rss_title" js="0">Latest Images</word>
|
||||
<word key="gallery_rss_title_container" js="0">Latest Images: %s</word>
|
||||
<word key="gallery_rss_offline" js="0">This RSS feed is disabled</word>
|
||||
@@ -416,6 +437,7 @@
|
||||
<word key="unread_cat_images" js="0">This category has new images</word>
|
||||
<word key="image_tools" js="0">Image Tools</word>
|
||||
<word key="image_share" js="0">Share</word>
|
||||
<word key="cannot_download_original_image" js="0">You do not have permission to download images</word>
|
||||
<word key="cat_img_count" js="0">{# [1:image][?:images]}</word>
|
||||
<word key="cat_album_count" js="0">{# [1:album][?:albums]}</word>
|
||||
<word key="cat_comment_count" js="0">{# [1:comment][?:comments]}</word>
|
||||
@@ -489,7 +511,7 @@
|
||||
<word key="gallery_category_id" js="0">Category</word>
|
||||
<word key="profile_gallery_gallery" js="0">Albums</word>
|
||||
<word key="choose_album" js="0">Choose Album</word>
|
||||
<word key="choose_category" js="0">Select Category</word>
|
||||
<word key="choose_category" js="0">Choose Category</word>
|
||||
<word key="upload_images" js="0">Upload Images</word>
|
||||
<word key="image_information" js="0">Add Information</word>
|
||||
<word key="process" js="0">Finish</word>
|
||||
@@ -557,6 +579,11 @@
|
||||
<word key="tags_all_desc" js="0">Sets the tags for each image you're uploading except ones you individually specify tags for.</word>
|
||||
<word key="gallery_clear_uploads_error" js="0">Could not delete file %s : %s'</word>
|
||||
<word key="specify_image_tags" js="0">Set tags</word>
|
||||
<word key="gallery_guest_post_normal_header" js="0">You are posting as a guest</word>
|
||||
<word key="gallery_guest_post_pbr_blurb" js="0">You can submit your images now and register an account later.</word>
|
||||
<word key="gallery_guest_post_mod_approval" js="0"><![CDATA[<strong>Note:</strong> your images will require approval by a moderator after posting.]]></word>
|
||||
<word key="gallery_this_will_be_moderated" js="0">Because of a warning you received, your images will be hidden until a moderator approves them.</word>
|
||||
<word key="emailtpl__imageContent" js="0">Gallery image table</word>
|
||||
<word key="exif_title" js="0">Full EXIF data</word>
|
||||
<word key="gallery_focal_length_mm" js="0">%s mm</word>
|
||||
<word key="gallery_shutterspeed" js="0">1/%s second</word>
|
||||
@@ -592,7 +619,7 @@
|
||||
<word key="IFD0.Copyright" js="0">Copyright</word>
|
||||
<word key="IFD0.XResolution" js="0">X-Resolution</word>
|
||||
<word key="IFD0.YResolution" js="0">Y-Resolution</word>
|
||||
<word key="IFD0.DateTime" js="0">Date Taken</word>
|
||||
<word key="IFD0.DateTime" js="0">Last Modified</word>
|
||||
<word key="IFD0.Orientation" js="0">Orientation</word>
|
||||
<word key="IFD0.Orientation_map_1" js="0">The 0th row is at the visual top of the image, and the 0th column is the visual left-hand side</word>
|
||||
<word key="IFD0.Orientation_map_2" js="0">The 0th row is at the visual top of the image, and the 0th column is the visual right-hand side</word>
|
||||
@@ -783,6 +810,7 @@
|
||||
<word key="THUMBNAIL.YCbCrPositioning" js="0"></word>
|
||||
<word key="THUMBNAIL.YCbCrPositioning_map_1" js="0"></word>
|
||||
<word key="THUMBNAIL.YCbCrPositioning_map_2" js="0"></word>
|
||||
<word key="EXIF.UndefinedTag:0xA434" js="0">Lens Model</word>
|
||||
<word key="digest_area_gallery_image" js="0">Images</word>
|
||||
<word key="digest_area_gallery_album" js="0">Albums</word>
|
||||
<word key="digest_area_gallery_category" js="0">Categories</word>
|
||||
@@ -797,8 +825,11 @@
|
||||
<word key="__api_gallery_images" js="0">Images</word>
|
||||
<word key="__api_gallery_comments" js="0">Comments</word>
|
||||
<word key="__api_gallery_reviews" js="0">Reviews</word>
|
||||
<word key="__api_gallery_categories" js="0">Categories</word>
|
||||
<word key="gallery_bm_filters" js="0">Gallery</word>
|
||||
<word key="mf_has_album" js="0">Member has an Album?</word>
|
||||
<word key="sitemap_gallery_Images" js="0">Gallery Images</word>
|
||||
<word key="sitemap_gallery_Videos" js="0">Gallery Videos</word>
|
||||
<word key="delete_note" js="1">Delete note</word>
|
||||
<word key="save_note" js="1">Save</word>
|
||||
<word key="saving_note" js="1">Saving...</word>
|
||||
|
||||
@@ -2,17 +2,20 @@
|
||||
"admin": {
|
||||
"gallery": {
|
||||
"default_controller": "categories",
|
||||
"protected": 0
|
||||
"protected": 0,
|
||||
"default": 1
|
||||
},
|
||||
"stats": {
|
||||
"default_controller": null,
|
||||
"protected": 0
|
||||
"protected": 0,
|
||||
"default": 0
|
||||
}
|
||||
},
|
||||
"front": {
|
||||
"gallery": {
|
||||
"default_controller": "browse",
|
||||
"protected": 0
|
||||
"protected": 0,
|
||||
"default": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -479,18 +479,16 @@
|
||||
"zerofill": false
|
||||
},
|
||||
"album_meta_data": {
|
||||
"allow_null": true,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": 0,
|
||||
"length": 1,
|
||||
"name": "album_meta_data",
|
||||
"type": "BIT",
|
||||
"unsigned": false,
|
||||
"type": "TINYINT",
|
||||
"length": 1,
|
||||
"decimals": null,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
"allow_null": true,
|
||||
"default": "0",
|
||||
"comment": "",
|
||||
"unsigned": true,
|
||||
"auto_increment": false
|
||||
},
|
||||
"album_last_comment": {
|
||||
"allow_null": true,
|
||||
@@ -2177,17 +2175,15 @@
|
||||
},
|
||||
"image_meta_data": {
|
||||
"name": "image_meta_data",
|
||||
"type": "BIT",
|
||||
"type": "TINYINT",
|
||||
"length": 1,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": "0",
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
"unsigned": true,
|
||||
"auto_increment": false
|
||||
}
|
||||
},
|
||||
"indexes": {
|
||||
@@ -2453,6 +2449,18 @@
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
},
|
||||
"upload_exif": {
|
||||
"name": "upload_exif",
|
||||
"type": "MEDIUMTEXT",
|
||||
"length": null,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": true,
|
||||
"default": null,
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"auto_increment": false
|
||||
}
|
||||
},
|
||||
"indexes": {
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
"default": "1600x1200",
|
||||
"report": "full"
|
||||
},
|
||||
{
|
||||
"key": "gallery_maps_default",
|
||||
"default": "0",
|
||||
"report": "full"
|
||||
},
|
||||
{
|
||||
"key": "gallery_rss_enabled",
|
||||
"default": "1",
|
||||
|
||||
+1383
-1187
File diff suppressed because it is too large.
Load diff
@@ -282,5 +282,97 @@
|
||||
"103035": "4.3.6",
|
||||
"103036": "4.3.6",
|
||||
"103037": "4.3.6",
|
||||
"103038": "4.3.6"
|
||||
"103038": "4.3.6",
|
||||
"103039": "4.3.6",
|
||||
"104000": "4.4.0 Beta 1",
|
||||
"104001": "4.4.0 Beta 2",
|
||||
"104002": "4.4.0 Beta 3",
|
||||
"104004": "4.4.0 Beta 4",
|
||||
"104003": "4.4.0 Beta 4",
|
||||
"104005": "4.4.0",
|
||||
"104006": "4.4.0",
|
||||
"104007": "4.4.0",
|
||||
"104008": "4.4.0",
|
||||
"104009": "4.4.1",
|
||||
"104010": "4.4.1 Beta 2",
|
||||
"104011": "4.4.1",
|
||||
"104012": "4.4.1",
|
||||
"104013": "4.4.1",
|
||||
"104014": "4.4.1",
|
||||
"104015": "4.4.2 Beta 1",
|
||||
"104016": "4.4.2",
|
||||
"104017": "4.4.2",
|
||||
"104018": "4.4.2",
|
||||
"104019": "4.4.2",
|
||||
"104020": "4.4.2",
|
||||
"104021": "4.4.3 Beta 1",
|
||||
"104022": "4.4.3 Beta 2",
|
||||
"104023": "4.4.3",
|
||||
"104024": "4.4.3",
|
||||
"104025": "4.4.3",
|
||||
"104026": "4.4.4 Beta 1",
|
||||
"104027": "4.4.4",
|
||||
"104028": "4.4.4",
|
||||
"104029": "4.4.4",
|
||||
"104030": "4.4.5 Beta 1",
|
||||
"104031": "4.4.5 Beta 2",
|
||||
"104032": "4.4.5 Beta 2",
|
||||
"104033": "4.4.5",
|
||||
"104034": "4.4.5",
|
||||
"104035": "4.4.5",
|
||||
"104036": "4.4.5",
|
||||
"104037": "4.4.5",
|
||||
"104038": "4.4.6",
|
||||
"104039": "4.4.6",
|
||||
"104040": "4.4.6",
|
||||
"104041": "4.4.7 Beta 1",
|
||||
"104042": "4.4.7 Beta 2",
|
||||
"104043": "4.4.7 Beta 3",
|
||||
"104044": "4.4.7",
|
||||
"104045": "4.4.8 Beta 1",
|
||||
"104046": "4.4.8 Beta 2",
|
||||
"104047": "4.4.8",
|
||||
"104048": "4.4.9 Beta 1",
|
||||
"104049": "4.4.9",
|
||||
"104050": "4.4.9",
|
||||
"104051": "4.4.9",
|
||||
"104052": "4.4.9",
|
||||
"104053": "4.4.9.1",
|
||||
"104054": "4.4.9.1",
|
||||
"104055": "4.4.9.2",
|
||||
"104056": "4.4.9.2",
|
||||
"104057": "4.4.10 Beta 1",
|
||||
"104058": "4.4.10 Beta 2",
|
||||
"104059": "4.4.10 Beta 3",
|
||||
"104060": "4.4.10 Beta 4",
|
||||
"104061": "4.4.10",
|
||||
"104062": "4.4.10",
|
||||
"104063": "4.4.10",
|
||||
"104064": "4.4.10",
|
||||
"104065": "4.4.10",
|
||||
"104066": "4.4.10",
|
||||
"104067": "4.4.10",
|
||||
"104068": "4.4.10",
|
||||
"104069": "4.4.10",
|
||||
"105013": "4.5.0 Beta 1",
|
||||
"105014": "4.5.0 Beta 1",
|
||||
"105015": "4.5.0 Beta 2",
|
||||
"105016": "4.5.0 Beta 3",
|
||||
"105017": "4.5.0 Beta 4",
|
||||
"105018": "4.5.0 Beta 4",
|
||||
"105019": "4.5.0 Beta 4",
|
||||
"105020": "4.5.0 Beta 4",
|
||||
"105021": "4.5.0 Beta 5",
|
||||
"105022": "4.5.0 Beta 6",
|
||||
"105023": "4.5.0 Beta 6",
|
||||
"105024": "4.5.0 Beta 7",
|
||||
"105025": "4.5.0 Beta 8",
|
||||
"105026": "4.5.0 Beta 8",
|
||||
"105027": "4.5.0 Beta 8",
|
||||
"105028": "4.5.0 Beta 9",
|
||||
"105029": "4.5.0 Beta 10",
|
||||
"105030": "4.5.0 Beta 11",
|
||||
"105031": "4.5.0 Beta 11",
|
||||
"105032": "4.5.0 Beta 12",
|
||||
"105100": "4.5.0"
|
||||
}
|
||||
Reference in new issue
Block a user