File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
styles/prosilver/template/gallery Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ public function base($album_id, $page = 0)
215215 'L_RETURN_LINK ' => $ this ->language ->lang ('RETURN_TO_GALLERY ' ),
216216 'S_ALBUM_ACTION ' => $ this ->helper ->route ('phpbbgallery_core_album ' , array ('album_id ' => (int ) $ album_id )),
217217 'S_IS_WATCHED ' => $ this ->notifications_helper ->get_watched_album ($ album_id ) ? true : false ,
218- 'U_WATCH_TOGLE ' => $ this ->helper ->route ('phpbbgallery_core_album_watch ' , array ('album_id ' => (int ) $ album_id )),
218+ 'U_WATCH_TOGGLE ' => $ this ->helper ->route ('phpbbgallery_core_album_watch ' , array ('album_id ' => (int ) $ album_id )),
219219 ));
220220
221221 if ($ album_data ['album_type ' ] != \phpbbgallery \core \block::TYPE_CAT
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ <h2>{L_ALBUM_NAME}{L_COLON}<a href="{U_VIEW_ALBUM}" style="display: inline;"> {A
2828
2929 <!-- IF not S_IN_GALLERY_POPUP and U_UPLOAD_IMAGE and not S_IS_BOT -->
3030 < a href ="<!-- IF S_IS_LOCKED --> <!-- ELSE --> {U_UPLOAD_IMAGE}<!-- ENDIF --> " title ="<!-- IF S_IS_LOCKED --> {L_ALBUM_LOCKED}<!-- ELSE -->{L_UPLOAD_IMAGE}<!-- ENDIF --> " class ="button "> <!-- IF S_IS_LOCKED --> < i class ="icon fa-lock fa-fw " aria-hidden ="true "> </ i > < span > {L_ALBUM_LOCKED}</ span > <!-- ELSE --> < i class ="icon fa-upload fa-fw " aria-hidden ="true "> </ i > < span > {L_UPLOAD_IMAGE}</ span > <!-- ENDIF --> </ a >
31- <!-- IF S_REGISTERED_USER --> < a href ="{U_WATCH_TOGLE } " title ="<!-- IF S_IS_WATCHED --> {L_UNWATCH_ALBUM}<!-- ELSE -->{L_WATCH_ALBUM}<!-- ENDIF --> " class ="button "> < i class ="icon <!-- IF S_IS_WATCHED -->fa-square-o<!-- ELSE -->fa-check-square-o<!-- ENDIF --> fa-fw " aria-hidden ="true "> </ i > <!-- IF S_IS_WATCHED --> < span > {L_UNWATCH_ALBUM}</ span > <!-- ELSE --> < span > {L_WATCH_ALBUM}</ span > <!-- ENDIF --> </ a > <!-- ENDIF -->
31+ <!-- IF S_REGISTERED_USER --> < a href ="{U_WATCH_TOGGLE } " title ="<!-- IF S_IS_WATCHED --> {L_UNWATCH_ALBUM}<!-- ELSE -->{L_WATCH_ALBUM}<!-- ENDIF --> " class ="button "> < i class ="icon <!-- IF S_IS_WATCHED -->fa-square-o<!-- ELSE -->fa-check-square-o<!-- ENDIF --> fa-fw " aria-hidden ="true "> </ i > <!-- IF S_IS_WATCHED --> < span > {L_UNWATCH_ALBUM}</ span > <!-- ELSE --> < span > {L_WATCH_ALBUM}</ span > <!-- ENDIF --> </ a > <!-- ENDIF -->
3232 <!-- ENDIF -->
3333
3434 <!-- IF not S_IN_GALLERY_POPUP and S_DISPLAY_SEARCHBOX -->
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ public function test_for_base_clean()
260260 'L_RETURN_LINK ' => 'RETURN_TO_GALLERY ' ,
261261 'S_ALBUM_ACTION ' => 'phpbbgallery_core_album ' ,
262262 'S_IS_WATCHED ' => false ,
263- 'U_WATCH_TOGLE ' => 'phpbbgallery_core_album_watch '
263+ 'U_WATCH_TOGGLE ' => 'phpbbgallery_core_album_watch '
264264 )
265265 ),
266266 array (
@@ -487,7 +487,7 @@ public function test_for_base_load_modreators_allow_rates_and_comments()
487487 'L_RETURN_LINK ' => 'RETURN_TO_GALLERY ' ,
488488 'S_ALBUM_ACTION ' => 'phpbbgallery_core_album ' ,
489489 'S_IS_WATCHED ' => false ,
490- 'U_WATCH_TOGLE ' => 'phpbbgallery_core_album_watch '
490+ 'U_WATCH_TOGGLE ' => 'phpbbgallery_core_album_watch '
491491 )
492492 ),
493493 array (
You can’t perform that action at this time.
0 commit comments