Index: applications/blog/src/main/resources/Blog/BlogCode.xml
===================================================================
--- applications/blog/src/main/resources/Blog/BlogCode.xml (revision 22346)
+++ applications/blog/src/main/resources/Blog/BlogCode.xml (working copy)
@@ -30,6 +30,7 @@
## Import the blog skin and javascripts.
$!xwiki.ssx.use($blogStyleDocumentName)##
$!xwiki.jsx.use($blogScriptsDocumentName)##
+$xwiki.ssfx.use("icons/icons.css", true)
##
##
##
@@ -513,7 +514,7 @@
#macro(displayPublishButton $entryDoc $entryObj)
#isPublished($entryObj $isPublished)
#if(!$isPublished && $entryDoc.creator == $context.user && $xwiki.hasAccessLevel("edit", $context.user, $entryDoc.fullName))
- <a href="$blogPublisher.getURL('view', "entryName=${util.encodeURI($entryDoc.fullName)}&xredirect=${util.encodeURI($thisURL)}")" title="$msg.get("xe.blog.code.notpublished")">#toolImage('publish.png' 'publish ')</a>##
+ <a class="iconPublish" href="$blogPublisher.getURL('view', "entryName=${util.encodeURI($entryDoc.fullName)}&xredirect=${util.encodeURI($thisURL)}")" title="$msg.get("xe.blog.code.notpublished")"></a>##
#end
#end
##
@@ -531,9 +532,9 @@
## Only published articles can be hidden. Unpublished articles are considered already hidden.
#if($isPublished && $entryDoc.creator == $context.user && $xwiki.hasAccessLevel('edit', $context.user, $entryDoc.fullName))
#if ($isHidden)
- <a class="blog-tool-show" href="$entryDoc.getURL('save', "${entryObj.getxWikiClass().getName()}_${entryObj.number}_hidden=0&comment=$msg.get('xe.blog.code.madevisible')&xredirect=${util.encodeURI($thisURL)}")" title="$msg.get("xe.blog.code.makevisible")">#toolImage('show.png', 'show ')</a>##
+ <a class="iconPublic" href="$entryDoc.getURL('save', "${entryObj.getxWikiClass().getName()}_${entryObj.number}_hidden=0&comment=$msg.get('xe.blog.code.madevisible')&xredirect=${util.encodeURI($thisURL)}")" title="$msg.get("xe.blog.code.makevisible")"></a>##
#else
- <a class="blog-tool-hide" href="$entryDoc.getURL('save', "${entryObj.getxWikiClass().getName()}_${entryObj.number}_hidden=1&comment=$msg.get('xe.blog.code.hid')&xredirect=${util.encodeURI($thisURL)}")" title="$msg.get("xe.blog.code.hide")">#toolImage('hide.png' 'hide ')</a>##
+ <a class="iconPrivate" href="$entryDoc.getURL('save', "${entryObj.getxWikiClass().getName()}_${entryObj.number}_hidden=1&comment=$msg.get('xe.blog.code.hid')&xredirect=${util.encodeURI($thisURL)}")" title="$msg.get("xe.blog.code.hide")"></a>##
#end
#end
#end
@@ -548,7 +549,7 @@
*###
#macro(displayEditButton $entryDoc $entryObj)
#if($xwiki.hasAccessLevel("edit", $context.user, $entryDoc.fullName))
- <a href="$entryDoc.getURL('inline')" title="$msg.get("xe.blog.code.editpost")">#toolImage('edit.png' 'edit ')</a>##
+ <a class="iconEdit" href="$entryDoc.getURL('inline')" title="$msg.get("xe.blog.code.editpost")"></a>##
#end
#end
##
@@ -563,7 +564,7 @@
*###
#macro(displayDeleteButton $entryDoc $entryObj)
#if($xwiki.hasAccessLevel("delete", $context.user, $entryDoc.fullName))
- <a href="$entryDoc.getURL('delete')" title="$msg.get("xe.blog.code.deletepost")">#toolImage('delete.png' 'delete ')</a>##
+ <a class="iconDelete" href="$entryDoc.getURL('delete')" title="$msg.get("xe.blog.code.deletepost")">#</a>##
#end
#end
##
@@ -651,16 +652,16 @@
#end
<address class="author vcard">#userfn($entryDoc.creator)</address> ##
#getEntryDate($entryDoc $entryObj $entryDate)
- at <abbr class="published" title="#formatdateISO($entryDate)">$xwiki.formatDate($entryDate, "MMM dd, yyyy HH:mm")</abbr>##
+ ## at <abbr class="published" title="#formatdateISO($entryDate)">$xwiki.formatDate($entryDate, "MMM dd, yyyy HH:mm")</abbr>##
#listCategories($entryObj)##
## Since the publish date and update date are not set at the exact same time, there could be a small difference that
## we assume cannot be more than 3 seconds.
- #if($entryDoc.date.time - $entryDate.time > 3000)
- | $msg.get("xe.blog.code.modifiedby") <address class="author vcard">#userfn($entryDoc.author)</address> ##
- at <abbr class="updated" title="#formatdateISO($entryDoc.date)">$xwiki.formatDate($entryDoc.date, "MMM dd, yyyy HH:mm")</abbr> ##
- #end
+ ## #if($entryDoc.date.time - $entryDate.time > 3000)
+ ## | $msg.get("xe.blog.code.modifiedby") <address class="author vcard">#userfn($entryDoc.author)</address> ##
+ ## at <abbr class="updated" title="#formatdateISO($entryDoc.date)">$xwiki.formatDate($entryDoc.date, "MMM dd, yyyy HH:mm")</abbr> ##
+ ## #end
+ | <a href="$entryDoc.getURL('view')" rel="bookmark">$msg.get("xe.blog.code.permalink")</a>
| <a href="$entryDoc.getURL('view', '#Comments')">$entryDoc.comments.size() $msg.get("xe.blog.code.comments")</a> ##
- | <a href="$entryDoc.getURL('view')" rel="bookmark">$msg.get("xe.blog.code.permalink")</a>
</div> ## entry-footer
#end
##
@@ -681,7 +682,7 @@
#set($categoryDoc = $!xwiki.getDocument($category))
#if(!$categoryDoc.isNew() && $categoryDoc.getObject(${blogCategoryClassname}))
#if($first)
- $msg.get("xe.blog.code.in")
+ | $msg.get("xe.blog.code.categories")
#set($first = false)
#else, #end## if first
<a rel="tag" href="$xwiki.getURL(${category})">$!xwiki.getDocument($category).getObject($blogCategoryClassname).getProperty('name').value</a>##
@@ -759,7 +760,7 @@
* @param message A text message concerning blog article publishing
*###
#macro(publishMessageBox $message)
-<div class="plainmessage publish-message">$message</div>
+<div class="iconPublish plainmessage inlinemessage">$message</div>
#end
#**
* Displays a message box with "show/hide" icon.
@@ -767,7 +768,7 @@
* @param message A text message concerning blog article hiding
*###
#macro(hideMessageBox $message)
-<div class="plainmessage hide-message">$message</div>
+<div class="iconPrivate plainmessage inlinemessage">$message</div>
#end
##
##
Index: applications/blog/src/main/resources/Blog/BlogParameters.xml
===================================================================
--- applications/blog/src/main/resources/Blog/BlogParameters.xml (revision 22346)
+++ applications/blog/src/main/resources/Blog/BlogParameters.xml (working copy)
@@ -49,13 +49,5 @@
##
##
##
-#**
- * Displays an image, taken from the blog style document.
- *
- * @param attachmentName The name of the attachment to use.
- * @param alt The alternate text that should be displayed when images are not viewable.
- *#
-#macro(toolImage $attachmentName $alt)
- <img class="icon-manage" src="$blogStyleDocument.getAttachmentURL($attachmentName)" alt="${alt}"/>
-#end
+
Index: applications/blog/src/main/resources/Blog/BlogStyle.xml
===================================================================
--- applications/blog/src/main/resources/Blog/BlogStyle.xml (revision 22346)
+++ applications/blog/src/main/resources/Blog/BlogStyle.xml (working copy)
@@ -33,42 +33,6 @@
iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAIAAADITs03AAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9gIHQsSFbnGi7gAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAZElEQVQY062PsQ3DQAwD77j/nL8GU1jOf1ykckFIgIgjxVorwK80QihBAgYbanTubdDDQ8QULs+w1EAjbtYzj4shDqMHY7pIeu/Dkm7e0//9Y3ucWYjTs3e/ejCYTI/9T/f39AEi1hSpIeTVZQAAAABJRU5ErkJggg==
-edit.png
-571
-XWiki.Admin
-1228857706000
-1.2
-
-iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAMAAAAMCGV4AAAAA3NCSVQICAjb4U/gAAAAyVBMVEVIUV77+Mi+sbf61UvDuHX5tbbjnjzM3eT52WT////rpLTtwn+vxc7+2Vbx17LptVv6xMKMdlTI197luIf+zin833HyzpynvMyvwtXxwWrDxpf/zMzHx73JusX4vLzmpUbvuMK/v4/ns2P/7HT+/rb/1yP83V3xxV7w06z/tbXx3bmRfly5yNj+3k/72djxrbS9tLvppELsuFXqwX7/vb3FvoL932Hztr3mqkv/2Cb//739xMPF1uO5zdXW4Ojuw4Dqt2jxxGDx27pz7fpTAAAAQ3RSTlP///////////8A////////////////////////////////////////////////////////////////////////////62td8AAAAAlwSFlzAAAPPAAADzwBFzqfWQAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAACPSURBVAiZVcxrE4FAGIbhFa+8qyUpp1iHTQy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AElFTkSuQmCC
-
-
-delete.png
-508
-XWiki.Admin
-1228857707000
-1.2
-
-iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAMAAAAMCGV4AAAAA3NCSVQICAjb4U/gAAAAmVBMVEXuHRz70rn1jGzzeVnxaUr2mnz////xYkXtjYDwUjjzpZHsfm3qaFfvjnrwRC/oZlnyrqHwclrybVDznonvhXP2g2XuiXXulYzuNSb1lnrod2vzZUzyWUTzc1TweGH3o4bxg2vvk4f4sJX1k3T1saH0dlftYU3uZk/0VUT3a0rshnv2h2r2pYzxk373a1L1rJr8077rcmL0fmC7aMRYAAAAM3RSTlP///////8A//////////////////////////////////////////////////////////8kCaIZAAAACXBIWXMAAA88AAAPPAEXOp9ZAAAAH3RFWHRTb2Z0d2FyZQBNYWNyb21lZGlhIEZpcmV3b3JrcyA4tWjSeAAAAJBJREFUCJlFz9sSwTAQBuDV6J9WKEJFUD0ORttB3//hpEnD3n07eyRAwccTIGxmzcQ+rEHqHVYvx4DXJ4Jq6nxhOU8LU4+yavXOcj/2A1E3BF1raY1SMybTA7zRDVJq/Ny3MuOy8DajBs1ifnV2k0WWxNvRK7cIn/MxuYOi3NEkLvRYE4QW0/1Lfhv7//9FwBc63Ay0bxaxrwAAAABJRU5ErkJggg==
-
-
-publish.png
-918
-XWiki.Admin
-1228857707000
-1.5
-
-iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALDgAACw4BQL7hQQAAAAd0SU1FB9gLFBQDMmLHzNQAAAMWSURBVDjLfZPNa1xlFMZ/7/3IZGaSTCfmg874ETMfmbEaQalaCokSdRWnkRTajS5cl/wHLnQhWEGbWbiwC4kLNwpWDSWYQBGKjhMxljYY4lDMNA2dhPloM3fuzL33va+LMNkIntWBc57n8JznHLG2tqYODw8RQvB/0a1rmobjOMzPz/cArtFsNpmbm/sPQCl1DOrmlmXRarXY3t5mcXH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