From: Joseph C. <tex...@us...> - 2005-01-24 17:48:06
|
Update of /cvsroot/popfile/engine/skins/default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27633/skins/default Modified Files: history-page.thtml Log Message: Simplify code by removing duplicate code from IF ELSE block. Index: history-page.thtml =================================================================== RCS file: /cvsroot/popfile/engine/skins/default/history-page.thtml,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** history-page.thtml 22 Jan 2005 23:10:34 -0000 1.47 --- history-page.thtml 24 Jan 2005 17:47:41 -0000 1.48 *************** *** 38,54 **** <input type="hidden" name="filter" value="<TMPL_VAR NAME="History_Field_Filter">" /> - <TMPL_IF "History_If_MultiPage"> - <table width="100%" summary=""> <tr> <td align="left"> ! <h2 class="history"><TMPL_VAR NAME="Localize_History_Title"> (<TMPL_VAR NAME="History_Count">) </h2> <input type="submit" class="submit removeButton" name="clearall" value="<TMPL_VAR NAME="Localize_History_RemoveAll">" /> </td> ! <td class="historyNavigatorTop"> <!-- the following html was generated by history-navigator-widget.thtml --> <TMPL_INCLUDE NAME="history-navigator-widget.thtml"> <!-- end of history-navigator-widget.thtml content --> (<a class="history" href="/history?session=<TMPL_VAR NAME="Session_Key">"><TMPL_VAR NAME="Localize_Refresh"></a>) --- 38,54 ---- <input type="hidden" name="filter" value="<TMPL_VAR NAME="History_Field_Filter">" /> <table width="100%" summary=""> <tr> <td align="left"> ! <h2 class="history"><TMPL_VAR NAME="Localize_History_Title"> (<TMPL_VAR NAME="History_Count">)</h2> <input type="submit" class="submit removeButton" name="clearall" value="<TMPL_VAR NAME="Localize_History_RemoveAll">" /> </td> ! <td class="historyNavigatorTop" align="right"> + <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> (<a class="history" href="/history?session=<TMPL_VAR NAME="Session_Key">"><TMPL_VAR NAME="Localize_Refresh"></a>) *************** *** 58,79 **** </table> - <TMPL_ELSE> - - <table width="100%"> - <tr> - <td align="left"> - <h2 class="history"><TMPL_VAR NAME="Localize_History_Title"> (<TMPL_VAR NAME="History_Count">)</h2> - <input type="submit" class="submit removeButton" name="clearall" value="<TMPL_VAR NAME="Localize_History_RemoveAll">" /> - </td> - <td class="historyNavigatorTop" align="right"> - - (<a class="history" href="/history?session=<TMPL_VAR NAME="Session_Key">"><TMPL_VAR NAME="Localize_Refresh"></a>) - - </td> - </tr> - </table> - - </TMPL_IF> - </form> --- 58,61 ---- |