Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlan-00 committed May 13, 2024
1 parent 056a1d4 commit 54df354
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
14 changes: 7 additions & 7 deletions public/templates/show_album.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@
$postshout = " " . T_('Post Shout'); ?>
<li>
<a href="<?php echo $web_path; ?>/shout.php?action=show_add_shout&type=album&id=<?php echo $album->id; ?>">
<?php echo Ui::get_material_symbol('comment', $postshout); ?>
<?php echo $postshout; ?>
<?php echo Ui::get_material_symbol('comment', $postshout);
echo $postshout; ?>
</a>
</li>
<?php
Expand All @@ -203,8 +203,8 @@
if (AmpConfig::get('statistical_graphs') && is_dir(__DIR__ . '/../../vendor/szymach/c-pchart/src/Chart/')) { ?>
<li>
<a href="<?php echo $web_path; ?>/stats.php?action=graph&object_type=album&object_id=<?php echo $album->id; ?>">
<?php echo Ui::get_material_symbol('bar_chart', T_('Graphs')); ?>
<?php echo T_('Graphs'); ?>
<?php echo Ui::get_material_symbol('bar_chart', T_('Graphs'));
echo T_('Graphs'); ?>
</a>
</li>
<?php } ?>
Expand All @@ -229,14 +229,14 @@
<li>
<a href="<?php echo $web_path; ?>/upload.php?artist=<?php echo $album->album_artist; ?>&album=<?php echo $album->id; ?>">
<?php echo Ui::get_material_symbol('upload', $t_upload);
echo $t_upload; ?>
echo $t_upload; ?>
</a>
</li>
<?php } ?>
<li>
<a id="<?php echo 'edit_album_' . $album->id; ?>" onclick="showEditDialog('album_row', '<?php echo $album->id; ?>', '<?php echo 'edit_album_' . $album->id; ?>', '<?php echo addslashes(T_('Album Edit')); ?>', '')">
<?php echo Ui::get_material_symbol('edit', T_('Edit'));
echo "&nbsp;" . T_('Edit Album'); ?>
echo "&nbsp;" . T_('Edit Album'); ?>
</a>
</li>
<?php
Expand All @@ -246,7 +246,7 @@
<li>
<a class="nohtml" href="<?php echo $web_path; ?>/batch.php?action=album&id=<?php echo $album->id; ?>">
<?php echo Ui::get_material_symbol('folder_zip', $download);
echo $download; ?>
echo $download; ?>
</a>
</li>
<?php
Expand Down
10 changes: 5 additions & 5 deletions public/templates/show_album_disk.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@
$postshout = "&nbsp;" . T_('Post Shout'); ?>
<li>
<a href="<?php echo $web_path; ?>/shout.php?action=show_add_shout&type=album_disk&id=<?php echo $albumDisk->id; ?>">
<?php echo Ui::get_material_symbol('comment', $postshout); ?>
<?php echo $postshout; ?>
<?php echo Ui::get_material_symbol('comment', $postshout);
echo $postshout; ?>
</a>
</li>
<?php
Expand All @@ -199,8 +199,8 @@
if (AmpConfig::get('statistical_graphs') && is_dir(__DIR__ . '/../../vendor/szymach/c-pchart/src/Chart/')) { ?>
<li>
<a href="<?php echo $web_path; ?>/stats.php?action=graph&object_type=album_disk&object_id=<?php echo $albumDisk->id; ?>">
<?php echo Ui::get_material_symbol('bar_chart', T_('Graphs')); ?>
<?php echo T_('Graphs'); ?>
<?php echo Ui::get_material_symbol('bar_chart', T_('Graphs'));
echo T_('Graphs'); ?>
</a>
</li>
<?php } ?>
Expand All @@ -218,7 +218,7 @@
<li>
<a href="<?php echo $web_path; ?>/upload.php?artist=<?php echo $albumDisk->album_artist; ?>&album=<?php echo $albumDisk->album_id; ?>">
<?php echo Ui::get_material_symbol('upload', $t_upload);
echo $t_upload; ?>
echo $t_upload; ?>
</a>
</li>
<?php } ?>
Expand Down
8 changes: 4 additions & 4 deletions public/templates/show_artist.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@
$postshout = "&nbsp;" . T_('Post Shout'); ?>
<li>
<a href="<?php echo $web_path; ?>/shout.php?action=show_add_shout&type=artist&id=<?php echo $artist->id; ?>">
<?php echo Ui::get_material_symbol('comment', $postshout); ?>
<?php echo $postshout; ?>
<?php echo Ui::get_material_symbol('comment', $postshout);
echo $postshout; ?>
</a>
</li>
<?php }
Expand All @@ -239,8 +239,8 @@
<?php if (AmpConfig::get('statistical_graphs') && is_dir(__DIR__ . '/../../vendor/szymach/c-pchart/src/Chart/')) { ?>
<li>
<a href="<?php echo $web_path; ?>/stats.php?action=graph&object_type=artist&object_id=<?php echo $artist->id; ?>">
<?php echo Ui::get_material_symbol('bar_chart', T_('Graphs')); ?>
<?php echo T_('Graphs'); ?>
<?php echo Ui::get_material_symbol('bar_chart', T_('Graphs'));
echo T_('Graphs'); ?>
</a>
</li>
<?php }
Expand Down

0 comments on commit 54df354

Please sign in to comment.