summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_details.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/pkg_details.php')
-rw-r--r--web/template/pkg_details.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index 06580639..2f14c41e 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -46,13 +46,13 @@ if ($row["MaintainerUID"]) {
$maintainer = "None";
}
-$votes = __('Votes') . ': ' . $row['NumVotes'];
+$votes = _('Votes') . ': ' . $row['NumVotes'];
if ($atype == "Developer" or $atype == "Trusted User") {
$votes = "<a href=\"voters.php?ID=$pkgid\">$votes</a>";
}
# In case of wanting to put a custom message
-$msg = __('unknown');
+$msg = _('unknown');
$license = empty($row['License']) ? $msg : $row['License'];
# Print the timestamps for last updates
@@ -62,7 +62,7 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[
?>
<div class="pgbox">
- <div class="pgboxtitle"><span class="f3"><?php echo __("Package Details") ?></span></div>
+ <div class="pgboxtitle"><span class="f3"><?php echo _("Package Details") ?></span></div>
<div class="pgboxbody">
<p>
@@ -74,28 +74,28 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[
<?php echo $edit_cat ?>
<p>
- <span class='f3'><?php echo __('Submitter') .': ' . $submitter ?></span><br />
- <span class='f3'><?php echo __('Maintainer') .': ' . $maintainer ?></span><br />
+ <span class='f3'><?php echo _('Submitter') .': ' . $submitter ?></span><br />
+ <span class='f3'><?php echo _('Maintainer') .': ' . $maintainer ?></span><br />
<span class='f3'><?php echo $votes ?></span>
</p>
- <p><span class='f3'><?php echo __('License') . ': ' . htmlspecialchars($license) ?></span></p>
+ <p><span class='f3'><?php echo _('License') . ': ' . htmlspecialchars($license) ?></span></p>
<p>
<span class='f3'>
- <?php echo __('Last Updated') . ': ' . $updated_time ?><br />
- <?php echo __('First Submitted') . ': '. $submitted_time ?>
+ <?php echo _('Last Updated') . ': ' . $updated_time ?><br />
+ <?php echo _('First Submitted') . ': '. $submitted_time ?>
</span>
</p>
<p><span class='f3'>
<?php
$urlpath = URL_DIR . $row['Name'];
- print "<a href='$urlpath/" . $row['Name'] . ".tar.gz'>".__("Tarball")."</a> :: ";
- print "<a href='$urlpath/PKGBUILD'>".__("PKGBUILD")."</a></span>";
+ print "<a href='$urlpath/" . $row['Name'] . ".tar.gz'>"._("Tarball")."</a> :: ";
+ print "<a href='$urlpath/PKGBUILD'>"._("PKGBUILD")."</a></span>";
if ($row["OutOfDateTS"] !== NULL) {
- echo "<br /><span class='f6'>".__("This package has been flagged out of date.")." (${out_of_date_time})</span>";
+ echo "<br /><span class='f6'>"._("This package has been flagged out of date.")." (${out_of_date_time})</span>";
}
?>
</p>
@@ -109,7 +109,7 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[
}
if (count($deps) > 0) {
- echo "<span class='boxSoftTitle'><span class='f3'>". __("Dependencies")."</span></span>";
+ echo "<span class='boxSoftTitle'><span class='f3'>". _("Dependencies")."</span></span>";
while (list($k, $darr) = each($deps)) {
# darr: (DepName, DepCondition, PackageID), where ID is NULL if it didn't exist
@@ -126,7 +126,7 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[
}
if (count($requiredby) > 0) {
- echo "<span class='boxSoftTitle'><span class='f3'>". __("Required by")."</span></span>";
+ echo "<span class='boxSoftTitle'><span class='f3'>". _("Required by")."</span></span>";
while (list($k, $darr) = each($requiredby)) {
# darr: (PackageName, PackageID)
@@ -145,7 +145,7 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[
if (count($sources) > 0) {
?>
- <div class='boxSoftTitle'><span class='f3'><?php echo __('Sources') ?></span></div>
+ <div class='boxSoftTitle'><span class='f3'><?php echo _('Sources') ?></span></div>
<div>
<?php
while (list($k, $src) = each($sources)) {