From: John Graham-C. <jgr...@us...> - 2005-08-21 22:18:02
|
Update of /cvsroot/popfile/engine/skins/default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11349/skins/default Modified Files: configuration-bar.thtml history-bar.thtml history-javascript.thtml history-navigator-widget.thtml history-page.thtml history-search-filter-widget.thtml Log Message: More v0.23.0 work; mostly around the test suite and the ability to change passwords. *** NOTE: Had to run 'dos2unix' because a number of files had CRLF line endings. POPFile standard is Unix-style LF only line endings on files. *** tests/TestBayes.tst and Classifier/Bayes.pm: Add tests for APIs that had no tests (and fix the bugs that the tests showed up!). All APIs now have tests; the new tests cover: add_account create_user get_accounts get_bucket_id get_bucket_name get_user_id get_user_list get_user_parameter get_user_parameter_from_id get_user_parameter_list remove_account remove_user set_user_parameter_from_id *** Classifier/Bayes.pm, tests/TestBayes.tst, UI/HTML.pm create_user now also creates a random password for the user and the password is displayed when the user is created in the UI. *** Classifier/Bayes.pm, tests/TestBayes.tst, UI/HTML.pm, skins/default/configuration-bar.thtml Added the ability to change password for a user. This is done in the configuration bar and added new APIs and tests (validate_password and set_password) for a user. *** POPFile/API.pm: Add external access to the following new APIs: add_account create_user get_user_id get_user_id_from_session get_user_parameter get_user_parameter_from_id get_user_parameter_list remove_account remove_user set_user_parameter_from_id *** tests/TestHTTP.tst: Remove redirection tests since this is no longer handled by the HTTP module. *** Current state of the test suite: TestBayesScript fail TestBayes PASS TestConfiguration fail TestHistory fail TestHTML fail (horribly) TestHTTP PASS TestIMAP PASS TestInsertScript fail TestLogger PASS TestMailParse fail TestModule PASS TestMQ PASS TestMutex PASS TestPipeScript PASS TestPOP3 fail TestProxy PASS TestWordMangle PASS TestXMLRPC fail *** TODO tests/TestModule.tst needs updating for the user_*_config_ APIs that have been added. Look into why we get bogus complaints about the primary key not being unique when we do a database upgrade. I think some of these are caused by the fact that popfile.sql contains some INSERT statements and we are getting double inserts. Perhaps the upgrade should be using UPDATE instead. Index: history-search-filter-widget.thtml =================================================================== RCS file: /cvsroot/popfile/engine/skins/default/history-search-filter-widget.thtml,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** history-search-filter-widget.thtml 25 May 2005 14:23:49 -0000 1.12 --- history-search-filter-widget.thtml 21 Aug 2005 22:17:51 -0000 1.13 *************** *** 1,48 **** ! <form action="/history" method="post"> ! <div class="search"> ! <label class="historyLabel" for="historySearch" title="<TMPL_VAR NAME="Localize_tip_History_Search">"> ! <TMPL_VAR NAME="Localize_History_SearchMessage"> ! </label> ! <br /> ! <TMPL_IF NAME="History_If_Search"> ! <input type="text" id="historySearch" name="search" value="<TMPL_VAR ESCAPE=HTML NAME="History_Field_Search">" /> ! </TMPL_IF> ! ! </div> ! ! <div class="filter"> ! <label class="historyLabel" for="historyFilter" title="<TMPL_VAR NAME="Localize_tip_History_Filter">"> ! <TMPL_VAR NAME="Localize_History_FilterBy"> ! </label> ! <br> ! <input type="hidden" name="sort" value="<TMPL_VAR NAME="History_Field_Sort">" /> ! <select name="filter" id="historyFilter"> ! <option value=""></option> ! ! <TMPL_LOOP NAME="History_Loop_SF_Buckets"> ! ! <option value="<TMPL_VAR NAME="History_Bucket">" <TMPL_VAR NAME="History_Selected"> style="color: <TMPL_VAR NAME="History_Bucket_Color">"> ! <TMPL_VAR NAME="History_Bucket"> ! </option> ! ! </TMPL_LOOP> ! ! <option value="__filter__magnet" <TMPL_VAR NAME="History_Filter_Magnet">> ! <<TMPL_VAR NAME="Localize_History_ShowMagnet">> ! </option> ! <option value="unclassified" <TMPL_VAR NAME="History_Filter_Unclassified">> ! <unclassified> ! </option> ! </select> ! <input type="submit" class="submit" name="setfilter" value="<TMPL_VAR NAME="Localize_Find">" title="<TMPL_VAR NAME="Localize_tip_History_SearchSubmit">" /> ! <input type="submit" class="submit" name="reset_filter_search" value="<TMPL_VAR NAME="Localize_History_ResetSearch">" title="<TMPL_VAR NAME="Localize_tip_History_SearchReset">" /> ! </div> ! ! <div class="negate"> ! <input type="hidden" name="negate" value="" /> ! <input type="checkbox" name="negate" id="negate" class="checkbox" <TMPL_VAR NAME="History_Field_Not"> /> ! <label for="negate" title="<TMPL_VAR NAME="Localize_tip_History_SearchNegate">"> ! <TMPL_VAR NAME="Localize_History_Negate_Search"> ! </label> ! </div> ! </form> --- 1,48 ---- ! <form action="/history" method="post"> ! <div class="search"> ! <label class="historyLabel" for="historySearch" title="<TMPL_VAR NAME="Localize_tip_History_Search">"> ! <TMPL_VAR NAME="Localize_History_SearchMessage"> ! </label> ! <br /> ! <TMPL_IF NAME="History_If_Search"> ! <input type="text" id="historySearch" name="search" value="<TMPL_VAR ESCAPE=HTML NAME="History_Field_Search">" /> ! </TMPL_IF> ! ! </div> ! ! <div class="filter"> ! <label class="historyLabel" for="historyFilter" title="<TMPL_VAR NAME="Localize_tip_History_Filter">"> ! <TMPL_VAR NAME="Localize_History_FilterBy"> ! </label> ! <br> ! <input type="hidden" name="sort" value="<TMPL_VAR NAME="History_Field_Sort">" /> ! <select name="filter" id="historyFilter"> ! <option value=""></option> ! ! <TMPL_LOOP NAME="History_Loop_SF_Buckets"> ! ! <option value="<TMPL_VAR NAME="History_Bucket">" <TMPL_VAR NAME="History_Selected"> style="color: <TMPL_VAR NAME="History_Bucket_Color">"> ! <TMPL_VAR NAME="History_Bucket"> ! </option> ! ! </TMPL_LOOP> ! ! <option value="__filter__magnet" <TMPL_VAR NAME="History_Filter_Magnet">> ! <<TMPL_VAR NAME="Localize_History_ShowMagnet">> ! </option> ! <option value="unclassified" <TMPL_VAR NAME="History_Filter_Unclassified">> ! <unclassified> ! </option> ! </select> ! <input type="submit" class="submit" name="setfilter" value="<TMPL_VAR NAME="Localize_Find">" title="<TMPL_VAR NAME="Localize_tip_History_SearchSubmit">" /> ! <input type="submit" class="submit" name="reset_filter_search" value="<TMPL_VAR NAME="Localize_History_ResetSearch">" title="<TMPL_VAR NAME="Localize_tip_History_SearchReset">" /> ! </div> ! ! <div class="negate"> ! <input type="hidden" name="negate" value="" /> ! <input type="checkbox" name="negate" id="negate" class="checkbox" <TMPL_VAR NAME="History_Field_Not"> /> ! <label for="negate" title="<TMPL_VAR NAME="Localize_tip_History_SearchNegate">"> ! <TMPL_VAR NAME="Localize_History_Negate_Search"> ! </label> ! </div> ! </form> Index: history-page.thtml =================================================================== RCS file: /cvsroot/popfile/engine/skins/default/history-page.thtml,v retrieving revision 1.67 retrieving revision 1.68 diff -C2 -d -r1.67 -r1.68 *** history-page.thtml 15 Aug 2005 03:49:41 -0000 1.67 --- history-page.thtml 21 Aug 2005 22:17:51 -0000 1.68 *************** *** 1,300 **** ! <TMPL_INCLUDE NAME="common-top.thtml"> ! <TMPL_INCLUDE NAME="common-middle.thtml"> ! ! <TMPL_IF NAME="If_Show_Bucket_Help"> ! ! <div class="helpMessage"> ! <TMPL_VAR NAME="Localize_Help_Bucket_Setup"> ! <p /> ! <form method="post" action="/buckets"> ! <input type="submit" class="submit" name="nomore_bucket_help" value="<TMPL_VAR NAME="Localize_Help_No_More">" /> ! </form> ! </div> ! ! </TMPL_IF> ! ! <TMPL_IF NAME="If_Show_Training_Help"> ! ! <div class="helpMessage"> ! <TMPL_VAR NAME="Localize_Help_Training"> ! <p /> ! <form method="post" action="/buckets"> ! <input type="submit" class="submit" name="nomore_training_help" value="<TMPL_VAR NAME="Localize_Help_No_More">" /> ! </form> ! </div> ! ! </TMPL_IF> ! ! <form action="/history" method="post" style="display:none;"> ! <input type="hidden" name="search" value="<TMPL_VAR NAME="History_Field_Search">" /> ! <input type="hidden" name="sort" value="<TMPL_VAR NAME="History_Field_Sort">" /> ! <input type="hidden" name="negate" value="<TMPL_VAR NAME="History_Field_Not">" /> ! <input type="hidden" name="start_message" value="<TMPL_VAR NAME="History_Start_Message">" /> ! <input type="hidden" name="filter" value="<TMPL_VAR NAME="History_Field_Filter">" /> ! </form> ! <TMPL_IF NAME="History_If_Some_Messages"> ! ! <table width="100%" summary=""> ! <tr> ! <td align="left"> ! <h2 class="history" title="<TMPL_VAR NAME="Localize_tip_History_RecentNum">"><TMPL_VAR NAME="Localize_History_Title"> (<TMPL_VAR NAME="History_Count">)</h2> ! </td> ! <td class="historyNavigatorTop" rowspan="2"> ! ! <TMPL_IF "History_If_MultiPage"> ! <!-- the following html was generated by history-navigator-widget.thtml --> ! <TMPL_INCLUDE NAME="history-navigator-widget.thtml"> ! <!-- end of history-navigator-widget.thtml content --> ! </TMPL_IF> ! ! <div class="refreshLink"> ! (<a class="history" href="/history"><TMPL_VAR NAME="Localize_Refresh"></a>) ! </div> ! ! </td> ! </tr> ! <tr> ! <td colspan="2" class="historyWidgetsTop"> ! <!-- the following html was history-search-filter-widget.thtml --> ! <TMPL_INCLUDE NAME="history-search-filter-widget.thtml"> ! <!-- end of history-search-filter-widget.thtml content --> ! </td> ! </tr> ! </table> ! ! <form action="/history" method="post"> ! <div class="removeButtonsTop"> ! <input type="submit" class="submit removeButton" name="clearchecked" onClick="return confirmClick('<TMPL_VAR NAME="Localize_tip_History_RemoveChecked">')" value="<TMPL_VAR NAME="Localize_History_RemoveChecked">" title="<TMPL_VAR NAME="Localize_tip_History_RemoveChecked">" /> ! <input type="submit" class="submit removeButton" name="clearpage" onClick="return confirmClick('<TMPL_VAR NAME="Localize_tip_History_RemovePage">')" value="<TMPL_VAR NAME="Localize_History_RemovePage">" title="<TMPL_VAR NAME="Localize_tip_History_RemovePage">" /> ! <input type="submit" class="submit removeButton" name="clearall" onClick="return confirmClick('<TMPL_VAR NAME="Localize_tip_History_RemoveAll">')" value="<TMPL_VAR NAME="Localize_History_RemoveAll"> (<TMPL_VAR NAME="History_Count">)" title="<TMPL_VAR NAME="Localize_tip_History_RemoveAll">" /> ! </div> ! <table class="historyTable" width="100%" summary="<TMPL_VAR NAME="Localize_History_MainTableSummary">"> ! <tr class="rowHeader"> ! <th id="removeChecks" scope="col" align="left"></th> ! ! <TMPL_LOOP NAME="History_Loop_Headers"> ! ! <th scope="col"> ! <table width="100%" cellspacing="0"> ! <tr> ! <td class="columnControls"> ! <a class="columnRemove" href="/history?removecolumn=<TMPL_VAR NAME="History_Header">"><img title="<TMPL_VAR NAME="Localize_tip_History_RemoveColumn">" src="skins/x.gif" border="0" alt="x"></a> ! </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"> ! ! <em class="historyLabelSort"> ! ! <TMPL_IF NAME="History_If_Sorted_Ascending"> ! ! > <TMPL_VAR NAME="History_Label"> ! ! <TMPL_ELSE> ! ! < <TMPL_VAR NAME="History_Label"> ! ! </TMPL_IF> ! ! </em> ! ! <TMPL_ELSE> ! ! <TMPL_VAR NAME="History_Label"> ! ! </TMPL_IF> ! ! </a> ! </th> ! ! <TMPL_IF NAME="History_If_MoveLeft"> ! <td class="columnControls"> ! <a class="columnMove" href="/history?moveleft=<TMPL_VAR NAME="History_Header">"><img title="<TMPL_VAR NAME="Localize_tip_History_MoveLeft">" src="skins/leftarrow.gif" border="0" alt="<"></a> ! </td> ! </TMPL_IF> ! <TMPL_IF NAME="History_If_MoveRight"> ! <td class="columnControls"> ! <a class="columnMove" href="/history?moveright=<TMPL_VAR NAME="History_Header">"><img title="<TMPL_VAR NAME="Localize_tip_History_MoveRight">" src="skins/rightarrow.gif" border="0" alt=">"></a> ! </td> ! </TMPL_IF> ! ! </tr> ! </table> ! </th> ! ! </TMPL_LOOP> ! ! <th scope="col" class="historyLabel"> ! <input type="submit" class="submit reclassifyButton" name="change" value="<TMPL_VAR NAME="Localize_Reclassify">" title="<TMPL_VAR NAME="Localize_tip_History_Reclassify">" /> ! </th> ! </tr> ! ! <TMPL_LOOP NAME="History_Loop_Messages"> ! ! <TMPL_IF NAME="History_If_Session"> ! <tr class="rowBoundary"><td colspan="<TMPL_VAR NAME="History_Colspan">"></td></tr> ! </TMPL_IF> ! ! <TMPL_IF NAME="__odd__"> ! <tr class="rowOdd"> ! <TMPL_ELSE> ! <tr class="rowEven"> ! </TMPL_IF> ! ! <td> ! <input type="checkbox" id="remove_<TMPL_VAR NAME="History_I1">" class="checkbox" name="remove_<TMPL_VAR NAME="History_I1">"/> ! <input type="hidden" id="rowid_<TMPL_VAR NAME="History_I1">" name="rowid_<TMPL_VAR NAME="History_I1">" value="<TMPL_VAR NAME="History_I1">"/> ! </td> ! ! <TMPL_LOOP NAME="History_Loop_Loop_Cells"> ! <TMPL_IF NAME="History_If_Bucket_Column"> ! <td> ! ! <TMPL_IF NAME="History_If_Magnetized"> ! ! </TMPL_IF> ! ! <TMPL_IF NAME="History_If_Not_Pseudo"> ! ! <a href="/buckets?showbucket=<TMPL_VAR NAME="History_Bucket">"> ! ! </TMPL_IF> ! ! <span style="color:<TMPL_VAR NAME="History_Bucket_Color">"> ! <TMPL_VAR NAME="History_Bucket"> ! </span> ! ! <TMPL_IF NAME="History_If_Not_Pseudo"> ! ! </a> ! ! </TMPL_IF> ! ! </td> ! <TMPL_ELSE> ! <TMPL_IF NAME="History_If_Subject_Column"> ! <td> ! <a class="messageLink" title="<TMPL_VAR NAME="History_Cell_Title" ESCAPE=HTML>" href="/view?view=<TMPL_VAR NAME="History_Mail_File"><TMPL_VAR NAME="History_Fields">"> ! <span title="<TMPL_VAR NAME="History_Cell_Title" ESCAPE=HTML>"><TMPL_VAR NAME="History_Cell_Value" ESCAPE=HTML></span></a> ! ! </td> ! <TMPL_ELSE> ! <td> ! <span title="<TMPL_VAR NAME="History_Cell_Title" ESCAPE=HTML>"><TMPL_VAR NAME="History_Cell_Value" ESCAPE=HTML></span> ! </td> ! </TMPL_IF> ! </TMPL_IF> ! </TMPL_LOOP> ! ! <td> ! ! <TMPL_IF NAME="History_If_Reclassified"> ! <TMPL_VAR NAME="Localize_History_Reclassified"> ! <input type="submit" class="submit undoButton" name="undo_<TMPL_VAR NAME="History_I">" value="<TMPL_VAR NAME="Localize_Undo">" /> ! ! <TMPL_ELSE> ! ! <TMPL_IF NAME="History_If_Magnetized"> ! <img title="<TMPL_VAR NAME="History_Magnet" ESCAPE=HTML>" alt="<TMPL_VAR NAME="History_Magnet" ESCAPE=HTML>" src="/skins/magnet.png"> ! <TMPL_ELSE> ! ! <select name="reclassify_<TMPL_VAR NAME="History_I">"> ! <option selected="selected"></option> ! ! <TMPL_LOOP NAME="History_Loop_Loop_Buckets"> ! ! <option value="<TMPL_VAR NAME="History_Bucket">" style="color: <TMPL_VAR NAME="History_Bucket_Color">"> ! <TMPL_VAR NAME="History_Bucket"> ! </option> ! ! </TMPL_LOOP> ! ! </select> ! ! </TMPL_IF> ! ! </TMPL_IF> ! </td> ! </tr> ! ! <TMPL_IF NAME="History_If_Feedback"> ! ! <tr class="rowHighlighted"> ! <td> ! ! </td> ! <td colspan="<TMPL_VAR NAME="History_Colspan">"> ! <TMPL_VAR NAME="History_Feedback"> ! </td> ! </tr> ! ! </TMPL_IF> ! ! </TMPL_LOOP> ! ! <tr> ! <td colspan="<TMPL_VAR NAME="History_Colspan">"></td> ! </tr> ! <tr> ! <td colspan="<TMPL_VAR NAME="History_Colspan">"> ! <div class="removeButtonsBottom"> ! <input type="submit" class="submit removeButton" name="clearchecked" onClick="return confirmClick('<TMPL_VAR NAME="Localize_tip_History_RemoveChecked">')" value="<TMPL_VAR NAME="Localize_History_RemoveChecked">" title="<TMPL_VAR NAME="Localize_tip_History_RemoveChecked">" /> ! <input type="submit" class="submit removeButton" name="clearpage" onClick="return confirmClick('<TMPL_VAR NAME="Localize_tip_History_RemovePage">')" value="<TMPL_VAR NAME="Localize_History_RemovePage">" title="<TMPL_VAR NAME="Localize_tip_History_RemovePage">" /> ! <input type="submit" class="submit removeButton" name="clearall" onClick="return confirmClick('<TMPL_VAR NAME="Localize_tip_History_RemoveAll">')" value="<TMPL_VAR NAME="Localize_History_RemoveAll"> (<TMPL_VAR NAME="History_Count">)" title="<TMPL_VAR NAME="Localize_tip_History_RemoveAll">" /> ! </div> ! </td> ! <th scope="col" class="historyLabel"> ! <input type="submit" class="submit reclassifyButton" name="change" value="<TMPL_VAR NAME="Localize_Reclassify">" title="<TMPL_VAR NAME="Localize_tip_History_Reclassify">" /> ! </th> ! </tr> ! </table> ! </form> ! ! <TMPL_IF "History_If_MultiPage"> ! ! <table width="100%" summary=""> ! <tr> ! <td class="historyNavigatorBottom"> ! <TMPL_INCLUDE NAME="history-navigator-widget.thtml"> ! </td> ! </tr> ! </table> ! ! </TMPL_IF> ! ! ! <TMPL_ELSE> <!-- if some messages --> ! ! ! <table width="100%" summary=""> ! <tr> ! <td align="left"> ! <h2 class="history"><TMPL_VAR NAME="Localize_History_Title"></h2> ! </td> ! <td class="historyNavigatorTop"> ! (<a class="history" href="/history"><TMPL_VAR NAME="Localize_Refresh"></a>) ! </td> ! </tr> ! <tr> ! <td colspan="2"> ! <!-- the following html was history-search-filter-widget.thtml --> ! <TMPL_INCLUDE NAME="history-search-filter-widget.thtml"> ! <!-- end of history-search-filter-widget.thtml content --> ! </td> ! </tr> ! ! <tr> ! <td> ! <span class="bucketsLabel"> ! <TMPL_VAR NAME="Localize_History_NoMessages">. ! </span> ! </td> ! </tr> ! </table> ! ! </TMPL_IF> <!-- if some messages --> ! ! <TMPL_INCLUDE NAME="history-javascript.thtml"> ! <TMPL_INCLUDE NAME="configuration-bar.thtml"> ! <TMPL_INCLUDE NAME="common-bottom.thtml"> --- 1,300 ---- ! <TMPL_INCLUDE NAME="common-top.thtml"> ! <TMPL_INCLUDE NAME="common-middle.thtml"> ! ! <TMPL_IF NAME="If_Show_Bucket_Help"> ! ! <div class="helpMessage"> ! <TMPL_VAR NAME="Localize_Help_Bucket_Setup"> ! <p /> ! <form method="post" action="/buckets"> ! <input type="submit" class="submit" name="nomore_bucket_help" value="<TMPL_VAR NAME="Localize_Help_No_More">" /> ! </form> ! </div> ! ! </TMPL_IF> ! ! <TMPL_IF NAME="If_Show_Training_Help"> ! ! <div class="helpMessage"> ! <TMPL_VAR NAME="Localize_Help_Training"> ! <p /> ! <form method="post" action="/buckets"> ! <input type="submit" class="submit" name="nomore_training_help" value="<TMPL_VAR NAME="Localize_Help_No_More">" /> ! </form> ! </div> ! ! </TMPL_IF> ! ! <form action="/history" method="post" style="display:none;"> ! <input type="hidden" name="search" value="<TMPL_VAR NAME="History_Field_Search">" /> ! <input type="hidden" name="sort" value="<TMPL_VAR NAME="History_Field_Sort">" /> ! <input type="hidden" name="negate" value="<TMPL_VAR NAME="History_Field_Not">" /> ! <input type="hidden" name="start_message" value="<TMPL_VAR NAME="History_Start_Message">" /> ! <input type="hidden" name="filter" value="<TMPL_VAR NAME="History_Field_Filter">" /> ! </form> ! <TMPL_IF NAME="History_If_Some_Messages"> ! ! <table width="100%" summary=""> ! <tr> ! <td align="left"> ! <h2 class="history" title="<TMPL_VAR NAME="Localize_tip_History_RecentNum">"><TMPL_VAR NAME="Localize_History_Title"> (<TMPL_VAR NAME="History_Count">)</h2> ! </td> ! <td class="historyNavigatorTop" rowspan="2"> ! ! <TMPL_IF "History_If_MultiPage"> ! <!-- the following html was generated by history-navigator-widget.thtml --> ! <TMPL_INCLUDE NAME="history-navigator-widget.thtml"> ! <!-- end of history-navigator-widget.thtml content --> ! </TMPL_IF> ! ! <div class="refreshLink"> ! (<a class="history" href="/history"><TMPL_VAR NAME="Localize_Refresh"></a>) ! </div> ! ! </td> ! </tr> ! <tr> ! <td colspan="2" class="historyWidgetsTop"> ! <!-- the following html was history-search-filter-widget.thtml --> ! <TMPL_INCLUDE NAME="history-search-filter-widget.thtml"> ! <!-- end of history-search-filter-widget.thtml content --> ! </td> ! </tr> ! </table> ! ! <form action="/history" method="post"> ! <div class="removeButtonsTop"> ! <input type="submit" class="submit removeButton" name="clearchecked" onClick="return confirmClick('<TMPL_VAR NAME="Localize_tip_History_RemoveChecked">')" value="<TMPL_VAR NAME="Localize_History_RemoveChecked">" title="<TMPL_VAR NAME="Localize_tip_History_RemoveChecked">" /> ! <input type="submit" class="submit removeButton" name="clearpage" onClick="return confirmClick('<TMPL_VAR NAME="Localize_tip_History_RemovePage">')" value="<TMPL_VAR NAME="Localize_History_RemovePage">" title="<TMPL_VAR NAME="Localize_tip_History_RemovePage">" /> ! <input type="submit" class="submit removeButton" name="clearall" onClick="return confirmClick('<TMPL_VAR NAME="Localize_tip_History_RemoveAll">')" value="<TMPL_VAR NAME="Localize_History_RemoveAll"> (<TMPL_VAR NAME="History_Count">)" title="<TMPL_VAR NAME="Localize_tip_History_RemoveAll">" /> ! </div> ! <table class="historyTable" width="100%" summary="<TMPL_VAR NAME="Localize_History_MainTableSummary">"> ! <tr class="rowHeader"> ! <th id="removeChecks" scope="col" align="left"></th> ! ! <TMPL_LOOP NAME="History_Loop_Headers"> ! ! <th scope="col"> ! <table width="100%" cellspacing="0"> ! <tr> ! <td class="columnControls"> ! <a class="columnRemove" href="/history?removecolumn=<TMPL_VAR NAME="History_Header">"><img title="<TMPL_VAR NAME="Localize_tip_History_RemoveColumn">" src="skins/x.gif" border="0" alt="x"></a> ! </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"> ! ! <em class="historyLabelSort"> ! ! <TMPL_IF NAME="History_If_Sorted_Ascending"> ! ! > <TMPL_VAR NAME="History_Label"> ! ! <TMPL_ELSE> ! ! < <TMPL_VAR NAME="History_Label"> ! ! </TMPL_IF> ! ! </em> ! ! <TMPL_ELSE> ! ! <TMPL_VAR NAME="History_Label"> ! ! </TMPL_IF> ! ! </a> ! </th> ! ! <TMPL_IF NAME="History_If_MoveLeft"> ! <td class="columnControls"> ! <a class="columnMove" href="/history?moveleft=<TMPL_VAR NAME="History_Header">"><img title="<TMPL_VAR NAME="Localize_tip_History_MoveLeft">" src="skins/leftarrow.gif" border="0" alt="<"></a> ! </td> ! </TMPL_IF> ! <TMPL_IF NAME="History_If_MoveRight"> ! <td class="columnControls"> ! <a class="columnMove" href="/history?moveright=<TMPL_VAR NAME="History_Header">"><img title="<TMPL_VAR NAME="Localize_tip_History_MoveRight">" src="skins/rightarrow.gif" border="0" alt=">"></a> ! </td> ! </TMPL_IF> ! ! </tr> ! </table> ! </th> ! ! </TMPL_LOOP> ! ! <th scope="col" class="historyLabel"> ! <input type="submit" class="submit reclassifyButton" name="change" value="<TMPL_VAR NAME="Localize_Reclassify">" title="<TMPL_VAR NAME="Localize_tip_History_Reclassify">" /> ! </th> ! </tr> ! ! <TMPL_LOOP NAME="History_Loop_Messages"> ! ! <TMPL_IF NAME="History_If_Session"> ! <tr class="rowBoundary"><td colspan="<TMPL_VAR NAME="History_Colspan">"></td></tr> ! </TMPL_IF> ! ! <TMPL_IF NAME="__odd__"> ! <tr class="rowOdd"> ! <TMPL_ELSE> ! <tr class="rowEven"> ! </TMPL_IF> ! ! <td> ! <input type="checkbox" id="remove_<TMPL_VAR NAME="History_I1">" class="checkbox" name="remove_<TMPL_VAR NAME="History_I1">"/> ! <input type="hidden" id="rowid_<TMPL_VAR NAME="History_I1">" name="rowid_<TMPL_VAR NAME="History_I1">" value="<TMPL_VAR NAME="History_I1">"/> ! </td> ! ! <TMPL_LOOP NAME="History_Loop_Loop_Cells"> ! <TMPL_IF NAME="History_If_Bucket_Column"> ! <td> ! ! <TMPL_IF NAME="History_If_Magnetized"> ! ! </TMPL_IF> ! ! <TMPL_IF NAME="History_If_Not_Pseudo"> ! ! <a href="/buckets?showbucket=<TMPL_VAR NAME="History_Bucket">"> ! ! </TMPL_IF> ! ! <span style="color:<TMPL_VAR NAME="History_Bucket_Color">"> ! <TMPL_VAR NAME="History_Bucket"> ! </span> ! ! <TMPL_IF NAME="History_If_Not_Pseudo"> ! ! </a> ! ! </TMPL_IF> ! ! </td> ! <TMPL_ELSE> ! <TMPL_IF NAME="History_If_Subject_Column"> ! <td> ! <a class="messageLink" title="<TMPL_VAR NAME="History_Cell_Title" ESCAPE=HTML>" href="/view?view=<TMPL_VAR NAME="History_Mail_File"><TMPL_VAR NAME="History_Fields">"> ! <span title="<TMPL_VAR NAME="History_Cell_Title" ESCAPE=HTML>"><TMPL_VAR NAME="History_Cell_Value" ESCAPE=HTML></span></a> ! ! </td> ! <TMPL_ELSE> ! <td> ! <span title="<TMPL_VAR NAME="History_Cell_Title" ESCAPE=HTML>"><TMPL_VAR NAME="History_Cell_Value" ESCAPE=HTML></span> ! </td> ! </TMPL_IF> ! </TMPL_IF> ! </TMPL_LOOP> ! ! <td> ! ! <TMPL_IF NAME="History_If_Reclassified"> ! <TMPL_VAR NAME="Localize_History_Reclassified"> ! <input type="submit" class="submit undoButton" name="undo_<TMPL_VAR NAME="History_I">" value="<TMPL_VAR NAME="Localize_Undo">" /> ! ! <TMPL_ELSE> ! ! <TMPL_IF NAME="History_If_Magnetized"> ! <img title="<TMPL_VAR NAME="History_Magnet" ESCAPE=HTML>" alt="<TMPL_VAR NAME="History_Magnet" ESCAPE=HTML>" src="/skins/magnet.png"> ! <TMPL_ELSE> ! ! <select name="reclassify_<TMPL_VAR NAME="History_I">"> ! <option selected="selected"></option> ! ! <TMPL_LOOP NAME="History_Loop_Loop_Buckets"> ! ! <option value="<TMPL_VAR NAME="History_Bucket">" style="color: <TMPL_VAR NAME="History_Bucket_Color">"> ! <TMPL_VAR NAME="History_Bucket"> ! </option> ! ! </TMPL_LOOP> ! ! </select> ! ! </TMPL_IF> ! ! </TMPL_IF> ! </td> ! </tr> ! ! <TMPL_IF NAME="History_If_Feedback"> ! ! <tr class="rowHighlighted"> ! <td> ! ! </td> ! <td colspan="<TMPL_VAR NAME="History_Colspan">"> ! <TMPL_VAR NAME="History_Feedback"> ! </td> ! </tr> ! ! </TMPL_IF> ! ! </TMPL_LOOP> ! ! <tr> ! <td colspan="<TMPL_VAR NAME="History_Colspan">"></td> ! </tr> ! <tr> ! <td colspan="<TMPL_VAR NAME="History_Colspan">"> ! <div class="removeButtonsBottom"> ! <input type="submit" class="submit removeButton" name="clearchecked" onClick="return confirmClick('<TMPL_VAR NAME="Localize_tip_History_RemoveChecked">')" value="<TMPL_VAR NAME="Localize_History_RemoveChecked">" title="<TMPL_VAR NAME="Localize_tip_History_RemoveChecked">" /> ! <input type="submit" class="submit removeButton" name="clearpage" onClick="return confirmClick('<TMPL_VAR NAME="Localize_tip_History_RemovePage">')" value="<TMPL_VAR NAME="Localize_History_RemovePage">" title="<TMPL_VAR NAME="Localize_tip_History_RemovePage">" /> ! <input type="submit" class="submit removeButton" name="clearall" onClick="return confirmClick('<TMPL_VAR NAME="Localize_tip_History_RemoveAll">')" value="<TMPL_VAR NAME="Localize_History_RemoveAll"> (<TMPL_VAR NAME="History_Count">)" title="<TMPL_VAR NAME="Localize_tip_History_RemoveAll">" /> ! </div> ! </td> ! <th scope="col" class="historyLabel"> ! <input type="submit" class="submit reclassifyButton" name="change" value="<TMPL_VAR NAME="Localize_Reclassify">" title="<TMPL_VAR NAME="Localize_tip_History_Reclassify">" /> ! </th> ! </tr> ! </table> ! </form> ! ! <TMPL_IF "History_If_MultiPage"> ! ! <table width="100%" summary=""> ! <tr> ! <td class="historyNavigatorBottom"> ! <TMPL_INCLUDE NAME="history-navigator-widget.thtml"> ! </td> ! </tr> ! </table> ! ! </TMPL_IF> ! ! ! <TMPL_ELSE> <!-- if some messages --> ! ! ! <table width="100%" summary=""> ! <tr> ! <td align="left"> ! <h2 class="history"><TMPL_VAR NAME="Localize_History_Title"></h2> ! </td> ! <td class="historyNavigatorTop"> ! (<a class="history" href="/history"><TMPL_VAR NAME="Localize_Refresh"></a>) ! </td> ! </tr> ! <tr> ! <td colspan="2"> ! <!-- the following html was history-search-filter-widget.thtml --> ! <TMPL_INCLUDE NAME="history-search-filter-widget.thtml"> ! <!-- end of history-search-filter-widget.thtml content --> ! </td> ! </tr> ! ! <tr> ! <td> ! <span class="bucketsLabel"> ! <TMPL_VAR NAME="Localize_History_NoMessages">. ! </span> ! </td> ! </tr> ! </table> ! ! </TMPL_IF> <!-- if some messages --> ! ! <TMPL_INCLUDE NAME="history-javascript.thtml"> ! <TMPL_INCLUDE NAME="configuration-bar.thtml"> ! <TMPL_INCLUDE NAME="common-bottom.thtml"> Index: configuration-bar.thtml =================================================================== RCS file: /cvsroot/popfile/engine/skins/default/configuration-bar.thtml,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** configuration-bar.thtml 15 Aug 2005 03:49:41 -0000 1.16 --- configuration-bar.thtml 21 Aug 2005 22:17:51 -0000 1.17 *************** *** 1,107 **** ! <TMPL_IF NAME="If_Show_Config_Bars"> ! ! <div class="configBar"> ! ! <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> ! ! <table class="configBarBody" cellspacing="0" width="100%"> ! ! <TMPL_IF NAME="Is_history_page"> ! ! <tr> ! <td> ! <form action="<TMPL_VAR NAME="Configuration_Action">" method="post"> ! <TMPL_INCLUDE NAME="history-bar.thtml"> ! </form> ! </td> ! </tr> ! ! </TMPL_IF> ! ! <tr> ! <td> ! <form action="<TMPL_VAR NAME="Configuration_Action">" method="post"> ! <div class="configBarOption"> ! <label class="configurationLabel" for="configSkin" title="<TMPL_VAR NAME="Localize_tip_Config_Skin">"> ! <TMPL_VAR NAME="Localize_Configuration_SkinsChoose">: ! </label> ! ! <input type="hidden" name="start_message" value="<TMPL_VAR NAME="History_Start_Message">" /> ! <select name="skin" id="configSkin"> ! <optgroup label="<TMPL_VAR NAME="Localize_Configuration_GeneralSkins">"> ! ! <TMPL_LOOP NAME="Configuration_Loop_General_Skins"> ! ! <option value="<TMPL_VAR NAME="Configuration_General_Skin">" <TMPL_VAR NAME="Configuration_General_Selected">> ! <TMPL_VAR NAME="Configuration_General_Skin"> ! </option> ! ! </TMPL_LOOP> ! ! </optgroup> ! ! <optgroup label="<TMPL_VAR NAME="Localize_Configuration_SmallSkins">"> ! ! <TMPL_LOOP NAME="Configuration_Loop_Small_Skins"> ! ! <option value="<TMPL_VAR NAME="Configuration_Small_Skin">" <TMPL_VAR NAME="Configuration_Small_Selected">> ! <TMPL_VAR NAME="Configuration_Small_Skin"> ! </option> ! ! </TMPL_LOOP> ! ! </optgroup> ! <optgroup label="<TMPL_VAR NAME="Localize_Configuration_TinySkins">"> ! ! <TMPL_LOOP NAME="Configuration_Loop_Tiny_Skins"> ! ! <option value="<TMPL_VAR NAME="Configuration_Tiny_Skin">" <TMPL_VAR NAME="Configuration_Tiny_Selected">> ! <TMPL_VAR NAME="Configuration_Tiny_Skin"> ! </option> ! ! </TMPL_LOOP> ! ! </optgroup> ! </select> ! <input type="submit" class="submit" name="change_skin" value="<TMPL_VAR NAME="Localize_Apply">" /> ! </div> ! ! <div class="configBarOption"> ! ! <label class="configurationLabel" for="configLanguage" title="<TMPL_VAR NAME="Localize_tip_Config_Language">"> ! <TMPL_VAR NAME="Localize_Configuration_LanguageChoose">: ! </label> ! ! <select name="language" id="configLanguage"> ! ! <TMPL_LOOP NAME="Configuration_Loop_Languages"> ! ! <option value="<TMPL_VAR NAME="Configuration_Language">" <TMPL_VAR NAME="Configuration_Selected_Language">> ! <TMPL_VAR NAME="Configuration_Language"> ! </option> ! ! </TMPL_LOOP> ! ! </select> ! <input type="submit" class="submit" name="change_language" value="<TMPL_VAR NAME="Localize_Apply">" /> ! </div> ! ! </form> ! </td> ! </tr> ! </table> ! ! </div> ! ! <TMPL_ELSE> ! ! <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> ! ! </TMPL_IF> ! --- 1,120 ---- ! <TMPL_IF NAME="If_Show_Config_Bars"> ! ! <div class="configBar"> ! ! <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> ! ! <table class="configBarBody" cellspacing="0" width="100%"> ! ! <TMPL_IF NAME="Is_history_page"> ! ! <tr> ! <td> ! <form action="<TMPL_VAR NAME="Configuration_Action">" method="post"> ! <TMPL_INCLUDE NAME="history-bar.thtml"> ! </form> ! </td> ! </tr> ! ! </TMPL_IF> ! ! <tr> ! <td> ! <form action="<TMPL_VAR NAME="Configuration_Action">" method="post"> ! <div class="configBarOption"> ! <label class="configurationLabel" for="configSkin" title="<TMPL_VAR NAME="Localize_tip_Config_Skin">"> ! <TMPL_VAR NAME="Localize_Configuration_SkinsChoose">: ! </label> ! ! <input type="hidden" name="start_message" value="<TMPL_VAR NAME="History_Start_Message">" /> ! <select name="skin" id="configSkin"> ! <optgroup label="<TMPL_VAR NAME="Localize_Configuration_GeneralSkins">"> ! ! <TMPL_LOOP NAME="Configuration_Loop_General_Skins"> ! ! <option value="<TMPL_VAR NAME="Configuration_General_Skin">" <TMPL_VAR NAME="Configuration_General_Selected">> ! <TMPL_VAR NAME="Configuration_General_Skin"> ! </option> ! ! </TMPL_LOOP> ! ! </optgroup> ! ! <optgroup label="<TMPL_VAR NAME="Localize_Configuration_SmallSkins">"> ! ! <TMPL_LOOP NAME="Configuration_Loop_Small_Skins"> ! ! <option value="<TMPL_VAR NAME="Configuration_Small_Skin">" <TMPL_VAR NAME="Configuration_Small_Selected">> ! <TMPL_VAR NAME="Configuration_Small_Skin"> ! </option> ! ! </TMPL_LOOP> ! ! </optgroup> ! <optgroup label="<TMPL_VAR NAME="Localize_Configuration_TinySkins">"> ! ! <TMPL_LOOP NAME="Configuration_Loop_Tiny_Skins"> ! ! <option value="<TMPL_VAR NAME="Configuration_Tiny_Skin">" <TMPL_VAR NAME="Configuration_Tiny_Selected">> ! <TMPL_VAR NAME="Configuration_Tiny_Skin"> ! </option> ! ! </TMPL_LOOP> ! ! </optgroup> ! </select> ! <input type="submit" class="submit" name="change_skin" value="<TMPL_VAR NAME="Localize_Apply">" /> ! </div> ! ! <div class="configBarOption"> ! ! <label class="configurationLabel" for="configLanguage" title="<TMPL_VAR NAME="Localize_tip_Config_Language">"> ! <TMPL_VAR NAME="Localize_Configuration_LanguageChoose">: ! </label> ! ! <select name="language" id="configLanguage"> ! ! <TMPL_LOOP NAME="Configuration_Loop_Languages"> ! ! <option value="<TMPL_VAR NAME="Configuration_Language">" <TMPL_VAR NAME="Configuration_Selected_Language">> ! <TMPL_VAR NAME="Configuration_Language"> ! </option> ! ! </TMPL_LOOP> ! ! </select> ! <input type="submit" class="submit" name="change_language" value="<TMPL_VAR NAME="Localize_Apply">" /> ! </div> ! ! <div class="configBarOption"> ! ! <label class="configurationLabel" for="configPassword" title="<TMPL_VAR NAME="Localize_tip_Config_Password">"> ! <TMPL_VAR NAME="Localize_Configuration_ChangePassword">: ! </label> ! ! <TMPL_VAR NAME="Localize_Configuration_OldPassword">: <input type="password" name="old_password"> ! <TMPL_VAR NAME="Localize_Configuration_NewPassword">: <input type="password" name="new_password"> ! <TMPL_VAR NAME="Localize_Configuration_ConfirmPassword">: <input type="password" name="confirm_password"> ! ! <input type="submit" class="submit" name="change_password" value="<TMPL_VAR NAME="Localize_Apply">" /> ! </div> ! ! </form> ! </td> ! </tr> ! </table> ! ! </div> ! ! <TMPL_ELSE> ! ! <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> ! ! </TMPL_IF> ! Index: history-navigator-widget.thtml =================================================================== RCS file: /cvsroot/popfile/engine/skins/default/history-navigator-widget.thtml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** history-navigator-widget.thtml 23 May 2005 09:39:33 -0000 1.5 --- history-navigator-widget.thtml 21 Aug 2005 22:17:51 -0000 1.6 *************** *** 1,26 **** ! <TMPL_VAR NAME="Localize_History_Jump">: ! <TMPL_IF NAME="History_Navigator_If_Previous"> ! [<a href="/history?start_message=<TMPL_VAR NAME="History_Navigator_Previous"><TMPL_VAR NAME="History_Navigator_Fields">">< <TMPL_VAR NAME="Localize_Previous"></a>] ! </TMPL_IF> ! ! <TMPL_LOOP NAME="History_Navigator_Loop"> ! <TMPL_IF NAME="History_Navigator_If_Spacer"> ! <TMPL_IF NAME="History_Navigator_If_Dots"> ! ... ! </TMPL_IF> ! <TMPL_ELSE> ! <TMPL_IF NAME="History_Navigator_If_This_Page"> ! <b><TMPL_VAR NAME="History_Navigator_Page"></b> ! <TMPL_ELSE> ! [<a href="/history?start_message=<TMPL_VAR NAME="History_Navigator_I"><TMPL_VAR NAME="History_Navigator_Fields">"><TMPL_VAR NAME="History_Navigator_Page"></a>] ! </TMPL_IF> ! </TMPL_IF> ! </TMPL_LOOP> ! ! <TMPL_IF NAME="History_Navigator_If_Next"> ! [<a href="/history?start_message=<TMPL_VAR NAME="History_Navigator_Next"><TMPL_VAR NAME="History_Navigator_Fields">"><TMPL_VAR NAME="Localize_Next"> ></a>] ! </TMPL_IF> ! <form action="/history" method="post"> ! <input type="text" name="jumptopage" value="" size="3" /> ! <input type="submit" class="submit" name="gopage" value="<TMPL_VAR NAME="Localize_Go">" /> ! </form> --- 1,26 ---- ! <TMPL_VAR NAME="Localize_History_Jump">: ! <TMPL_IF NAME="History_Navigator_If_Previous"> ! [<a href="/history?start_message=<TMPL_VAR NAME="History_Navigator_Previous"><TMPL_VAR NAME="History_Navigator_Fields">">< <TMPL_VAR NAME="Localize_Previous"></a>] ! </TMPL_IF> ! ! <TMPL_LOOP NAME="History_Navigator_Loop"> ! <TMPL_IF NAME="History_Navigator_If_Spacer"> ! <TMPL_IF NAME="History_Navigator_If_Dots"> ! ... ! </TMPL_IF> ! <TMPL_ELSE> ! <TMPL_IF NAME="History_Navigator_If_This_Page"> ! <b><TMPL_VAR NAME="History_Navigator_Page"></b> ! <TMPL_ELSE> ! [<a href="/history?start_message=<TMPL_VAR NAME="History_Navigator_I"><TMPL_VAR NAME="History_Navigator_Fields">"><TMPL_VAR NAME="History_Navigator_Page"></a>] ! </TMPL_IF> ! </TMPL_IF> ! </TMPL_LOOP> ! ! <TMPL_IF NAME="History_Navigator_If_Next"> ! [<a href="/history?start_message=<TMPL_VAR NAME="History_Navigator_Next"><TMPL_VAR NAME="History_Navigator_Fields">"><TMPL_VAR NAME="Localize_Next"> ></a>] ! </TMPL_IF> ! <form action="/history" method="post"> ! <input type="text" name="jumptopage" value="" size="3" /> ! <input type="submit" class="submit" name="gopage" value="<TMPL_VAR NAME="Localize_Go">" /> ! </form> Index: history-bar.thtml =================================================================== RCS file: /cvsroot/popfile/engine/skins/default/history-bar.thtml,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** history-bar.thtml 24 May 2005 08:23:46 -0000 1.16 --- history-bar.thtml 21 Aug 2005 22:17:51 -0000 1.17 *************** *** 1,49 **** ! <div class="configBarOption"> ! <label class="configurationLabel" title="<TMPL_VAR NAME="Localize_tip_Config_HistoryWidth">"> ! <TMPL_VAR NAME="Localize_History_Column_Characters">: ! </label> ! <input type="submit" class="submit" name="increase" value="<TMPL_VAR NAME="Localize_History_Increase">" title="<TMPL_VAR NAME="Localize_tip_Config_ColumnIncrease">" /> ! <input type="submit" class="submit" name="decrease" value="<TMPL_VAR NAME="Localize_History_Decrease">" title="<TMPL_VAR NAME="Localize_tip_Config_ColumnDecrease">" /> ! <input type="submit" class="submit" name="automatic" value="<TMPL_VAR NAME="Localize_History_Automatic">" title="<TMPL_VAR NAME="Localize_tip_Config_ColumnAuto">" /> ! </div> ! ! <div class="configBarOption"> ! <label class="configurationLabel" title="<TMPL_VAR NAME="Localize_tip_Config_HistoryColumns">"> ! <TMPL_VAR NAME="Localize_Configuration_Fields">: ! </label> ! ! <TMPL_LOOP NAME="Configuration_Loop_History_Columns"> ! ! <TMPL_IF NAME="Configuration_Field_Visible"> ! ! <span class="checkLabel"><input type="checkbox" id="<TMPL_VAR NAME="Configuration_Field_Name">" class="checkbox" name="<TMPL_VAR NAME="Configuration_Field_Name">"> <label for="<TMPL_VAR NAME="Configuration_Field_Name">"><TMPL_VAR NAME="Configuration_Localized_Field_Name"></label> </span> ! ! <TMPL_ELSE> ! ! <input type="hidden" id="<TMPL_VAR NAME="Configuration_Field_Name">" name="<TMPL_VAR NAME="Configuration_Field_Name">"> ! ! </TMPL_IF> ! ! </TMPL_LOOP> ! <input type="submit" class="submit" name="update_fields" value="<TMPL_VAR NAME="Localize_Apply">" /> ! <input type="hidden" name="start_message" value="<TMPL_VAR NAME="History_Start_Message">" /> ! </div> ! ! <div class="configBarOption"> ! <label class="configurationLabel" for="configPageSize" title="<TMPL_VAR NAME="Localize_tip_Config_PageSize">"> ! <TMPL_VAR NAME="Localize_Configuration_History">: ! </label> ! <input name="page_size" id="configPageSize" type="text" size="4" maxlength="4" value="<TMPL_VAR NAME="Configuration_Page_Size">" /> ! <input type="submit" class="submit" name="update_page_size" value="<TMPL_VAR NAME="Localize_Apply">" /> ! </div> ! <div class="configBarOption"> ! <label class="configurationLabel" for="configHistoryDays" title="<TMPL_VAR NAME="Localize_tip_Config_Days">"> ! <TMPL_VAR NAME="Localize_Configuration_Days">: ! </label> ! ! <input name="history_days" id="configHistoryDays" type="text" size="3" maxlength="3" value="<TMPL_VAR NAME="Configuration_History_Days">" /> ! ! <span class="checkLabel"><input type="checkbox" class="checkbox" name="purge_history" id="purge_history" value="<TMPL_VAR NAME="Localize_History_Purge">" /> ! <label for="purge_history" title="<TMPL_VAR NAME="Localize_tip_Config_Purge">"><TMPL_VAR NAME="Localize_History_Purge"></label></span> ! <input type="submit" class="submit" name="update_history_days" value="<TMPL_VAR NAME="Localize_Apply">" /> ! </div> --- 1,49 ---- ! <div class="configBarOption"> ! <label class="configurationLabel" title="<TMPL_VAR NAME="Localize_tip_Config_HistoryWidth">"> ! <TMPL_VAR NAME="Localize_History_Column_Characters">: ! </label> ! <input type="submit" class="submit" name="increase" value="<TMPL_VAR NAME="Localize_History_Increase">" title="<TMPL_VAR NAME="Localize_tip_Config_ColumnIncrease">" /> ! <input type="submit" class="submit" name="decrease" value="<TMPL_VAR NAME="Localize_History_Decrease">" title="<TMPL_VAR NAME="Localize_tip_Config_ColumnDecrease">" /> ! <input type="submit" class="submit" name="automatic" value="<TMPL_VAR NAME="Localize_History_Automatic">" title="<TMPL_VAR NAME="Localize_tip_Config_ColumnAuto">" /> ! </div> ! ! <div class="configBarOption"> ! <label class="configurationLabel" title="<TMPL_VAR NAME="Localize_tip_Config_HistoryColumns">"> ! <TMPL_VAR NAME="Localize_Configuration_Fields">: ! </label> ! ! <TMPL_LOOP NAME="Configuration_Loop_History_Columns"> ! ! <TMPL_IF NAME="Configuration_Field_Visible"> ! ! <span class="checkLabel"><input type="checkbox" id="<TMPL_VAR NAME="Configuration_Field_Name">" class="checkbox" name="<TMPL_VAR NAME="Configuration_Field_Name">"> <label for="<TMPL_VAR NAME="Configuration_Field_Name">"><TMPL_VAR NAME="Configuration_Localized_Field_Name"></label> </span> ! ! <TMPL_ELSE> ! ! <input type="hidden" id="<TMPL_VAR NAME="Configuration_Field_Name">" name="<TMPL_VAR NAME="Configuration_Field_Name">"> ! ! </TMPL_IF> ! ! </TMPL_LOOP> ! <input type="submit" class="submit" name="update_fields" value="<TMPL_VAR NAME="Localize_Apply">" /> ! <input type="hidden" name="start_message" value="<TMPL_VAR NAME="History_Start_Message">" /> ! </div> ! ! <div class="configBarOption"> ! <label class="configurationLabel" for="configPageSize" title="<TMPL_VAR NAME="Localize_tip_Config_PageSize">"> ! <TMPL_VAR NAME="Localize_Configuration_History">: ! </label> ! <input name="page_size" id="configPageSize" type="text" size="4" maxlength="4" value="<TMPL_VAR NAME="Configuration_Page_Size">" /> ! <input type="submit" class="submit" name="update_page_size" value="<TMPL_VAR NAME="Localize_Apply">" /> ! </div> ! <div class="configBarOption"> ! <label class="configurationLabel" for="configHistoryDays" title="<TMPL_VAR NAME="Localize_tip_Config_Days">"> ! <TMPL_VAR NAME="Localize_Configuration_Days">: ! </label> ! ! <input name="history_days" id="configHistoryDays" type="text" size="3" maxlength="3" value="<TMPL_VAR NAME="Configuration_History_Days">" /> ! ! <span class="checkLabel"><input type="checkbox" class="checkbox" name="purge_history" id="purge_history" value="<TMPL_VAR NAME="Localize_History_Purge">" /> ! <label for="purge_history" title="<TMPL_VAR NAME="Localize_tip_Config_Purge">"><TMPL_VAR NAME="Localize_History_Purge"></label></span> ! <input type="submit" class="submit" name="update_history_days" value="<TMPL_VAR NAME="Localize_Apply">" /> ! </div> Index: history-javascript.thtml =================================================================== RCS file: /cvsroot/popfile/engine/skins/default/history-javascript.thtml,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** history-javascript.thtml 21 Aug 2005 08:37:32 -0000 1.8 --- history-javascript.thtml 21 Aug 2005 22:17:51 -0000 1.9 *************** *** 1,18 **** ! <script type="text/javascript"> ! <!-- ! function OnLoadHandler() { // redefine default OnLoadHandler ! if (document.getElementById("removeChecks")) ! document.getElementById("removeChecks").innerHTML = "<input type='checkbox' class='checkbox' onclick='javascript:toggleChecks(this);' title='Select All' />"; ! } ! ! function toggleChecks(x) { ! d = document.forms; ! for (var i=0; i < d.length; i++) { ! for (var j=0; j < d[i].elements.length; j++) ! if (d[i].elements[j].name.substr(0,7) == "remove_") ! d[i].elements[j].checked = x.checked; ! } ! return 0; ! } ! --> ! </script> --- 1,18 ---- ! <script type="text/javascript"> ! <!-- ! function OnLoadHandler() { // redefine default OnLoadHandler ! if (document.getElementById("removeChecks")) ! document.getElementById("removeChecks").innerHTML = "<input type='checkbox' class='checkbox' onclick='javascript:toggleChecks(this);' title='Select All' />"; ! } ! ! function toggleChecks(x) { ! d = document.forms; ! for (var i=0; i < d.length; i++) { ! for (var j=0; j < d[i].elements.length; j++) ! if (d[i].elements[j].name.substr(0,7) == "remove_") ! d[i].elements[j].checked = x.checked; ! } ! return 0; ! } ! --> ! </script> |