Commit 58808d50 authored by David Anderson's avatar David Anderson Committed by Oliver Bock

- web: use · instead of | as a separater

parent c1cad831
......@@ -7760,3 +7760,23 @@ Charlie 18 Dec 2012
clientgui/
BOINCInternetFSHandler.cpp,.h
David 18 Dec 2012
- web: use · instead of | as a separater
html/
inc/
forum.inc
host.inc
pm.inc
team.inc
user.inc
util.inc
user/
forum_user_posts.php
pm.php
submit.php
team_manage.php
top_hosts.php
top_teams.php
top_users.php
......@@ -663,12 +663,12 @@ function show_post(
echo "<p>", $posttext, "</p>";
echo "</td></tr><tr><td class=\"postfooter\">ID: <i>", $post->id;
if ($no_forum_rating) {
echo " | <a href=\"forum_report_post.php?post=".$post->id."\">";
echo " &middot; <a href=\"forum_report_post.php?post=".$post->id."\">";
show_image(REPORT_POST_IMAGE, tra("Report this post as offensive"), tra("Report as offensive"), REPORT_POST_IMAGE_HEIGHT);
echo "</a>";
} else {
$rating = $post->rating();
echo " | ".tra("Rating: %1", $rating)."</i> | ".tra("rate: ")."
echo " &middot; ".tra("Rating: %1", $rating)."</i> &middot; ".tra("rate: ")."
<a href=\"forum_rate.php?post=".$post->id."&amp;choice=p$tokens\">
";
show_image(RATE_POSITIVE_IMAGE, tra("Click if you like this message"), tra("Rate +"), RATE_POSITIVE_IMAGE_HEIGHT);
......
......@@ -191,7 +191,7 @@ function show_host($host, $user, $ipprivate) {
}
row2(tra("Location"), location_form($host));
if ($nresults == 0) {
$x = " | <a href=host_delete.php?hostid=$host->id".url_tokens($user->authenticator).">".tra("Delete this computer")."</a> ";
$x = " &middot; <a href=host_delete.php?hostid=$host->id".url_tokens($user->authenticator).">".tra("Delete this computer")."</a> ";
} else {
$x = "";
}
......@@ -627,10 +627,10 @@ function more_or_less($sort, $rev, $show_all) {
echo "<p>";
if ($show_all) {
$url = link_url($sort, $rev, 0);
echo tra("Show:")." ".tra("All computers")." | <a href=$url>".tra("Only computers active in past 30 days")."</a>";
echo tra("Show:")." ".tra("All computers")." &middot; <a href=$url>".tra("Only computers active in past 30 days")."</a>";
} else {
$url = link_url($sort, $rev, 1);
echo tra("Show:")." <a href=$url>".tra("All computers")."</a> | ".tra("Only computers active in past 30 days");
echo tra("Show:")." <a href=$url>".tra("All computers")."</a> &middot; ".tra("Only computers active in past 30 days");
}
echo "<p>";
}
......
......@@ -23,7 +23,7 @@ require_once("bbcode_html.inc");
function pm_header() {
echo "<div>\n";
echo " <a href=\"pm.php?action=inbox\">".tra("Inbox")."</a>\n";
echo " | <a href=\"pm.php?action=new\">".tra("Write")."</a>\n";
echo " &middot; <a href=\"pm.php?action=new\">".tra("Write")."</a>\n";
echo "</div>\n";
}
......@@ -175,7 +175,7 @@ function pm_notification($user) {
if ($unread) {
$output .= "<span class=\"inboxunread\"> ($unread ".tra("unread").")</span>\n";
}
$output .= " | <a href=\"pm.php?action=new\">".tra("Write")."</a>\n";
$output .= " &middot; <a href=\"pm.php?action=new\">".tra("Write")."</a>\n";
return $output;
}
......
......@@ -154,7 +154,7 @@ function display_team_page($team, $user) {
if ($first) {
$first = false;
} else {
$x .= " | ";
$x .= " &middot; ";
}
$x .= user_links($a);
}
......@@ -168,7 +168,7 @@ function display_team_page($team, $user) {
if ($first) {
$first = false;
} else {
$x .= " | ";
$x .= " &middot; ";
}
$x .= user_links($a);
}
......@@ -266,7 +266,7 @@ function display_team_members($team, $offset, $sort_by) {
if ($offset > 0) {
$new_offset = $offset - $n;
echo "<a href=team_members.php?teamid=$team->id&amp;sort_by=$sort_by&amp;offset=$new_offset>".tra('Previous %1', $n)."</a> | ";
echo "<a href=team_members.php?teamid=$team->id&amp;sort_by=$sort_by&amp;offset=$new_offset>".tra('Previous %1', $n)."</a> &middot; ";
}
if ($j == $offset + $n + 1) {
$new_offset = $offset + $n;
......
......@@ -163,9 +163,9 @@ function show_user_stats_private($user) {
row2(tra("Cross-project statistics"), $x);
$x = '<a href="cert1.php">'.tra("Account").'</a>';
if ($user->teamid) {
$x .= ' | <a href="cert_team.php">'.tra("Team").'</a>';
$x .= ' &middot; <a href="cert_team.php">'.tra("Team").'</a>';
}
$x .= ' | <a href="cert_all.php">'.tra("Cross-project").'</a>';
$x .= ' &middot; <a href="cert_all.php">'.tra("Cross-project").'</a>';
row2(tra("Certificate"), $x);
row2(tra("Stats on your cell phone"), URL_BASE."userw.php?id=$user->id");
}
......@@ -208,8 +208,8 @@ function show_user_info_private($user) {
row2(tra("%1 member since", PROJECT), date_str($user->create_time));
$url_tokens = url_tokens($user->authenticator);
row2(tra("Change"), "<a href=\"edit_email_form.php\">".tra("email address")."</a>
| <a href=\"".SECURE_URL_BASE."/edit_passwd_form.php\">".tra("password")."</a>
| <a href=\"edit_user_info_form.php?$url_tokens\">".tra("other account info")."</a>"
&middot; <a href=\"".SECURE_URL_BASE."/edit_passwd_form.php\">".tra("password")."</a>
&middot; <a href=\"edit_user_info_form.php?$url_tokens\">".tra("other account info")."</a>"
);
row2(tra("User ID")."<br/><span class=\"note\">".tra("Used in community functions")."</span>", $user->id);
if (!no_computing()) {
......@@ -240,7 +240,7 @@ function show_community_private($user) {
row1(tra("Community"));
if ($user->has_profile) {
$x = "<a href=\"view_profile.php?userid=$user->id\">".tra("View")."</a> | <a href=\"delete_profile.php\">".tra("Delete")."</a>";
$x = "<a href=\"view_profile.php?userid=$user->id\">".tra("View")."</a> &middot; <a href=\"delete_profile.php\">".tra("Delete")."</a>";
} else {
$x = "<a href=\"create_profile.php\">".tra("Create")."</a>";
}
......@@ -266,9 +266,9 @@ function show_community_private($user) {
if ($user->teamid) {
$team = lookup_team($user->teamid);
$x = "<a href=\"team_display.php?teamid=$team->id\">$team->name</a>
| <a href=\"team_quit_form.php\">".tra("Quit team")."</a>";
&middot; <a href=\"team_quit_form.php\">".tra("Quit team")."</a>";
if (is_team_admin($user, $team)) {
$x .= " | <a href=\"team_manage.php?teamid=$user->teamid\">".tra("Administer")."</a>";
$x .= " &middot; <a href=\"team_manage.php?teamid=$user->teamid\">".tra("Administer")."</a>";
}
// if there's a foundership request, notify the founder
......@@ -278,7 +278,7 @@ function show_community_private($user) {
}
row2(tra("Member of team"), $x);
} else {
row2(tra("Team"), tra("None")." | <a href=\"team_search.php\">".tra("find a team")."</a>");
row2(tra("Team"), tra("None")." &middot; <a href=\"team_search.php\">".tra("find a team")."</a>");
}
$teams_founded = BoincTeam::enum("userid=$user->id");
......
......@@ -119,7 +119,7 @@ function show_login_info($prefix="") {
";
if ($user) {
$url_tokens = url_tokens($user->authenticator);
echo "<nobr>$user->name | <a href=".$prefix."logout.php?$url_tokens>".tra("log out")."</a></nobr>";
echo "<nobr>$user->name &middot; <a href=".$prefix."logout.php?$url_tokens>".tra("log out")."</a></nobr>";
} else {
echo "<a href=".$prefix."login_form.php>".tra("log in")."</a>";
}
......
......@@ -122,7 +122,7 @@ if ($offset) {
<b>".tra("Previous %1", $items_per_page)."</b>
</a>
";
if ($show_next) echo " | ";
if ($show_next) echo " &middot; ";
}
if ($show_next) {
......
......@@ -144,8 +144,8 @@ function do_read($logged_in_user) {
echo "<tr><th>".tra("Message")."</th><td>".output_transform($message->content, $options)."</td></tr>";
echo "<tr><td class=\"pm_footer\"></td><td>\n";
echo "<a href=\"pm.php?action=new&amp;replyto=$id\">".tra("Reply")."</a>\n";
echo " | <a href=\"pm.php?action=delete&amp;id=$id\">".tra("Delete")."</a>\n";
echo " | <a href=\"pm.php?action=inbox\">".tra("Inbox")."</a>\n";
echo " &middot; <a href=\"pm.php?action=delete&amp;id=$id\">".tra("Delete")."</a>\n";
echo " &middot; <a href=\"pm.php?action=inbox\">".tra("Inbox")."</a>\n";
end_table();
if ($message->opened == 0) {
......
......@@ -389,7 +389,7 @@ function handle_query_job($user) {
$results = BoincResult::enum("workunitid=$wuid");
foreach($results as $result) {
echo "<tr>
<td><a href=result.php?resultid=$result->id>$result->id | $result->name </a></td>
<td><a href=result.php?resultid=$result->id>$result->id &middot; $result->name </a></td>
<td>".state_string($result)."</td>
<td>
";
......
......@@ -31,11 +31,11 @@ function show_admin_page($user, $team) {
<li>
".tra("Member list:")."
<a href=team_email_list.php?teamid=$team->id>".tra("HTML")."</a>
| <a href=team_email_list.php?teamid=$team->id&plain=1>".tra("text")."</a>
&middot; <a href=team_email_list.php?teamid=$team->id&plain=1>".tra("text")."</a>
<br><span class=note>".tra("View member names and email addresses")."</span>
<li>".tra("View change history:")."
<a href=team_delta.php?teamid=$team->id>".tra("HTML")."</a>
| <a href=team_delta.php?teamid=$team->id&xml=1>".tra("XML")."</a>
&middot; <a href=team_delta.php?teamid=$team->id&xml=1>".tra("XML")."</a>
<br><span class=note>".tra("See when members joined or quit this team")."</span>
";
......
......@@ -90,7 +90,7 @@ foreach($data as $host) {
echo "</table>\n<p>";
if ($offset > 0) {
$new_offset = $offset - $hosts_per_page;
echo "<a href=top_hosts.php?sort_by=$sort_by&amp;offset=$new_offset>".tra("Previous %1", $hosts_per_page)."</a> | ";
echo "<a href=top_hosts.php?sort_by=$sort_by&amp;offset=$new_offset>".tra("Previous %1", $hosts_per_page)."</a> &middot; ";
}
if ($n==$hosts_per_page){ //If we aren't on the last page
......
......@@ -118,7 +118,7 @@ if (count($data) == 0) {
echo "</table>\n<p>";
if ($offset > 0) {
$new_offset = $offset - $teams_per_page;
echo "<a href=top_teams.php?sort_by=$sort_by&amp;offset=$new_offset".$type_url.">".tra("Previous %1", $teams_per_page)."</a> | ";
echo "<a href=top_teams.php?sort_by=$sort_by&amp;offset=$new_offset".$type_url.">".tra("Previous %1", $teams_per_page)."</a> &middot; ";
}
if ($n==$teams_per_page){ //If we aren't on the last page
......
......@@ -124,7 +124,7 @@ foreach ($data as $user) {
echo "</table>\n<p>";
if ($offset > 0) {
$new_offset = $offset - $users_per_page;
echo "<a href=top_users.php?sort_by=$sort_by&amp;offset=$new_offset>".tra("Previous %1", $users_per_page)."</a> | ";
echo "<a href=top_users.php?sort_by=$sort_by&amp;offset=$new_offset>".tra("Previous %1", $users_per_page)."</a> &middot; ";
}
if ($n==$users_per_page){ //If we aren't on the last page
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment