aboutsummaryrefslogtreecommitdiffstats
path: root/template/cclear/admin/search_username.tpl
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2005-08-18 07:04:05 +0000
committerchrisaga <chrisaga@piwigo.org>2005-08-18 07:04:05 +0000
commit2bbc7ba8bea747db08a8adac9e80e8a2aa7cbf2d (patch)
tree825df1cd8fc4c9cbf5eeb01c36e6434cbcdc9c4f /template/cclear/admin/search_username.tpl
parentaf3802982b31b13e6f94015bba484233c3b1a9e1 (diff)
Let's begin the new customizable clear template :-)
git-svn-id: http://piwigo.org/svn/trunk@820 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/cclear/admin/search_username.tpl22
1 files changed, 22 insertions, 0 deletions
diff --git a/template/cclear/admin/search_username.tpl b/template/cclear/admin/search_username.tpl
new file mode 100644
index 000000000..f3e676f8d
--- /dev/null
+++ b/template/cclear/admin/search_username.tpl
@@ -0,0 +1,22 @@
+<script language="javascript" type="text/javascript">
+<!--
+function refresh_username(selected_username)
+{
+ opener.document.forms['post'].username.value = selected_username;
+ opener.focus();
+ window.close();
+}
+//-->
+</script>
+<div class="titrePage">{L_SEARCH_USERNAME}</div>
+<form method="post" name="search" action="{F_SEARCH_ACTION}">
+ <input type="text" name="search_username" value="{USERNAME}" class="post" />&nbsp;
+ <input type="submit" name="search" value="{L_SEARCH}" class="bouton" /><br />
+ <span class="gensmall">{L_SEARCH_EXPLAIN}</span><br />
+ <!-- BEGIN switch_select_name -->
+ <span class="genmed">{L_UPDATE_USERNAME}<br />
+ <select name="username_list">{switch_select_name.F_USERNAME_OPTIONS}</select>&nbsp;
+ <input type="submit" class="bouton" onClick="refresh_username(this.form.username_list.options[this.form.username_list.selectedIndex].value);return false;" name="use" value="{L_SELECT}" /></span><br />
+ <!-- END switch_select_name -->
+ <br /><a href="javascript:window.close();" class="adminMenu">{L_CLOSE_WINDOW}</a>
+</form>