diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/en.ini b/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/en.ini index 3a6fb4b7a..858c3020f 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/en.ini +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/en.ini @@ -20,6 +20,7 @@ name = "Name" email = "Email" action = "Action" +[show_user] [createticket] diff --git a/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/fr.ini b/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/fr.ini index fc42425b8..150a62c6b 100644 --- a/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/fr.ini +++ b/code/ryzom/tools/server/ryzom_ams/ams_lib/translations/fr.ini @@ -22,6 +22,7 @@ action = "Action" [createticket] +[show_user] [error] title404 = "Pas
trouvez!" diff --git a/code/ryzom/tools/server/ryzom_ams/www/html/inc/show_user.php b/code/ryzom/tools/server/ryzom_ams/www/html/inc/show_user.php new file mode 100644 index 000000000..7e802cee8 --- /dev/null +++ b/code/ryzom/tools/server/ryzom_ams/www/html/inc/show_user.php @@ -0,0 +1,35 @@ + diff --git a/code/ryzom/tools/server/ryzom_ams/www/html/templates/show_user.tpl b/code/ryzom/tools/server/ryzom_ams/www/html/templates/show_user.tpl new file mode 100644 index 000000000..2e07ec91d --- /dev/null +++ b/code/ryzom/tools/server/ryzom_ams/www/html/templates/show_user.tpl @@ -0,0 +1,78 @@ +{block name=content} +
+
+
+

Profile of {$target_name}

+
+ + +
+
+
+
+ Info + + + + + + + {if $firstName neq ""} + + + + + {/if} + {if $lastName neq ""} + + + + + {/if} + {if $country neq ""} + + + + + {/if} + {if $gender neq 0} + + + {if $gender eq 1} + + {else if $gender eq 2} + + {/if} + + {/if} + +
Email:{$mail}
Firstname:{$firstName}
LastName:{$lastName}
Country:{$country}
Gender:
+
+
+
+ +
+
+

Actions

+
+ + +
+
+
+
+
+ + +
+
+
+
+
+{/block} + diff --git a/code/ryzom/tools/server/ryzom_ams/www/html/templates/userlist.tpl b/code/ryzom/tools/server/ryzom_ams/www/html/templates/userlist.tpl index 5b4975c91..d09c46abe 100644 --- a/code/ryzom/tools/server/ryzom_ams/www/html/templates/userlist.tpl +++ b/code/ryzom/tools/server/ryzom_ams/www/html/templates/userlist.tpl @@ -24,11 +24,12 @@ {foreach from=$userlist item=element} {$element.id} - {$element.username} + {$element.username} {$element.email} {if $element.permission eq 1}User{/if} {if $element.permission eq 2}Admin{/if} + Show User Edit User