jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r627260 [1/4] - in /incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default: ./ admin/ editors/ images/ skins/OrderedList/ skins/OrderedList/images/ skins/PlainVanilla 1024x768/ skins/PlainVanilla/ skins/Smart/ skins...
Date Wed, 13 Feb 2008 06:13:37 GMT
Author: ajaquith
Date: Tue Feb 12 22:13:28 2008
New Revision: 627260

URL: http://svn.apache.org/viewvc?rev=627260&view=rev
Log:
Initial commit.

Added:
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AJAXCategories.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AJAXSearch.jsp   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AttachmentTab.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/CommentContent.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/ConflictContent.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DiffContent.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DiffTab.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DisplayMessage.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditContent.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditGroupContent.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditTemplate.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Favorites.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/FindContent.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Footer.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/GroupContent.jsp   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/GroupTab.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Header.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/InfoContent.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/LoginContent.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/NewGroupContent.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/PageActionsBottom.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/PageActionsTop.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/PageContent.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/PageTab.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/PreferencesContent.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/PreferencesTab.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/PreviewContent.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/ProfileTab.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/SearchBox.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/UploadTemplate.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/UserBox.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/ViewTemplate.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/WorkflowContent.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/admin/AdminTemplate.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/admin/UserManagement.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/admin/admin.css
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/commonheader.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/editors/FCK.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/editors/WikiWizard.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/editors/plain.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/SilkIconSet-readme.txt   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/arrdown-small.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/arrdown.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/arrdownsmall.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/arrleft.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/arrright.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/arrup.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/arrup.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/attach-icons.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/error.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/error.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/exclamation.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/exclamation.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/film.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/filter.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/information.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/information.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/ipod.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/note.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/page_white.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/page_white_acrobat.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/page_white_excel.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/page_white_flash.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/page_white_magnify.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/page_white_powerpoint.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/page_white_text.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/page_white_word.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/page_white_zip.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/preview.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/progress.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/resize-horizontal.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/search.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/search.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/slimbox_close.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/slimbox_close.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/slimbox_close_hover.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/sortable.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/sorted_down.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/sorted_up.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/spin.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/images/tip.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/jspwiki.css
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/jspwiki_print.css
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/localheader.jsp
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/application_form.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/arrdown.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/arrow-close.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/arrow-leaf.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/arrow-open.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/arrup.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/bg-main.jpg   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/book.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/bulletDown.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/bulletUp.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/col_arrow.jpg   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/header-bg.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/link.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/page_white_code.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/page_white_code_red.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/picture.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/pilcrow.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/preview.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/search.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/smart-logo.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/spin.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/tab.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/table.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/text_bold.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/text_heading_1.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/text_heading_2.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/text_heading_3.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/text_horizontalrule.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/text_italic.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/text_padding_left.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/text_signature.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/text_strikethrough.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/text_subscript.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/images/text_superscript.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/skin.css   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/OrderedList/skin.js
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/PlainVanilla 1024x768/skin.css   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/PlainVanilla 1024x768/skin.js
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/PlainVanilla/skin.css   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/PlainVanilla/skin.js
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/application_form.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/book.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/header-bg.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/link.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/page_white_code.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/page_white_code_red.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/picture.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/pilcrow.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/smart-logo.gif   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/smart-logo.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/tab.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/table.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/text_allcaps.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/text_bold.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/text_heading_1.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/text_heading_2.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/text_heading_3.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/text_horizontalrule.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/text_italic.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/text_padding_left.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/text_signature.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/text_strikethrough.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/text_subscript.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/text_superscript.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/user.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/user_green.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/images/user_orange.png   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/skin.css   (with props)
    incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/skins/Smart/skin.js

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AJAXCategories.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AJAXCategories.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AJAXCategories.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AJAXCategories.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,19 @@
+<%@ page import="com.ecyrd.jspwiki.*" %>
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%! 
+  public void jspInit()
+  {
+    wiki = WikiEngine.getInstance( getServletConfig() );
+  }
+  WikiEngine wiki;
+%>
+<%
+  // Copied from a top-level jsp -- which would be a better place to put this 
+  WikiContext wikiContext = wiki.createContext( request, WikiContext.VIEW );
+  if( !wikiContext.hasAccess( response ) ) return;
+  String pagereq = wikiContext.getPage().getName();
+
+  response.setContentType("text/html; charset="+wiki.getContentEncoding() );
+%>
+<div class='categoryTitle'><wiki:LinkTo><wiki:PageName /></wiki:LinkTo></div>
+<div class='categoryText'><wiki:Plugin plugin="ReferringPagesPlugin" args="max='20' before='*' after='\n' " /></div>
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AJAXSearch.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AJAXSearch.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AJAXSearch.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AJAXSearch.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,156 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ page language="java" pageEncoding="UTF-8"%>
+<%@ page import="org.apache.log4j.*" %>
+<%@ page import="com.ecyrd.jspwiki.*" %>
+<%@ page import="com.ecyrd.jspwiki.ui.*" %>
+<%@ page import="java.util.*" %>
+<%@ page import="java.util.Collection" %>
+<%@ page import="org.apache.commons.lang.*" %>
+<%@ page import="java.net.URLEncoder" %>
+<%@ page import="com.ecyrd.jspwiki.auth.*" %>
+<%@ page import="com.ecyrd.jspwiki.auth.permissions.*" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<%@ page import="javax.servlet.jsp.jstl.fmt.*" %>
+<fmt:setBundle basename="templates.default"/>
+<%! 
+  public void jspInit()
+  {
+    wiki = WikiEngine.getInstance( getServletConfig() );
+  }
+  Logger log = Logger.getLogger("JSPWikiSearch");
+  WikiEngine wiki;
+%>
+<%
+  /* ********************* actual start ********************* */
+  /* FIXME: too much hackin on this level -- should better happen in toplevel jsp's */
+  /* Create wiki context and check for authorization */
+  WikiContext wikiContext = wiki.createContext( request, WikiContext.FIND );
+  if(!wikiContext.hasAccess( response )) return;
+ 
+  String query = request.getParameter( "query");
+
+  if( (query != null) && ( !query.trim().equals("") ) )
+  {
+    try
+    { 
+      Collection list = wiki.findPages( query );
+
+      //  Filter down to only those that we actually have a permission to view
+      AuthorizationManager mgr = wiki.getAuthorizationManager();
+  
+      ArrayList items = new ArrayList();
+      
+      for( Iterator i = list.iterator(); i.hasNext(); )
+      {
+        SearchResult r = (SearchResult)i.next();
+    
+        WikiPage p = r.getPage();
+    
+        PagePermission pp = new PagePermission( p, PagePermission.VIEW_ACTION );
+
+        try
+        {            
+          if( mgr.checkPermission( wikiContext.getWikiSession(), pp ) )
+          {
+            items.add( r );
+          }
+        }
+        catch( Exception e ) { log.error( "Searching for page "+p, e ); }
+      }
+      
+      pageContext.setAttribute( "searchresults", items, PageContext.REQUEST_SCOPE );
+    }
+    catch( Exception e )
+    {
+       wikiContext.getWikiSession().addMessage( e.getMessage() );
+    }
+  }
+%>
+<%
+  int startitem = 0; // first item to show
+  int maxitems = 20; // number of items to show in result
+
+  String parm_start    = request.getParameter( "start");
+  if( parm_start != null ) startitem = Integer.parseInt( parm_start ) ;
+
+  Collection list = (Collection)pageContext.getAttribute( "searchresults", PageContext.REQUEST_SCOPE );
+  if( startitem == -1 ) maxitems = list.size(); //show all
+%>
+
+<wiki:SearchResults>
+
+  <h4><fmt:message key="find.heading.results"><fmt:param><c:out value="${param.query}"/></fmt:param></fmt:message></h4>
+
+  <p>
+  <fmt:message key="find.externalsearch"/>
+    <a class="external" 
+        href="http://www.google.com/search?q=<c:out value='${param.query}'/>"
+        title="Google Search '<c:out value='${param.query}'/>'"
+       target="_blank">Google</a><img class="outlink" src="images/out.png" alt="" />
+    |     
+    <a class="external" 
+        href="http://en.wikipedia.org/wiki/Special:Search?search=<c:out value='${param.query}'/>" 
+        title="Wikipedia Search '<c:out value='${param.query}'/>'"
+       target="_blank">Wikipedia</a><img class="outlink" src="images/out.png" alt="" />
+  </p>
+
+  <wiki:SetPagination start="${param.start}" total="<%=list.size()%>" pagesize="20" maxlinks="9" 
+                     fmtkey="info.pagination"
+                       href="#" 
+                    onclick="$('start').value=%s; SearchBox.runfullsearch();" />
+  
+    <div class="graphBars">
+    <div class="zebra-table">
+    <table class="wikitable" >
+
+      <tr>
+         <th align="left"><fmt:message key="find.results.page"/></th>
+         <th align="left"><fmt:message key="find.results.score"/></th>
+      </tr>
+
+      <wiki:SearchResultIterator id="searchref" start="${param.start}" maxItems="<%=maxitems%>">
+      <tr>
+        <td><wiki:LinkTo><wiki:PageName/></wiki:LinkTo></td>
+        <td><span class="gBar"><%= searchref.getScore() %></span></td>
+      </tr>
+
+	  <c:if test="${param.details == 'on'}">
+<%
+        String[] contexts = searchref.getContexts();
+        if( (contexts != null) && (contexts.length > 0) ) 
+        {
+%>  
+      <tr class="odd" >
+        <td colspan="2" >
+          <div class="fragment">
+<%
+          for (int i = 0; i < contexts.length; i++) 
+          {
+%>
+            <%= (i > 0 ) ? "<span class='fragment_ellipsis'> ... </span>" : ""  %>
+            <%= contexts[i]  %>
+<%
+          }
+%>
+           </div>
+         </td>
+       </tr>
+<% 
+        }
+%>
+	  </c:if><%-- details --%>
+      </wiki:SearchResultIterator>
+
+      <wiki:IfNoSearchResults>
+        <tr>
+          <td class="nosearchresult" colspan="2"><fmt:message key="find.noresults"/></td>
+        </tr>
+      </wiki:IfNoSearchResults>
+
+      </table>
+    </div>
+    </div>
+    ${pagination}
+
+   </wiki:SearchResults>

Propchange: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AJAXSearch.jsp
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AttachmentTab.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AttachmentTab.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AttachmentTab.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/AttachmentTab.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,134 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ page import="com.ecyrd.jspwiki.*" %>
+<%@ page import="com.ecyrd.jspwiki.auth.*" %>
+<%@ page import="com.ecyrd.jspwiki.ui.progress.*" %>
+<%@ page import="com.ecyrd.jspwiki.auth.permissions.*" %>
+<%@ page import="java.security.Permission" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+
+<fmt:setBundle basename="templates.default"/>
+<%
+  int MAXATTACHNAMELENGTH = 30;
+  WikiContext c = WikiContext.findContext(pageContext);
+  String progressId = c.getEngine().getProgressManager().getNewProgressIdentifier();
+%>
+
+<div id="addattachment">
+<h3><fmt:message key="attach.add"/></h3>
+<wiki:Permission permission="upload">
+  <wiki:Permission permission="upload">
+  <form action="<wiki:Link jsp='attach' format='url' absolute='true'><wiki:Param name='progressid' value='<%=progressId%>'/></wiki:Link>"
+         class="wikiform"
+            id="uploadform"
+        method="post"
+       enctype="multipart/form-data" accept-charset="<wiki:ContentEncoding/>"
+      onsubmit="return Wiki.submitUpload(this, '<%=progressId%>');" >
+    <table>
+    <tr>
+      <td colspan="2"><div class="formhelp"><fmt:message key="attach.add.info" /></div></td>
+    </tr>
+    <tr>
+      <td><label for="attachfilename"><fmt:message key="attach.add.selectfile"/></label></td>
+      <td><input type="file" name="content" id="attachfilename" size="60"/></td>
+    </tr>
+    <tr>
+      <td><label for="attachnote"><fmt:message key="attach.add.changenote"/></label></td>
+      <td><input type="text" name="changenote" id="attachnote" maxlength="80" size="60" />
+    <input type="hidden" name="nextpage" value="<wiki:UploadLink format="url"/>" /></td>
+    </tr>
+
+   <tr>
+      <td></td>
+      <td>
+        <input type="hidden" name="page" value="<wiki:Variable var="pagename"/>" />
+        <input type="submit" name="upload" id="upload" value="<fmt:message key='attach.add.submit'/>" />
+        <input type="hidden" name="action" value="upload" />
+        <div id="progressbar"><div class="ajaxprogress"></div></div>
+      </td>
+    </tr>
+    </wiki:Permission>
+
+    </table>
+  </form>
+  <wiki:Messages div="error" />
+</wiki:Permission>
+<wiki:Permission permission="!upload">
+<div class="formhelp"><fmt:message key="attach.add.permission"/></div>
+</wiki:Permission>
+</div>
+
+<wiki:HasAttachments>
+
+<h3><fmt:message key="attach.list"/></h3>
+
+  <%--<small><fmt:message key="attach.listsubtitle"/></small>--%>
+
+  <wiki:Permission permission="delete">
+    <%-- hidden delete form --%>
+    <form action="tbd"
+           class="wikiform"
+              id="deleteForm" style="display:none;"
+          method="post" accept-charset="<wiki:ContentEncoding />"
+        onsubmit="return(confirm('<fmt:message key="attach.deleteconfirm"/>') && Wiki.submitOnce(this) );" >
+
+      <input id="delete-all" name="delete-all" type="submit" value="Delete" />
+
+    </form>
+  </wiki:Permission>
+
+  <div class="zebra-table"><div class="slimbox-img sortable">
+  <table class="wikitable">
+    <tr>
+      <th><fmt:message key="info.attachment.type"/></th>
+      <th><fmt:message key="info.attachment.name"/></th>
+      <th><fmt:message key="info.size"/></th>
+      <th><fmt:message key="info.version"/></th>
+      <th><fmt:message key="info.date"/></th>
+      <th><fmt:message key="info.author"/></th>
+      <wiki:Permission permission="delete"><th><fmt:message key="info.actions"/></th></wiki:Permission>
+      <th class="changenote"><fmt:message key="info.changenote"/></th>
+    </tr>
+
+    <wiki:AttachmentsIterator id="att">
+    <%
+      String name = att.getFileName();
+      int dot = name.lastIndexOf(".");
+      String attachtype = ( dot != -1 ) ? name.substring(dot+1) : "";
+
+      String sname = name;
+      if( sname.length() > MAXATTACHNAMELENGTH ) sname = sname.substring(0,MAXATTACHNAMELENGTH) + "...";
+    %>
+    <tr>
+      <td><div id="attach-<%= attachtype %>" class="attachtype"><%= attachtype %></div></td>
+      <td><wiki:LinkTo title="<%= name %>" ><%= sname %></wiki:LinkTo></td>
+      <td style="white-space:nowrap;text-align:right;">
+        <fmt:formatNumber value='<%=Double.toString(att.getSize()/1000.0)%>' groupingUsed='false' maxFractionDigits='1' minFractionDigits='1'/>&nbsp;<fmt:message key="info.kilobytes"/>
+      </td>
+      <td style="text-align:center;">
+        <a href="<wiki:PageInfoLink format='url' />" title="<fmt:message key='attach.moreinfo.title'/>"><wiki:PageVersion /></a>
+      </td>
+	  <td style="white-space:nowrap;"><fmt:formatDate value="<%= att.getLastModified() %>" pattern="${prefs['DateFormat']}" /></td>
+      <td><wiki:Author /></td>
+      <wiki:Permission permission="delete">
+      <td>
+          <input type="button"
+                value="<fmt:message key='attach.delete'/>"
+                  src="<wiki:Link format='url' context='<%=WikiContext.DELETE%>' />"
+              onclick="$('deleteForm').setProperty('action',this.src); $('delete-all').click();" />
+      </td>
+      </wiki:Permission>
+      <td class="changenote">
+      <%
+         String changeNote = (String)att.getAttribute(WikiPage.CHANGENOTE);
+         if( changeNote != null ) {
+         %><%=changeNote%><%
+         }
+      %>
+      </td>
+    </tr>
+    </wiki:AttachmentsIterator>
+
+  </table>
+  </div></div>
+
+</wiki:HasAttachments>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/CommentContent.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/CommentContent.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/CommentContent.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/CommentContent.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,44 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ page import="com.ecyrd.jspwiki.*" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<%@ page import="javax.servlet.jsp.jstl.fmt.*" %>
+<fmt:setBundle basename="templates.default"/>
+
+<%
+  WikiContext c = WikiContext.findContext( pageContext );
+  int attCount = c.getEngine().getAttachmentManager().listAttachments(c.getPage()).size();
+  String attTitle = LocaleSupport.getLocalizedMessage(pageContext, "attach.tab");
+  if( attCount != 0 ) attTitle += " (" + attCount + ")";  
+%>
+
+<wiki:TabbedSection defaultTab="commentcontent">
+  <wiki:Tab id="pagecontent" title='<%=LocaleSupport.getLocalizedMessage(pageContext,"comment.tab.discussionpage")%>'>
+    <wiki:InsertPage/>
+  </wiki:Tab>
+
+  <wiki:Tab id="commentcontent" title='<%=LocaleSupport.getLocalizedMessage(pageContext,"comment.tab.addcomment")%>'>
+
+  <wiki:Editor />
+  </wiki:Tab>
+
+  <wiki:Tab id="attach" title="<%= attTitle %>" accesskey="a">
+    <wiki:Include page="AttachmentTab.jsp"/>
+  </wiki:Tab>
+  
+  <wiki:Tab id="info" title='<%=LocaleSupport.getLocalizedMessage(pageContext, "info.tab")%>'
+           url="<%=c.getURL(WikiContext.INFO, c.getPage().getName())%>"
+           accesskey="i" >
+  </wiki:Tab>
+    
+  <wiki:Tab id="edithelp" title='<%=LocaleSupport.getLocalizedMessage(pageContext,"edit.tab.help")%>'>
+    <wiki:NoSuchPage page="EditPageHelp">
+      <div class="error">
+         <fmt:message key="comment.edithelpmissing">
+            <fmt:param><wiki:EditLink page="EditPageHelp">EditPageHelp</wiki:EditLink></fmt:param>
+         </fmt:message>
+      </div>
+    </wiki:NoSuchPage>
+
+    <wiki:InsertPage page="EditPageHelp" />
+  </wiki:Tab>
+</wiki:TabbedSection>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/ConflictContent.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/ConflictContent.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/ConflictContent.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/ConflictContent.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,23 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<%@ page import="javax.servlet.jsp.jstl.fmt.*" %>
+<fmt:setBundle basename="templates.default"/>
+
+<wiki:TabbedSection >
+
+<wiki:Tab id="conflict" title='<%=LocaleSupport.getLocalizedMessage(pageContext, "conflict.oops.title")%>'>
+  <div class="error"><fmt:message key="conflict.oops" /></div>
+  <fmt:message key="conflict.goedit" >
+    <fmt:param><wiki:EditLink><wiki:PageName /></wiki:EditLink></fmt:param>
+  </fmt:message>
+</wiki:Tab>
+ 
+<wiki:Tab id="conflictOther" title='<%=LocaleSupport.getLocalizedMessage(pageContext, "conflict.modified")%>' >
+  <tt><%=pageContext.getAttribute("conflicttext",PageContext.REQUEST_SCOPE)%></tt>      
+</wiki:Tab>
+ 
+<wiki:Tab id="conflictOwn" title='<%=LocaleSupport.getLocalizedMessage(pageContext, "conflict.yourtext")%>' >
+  <tt><%=pageContext.getAttribute("usertext",PageContext.REQUEST_SCOPE)%></tt>
+</wiki:Tab>
+
+</wiki:TabbedSection>
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DiffContent.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DiffContent.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DiffContent.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DiffContent.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,5 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<fmt:setBundle basename="templates.default"/>
+
+<wiki:Include page="InfoContent.jsp"/>
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DiffTab.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DiffTab.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DiffTab.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DiffTab.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,53 @@
+<%@ page import="com.ecyrd.jspwiki.tags.InsertDiffTag" %>
+<%@ page import="com.ecyrd.jspwiki.*" %>
+<%@ page import="java.util.*" %>
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<%@ page import="javax.servlet.jsp.jstl.fmt.*" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<fmt:setBundle basename="templates.default"/>
+
+<% 
+  WikiContext c = WikiContext.findContext( pageContext );  
+  List history = c.getEngine().getVersionHistory(c.getPage().getName());
+  pageContext.setAttribute( "history", history );
+  pageContext.setAttribute( "diffprovider", c.getEngine().getVariable(c,"jspwiki.diffProvider"));
+ %>
+
+<wiki:PageExists>
+<form action="<wiki:Link jsp='Diff.jsp' format='url' />" method="get" accept-charset="UTF-8">
+<div class="collapsebox" id="diffcontent">
+  <h4>
+       <input type="hidden" name="page" value="<wiki:Variable var='pagename' />" />
+       <fmt:message key="diff.difference">
+         <fmt:param>
+           <select id="r1" name="r1" onchange="this.form.submit();" >
+           <c:forEach items="${history}" var="i">
+             <option value="<c:out value='${i.version}'/>" <c:if test="${i.version == olddiff}">selected="selected"</c:if> ><c:out value="${i.version}"/></option>
+           </c:forEach>
+           </select>
+         </fmt:param>
+         <fmt:param>
+           <select id="r2" name="r2" onchange="this.form.submit();" >
+           <c:forEach items="${history}" var="i">
+             <option value="<c:out value='${i.version}'/>" <c:if test="${i.version == newdiff}">selected="selected"</c:if> ><c:out value="${i.version}"/></option>
+           </c:forEach>
+           </select>
+         </fmt:param>
+       </fmt:message>
+  </h4>
+
+  <c:if test='${diffprovider eq "ContextualDiffProvider"}' >
+    <div class="diffnote">
+      <a href="#change-1" title="<fmt:message key='diff.gotofirst.title'/>" class="diff-nextprev" >
+         <fmt:message key="diff.gotofirst"/>
+      </a>&raquo;&raquo;
+    </div>
+  </c:if>
+
+  <div class="diffbody">
+    <wiki:InsertDiff><i><fmt:message key="diff.nodiff"/></i></wiki:InsertDiff> 
+  </div>
+</div>
+</form>
+</wiki:PageExists>
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DisplayMessage.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DisplayMessage.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DisplayMessage.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/DisplayMessage.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,11 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+
+<%-- Inserts a string message. --%>
+
+   <div class="error">
+     <c:out value="${message}"/>
+   </div>
+
+   <br clear="all" />

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditContent.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditContent.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditContent.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditContent.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,61 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ page import="com.ecyrd.jspwiki.*" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ page import="javax.servlet.jsp.jstl.fmt.*" %>
+<fmt:setBundle basename="templates.default"/>
+<%
+  WikiContext c = WikiContext.findContext( pageContext );
+  int attCount = c.getEngine().getAttachmentManager().listAttachments(c.getPage()).size();
+  String attTitle = LocaleSupport.getLocalizedMessage(pageContext, "attach.tab");
+  if( attCount != 0 ) attTitle += " (" + attCount + ")";
+%>
+  
+<wiki:TabbedSection defaultTab="editcontent">  
+  <wiki:Tab id="editcontent" title='<%=LocaleSupport.getLocalizedMessage(pageContext,"edit.tab.edit")%>' accesskey="e">
+  <wiki:CheckLock mode="locked" id="lock">
+    <div class="error">
+      <fmt:message key="edit.locked">
+        <fmt:param><c:out value="${lock.locker}"/></fmt:param>
+        <fmt:param><c:out value="${lock.timeLeft}"/></fmt:param>
+      </fmt:message>
+    </div>
+  </wiki:CheckLock>
+  
+  <wiki:CheckVersion mode="notlatest">
+    <div class="warning">
+      <fmt:message key="edit.restoring">
+        <fmt:param><wiki:PageVersion/></fmt:param>
+      </fmt:message>
+    </div>
+  </wiki:CheckVersion>
+    
+  <wiki:Editor />
+    
+</wiki:Tab>
+  
+  <wiki:PageExists>  
+
+  <wiki:Tab id="attach" title="<%= attTitle %>" accesskey="a">
+    <wiki:Include page="AttachmentTab.jsp"/>
+  </wiki:Tab>
+
+  <wiki:Tab id="info" title='<%=LocaleSupport.getLocalizedMessage(pageContext, "info.tab")%>'
+           url="<%=c.getURL(WikiContext.INFO, c.getPage().getName())%>"
+           accesskey="i" >
+  </wiki:Tab>
+
+  </wiki:PageExists>  
+    
+  <wiki:Tab id="edithelp" title='<%=LocaleSupport.getLocalizedMessage(pageContext,"edit.tab.help")%>' accesskey="h" >
+  <wiki:InsertPage page="EditPageHelp" />
+  <wiki:NoSuchPage page="EditPageHelp">
+    <div class="error">
+      <fmt:message key="comment.edithelpmissing">
+        <fmt:param><wiki:EditLink page="EditPageHelp">EditPageHelp</wiki:EditLink></fmt:param>
+      </fmt:message>
+    </div>
+  </wiki:NoSuchPage>  
+  </wiki:Tab>
+
+</wiki:TabbedSection>
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditGroupContent.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditGroupContent.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditGroupContent.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditGroupContent.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,103 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<fmt:setBundle basename="templates.default"/>
+<%@ page import="java.security.Principal" %>
+<%@ page import="java.util.Arrays" %>
+<%@ page import="com.ecyrd.jspwiki.auth.PrincipalComparator" %>
+<%@ page import="com.ecyrd.jspwiki.auth.authorize.Group" %>
+<%@ page import="com.ecyrd.jspwiki.*" %>
+<%@ page import="org.apache.log4j.*" %>
+<%@ page import="javax.servlet.jsp.jstl.fmt.*" %>
+<%@ page errorPage="/Error.jsp" %>
+<%!
+    Logger log = Logger.getLogger("JSPWiki");
+%>
+
+<%
+  WikiContext c = WikiContext.findContext( pageContext );
+
+  // Extract the group name and members
+  String name = request.getParameter( "group" );
+  Group group = (Group)pageContext.getAttribute( "Group",PageContext.REQUEST_SCOPE );
+  Principal[] members = null;
+
+  if ( group != null )
+  {
+    name = group.getName();
+    members = group.members();
+    Arrays.sort( members, new PrincipalComparator() );
+  }
+  name = TextUtil.replaceEntities(name);
+%>
+
+<wiki:TabbedSection defaultTab="editgroup">
+
+  <wiki:Permission permission="viewGroup">
+  <wiki:Tab id="viewgroup" title='<%=LocaleSupport.getLocalizedMessage(pageContext, "actions.viewgroup")%>'
+           url='<%=c.getURL(WikiContext.NONE, "Group.jsp", "group="+request.getParameter("group") ) %>'
+           accesskey="v" >
+  </wiki:Tab>
+  </wiki:Permission>
+
+  <wiki:Tab id="editgroup" title='<%=LocaleSupport.getLocalizedMessage(pageContext, "editgroup.tab")%>'>
+
+  <h3><%=name%></h3>
+
+  <form action="<wiki:Link format='url' jsp='EditGroup.jsp'/>"
+         class="wikiform"
+            id="editGroup"
+        method="POST" accept-charset="UTF-8">
+
+    <!-- Members -->
+    <%
+      StringBuffer s = new StringBuffer();
+      for ( int i = 0; i < members.length; i++ )
+      {
+        s.append( members[i].getName().trim() );
+        s.append( '\n' );
+      }
+    %>
+    <div class="formhelp">
+    <fmt:message key="editgroup.instructions">
+      <fmt:param><%=name%></fmt:param>
+     </fmt:message>
+    </div>
+    <div class="formhelp">
+      <wiki:Messages div="error" topic="group" prefix='<%=LocaleSupport.getLocalizedMessage(pageContext,"editgroup.saveerror") %>' />
+    </div>
+
+    <table class="wikitable">
+    <tr>
+      <th><fmt:message key="group.name"/></th>
+      <td><%=name%></td>
+    </tr>
+    <tr>
+      <th><label><fmt:message key="group.members"/></label></th>
+      <td>
+      <textarea id="members" name="members" rows="10" cols="30"><%=TextUtil.replaceEntities(s.toString())%></textarea>
+      <div class="formhelp"><fmt:message key="editgroup.memberlist"/></div>
+      </td>
+    </tr>
+    </table>
+    <div class="formhelp">
+      <fmt:message key="editgroup.savehelp"><fmt:param><%=name%></fmt:param></fmt:message>
+    </div>
+      <input type="submit" name="ok" value="<fmt:message key="editgroup.submit.save"/>" />
+      <input type="hidden" name="group" value="<%=name%>" />
+      <input type="hidden" name="action" value="save" />
+  </form>
+
+  <wiki:Permission permission="deleteGroup"> 
+  <form action="<wiki:Link format='url' jsp='DeleteGroup.jsp'/>"
+         class="wikiform"
+            id="deleteGroup"
+        onsubmit="return( confirm('<fmt:message key="group.areyousure"><fmt:param>${param.group}</fmt:param></fmt:message>') && Wiki.submitOnce(this) );"
+        method="POST" accept-charset="UTF-8">
+      <input type="submit" name="ok" value="<fmt:message key="actions.deletegroup"/>" />
+      <input type="hidden" name="group" value="${param.group}" />
+  </form>
+  </wiki:Permission>
+
+</wiki:Tab>
+
+</wiki:TabbedSection>
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditTemplate.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditTemplate.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditTemplate.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/EditTemplate.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,52 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<fmt:setBundle basename="templates.default"/>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html id="top" xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+  <title>
+    <wiki:CheckRequestContext context="edit">
+    <fmt:message key="edit.title.edit">
+      <fmt:param><wiki:Variable var="ApplicationName" /></fmt:param>
+      <fmt:param><wiki:PageName /></fmt:param>
+    </fmt:message>
+    </wiki:CheckRequestContext>
+    <wiki:CheckRequestContext context="comment">
+    <fmt:message key="comment.title.comment">
+      <fmt:param><wiki:Variable var="ApplicationName" /></fmt:param>
+      <fmt:param><wiki:PageName /></fmt:param>
+    </fmt:message>
+    </wiki:CheckRequestContext>
+  </title>
+  <meta name="robots" content="noindex,follow" />
+  <wiki:Include page="commonheader.jsp"/>
+</head>
+
+<wiki:CheckRequestContext context="edit"><body class="edit" ></wiki:CheckRequestContext>
+<wiki:CheckRequestContext context="comment"><body class="comment" ></wiki:CheckRequestContext>
+
+<div id="wikibody" class="${prefs['orientation']}">
+
+  <wiki:Include page="Header.jsp" />
+
+  <div id="content">
+
+    <div id="page">
+      <wiki:Include page="PageActionsTop.jsp"/>
+      <wiki:Content/>
+      <wiki:Include page="PageActionsBottom.jsp"/>
+	</div>
+
+    <wiki:Include page="Favorites.jsp"/> 
+
+	<div class="clearbox"></div>
+  </div>	
+
+  <wiki:Include page="Footer.jsp" />
+
+</div>
+
+</body>
+</html>
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Favorites.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Favorites.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Favorites.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Favorites.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,54 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<%@ page import="javax.servlet.jsp.jstl.fmt.*" %>
+<fmt:setBundle basename="templates.default"/>
+<%@ page import="com.ecyrd.jspwiki.*" %>
+
+<div id="favorites">
+
+  <wiki:Include page="UserBox.jsp" />
+  
+  <wiki:CheckRequestContext context='!login'>
+
+  <wiki:UserCheck status="known">
+  <wiki:Translate>[{If page='{$username}Favorites' exists='true'
+
+%%collapsebox-closed
+! [My Favorites|{$username}Favorites]
+[{InsertPage page='{$username}Favorites' }]
+%% }]
+  </wiki:Translate>
+  </wiki:UserCheck>
+  
+  <%-- LeftMenu is automatically generated from a Wiki page called "LeftMenu" --%>
+  <div class="leftmenu">
+    <wiki:InsertPage page="LeftMenu" />
+    <wiki:NoSuchPage page="LeftMenu">
+      <div class="error">
+        <wiki:EditLink page="LeftMenu">
+          <fmt:message key="fav.nomenu"><fmt:param>LeftMenu</fmt:param></fmt:message>
+        </wiki:EditLink>
+      </div>
+    </wiki:NoSuchPage>
+  </div>
+  
+  <div class="leftmenufooter">
+    <wiki:InsertPage page="LeftMenuFooter" />
+    <wiki:NoSuchPage page="LeftMenuFooter">
+      <div class="error">
+        <wiki:EditLink page="LeftMenuFooter">
+          <fmt:message key="fav.nomenu"><fmt:param>LeftMenuFooter</fmt:param></fmt:message>
+        </wiki:EditLink>
+      </div>
+    </wiki:NoSuchPage>
+  </div>
+
+  </wiki:CheckRequestContext>
+  
+  <div class="wikiversion"><%=Release.APPNAME%> v<%=Release.getVersionString()%>
+  <span class="rssfeed">
+    <wiki:RSSImageLink title='<%=LocaleSupport.getLocalizedMessage(pageContext,"fav.aggregatewiki.title")%>' />
+  </span>
+  </div>  
+  
+</div>
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/FindContent.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/FindContent.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/FindContent.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/FindContent.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,57 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ page import="com.ecyrd.jspwiki.*" %>
+<%@ page import="com.ecyrd.jspwiki.ui.*" %>
+<%@ page import="java.util.*" %>
+<%@ page import="org.apache.commons.lang.*" %>
+<%@ page import="java.net.URLEncoder" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<%@ page import="javax.servlet.jsp.jstl.fmt.*" %>
+<fmt:setBundle basename="templates.default"/>
+
+<wiki:TabbedSection>
+<wiki:Tab id="findcontent" title='<%=LocaleSupport.getLocalizedMessage(pageContext, "find.tab")%>' accesskey="s">
+
+<form action="<wiki:Link format='url' jsp='Search.jsp'/>"
+       class="wikiform"
+          id="searchform2"
+         accept-charset="<wiki:ContentEncoding/>">
+
+  <h4><fmt:message key="find.input" /></h4>
+  <p>
+    <input type="text"
+           name="query" id="query2" 
+          value="<c:out value='${query}'/>" 
+           size="32" />
+
+    <input type="checkbox" name="details" id="details" <c:if test='${param.details == "on"}'>checked='checked'</c:if> />
+    <fmt:message key="find.details" />
+
+    <select name="scope" id="scope" > 
+      <option value="" <c:if test="${empty param.scope}">selected="selected"</c:if> ><fmt:message key='find.scope.all' /></option>
+      <option value="author:" <c:if test='${param.scope eq "author:"}'>selected="selected"</c:if> ><fmt:message key='find.scope.authors' /></option>
+      <option value="name:" <c:if test='${param.scope eq "name:"}'>selected="selected"</c:if> ><fmt:message key='find.scope.pagename' /></option>
+      <option value="contents:" <c:if test='${param.scope eq "contents:"}'>selected="selected"</c:if> ><fmt:message key='find.scope.content' /></option>
+      <option value="attachment:" <c:if test='${param.scope eq "attachment:"}'>selected="selected"</c:if> ><fmt:message key='find.scope.attach' /></option>       
+    </select>
+
+	<input type="submit" name="ok" id="ok" value="<fmt:message key="find.submit.find"/>" />
+	<input type="submit" name="go" id="go" value="<fmt:message key="find.submit.go"/>" />
+    <input type="hidden" name="start" id="start" value="0" />
+    <input type="hidden" name="maxitems" id="maxitems" value="20" />
+
+    <span id="spin" class="spin" style="position:absolute;display:none;"></span>
+  </p>
+</form>
+
+<div id="searchResult2" ><wiki:Include page="AJAXSearch.jsp"/></div>
+
+</wiki:Tab>
+
+<wiki:PageExists page="SearchPageHelp">
+<wiki:Tab id="findhelp" title='<%=LocaleSupport.getLocalizedMessage(pageContext, "find.tab.help")%>' accesskey="h">
+  <wiki:InsertPage page="SearchPageHelp"/>
+</wiki:Tab>
+</wiki:PageExists>
+
+</wiki:TabbedSection>
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Footer.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Footer.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Footer.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Footer.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,29 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<%@ page import="com.ecyrd.jspwiki.*" %>
+<%@ page import="javax.servlet.jsp.jstl.fmt.*" %>
+<fmt:setBundle basename="templates.default"/>
+<%
+  WikiContext c = WikiContext.findContext(pageContext);
+  String frontpage = c.getEngine().getFrontPage(); 
+%> 
+<div id="footer">
+
+  <div class="applicationlogo" > 
+    <a href="<wiki:LinkTo page='<%=frontpage%>' format='url' />"
+       title="<fmt:message key='actions.home.title' ><fmt:param><%=frontpage%></fmt:param></fmt:message> "><fmt:message key='actions.home' /></a>
+  </div>
+
+  <div class="companylogo"></div>
+
+  <div class="copyright"><wiki:InsertPage page="CopyrightNotice"/></div>
+
+  <div class="wikiversion">
+    <%=Release.APPNAME%> v<%=Release.getVersionString()%>
+  </div>
+
+  <div class="rssfeed">
+    <wiki:RSSImageLink title="Aggregate the RSS feed" />
+  </div>
+
+</div>
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/GroupContent.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/GroupContent.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/GroupContent.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/GroupContent.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,147 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<%@ page import="java.security.Principal" %>
+<%@ page import="java.util.*" %>
+<%@ page import="com.ecyrd.jspwiki.*" %>
+<%@ page import="com.ecyrd.jspwiki.auth.PrincipalComparator" %>
+<%@ page import="com.ecyrd.jspwiki.auth.authorize.Group" %>
+<%@ page import="com.ecyrd.jspwiki.auth.authorize.GroupManager" %>
+<%@ page import="org.apache.log4j.*" %>
+<%@ page errorPage="/Error.jsp" %>
+<%@ page import="javax.servlet.jsp.jstl.fmt.*" %>
+<fmt:setBundle basename="templates.default"/>
+<%!
+  Logger log = Logger.getLogger("JSPWiki");
+%>
+
+<%
+  WikiContext c = WikiContext.findContext( pageContext );
+
+  // Extract the group name and members
+  String name = request.getParameter( "group" );
+  Group group = (Group)pageContext.getAttribute( "Group",PageContext.REQUEST_SCOPE );
+  Principal[] members = null;
+  String modified = "";
+  String created = "";
+  String modifier = "";
+  String creator = "";
+
+  if ( group != null )
+  {
+    name = group.getName();
+    members = group.members();
+    Arrays.sort( members, new PrincipalComparator() );
+    creator = group.getCreator();
+    if ( group.getCreated() != null )
+    {
+      created = group.getCreated().toString();
+    }
+    modifier = group.getModifier();
+    if ( group.getLastModified() != null )
+    {
+      modified = group.getLastModified().toString();
+    }
+  }
+  name = TextUtil.replaceEntities(name);
+%>
+
+<wiki:TabbedSection defaultTab="${param.tab}">
+  <wiki:Tab id="viewgroup" title='<%=LocaleSupport.getLocalizedMessage(pageContext, "group.tab")%>'>
+  <h3><%=name%></h3>
+
+<%
+  if ( group == null )
+  {
+    if ( c.getWikiSession().getMessages( GroupManager.MESSAGES_KEY ).length == 0 )
+    {
+%>
+    <fmt:message key="group.doesnotexist"/>
+    <wiki:Permission permission="createGroups">
+      <fmt:message key="group.createsuggestion">
+        <fmt:param><wiki:Link jsp="NewGroup.jsp">
+                      <wiki:Param name="group" value="<%=name%>" />
+                      <wiki:Param name="group" value="<%=name%>" />
+                      <fmt:message key="group.createit"/>
+                   </wiki:Link>
+        </fmt:param>
+      </fmt:message>
+    </wiki:Permission>
+<%
+    }
+    else
+    {
+%>
+       <wiki:Messages div="error" topic="<%=GroupManager.MESSAGES_KEY%>" prefix='<%=LocaleSupport.getLocalizedMessage(pageContext,"group.errorprefix")%>'/>
+<%
+    }
+  }
+  else
+  {
+%>
+ <table class="wikitable">
+    <tr>
+      <th><fmt:message key="group.name"/></th>
+      <td>
+        <fmt:message key="group.groupintro">
+          <fmt:param><em><%=name%></em></fmt:param>
+        </fmt:message>
+      </td>
+    </tr>
+    <!-- Members -->
+    <tr>
+      <th><fmt:message key="group.members"/>
+      </th>
+      <td><%
+            for ( int i = 0; i < members.length; i++ )
+            {
+              out.println( members[i].getName().trim() );
+              if ( i < ( members.length - 1 ) )
+              {
+                out.println( "<br/>" );
+              }
+            }
+          %></td>
+          <%--fmt:message key="group.membership"/--%>
+      </tr>
+      <tr>
+        <td colspan="2">
+        <fmt:message key="group.modifier">
+           <fmt:param><%=modifier%></fmt:param>
+           <fmt:param><%=modified%></fmt:param>
+        </fmt:message>
+        </td>
+      </tr>
+      <tr>
+        <td colspan="2">
+        <fmt:message key="group.creator">
+           <fmt:param><%=creator%></fmt:param>
+           <fmt:param><%=created%></fmt:param>
+        </fmt:message>
+        </td>
+      </tr>
+    </table>
+<%
+  }
+%>
+
+  <wiki:Permission permission="deleteGroup"> 
+  <form action="<wiki:Link format='url' jsp='DeleteGroup.jsp'/>"
+         class="wikiform"
+            id="deleteGroup"
+        onsubmit="return( confirm('<fmt:message key="group.areyousure"><fmt:param>${param.group}</fmt:param></fmt:message>') && Wiki.submitOnce(this) );"
+        method="POST" accept-charset="UTF-8">
+      <input type="submit" name="ok" value="<fmt:message key="actions.deletegroup"/>" />
+      <input type="hidden" name="group" value="${param.group}" />
+  </form>
+  </wiki:Permission>
+
+</wiki:Tab>
+
+<wiki:Permission permission="editGroup">
+  <wiki:Tab id="editgroup" title='<%=LocaleSupport.getLocalizedMessage(pageContext, "actions.editgroup")%>'
+           url='<%=c.getURL(WikiContext.NONE, "EditGroup.jsp", "group="+request.getParameter("group") ) %>'
+           accesskey="e" >
+  </wiki:Tab>
+</wiki:Permission>
+
+</wiki:TabbedSection>

Propchange: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/GroupContent.jsp
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/GroupTab.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/GroupTab.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/GroupTab.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/GroupTab.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,161 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ page import="java.security.Principal" %>
+<%@ page import="java.text.MessageFormat" %>
+<%@ page import="java.util.*" %>
+<%@ page import="com.ecyrd.jspwiki.WikiContext" %>
+<%@ page import="com.ecyrd.jspwiki.auth.*" %>
+<%@ page import="com.ecyrd.jspwiki.auth.PrincipalComparator" %>
+<%@ page import="com.ecyrd.jspwiki.auth.authorize.Group" %>
+<%@ page import="com.ecyrd.jspwiki.auth.authorize.GroupManager" %>
+<%@ page import="org.apache.log4j.*" %>
+<%@ page errorPage="/Error.jsp" %>
+<%@ page import="javax.servlet.jsp.jstl.fmt.*" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<fmt:setBundle basename="templates.default"/>
+
+<%!
+  String printWikiGroupPutGroup( Group group, String name, boolean cursor, PageContext pageContext)
+  {
+    Principal[] m = group.members();
+    java.util.Arrays.sort( m, new PrincipalComparator() );
+
+    String delim = "\", \"";
+      
+    StringBuffer ss = new StringBuffer();
+    MessageFormat mf = null;
+    Object[] args = null;
+      
+      ss.append( "WikiGroup.putGroup( \"" );
+      
+      ss.append( name );
+      ss.append( delim );
+      
+      for( int j=0; j < m.length; j++ ) { ss.append( m[j].getName().trim()+"\\n" ); }
+      
+      ss.append( delim );
+      mf = new MessageFormat(LocaleSupport.getLocalizedMessage(pageContext, "grp.createdon") );
+      args = new Object[]{(group.getCreated()==null) ? "" : group.getCreated().toString(), group.getCreator()};
+      ss.append( mf.format( args ) );
+      
+      mf = new MessageFormat(LocaleSupport.getLocalizedMessage(pageContext, "grp.lastmodified") );
+      args = new Object[]{(group.getCreated()==null) ? "" : group.getCreated().toString(), group.getModifier()};
+      ss.append( mf.format( args ) );
+      
+      ss.append( "\", " );
+      ss.append( ( cursor ) ? "true" : "false" );
+      
+      ss.append( ");\n" );
+
+
+    return ss.toString();
+  }
+%>
+
+<wiki:Messages div="error" topic="<%=GroupManager.MESSAGES_KEY%>" prefix='<%=LocaleSupport.getLocalizedMessage(pageContext,"group.errorprefix")%>'/>
+
+<table id='wikigroups' class='wikitable' >
+<tr>
+  <th><fmt:message key="group.name" /></th>
+  <th><fmt:message key="group.members" /></th>
+</tr>
+<tr>
+  <td id="groupnames" rowspan="2">
+    <div id="grouptemplate" 
+            style="display:none; " 
+            title='<fmt:message key="grp.groupnames.title"/>'
+          onclick="WikiGroup.toggle(); WikiGroup.onMouseOverGroup(this);"
+      onmouseover="WikiGroup.onMouseOverGroup(this);" ></div>
+
+    <wiki:Permission permission="createGroups">
+    <div id="groupfield" 
+      onmouseover="WikiGroup.onMouseOverGroup(this);" >
+      <input type="text" size="30" 
+               id="newgroup"
+            value='<fmt:message key="grp.newgroupname"/>'
+           onblur="if( this.value == '' ) { this.value = this.defaultValue; }; " 
+          onfocus="if( this.value == this.defaultValue ) { this.value = ''; WikiGroup.onClickNew(); }; "/>
+    </div>
+    </wiki:Permission>
+  </td>
+  <td id="groupmembers">
+    <div style="float:left;">
+    <textarea rows="8" cols="30" disabled="disabled"
+              name="membersfield" id="membersfield" ></textarea>
+    </div>
+    <form action="<wiki:Link format='url' jsp='Group.jsp'/>" 
+              id="groupForm" 
+          method="post" accept-charset="<wiki:ContentEncoding />" >
+      <div>
+      <input type="hidden" name="group"   value="" />
+      <input type="hidden" name="members" value="" />
+      <input type="hidden" name="action"  value="save" />
+      <input type="button" disabled="disabled"
+             name="saveButton" id="saveButton" 
+            value='<fmt:message key="grp.savegroup"/>' 
+          onclick="WikiGroup.onSubmit( this.form, '<wiki:Link format='url' jsp='EditGroup.jsp' />' );" /></div>
+
+      <wiki:Permission permission="createGroups">
+      <div>
+      <input type="button" disabled="disabled"  
+             name="createButton" id="createButton"
+            value='<fmt:message key="grp.savenewgroup"/>' 
+            style="display:none; "
+          onclick="WikiGroup.onSubmitNew( this.form, '<wiki:Link format='url' jsp='NewGroup.jsp' />' );" /></div>
+      </wiki:Permission>
+
+      <div>
+      <input type="button" disabled="disabled"
+             name="cancelButton" id="cancelButton" 
+            value='<fmt:message key="grp.cancel"/>' 
+          onclick="WikiGroup.toggle();" /></div>
+
+      <wiki:Permission permission="deleteGroup">
+      <div>
+      <input type="button" disabled="disabled" 
+             name="deleteButton" id="deleteButton"
+            value='<fmt:message key="grp.deletegroup"/>' 
+          onclick="confirm( '<fmt:message key="grp.deletegroup.confirm"/>' ) 
+                && WikiGroup.onSubmit( this.form, '<wiki:Link format='url' jsp='DeleteGroup.jsp' />' );" /></div>
+      </wiki:Permission>
+    </form>
+  </td>
+  </tr>
+  <tr valign="top">
+  <td>
+    <div class="formhelp"><fmt:message key="grp.formhelp"/></div>
+    <p id="groupinfo" class="formhelp"></p>
+  </td>
+  </tr>
+</table>
+
+<h3><fmt:message key="grp.allgroups"/></h3>
+<p><wiki:Translate>[{Groups}]</wiki:Translate></p>
+
+
+<%
+  String groupname = request.getParameter( "group" );
+%>
+ 
+<script type="text/javascript">
+//<![CDATA[
+<%
+  WikiContext c = WikiContext.findContext( pageContext );
+  Principal[] roles = c.getWikiSession().getRoles();
+
+  for( int i = 0; i < roles.length; i++ )
+  {
+    if ( roles[i] instanceof GroupPrincipal ) /* bugfix */
+    {
+      String name = roles[i].getName();
+      Group group = c.getEngine().getGroupManager().getGroup( name );
+
+      %><%= printWikiGroupPutGroup( group, name, name.equals( groupname ), pageContext )  %><%
+    }
+  }
+%>
+//]]>
+</script>
+
+<%--
+WikiGroup.putGroup( "Group1qsdf qsdf qsdf qsdf qsdffsdfq en nog een beetje langer he", "Member1\nMember2\nMember3\nMember4\nMember5\nMember6", "createdon", "createdby", "changedon", "changedby" );
+--%>

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Header.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Header.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Header.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/Header.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,29 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<%@ page import="com.ecyrd.jspwiki.*" %>
+<fmt:setBundle basename="templates.default"/>
+<%
+  WikiContext c = WikiContext.findContext(pageContext);
+  String frontpage = c.getEngine().getFrontPage(); 
+%>
+
+<div id="header">
+
+  <div class="titlebox"><wiki:InsertPage page="TitleBox"/></div>
+
+  <div class="applicationlogo" > 
+    <a href="<wiki:LinkTo page='<%=frontpage%>' format='url' />"
+       title="<fmt:message key='actions.home.title' ><fmt:param><%=frontpage%></fmt:param></fmt:message> "><fmt:message key='actions.home' /></a>
+  </div>
+
+  <div class="companylogo"></div>
+
+  <wiki:Include page="UserBox.jsp" />
+
+  <div class="pagename"><wiki:PageName /></div>
+
+  <div class="searchbox"><wiki:Include page="SearchBox.jsp" /></div>
+
+  <div class="breadcrumbs"><fmt:message key="header.yourtrail"/><wiki:Breadcrumbs /></div>
+
+</div>
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/InfoContent.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/InfoContent.jsp?rev=627260&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/InfoContent.jsp (added)
+++ incubator/jspwiki/branches/JSPWIKI_STRIPES_BRANCH/src/webdocs/templates/default/InfoContent.jsp Tue Feb 12 22:13:28 2008
@@ -0,0 +1,385 @@
+<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
+<%@ page import="com.ecyrd.jspwiki.*" %>
+<%@ page import="com.ecyrd.jspwiki.auth.*" %>
+<%@ page import="com.ecyrd.jspwiki.auth.permissions.*" %>
+<%@ page import="com.ecyrd.jspwiki.attachment.*" %>
+<%@ page import="java.security.Permission" %>
+<%@ page import="javax.servlet.jsp.jstl.fmt.*" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<fmt:setBundle basename="templates.default"/>
+
+<%
+  WikiContext c = WikiContext.findContext(pageContext);
+  WikiPage wikiPage = c.getPage();
+  int attCount = c.getEngine().getAttachmentManager().listAttachments( c.getPage() ).size();
+  String attTitle = LocaleSupport.getLocalizedMessage(pageContext, "attach.tab");
+  if( attCount != 0 ) attTitle += " (" + attCount + ")";
+
+  String creationAuthor ="";
+
+  //FIXME -- seems not to work correctly for attachments !!
+  WikiPage firstPage = c.getEngine().getPage( wikiPage.getName(), 1 );
+  if( firstPage != null )
+  {
+    creationAuthor = firstPage.getAuthor();
+  }
+
+  int itemcount = 0;  //number of page versions
+  try
+  {
+    itemcount = wikiPage.getVersion(); /* highest version */
+  }
+  catch( Exception  e )  { /* dont care */ }
+
+  int pagesize = 20;
+  int startitem = itemcount;
+  String parm_start = (String)request.getParameter( "start" );
+  if( parm_start != null ) startitem = Integer.parseInt( parm_start ) ;
+  /*round to start of a pagination block */
+  if( startitem > -1 ) startitem = ( (startitem/pagesize) * pagesize );
+
+%>
+<wiki:PageExists>
+
+<%-- part 1 : normal wiki pages --%>
+<wiki:PageType type="page">
+
+  <wiki:TabbedSection defaultTab="info">
+
+  <wiki:Tab id="pagecontent"
+         title='<%=LocaleSupport.getLocalizedMessage(pageContext, "actions.view")%>'
+     accesskey="v"
+	       url="<%=c.getURL(WikiContext.VIEW, c.getPage().getName())%>">
+      <%--<wiki:Include page="PageTab.jsp"/> --%>
+  </wiki:Tab>
+
+  <wiki:Tab id="attach" title="<%= attTitle %>" accesskey="a">
+    <wiki:Include page="AttachmentTab.jsp"/>
+  </wiki:Tab>
+
+  <%-- actual infopage content --%>
+  <wiki:Tab id="info" title='<%=LocaleSupport.getLocalizedMessage(pageContext, "info.tab")%>' accesskey="i" >
+  <p>
+  <fmt:message key='info.lastmodified'>
+    <fmt:param><wiki:PageVersion >1</wiki:PageVersion></fmt:param>
+    <fmt:param>
+      <a href="<wiki:DiffLink format='url' version='latest' newVersion='previous' />"
+        title="<fmt:message key='info.pagediff.title' />" >
+        <fmt:formatDate value="<%= wikiPage.getLastModified() %>" pattern="${prefs['DateFormat']}" />
+      </a>
+    </fmt:param>
+    <fmt:param><wiki:Author /></fmt:param>
+  </fmt:message>
+
+  <a href="<wiki:Link format='url' jsp='rss.jsp'>
+             <wiki:Param name='page' value='<%=wikiPage.getName()%>'/>
+             <wiki:Param name='mode' value='wiki'/>
+           </wiki:Link>"
+    title="<fmt:message key='info.rsspagefeed.title'>
+             <fmt:param><wiki:PageName /></fmt:param>
+           </fmt:message>" >
+    <img src="<wiki:Link jsp='images/xml.png' format='url'/>" alt="[RSS]"/>
+  </a>
+  </p>
+
+  <wiki:CheckVersion mode="notfirst">
+    <p>
+    <fmt:message key='info.createdon'>
+      <fmt:param>
+        <wiki:Link version="1">
+          <fmt:formatDate value="<%= firstPage.getLastModified() %>" pattern="${prefs['DateFormat']}" />
+        </wiki:Link>
+      </fmt:param>
+      <fmt:param><%= creationAuthor %></fmt:param>
+    </fmt:message>
+    </p>
+  </wiki:CheckVersion>
+
+  <wiki:Permission permission="rename">
+    <form action="<wiki:Link format='url' jsp='Rename.jsp'/>"
+           class="wikiform"
+              id="renameform"
+        onsubmit="return Wiki.submitOnce(this);"
+          method="post" accept-charset="<wiki:ContentEncoding />" >
+      <p>
+      <input type="hidden" name="page" value="<wiki:Variable var='pagename' />" />
+      <input type="submit" name="rename" value="<fmt:message key='info.rename.submit' />" />
+      <input type="text" name="renameto" value="<wiki:Variable var='pagename' />" size="40" />
+      &nbsp;&nbsp;
+      <input type="checkbox" name="references" checked="checked" />
+      <fmt:message key="info.updatereferrers"/>
+      </p>
+    </form>
+  </wiki:Permission>
+  <wiki:Permission permission="!rename">
+      <p><fmt:message key="info.rename.permission"/></p>
+  </wiki:Permission>
+
+  <wiki:Permission permission="delete">
+    <form action="<wiki:Link format='url' context='<%=WikiContext.DELETE%>' />"
+           class="wikiform"
+              id="deleteForm"
+          method="post" accept-charset="<wiki:ContentEncoding />"
+        onsubmit="return( confirm('<fmt:message key="info.confirmdelete"/>') && Wiki.submitOnce(this) );">
+      <p>
+      <input type="submit" name="delete-all" id="delete-all"
+            value="<fmt:message key='info.delete.submit'/>" >
+      </p>
+    </form>
+  </wiki:Permission>
+  <wiki:Permission permission="!delete">
+      <p><fmt:message key="info.delete.permission"/></p>
+  </wiki:Permission>
+
+  <div class="collapsebox-closed" id="incomingLinks">
+  <h4><fmt:message key="info.tab.incoming" /></h4>
+    <wiki:LinkTo><wiki:PageName /></wiki:LinkTo>
+    <wiki:Plugin plugin="ReferringPagesPlugin" args="before='*' after='\n' " />
+  </div>
+
+  <div class="collapsebox-closed" id="outgoingLinks">
+  <h4><fmt:message key="info.tab.outgoing" /></h4>
+    <wiki:Plugin plugin="ReferredPagesPlugin" args="depth='1' type='local'" />
+  </div>
+
+  <div class="clearbox"></div>
+
+  <%-- DIFF section --%>
+  <wiki:CheckRequestContext context='diff'>
+     <wiki:Include page="DiffTab.jsp"/>
+  </wiki:CheckRequestContext>
+  <%-- DIFF section --%>
+
+
+    <wiki:CheckVersion mode="first"><fmt:message key="info.noversions"/></wiki:CheckVersion>
+    <wiki:CheckVersion mode="notfirst">
+    <%-- if( itemcount > 1 ) { --%>
+
+    <wiki:SetPagination start="<%=startitem%>" total="<%=itemcount%>" pagesize="<%=pagesize%>" maxlinks="9"
+                       fmtkey="info.pagination"
+                         href='<%=c.getURL(WikiContext.INFO, c.getPage().getName(), "start=%s")%>' />
+
+    <div class="zebra-table sortable table-filter">
+    <table class="wikitable" >
+      <tr>
+        <th><fmt:message key="info.version"/></th>
+        <th><fmt:message key="info.date"/></th>
+        <th><fmt:message key="info.size"/></th>
+        <th><fmt:message key="info.author"/></th>
+        <th><fmt:message key="info.changes"/></th>
+        <th class='changenote'><fmt:message key="info.changenote"/></th>
+      </tr>
+
+      <wiki:HistoryIterator id="currentPage">
+      <% if( ( startitem == -1 ) ||
+             (  ( currentPage.getVersion() >= startitem )
+             && ( currentPage.getVersion() < startitem + pagesize ) ) )
+         {
+       %>
+      <tr>
+        <td>
+          <wiki:LinkTo version="<%=Integer.toString(currentPage.getVersion())%>">
+            <wiki:PageVersion/>
+          </wiki:LinkTo>
+        </td>
+
+        <td><fmt:formatDate value="<%= currentPage.getLastModified() %>" pattern="${prefs['DateFormat']}" /></td>
+        <td>
+          <%--<fmt:formatNumber value='<%=Double.toString(currentPage.getSize()/1000.0)%>' groupingUsed='false' maxFractionDigits='1' minFractionDigits='1'/>&nbsp;Kb--%>
+          <wiki:PageSize />
+        </td>
+        <td><wiki:Author /></td>
+
+        <td>
+          <wiki:CheckVersion mode="notfirst">
+            <wiki:DiffLink version="current" newVersion="previous"><fmt:message key="info.difftoprev"/></wiki:DiffLink>
+            <wiki:CheckVersion mode="notlatest"> | </wiki:CheckVersion>
+          </wiki:CheckVersion>
+
+          <wiki:CheckVersion mode="notlatest">
+            <wiki:DiffLink version="latest" newVersion="current"><fmt:message key="info.difftolast"/></wiki:DiffLink>
+          </wiki:CheckVersion>
+        </td>
+
+         <td class="changenote">
+           <%
+              String changeNote = (String)currentPage.getAttribute( WikiPage.CHANGENOTE );
+              changeNote = (changeNote != null) ? TextUtil.replaceEntities( changeNote ) : "" ;
+           %>
+           <%= changeNote %>
+         </td>
+
+      </tr>
+      <% } %>
+      </wiki:HistoryIterator>
+
+    </table>
+    </div>
+     ${pagination}
+    <%-- } /* itemcount > 1 */ --%>
+    </wiki:CheckVersion>
+  </wiki:Tab>
+
+  </wiki:TabbedSection>
+
+</wiki:PageType>
+
+
+<%-- part 2 : attachments --%>
+<wiki:PageType type="attachment">
+<%
+  int MAXATTACHNAMELENGTH = 30;
+  String progressId = c.getEngine().getProgressManager().getNewProgressIdentifier();
+%>
+
+  <wiki:TabbedSection defaultTab="info">
+  <wiki:Tab id="pagecontent"
+         title='<%=LocaleSupport.getLocalizedMessage(pageContext, "info.parent")%>'
+     accesskey="v"
+	       url="<%=c.getURL(WikiContext.VIEW, ((Attachment)wikiPage).getParentName()) %>">
+  </wiki:Tab>
+
+  <wiki:Tab id="info" title='<%=LocaleSupport.getLocalizedMessage(pageContext, "info.attachment.tab")%>' accesskey="i" >
+
+  <h3><fmt:message key="info.uploadnew"/></h3>
+
+  <wiki:Permission permission="upload">
+  <form action="<wiki:Link jsp='attach' format='url' absolute='true'><wiki:Param name='progressid' value='<%=progressId%>'/></wiki:Link>"
+         class="wikiform"
+            id="uploadform"
+      onsubmit="return Wiki.submitUpload(this, '<%=progressId%>');"
+        method="post" accept-charset="<wiki:ContentEncoding/>"
+       enctype="multipart/form-data" >
+
+  <%-- Do NOT change the order of wikiname and content, otherwise the
+       servlet won't find its parts. --%>
+
+  <table>
+  <tr>
+    <td colspan="2"><div class="formhelp"><fmt:message key="info.uploadnew.help" /></div></td>
+  </tr>
+  <tr>
+    <td><label for="content"><fmt:message key="info.uploadnew.filename" /></label></td>
+    <td><input type="file" name="content" size="60"/></td>
+  </tr>
+  <tr>
+    <td><label for="changenote"><fmt:message key="info.uploadnew.changenote" /></label></td>
+    <td>
+    <input type="text" name="changenote" maxlength="80" size="60" />
+    </td>
+  </tr>
+  <tr>
+    <td></td>
+    <td>
+    <input type="hidden" name="page" value="<wiki:Variable var='pagename' />" />
+    <input type="submit" name="upload" value="<fmt:message key='attach.add.submit'/>" id="upload" /> <input type="hidden" name="action"  value="upload" />
+    <input type="hidden" name="nextpage" value="<wiki:PageInfoLink format='url'/>" />
+        <div id="progressbar"><div class="ajaxprogress"></div></div>
+    </td>
+  </tr>
+  </table>
+
+  </form>
+  </wiki:Permission>
+  <wiki:Permission permission="!upload">
+    <div class="formhelp"><fmt:message key="attach.add.permission"/></div>
+  </wiki:Permission>
+
+  <wiki:Permission permission="delete">
+    <h3><fmt:message key="info.deleteattachment"/></h3>
+    <form action="<wiki:Link format='url' context='<%=WikiContext.DELETE%>' />"
+           class="wikiform"
+              id="deleteForm"
+          method="post" accept-charset="<wiki:ContentEncoding />"
+        onsubmit="return( confirm('<fmt:message key="info.confirmdelete"/>') && Wiki.submitOnce(this) );" >
+     <div>
+     <input type="submit" name="delete-all" id="delete-all"
+           value="<fmt:message key='info.deleteattachment.submit' />" />
+     </div>
+    </form>
+  </wiki:Permission>
+
+  <%-- FIXME why not add pagination here - no need for large amounts of attach versions on one page --%>
+  <h3><fmt:message key='info.attachment.history' /></h3>
+
+  <div class="zebra-table"><div class="slimbox-img sortable">
+  <table class="wikitable">
+    <tr>
+      <th><fmt:message key="info.attachment.type"/></th>
+      <%--<th><fmt:message key="info.attachment.name"/></th>--%>
+      <th><fmt:message key="info.version"/></th>
+      <th><fmt:message key="info.size"/></th>
+      <th><fmt:message key="info.date"/></th>
+      <th><fmt:message key="info.author"/></th>
+      <%--
+      <wiki:Permission permission="upload">
+         <th><fmt:message key="info.actions"/></th>
+      </wiki:Permission>
+      --%>
+      <th  class='changenote'><fmt:message key="info.changenote"/></th>
+    </tr>
+
+    <wiki:HistoryIterator id="att"><%-- <wiki:AttachmentsIterator id="att"> --%>
+    <%
+      String name = att.getName(); //att.getFileName();
+      int dot = name.lastIndexOf(".");
+      String attachtype = ( dot != -1 ) ? name.substring(dot+1) : "";
+
+      String sname = name;
+      if( sname.length() > MAXATTACHNAMELENGTH ) sname = sname.substring(0,MAXATTACHNAMELENGTH) + "...";
+    %>
+
+    <tr>
+      <td><div id="attach-<%= attachtype %>" class="attachtype"><%= attachtype %></div></td>
+      <%--<td><wiki:LinkTo title="<%= name %>" ><%= sname %></wiki:LinkTo></td>--%>
+      <%--FIXME classs parameter throws java exception
+      <td><wiki:Link version='<%=Integer.toString(att.getVersion())%>'
+                       title="<%= name %>"
+                       class="attachment" ><wiki:PageVersion /></wiki:Link></td>
+      --%>
+      <td><a href="<wiki:Link version='<%=Integer.toString(att.getVersion())%>' format='url' />"
+                       title="<%= name %>"
+                       class="attachment" ><wiki:PageVersion /></a></td>
+      <td style="white-space:nowrap;text-align:right;">
+        <fmt:formatNumber value='<%=Double.toString(att.getSize()/1000.0) %>' groupingUsed='false' maxFractionDigits='1' minFractionDigits='1'/>&nbsp;<fmt:message key="info.kilobytes"/>
+      </td>
+	  <td style="white-space:nowrap;"><fmt:formatDate value="<%= att.getLastModified() %>" pattern="${prefs['DateFormat']}" /></td>
+      <td><wiki:Author /></td>
+      <%--
+      // FIXME: This needs to be added, once we figure out what is going on.
+      <wiki:Permission permission="upload">
+         <td>
+            <input type="button"
+                   value="Restore"
+                   url="<wiki:Link format='url' context='<%=WikiContext.UPLOAD%>'/>"/>
+         </td>
+      </wiki:Permission>
+      --%>
+      <td class='changenote'>
+      <%
+         String changeNote = (String)att.getAttribute(WikiPage.CHANGENOTE);
+         if( changeNote != null ) {
+             changeNote = TextUtil.replaceEntities(changeNote);
+         %><%=changeNote%><%
+         }
+      %>
+      </td>
+    </tr>
+    </wiki:HistoryIterator><%-- </wiki:AttachmentsIterator> --%>
+
+  </table>
+  </div></div>
+  </wiki:Tab>
+
+  </wiki:TabbedSection> <%-- end of .tabs --%>
+
+</wiki:PageType>
+
+</wiki:PageExists>
+
+<wiki:NoSuchPage>
+  <fmt:message key="common.nopage">
+    <fmt:param><wiki:EditLink><fmt:message key="common.createit"/></wiki:EditLink></fmt:param>
+  </fmt:message>
+</wiki:NoSuchPage>



Mime
View raw message