From: naoki i. <am...@us...> - 2008-03-30 05:33:55
|
Update of /cvsroot/popfile/engine/skins/default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29156/skins/default Modified Files: administration-page.thtml configuration-bar.thtml history-page.thtml nntp-configuration.thtml pop3-configuration-panel.thtml smtp-configuration.thtml users-page.thtml Log Message: Change Log 1. Add an interface and a function to change/initialize user's password UI/HTML.pm Classifier/Bayes.pm skins/default/users-page.thtml languages/English.msg 2. Bucket parameters are now copied from cloned user's Classifier/Bayes.pm 3. Non admin users can't access the Administration, Users and Advanced tabs. UI/HTML.pm 4. The history messages are now stored per user. 5. Users can't see/remove other users' history messages. Classifier/Bayes.pm POPFile/History.pm UI/HTML.pm 6. Sorting history messages now work correctly UI/HTML.pm skins/default/history-page.thtml 7. Server Mode options for SMTP and NNTP proxy are saved correctly 8. Server Mode checkboxes are disabled if all the modules are local UI/HTML.pm Proxy/POP3.pm Proxy/SMTP.pm Proxy/NNTP.pm 9. The 'Config Bar' string is now localizable skins/default/configration-bar.thtml languages/English.msg 10. The 'Stealth Mode' and 'Server Mode' strings are now localizable skins/default/administration-page.thtml languages/English.msg 11. Update language files languages/English.msg languages/Nihongo.msg Index: pop3-configuration-panel.thtml =================================================================== RCS file: /cvsroot/popfile/engine/skins/default/pop3-configuration-panel.thtml,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** pop3-configuration-panel.thtml 22 May 2005 11:13:50 -0000 1.10 --- pop3-configuration-panel.thtml 30 Mar 2008 05:33:58 -0000 1.11 *************** *** 50,51 **** --- 50,52 ---- </tr> </table> + <br /> Index: nntp-configuration.thtml =================================================================== RCS file: /cvsroot/popfile/engine/skins/default/nntp-configuration.thtml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** nntp-configuration.thtml 2 Mar 2006 09:56:17 -0000 1.1 --- nntp-configuration.thtml 30 Mar 2008 05:33:58 -0000 1.2 *************** *** 8,11 **** --- 8,20 ---- </form> + <form action="<TMPL_VAR NAME="Configuration_Action">" method="post"> + <label class="configurationLabel" for="configNntpSeparator"> + <TMPL_VAR NAME="Localize_Configuration_NNTPSeparator">: + </label> + <br /> + <input name="nntp_separator" id="configNntpSeparator" type="text" value="<TMPL_VAR NAME="nntp_separator">" /> + <input type="submit" class="submit" name="update_nntp_separator" value="<TMPL_VAR NAME="Localize_Apply">" /> + </form> + <label class="configurationLabel" for="nntpForceFork"> <TMPL_VAR NAME="Localize_Configuration_NNTPFork">: *************** *** 39,74 **** </tr> </table> ! ! <form action="<TMPL_VAR NAME="Configuration_Action">" method="post"> ! <label class="configurationLabel" for="configNntpSeparator"> ! <TMPL_VAR NAME="Localize_Configuration_NNTPSeparator">: ! </label> ! <br /> ! <input name="nntp_separator" id="configNntpSeparator" type="text" value="<TMPL_VAR NAME="nntp_separator">" /> ! <input type="submit" class="submit" name="update_nntp_separator" value="<TMPL_VAR NAME="Localize_Apply">" /> ! </form> ! ! <form class="securitySwitch" action="<TMPL_VAR NAME="Configuration_Action">" method="post"> ! <div class="securityLabel"> ! <TMPL_VAR NAME="Localize_Security_NNTP">: ! </div> ! ! <TMPL_IF NAME="nntp_if_local"> ! ! <span class="securityWidgetStateOff"> ! <TMPL_VAR NAME="Localize_Security_NoStealthMode"> ! </span> ! <input type="submit" class="toggleOn" id="securityAcceptNNTPOn" name="toggle" value="<TMPL_VAR NAME="Localize_ChangeToYes">" /> ! <input type="hidden" name="nntp_local" value="0" /> ! ! <TMPL_ELSE> ! ! <span class="securityWidgetStateOn"> ! <TMPL_VAR NAME="Localize_Yes"> ! </span> ! <input type="submit" class="toggleOff" id="securitycceptNNTPOff" name="toggle" value="<TMPL_VAR NAME="Localize_ChangeToNo"> <TMPL_VAR NAME="Localize_Security_StealthMode">" /> ! <input type="hidden" name="nntp_local" value="1" /> ! ! </TMPL_IF> ! ! </form> --- 48,50 ---- </tr> </table> ! <br /> Index: users-page.thtml =================================================================== RCS file: /cvsroot/popfile/engine/skins/default/users-page.thtml,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** users-page.thtml 20 Feb 2006 09:36:35 -0000 1.9 --- users-page.thtml 30 Mar 2008 05:33:58 -0000 1.10 *************** *** 2,5 **** --- 2,7 ---- <TMPL_INCLUDE NAME="common-middle.thtml"> + <!-- TODO : Script to disable user's password box if Initialize Password checkbox is checked --> + <table cellpadding="10%" cellspacing="0" class="settingsTable" width="100%" summary=""> <tr> *************** *** 38,41 **** --- 40,73 ---- </form> </TMPL_IF> + <br /> + <TMPL_IF NAME="Users_If_Remove"> + <hr /> + <h2 class="users"><TMPL_VAR NAME="Localize_Users_Change_Password"></h2> + + <form action="/users" method="post"> + <TMPL_VAR NAME="Localize_Users_ChangePasswordUser">: + <select name="tochangepassword"> + <option value=""> </option> + <TMPL_LOOP NAME="Users_Loop_ChangePassword"> + <option><TMPL_VAR NAME="Users_Name"></option> + </TMPL_LOOP> + </select> + <br /> + + <input type="checkbox" name="users_reset_password" id="usersResetPassword" /> + <label class="usersLabel" for="usersResetPassword"> + <TMPL_VAR NAME="Localize_Users_ResetPassword"> + </label> + <br /> + + <TMPL_VAR NAME="Localize_Configuration_NewPassword">: + <input type="password" name="users_new_password" size="10" /> + <TMPL_VAR NAME="Localize_Configuration_ConfirmPassword">: + <input type="password" name="users_confirm_password" size="10" /> + <br /> + + <input type="submit" class="submit" name="users_change_password" onClick="return confirmClick('<TMPL_VAR NAME="Localize_tip_Users_Change_Password">')" value="<TMPL_VAR NAME="Localize_Update">" /> + </form> + </TMPL_IF> </td> <td class="settingsPanel" valign="top"> Index: configuration-bar.thtml =================================================================== RCS file: /cvsroot/popfile/engine/skins/default/configuration-bar.thtml,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** configuration-bar.thtml 23 Feb 2006 12:15:13 -0000 1.22 --- configuration-bar.thtml 30 Mar 2008 05:33:58 -0000 1.23 *************** *** 4,8 **** <h2 class="configBarTitle"> ! <a name="configBar" title="<TMPL_VAR NAME="Localize_tip_Config_HideBar">" href="<TMPL_VAR NAME="Configuration_Action">?hide_configbar=1">Config Bar</a> </h2> --- 4,8 ---- <h2 class="configBarTitle"> ! <a name="configBar" title="<TMPL_VAR NAME="Localize_tip_Config_HideBar">" href="<TMPL_VAR NAME="Configuration_Action">?hide_configbar=1"><TMPL_VAR NAME="Localize_Configuration_ConfigBar"></a> </h2> *************** *** 112,116 **** <div class="configBarHidden"> <h2 class="configBarTitle"> ! <a title="<TMPL_VAR NAME="Localize_tip_Config_ShowBar">" href="<TMPL_VAR NAME="Configuration_Action">?show_configbar=1#configBar">Config Bar</a> </h2> </div> --- 112,116 ---- <div class="configBarHidden"> <h2 class="configBarTitle"> ! <a title="<TMPL_VAR NAME="Localize_tip_Config_ShowBar">" href="<TMPL_VAR NAME="Configuration_Action">?show_configbar=1#configBar"><TMPL_VAR NAME="Localize_Configuration_ConfigBar"></a> </h2> </div> Index: history-page.thtml =================================================================== RCS file: /cvsroot/popfile/engine/skins/default/history-page.thtml,v retrieving revision 1.73 retrieving revision 1.74 diff -C2 -d -r1.73 -r1.74 *** history-page.thtml 20 Feb 2006 09:36:35 -0000 1.73 --- history-page.thtml 30 Mar 2008 05:33:58 -0000 1.74 *************** *** 82,86 **** </td> <th class="historyLabel"> ! <a href="/history?<TMPL_VAR NAME="History_Fields">&setsort=<TMPL_VAR NAME="History_Sort"><TMPL_VAR NAME="History_Header">" title="<TMPL_VAR NAME="Localize_tip_History_Sort">"> <TMPL_IF NAME="History_If_Sorted"> --- 82,86 ---- </td> <th class="historyLabel"> ! <a href="/history?setsort=<TMPL_VAR NAME="History_Sort"><TMPL_VAR NAME="History_Header"><TMPL_VAR NAME="History_Fields">" title="<TMPL_VAR NAME="Localize_tip_History_Sort">"> <TMPL_IF NAME="History_If_Sorted"> Index: smtp-configuration.thtml =================================================================== RCS file: /cvsroot/popfile/engine/skins/default/smtp-configuration.thtml,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** smtp-configuration.thtml 22 May 2005 11:13:50 -0000 1.7 --- smtp-configuration.thtml 30 Mar 2008 05:33:58 -0000 1.8 *************** *** 1,2 **** --- 1,16 ---- + <label class="configurationLabel" for="configSMTPPort"> + <TMPL_VAR NAME="Localize_Configuration_SMTPPort">: + </label> + <table border="0" cellpadding="0" cellspacing="0" summary=""> + <tr> + <td> + <form action="<TMPL_VAR NAME="Configuration_Action">" method="post"> + <input name="smtp_port" type="text" id="configSMTPPort" value="<TMPL_VAR NAME="smtp_port">" /> + <input type="submit" class="submit" name="update_smtp_port" value="<TMPL_VAR NAME="Localize_Apply">" /> + </form> + </td> + </tr> + </table> + <label class="configurationLabel" for="smtpForceFork"> <TMPL_VAR NAME="Localize_Configuration_SMTPFork">: *************** *** 30,44 **** </table> <br /> - <label class="configurationLabel" for="configSMTPPort"> - <TMPL_VAR NAME="Localize_Configuration_SMTPPort">: - </label> - <table border="0" cellpadding="0" cellspacing="0" summary=""> - <tr> - <td> - <form action="<TMPL_VAR NAME="Configuration_Action">" method="post"> - <input name="smtp_port" type="text" id="configSMTPPort" value="<TMPL_VAR NAME="smtp_port">" /> - <input type="submit" class="submit" name="update_smtp_port" value="<TMPL_VAR NAME="Localize_Apply">" /> - </form> - </td> - </tr> - </table> --- 44,45 ---- Index: administration-page.thtml =================================================================== RCS file: /cvsroot/popfile/engine/skins/default/administration-page.thtml,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** administration-page.thtml 3 Dec 2007 12:58:41 -0000 1.13 --- administration-page.thtml 30 Mar 2008 05:33:58 -0000 1.14 *************** *** 27,36 **** <input type="radio" name="servermode" id="StealthMode" value="StealthMode" onClick="serverMode(false)" <TMPL_IF NAME="Security_If_Local">checked="checked"</TMPL_IF> /> <label class="administrationLabel" for="StealthMode"> ! Stealth Mode (disable remote connections) </label> <br /> <input type="radio" name="servermode" id="ServerMode" value="ServerMode" onClick="serverMode(true)" <TMPL_UNLESS NAME="Security_If_Local">checked="checked"</TMPL_UNLESS> /> <label class="administrationLabel" for="ServerMode"> ! Server Mode (allow remote connections) </label> <br /> --- 27,36 ---- <input type="radio" name="servermode" id="StealthMode" value="StealthMode" onClick="serverMode(false)" <TMPL_IF NAME="Security_If_Local">checked="checked"</TMPL_IF> /> <label class="administrationLabel" for="StealthMode"> ! <TMPL_VAR NAME="Localize_Security_StealthMode"> </label> <br /> <input type="radio" name="servermode" id="ServerMode" value="ServerMode" onClick="serverMode(true)" <TMPL_UNLESS NAME="Security_If_Local">checked="checked"</TMPL_UNLESS> /> <label class="administrationLabel" for="ServerMode"> ! <TMPL_VAR NAME="Localize_Security_ServerMode"> </label> <br /> |