cat <<EOF
<div class="filter">
<span class="label">$(l10n filter_label)</span>
- <form class="search" action="/?action=filter_attendee" method="POST">
+ <form class="search" action="?action=filter_attendee" method="POST">
<input type="hidden" name="page" value="attendees"/>
<input type="text" name="filter" value="$_GET["filter"]" placeholder="$(l10n filter_placeholder)"/>
<br />
cat <<EOF
<div class="sort">
- <form class="search" action="/" method="GET">
+ <form class="search" action="?" method="GET">
<input type="hidden" name="page" value="courses"/>
<input type="hidden" name="edit" value="$edit"/>
<span class="label">$(l10n sort_order):</span>
[ -z "$values[UID]" ] && values[UID]="$(dbus-uuidgen)"
echo '<div id="'${id}'" class="card">'
-echo '<form action="/?action=update_attendee" method="POST">'
+echo '<form action="?action=update_attendee" method="POST">'
echo '<input type="hidden" name="card" value="'${id}'"/>'
echo ' <div class="section basic">'
echo ' <span class="sectitle">'$(l10n N)'</span>'
fi
echo '<div id="'${id}'" class="course">'
-echo '<form action="/?action=update_course" method="POST">'
+echo '<form action="?action=update_course" method="POST">'
echo '<input type="hidden" name="course" value="'${id}'"/>'
echo ' <div class="section basic">'
echo ' <span class="sectitle">'$(l10n SUMMARY)'</span>'
cat <<EOF
<div class="select">
<span class="label">$(l10n filter_label)</span>
- <form class="search" action="/?action=select_mailing" method="POST">
+ <form class="search" action="?action=select_mailing" method="POST">
<div class="selectlist">
<span class="label">$(l10n select_courses):</span>
echo ' <span class="sectitle">'$(l10n course_attendance)'</span>'
sed -rn 's:(.*)\t'$id'$:\1:p' "$_DATA/mappings/attendance" |while read each; do
cname="$(sed -rn 's:^SUMMARY\:(.*)$:\1:p' "$_DATA/ical/$each")"
- echo ' <a class="item attendance" href="/?page=courses#'$each'">'$cname'</a>'
+ echo ' <a class="item attendance" href="?page=courses#'$each'">'$cname'</a>'
done
echo ' </div>'
echo ''
coursemail=""
echo '<div id="'${id}'" class="course">'
-echo '<form action="/?action=update_course" method="POST">'
+echo '<form action="?action=update_course" method="POST">'
echo '<input type="hidden" name="course" value="'${id}'"/>'
echo ' <div class="section basic">'
echo ' <span class="sectitle">'$values[SUMMARY]'</span>'
echo ' <div class="section attendance">'
echo ' <span class="sectitle">'$(l10n course_attendance)'</span>'
-list_attendance "$id" |sort -k 2 |sed -r 's:^([^ ]+) (.*)$:<a class="attendance" href="/?page=attendees#\1">\2</a>:'
+list_attendance "$id" |sort -k 2 |sed -r 's:^([^ ]+) (.*)$:<a class="attendance" href="?page=attendees#\1">\2</a>:'
echo ' </div>'
echo ' <div class="section control">'