Project

General

Profile

« Previous | Next » 

Revision 9665798a

Added by BBcan177 . over 9 years ago

pkg_mgr_installed - Fix disablepackagehistory

  • Improve if/else/endif

View differences:

src/usr/local/www/pkg_mgr_installed.php
169 169
		<td>
170 170
<?php if (!$g['disablepackagehistory']):?>
171 171
			<a target="_blank" title="<?=gettext("View changelog")?>" href="<?=htmlspecialchars($pkg['changeloglink'])?>">
172
<?php endif;?>
172
				<?=htmlspecialchars($pkg['installed_version'])?></a>
173
<?php else:?>
173 174
				<?=htmlspecialchars($pkg['installed_version'])?>
174
<?php if (!$g['disablepackagehistory']):?>
175
			</a>
176 175
<?php endif;?>
177 176
		</td>
178 177
		<td>

Also available in: Unified diff