Add lang calls

This commit is contained in:
Miles Lott 2001-04-22 20:28:22 +00:00
parent 7aeed44a29
commit 02746c0697
2 changed files with 7 additions and 7 deletions

View File

@ -251,7 +251,7 @@ function out_header ()
echo "<td height=\"1\" colspan=\""; echo $this->sumdays+1; echo "\" bgcolor=black><img src=\"" . $this->image1pix . "\"></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td>Projectname</td>\n";
echo "<td>" . lang("Projectname") . "</td>\n";
for($i=1;$i<$this->sumdays+1;$i++)
{
echo "<td bgcolor=\""; echo $this->color_headerfield; echo "\">" . sprintf("%02d",$i) . "</td>\n";
@ -293,24 +293,24 @@ function out_monthyear($form_link)
echo "<form action=\"" . $form_link . "\" method=\"post\">\n";
echo "<table border=0 width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">";
echo "<tr>\n";
echo "<td align=\"center\"><h2>"; echo $this->monthname; echo " "; echo $this->year; echo "</h2></td>\n";
echo "<td align=\"center\"><h2>"; echo lang($this->monthname); echo " "; echo $this->year; echo "</h2></td>\n";
if($this->selection==1)
{
echo "<td align=\"right\">Month: <select name=\"month\"";
echo "<td align=\"right\">" . lang("Month") . ": <select name=\"month\"";
for($i=0;$i<13;$i++)
{
if($this->month==$i) $sel = " selected"; else unset($sel);
echo "<option value=\"$i\"$sel>$i</option>"; }
echo "</select>";
echo "Year: <select name=\"year\"";
echo lang("Year") . ": <select name=\"year\"";
for($i = date("Y") -2;$i<date("Y")+5;$i++)
{
if($this->year==$i) $sel = " selected"; else unset($sel);
echo "<option value=\"$i\"$sel>$i</option>";
}
echo "</select>";
echo "&nbsp;<input type=\"submit\" name=\"selection\" value=\"Select\">&nbsp;";
echo "&nbsp;<input type=\"submit\" name=\"selection\" value=\"" . lang("Select") . "\">&nbsp;";
echo "</td>\n";
}

View File

@ -73,7 +73,7 @@
<?php if ($phpgw_info["server"]["usrtplchoice"] == "user_choice"){ ?>
<tr>
<?php $selected_template[$phpgw_info["user"]["preferences"]["common"]["template_set"]] = " selected"; ?>
<td>Interface/Template Selection:<br></td>
<td><?php echo lang("Interface/Template Selection") . ":"; ?><br></td>
<td>
<select name="settings[template_set]">
<?php
@ -89,7 +89,7 @@
<tr>
<?php $selected_theme[$phpgw_info["user"]["preferences"]["common"]["theme"]] = " selected"; ?>
<td>Theme (colors/fonts) Selection:<br></td>
<td><?php echo lang("Theme (colors/fonts) Selection") . ":"; ?><br></td>
<td>
<select name="settings[theme]">
<?php