Minahito
minah****@users*****
2006年 4月 11日 (火) 18:16:47 JST
Index: xoops2jp/html/modules/user/admin/templates/user_search.html diff -u /dev/null xoops2jp/html/modules/user/admin/templates/user_search.html:1.1.2.1 --- /dev/null Tue Apr 11 18:16:46 2006 +++ xoops2jp/html/modules/user/admin/templates/user_search.html Tue Apr 11 18:16:46 2006 @@ -0,0 +1,142 @@ +<div class="adminnavi"> + <a href="./index.php"><{$smarty.const._MI_USER_NAME}></a> + »» <a href="./index.php?action=UserList"><{$smarty.const._MI_USER_ADMENU_USER_SEARCH}></a> +</div> + +<{if $actionForm->hasError()}> + <ul> + <{foreach item=message from=$actionForm->getErrorMessages()}> + <li><{$message|escape}></li> + <{/foreach}> + </ul> +<{/if}> + +<form action="./index.php?action=UserSearchList" method="post"> + <{xoops_token form=$actionForm}> + <table class="outer"> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_UNAME}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=uname value=$actionForm->get('uname') size=25 maxlength=25}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_NAME}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=name value=$actionForm->get('name') size=30 maxlength=60}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_EMAIL}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=email value=$actionForm->get('email') size=30 maxlength=60}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_USER_ICQ}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=user_icq value=$actionForm->get('user_icq') size=15 maxlength=15}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_USER_AIM}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=user_aim value=$actionForm->get('user_aim') size=18 maxlength=18}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_USER_YIM}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=user_yim value=$actionForm->get('user_yim') size=25 maxlength=25}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_USER_MSNM}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=user_msnm value=$actionForm->get('user_msnm') size=25 maxlength=100}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_URL}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=url value=$actionForm->get('url') size=50 maxlength=100}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_USER_FROM}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=user_from value=$actionForm->get('user_from') size=50 maxlength=100}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_USER_OCC}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=user_occ value=$actionForm->get('user_occ') size=50 maxlength=100}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_USER_INTREST}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=user_intrest value=$actionForm->get('user_intrest') size=50 maxlength=150}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_LASTLOG_MORE}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=lastlog_more value=$actionForm->get('lastlog_more') size=4 maxlength=5}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_LASTLOG_LESS}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=lastlog_less value=$actionForm->get('lastlog_less') size=4 maxlength=5}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_REGDATE_MORE}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=regdate_more value=$actionForm->get('regdate_more') size=4 maxlength=5}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_REGDATE_LESS}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=regdate_less value=$actionForm->get('regdate_less') size=4 maxlength=5}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_OVER_POSTS}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=over_posts value=$actionForm->get('over_posts') size=4 maxlength=5}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_UNDER_POSTS}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=under_posts value=$actionForm->get('under_posts') size=4 maxlength=5}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_DISPLAY_USER_MAIL_CONDITION}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=radio name=mail_condition value=1}><{$smarty.const._AD_USER_LANG_MAIL_OK_USERS_ONLY}> + <{xoops_input type=radio name=mail_condition value=2}><{$smarty.const._AD_USER_LANG_MAIL_NG_USERS_ONLY}> + <{xoops_input type=radio name=mail_condition value=3 default=3}><{$smarty.const._AD_USER_LANG_ALL_OF_USERS}> + </td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_USER_LANG_DISPLAY_USER_LEVEL}></td> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=radio name=user_level value=1}><{$smarty.const._AD_USER_LANG_APPROVE_USERS_ONLY}> + <{xoops_input type=radio name=user_level value=2}><{$smarty.const._AD_USER_LANG_PENDING_USERS_ONLY}> + <{xoops_input type=radio name=user_level value=3 default=3}><{$smarty.const._AD_USER_LANG_ALL_OF_USERS}> + </td> + </tr> + <tr> + <td colspan="2" class="foot"> + <input class="formButton" type="submit" value="<{$smarty.const._SUBMIT}>" /> + <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" /> + </td> + </tr> + </table> +</form> Index: xoops2jp/html/modules/user/admin/templates/user_search_list.html diff -u /dev/null xoops2jp/html/modules/user/admin/templates/user_search_list.html:1.1.2.1 --- /dev/null Tue Apr 11 18:16:47 2006 +++ xoops2jp/html/modules/user/admin/templates/user_search_list.html Tue Apr 11 18:16:46 2006 @@ -0,0 +1,56 @@ +<div class="adminnavi"> + <a href="./index.php"><{$smarty.const._MI_USER_NAME}></a> + »» <a href="./index.php?action=UserList"><{$smarty.const._AD_USER_LANG_USER_LIST}></a> +</div> + +<h3><{$smarty.const._AD_USER_LANG_USER_SEARCH_LIST}></h3> + +<div class="toptab">[ <a href="<{$pageNavi->getRenderOtherUrl('./index.php?action=UserSearch')}>"><{$smarty.const._AD_USER_LANG_SEARCH_AGAIN}></a> ]</div> + +<table class="outer"> + <tr> + <th> </th> + <th><{$smarty.const._AD_USER_LANG_UID}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.USER_SORT_KEY_UID}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.USER_SORT_KEY_UID}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_UNAME}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.USER_SORT_KEY_UNAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.USER_SORT_KEY_UNAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_NAME}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.USER_SORT_KEY_NAME}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.USER_SORT_KEY_NAME}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_REGDATE}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.USER_SORT_KEY_USER_REGDATE}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.USER_SORT_KEY_USER_REGDATE}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_LASTLOGIN}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.USER_SORT_KEY_LAST_LOGIN}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.USER_SORT_KEY_LAST_LOGIN}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_POSTS}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.USER_SORT_KEY_POSTS}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.USER_SORT_KEY_POSTS}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_LEVEL}><br /> + <a href="<{$pageNavi->renderSortUrl()}>&sort=<{$smarty.const.USER_SORT_KEY_LEVEL}>"><img src="<{"icons/up.gif"|theme}>" alt="<{$smarty.const._ASCENDING}>" /></a> + <a href="<{$pageNavi->renderSortUrl()}>&sort=-<{$smarty.const.USER_SORT_KEY_LEVEL}>"><img src="<{"icons/down.gif"|theme}>" alt="<{$smarty.const._DESCENDING}>" /></a></th> + <th><{$smarty.const._AD_USER_LANG_CONTROL}></th> + </tr> + <{foreach item=user from=$objects}> + <tr class="<{cycle values='odd,even'}>"> + <td style="text-align:center;"><img src="<{"icons/user.gif"|theme}>" alt="user" /></td> + <td style="text-align:center;"><{$user->getVar('uid')}></td> + <td><{$user->getVar('uname')}></td> + <td><{$user->getVar('name')}></td> + <td><{$user->getVar('user_regdate')|xoops_formattimestamp}></td> + <td><{$user->getVar('last_login')|xoops_formattimestamp:l}></td> + <td style="text-align:right;"><{$user->getVar('posts')}></td> + <td style="text-align:right;"><{$user->getVar('level')}></td> + <td style="text-align:center;"> + <a href="./index.php?action=UserEdit&uid=<{$user->getVar('uid')}>"><img src="<{"icons/edit.gif"|theme}>" alt="<{$smarty.const._EDIT}>" /></a> + <{if $user->getVar('uid') != 1 }> + <a href="index.php?action=UserDelete&uid=<{$user->getVar('uid')}>"><img src="<{"icons/delete.gif"|theme}>" alt="<{$smarty.const._DELETE}>" /></a> + <{/if}> + </td> + </tr> + <{/foreach}> +</table> + +<div class="pagenavi"><{xoops_pagenavi pagenavi=$pageNavi}></div>