Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Marcus Andersson
aurweb
Commits
937cda9c
Commit
937cda9c
authored
May 21, 2012
by
Dario Giovannetti
Committed by
Lukas Fleischer
May 31, 2012
Browse files
HTML/DOM fixes
Signed-off-by:
Lukas Fleischer
<
archlinux@cryptocrack.de
>
parent
5b0f1f39
Changes
2
Hide whitespace changes
Inline
Side-by-side
web/lib/pkgfuncs.inc.php
View file @
937cda9c
...
...
@@ -314,12 +314,12 @@ function package_details($id=0, $SID="", $dbh=NULL) {
$results
=
db_query
(
$q
,
$dbh
);
if
(
!
$results
)
{
print
__
(
"Error retrieving package details."
)
.
"<
br
/>
\n
"
;
print
"<p>"
.
__
(
"Error retrieving package details."
)
.
"</
p
>
\n
"
;
}
else
{
$row
=
mysql_fetch_assoc
(
$results
);
if
(
empty
(
$row
))
{
print
__
(
"Package details could not be found."
)
.
"<
br
/>
\n
"
;
print
"<p>"
.
__
(
"Package details could not be found."
)
.
"</
p
>
\n
"
;
}
else
{
...
...
web/template/pkg_comments.php
View file @
937cda9c
...
...
@@ -39,7 +39,7 @@ while (list($indx, $carr) = each($comments)) { ?>
$count
=
package_comments_count
(
isset
(
$_GET
[
'ID'
])
?
$_GET
[
'ID'
]
:
pkgid_from_name
(
$_GET
[
'N'
]));
if
(
$count
>
10
&&
!
isset
(
$_GET
[
'comments'
]))
{
echo
'<div class="pgbox">'
;
echo
'<a href="'
.
$_SERVER
[
'REQUEST_URI'
]
.
'&comments=all">'
.
__
(
'Show all %s comments'
,
$count
)
.
'</a>'
;
echo
'<a href="'
.
$_SERVER
[
'REQUEST_URI'
]
.
'&
amp;
comments=all">'
.
__
(
'Show all %s comments'
,
$count
)
.
'</a>'
;
echo
'</div>'
;
}
?>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment