Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
1d1535c2
Commit
1d1535c2
authored
Aug 20, 2007
by
Nigel McNie
Browse files
New template for the friendslist page, properly i18n-ised and styled.
parent
39fff222
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/default/templates/contacts/index.tpl
View file @
1d1535c2
...
...
@@ -3,24 +3,33 @@
{
include
file
=
"columnleftstart.tpl"
}
<h2>
{
str
tag
=
"myfriends"
}
</h2>
<form>
<select
id=
"pendingopts"
name=
"pending"
onChange=
"pendingChange();"
>
<option
value=
"0"
>
{
str
tag
=
'currentfriends'
}
</option>
<option
value=
"1"
>
{
str
tag
=
'pendingfriends'
}
</option>
</select>
</form>
<table
id=
"friendslist"
class=
"hidden tablerenderer"
>
<thead>
<tr>
<th>
{
str
tag
=
"profileicon"
}
</th>
<th>
{
str
tag
=
"friend"
}
</th>
<th
id=
"viewsheader"
>
{
str
tag
=
"views"
}
</th>
<th
id=
"removeorreason"
>
{
str
tag
=
"remove"
}
</th>
<tr>
</thead>
<tbody>
</tbody>
</table>
<div
id=
"messagediv"
></div>
<table
id=
"friendslistcontainer"
>
<tr>
<td>
<select
id=
"filter"
name=
"filter"
onchange=
"filterChange();"
>
<option
value=
"0"
>
{
str
tag
=
'allfriends'
}
</option>
<option
value=
"1"
>
{
str
tag
=
'currentfriends'
}
</option>
<option
value=
"2"
>
{
str
tag
=
'pendingfriends'
}
</option>
</select>
<a
href=
""
onclick=
"showFriendslist(); return false;"
class=
"hidden"
id=
"backlink"
>
«
{
str
tag
=
"backtofriendslist"
}
</a>
</td>
<td
class=
"right"
>
<form
action=
""
method=
"post"
onsubmit=
"searchUsers(); return false;"
>
<input
type=
"text"
class=
"text"
name=
"search"
id=
"friendsquery"
>
<input
type=
"submit"
class=
"submit"
value=
"
{
str
tag
=
"findnewfriends"
}
"
>
</form>
</td>
</tr>
</table>
<div
id=
"friendmessage"
class=
"message hidden"
></div>
<table
id=
"friendslist"
class=
"hidden tablerenderer"
>
<tbody>
</tbody>
</table>
<table
id=
"searchresults"
class=
"hidden tablerenderer"
>
<tbody>
</tbody>
</table>
{
include
file
=
"columnleftend.tpl"
}
{
include
file
=
"footer.tpl"
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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