diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:54:15 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:54:15 +0100 |
| commit | 4f72c4761359485da48b19eb8d9cf525797e7df8 (patch) | |
| tree | fe82ef7aa5142b6aca98dbfa49445df3897e1f56 /templates | |
| parent | 7c55576c11eaa4586f93461cbd70c54b74b38c36 (diff) | |
| download | fisheye-4f72c4761359485da48b19eb8d9cf525797e7df8.tar.gz fisheye-4f72c4761359485da48b19eb8d9cf525797e7df8.tar.bz2 fisheye-4f72c4761359485da48b19eb8d9cf525797e7df8.zip | |
php-cs-fixer tidies to php8.5 standards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates')
| -rwxr-xr-x | templates/center_image_comments.php | 6 | ||||
| -rwxr-xr-x | templates/center_list_galleries.php | 3 | ||||
| -rwxr-xr-x[-rw-r--r--] | templates/center_list_galleries.tpl | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | templates/find_user.tpl | 0 | ||||
| -rwxr-xr-x | templates/image_order.tpl | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | templates/view_gallery.tpl | 0 |
6 files changed, 4 insertions, 7 deletions
diff --git a/templates/center_image_comments.php b/templates/center_image_comments.php index bad376d..4de7b87 100755 --- a/templates/center_image_comments.php +++ b/templates/center_image_comments.php @@ -19,10 +19,10 @@ if( !empty( $gQueryUser->mUserId ) ) { $userId = $gQueryUser->mUserId; } -$listHash = array( +$listHash = [ 'user_id' => $userId, 'max_records' => $moduleParams['module_rows'], -); +]; if (!empty($params['full'])) { $listHash['parse'] = true; @@ -39,7 +39,7 @@ if( !empty( $params['root_content_type_guid'] ) ) { $listHash['root_content_type_guid'] = $params['root_content_type_guid']; } else { // default to base image types - $listHash['root_content_type_guid'] = array('fisheyeimage','fisheyegallery'); + $listHash['root_content_type_guid'] = ['fisheyeimage','fisheyegallery']; } $gBitSmarty->assign( 'moduleTitle', $moduleTitle ); diff --git a/templates/center_list_galleries.php b/templates/center_list_galleries.php index 322ed0f..e67ce34 100755 --- a/templates/center_list_galleries.php +++ b/templates/center_list_galleries.php @@ -35,13 +35,10 @@ if( !empty( $module_params['max_records'] ) ){ $listHash['max_records'] = $module_params['max_records']; } - $galleryList = $gFisheyeGallery->getList( $listHash ); // support for div/ul/li listing of galleries $gBitSmarty->assign( 'galleryList', $galleryList ); - - /* Process the input parameters this page accepts */ if (!empty($gQueryUser) && $gQueryUser->isRegistered()) { $gBitSmarty->assign('gQueryUserId', $gQueryUser->mUserId); diff --git a/templates/center_list_galleries.tpl b/templates/center_list_galleries.tpl index 735a0d8..735a0d8 100644..100755 --- a/templates/center_list_galleries.tpl +++ b/templates/center_list_galleries.tpl diff --git a/templates/find_user.tpl b/templates/find_user.tpl index 0eb54b7..0eb54b7 100644..100755 --- a/templates/find_user.tpl +++ b/templates/find_user.tpl diff --git a/templates/image_order.tpl b/templates/image_order.tpl index 731c166..2cdd884 100755 --- a/templates/image_order.tpl +++ b/templates/image_order.tpl @@ -51,7 +51,7 @@ <strong>{tr}Edit Image{/tr}</strong>: <a href="javascript:void(0);" onclick="BitBase.updater( 'imgedit', '{$smarty.const.FISHEYE_PKG_URL}edit_image.php', 'ajax=true&content_id={$galItem->mInfo.content_id}&gallery_id={$gContent->mGalleryId}' );">{booticon iname="fa-pen-to-square" iexplain="Edit Details"}</a> <noscript><div><a href="{$smarty.const.FISHEYE_PKG_URL}edit_image.php?content_id={$galItem->mInfo.content_id}">{booticon iname="fa-pen-to-square" iexplain="Edit Image"}</a></div></noscript> {* jspopup href="`$smarty.const.FISHEYE_PKG_URL`edit_image.php?content_id=$galItem->mInfo.content_id" title="edit image" *} -{* <a target="_new" href="{$smarty.const.FISHEYE_PKG_URL}edit_image.php?content_id={$galItem->mInfo.content_id}">{booticon iname="fa-pen-to-square" iexplain="Edit Image"}</a> *} + <a target="_new" href="{$smarty.const.FISHEYE_PKG_URL}edit_image.php?content_id={$galItem->mInfo.content_id}">{booticon iname="fa-pen-to-square" iexplain="Edit Image"}</a> <br /> {/if} {/if} diff --git a/templates/view_gallery.tpl b/templates/view_gallery.tpl index b16e085..b16e085 100644..100755 --- a/templates/view_gallery.tpl +++ b/templates/view_gallery.tpl |
