| @@ -0,0 +1,92 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| - Audit Application Definition 'alfresco-access' | ||
| - | ||
| - Extracts high level audit records on the creation, deletion, modification and access | ||
| - of user visible objects. | ||
| - | ||
| - The following alfresco-global.properties must be set: | ||
| - | ||
| - # Enable audit in general | ||
| - audit.enabled=true | ||
| - | ||
| - # Enable the alfresco-access audit application | ||
| - audit.alfresco-access.enabled=true | ||
| --> | ||
| <Audit xmlns="http://www.alfresco.org/repo/audit/model/3.2" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://www.alfresco.org/repo/audit/model/3.2 alfresco-audit-3.2.xsd"> | ||
|
|
||
| <DataExtractors> | ||
| <DataExtractor name="simpleValue" registeredName="auditModel.extractor.simpleValue"/> | ||
| <DataExtractor name="nullValue" registeredName="auditModel.extractor.nullValue"/> | ||
| </DataExtractors> | ||
|
|
||
| <DataGenerators> | ||
| <DataGenerator name="currentUser" registeredName="auditModel.generator.user"/> | ||
| </DataGenerators> | ||
|
|
||
| <PathMappings> | ||
| <PathMap source="/alfresco-access" target="/alfresco-access" /> | ||
| <PathMap source="/alfresco-api/post/AuthenticationService/authenticate/no-error" target="/alfresco-access/login"/> | ||
| <PathMap source="/alfresco-api/post/AuthenticationService/authenticate/error" target="/alfresco-access/loginFailure"/> | ||
| <PathMap source="/alfresco-api/post/AuthenticationService/authenticate/args/userName" target="/alfresco-access/loginUser"/> | ||
| <PathMap source="/alfresco-api/pre/ticketComponent/invalidateTicketById/args" target="/alfresco-access/logout"/> | ||
| <PathMap source="/alfresco-access/transaction/properties/add/cm:versionLabel" target="/alfresco-access/transaction/cm:versionLabel"/> | ||
| <PathMap source="/alfresco-access/transaction/properties/to/cm:versionLabel" target="/alfresco-access/transaction/cm:versionLabel"/> | ||
| </PathMappings> | ||
|
|
||
| <Application name="alfresco-access" key="alfresco-access"> | ||
|
|
||
| <AuditPath key="login"> | ||
| <RecordValue key="user" dataExtractor="simpleValue" dataSource="/alfresco-access/loginUser" dataTrigger="/alfresco-access/login" /> | ||
| </AuditPath> | ||
|
|
||
| <AuditPath key="loginFailure"> | ||
| <RecordValue key="user" dataExtractor="simpleValue" dataSource="/alfresco-access/loginUser" dataTrigger="/alfresco-access/loginFailure" /> | ||
| </AuditPath> | ||
|
|
||
| <AuditPath key="logout"> | ||
| <GenerateValue key="user" dataGenerator="currentUser"/> | ||
| </AuditPath> | ||
|
|
||
| <AuditPath key="transaction"> | ||
| <RecordValue key="action" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/action" dataTrigger="/alfresco-access/transaction/action" /> | ||
| <RecordValue key="sub-actions" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/sub-actions" dataTrigger="/alfresco-access/transaction/sub-actions" /> | ||
| <RecordValue key="user" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/user" dataTrigger="/alfresco-access/transaction/user" /> | ||
|
|
||
| <RecordValue key="path" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/path" dataTrigger="/alfresco-access/transaction/path" /> | ||
| <RecordValue key="type" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/type" dataTrigger="/alfresco-access/transaction/type" /> | ||
| <RecordValue key="version" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/cm:versionLabel" dataTrigger="/alfresco-access/transaction/cm:versionLabel" /> | ||
|
|
||
| <AuditPath key="copy"> | ||
| <AuditPath key="from"> | ||
| <RecordValue key="path" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/copy/from/path" dataTrigger="/alfresco-access/transaction/copy/from/path" /> | ||
| </AuditPath> | ||
| </AuditPath> | ||
|
|
||
| <AuditPath key="move"> | ||
| <AuditPath key="from"> | ||
| <RecordValue key="path" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/move/from/path" dataTrigger="/alfresco-access/transaction/move/from/path" /> | ||
| </AuditPath> | ||
| </AuditPath> | ||
|
|
||
| <AuditPath key="properties"> | ||
| <RecordValue key="fromName" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/properties/from/name" dataTrigger="/alfresco-access/transaction/properties/from/name" /> | ||
| <RecordValue key="toName" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/properties/to/name" dataTrigger="/alfresco-access/transaction/properties/to/name" /> | ||
| <RecordValue key="from" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/properties/from" dataTrigger="/alfresco-access/transaction/properties/from" /> | ||
| <RecordValue key="to" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/properties/to" dataTrigger="/alfresco-access/transaction/properties/to" /> | ||
| <RecordValue key="add" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/properties/add" dataTrigger="/alfresco-access/transaction/properties/add" /> | ||
| <RecordValue key="delete" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/properties/delete" dataTrigger="/alfresco-access/transaction/properties/delete" /> | ||
| </AuditPath> | ||
|
|
||
| <AuditPath key="aspects"> | ||
| <RecordValue key="add" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/aspects/add" dataTrigger="/alfresco-access/transaction/aspects/add" /> | ||
| <RecordValue key="delete" dataExtractor="simpleValue" dataSource="/alfresco-access/transaction/aspects/delete" dataTrigger="/alfresco-access/transaction/aspects/delete" /> | ||
| </AuditPath> | ||
|
|
||
| </AuditPath> | ||
|
|
||
| </Application> | ||
|
|
||
| </Audit> |
| @@ -0,0 +1,110 @@ | ||
| <#-- Shows some general audit info about the current document --> | ||
| <#if document?exists> | ||
| <h4>${message("templates.show_audit.current_document_audit_info")}</h4> | ||
| <b>${message("templates.show_audit.name")}</b> ${document.name}<br> | ||
| <table border="1" cellspacing="0" cellpadding="4"> | ||
| <tr> | ||
| <th>${message("templates.show_audit.user_name")}</th> | ||
| <th>${message("templates.show_audit.application")}</th> | ||
| <th>${message("templates.show_audit.method")}</th> | ||
| <th>${message("templates.show_audit.timestamp")}</th> | ||
| <th>${message("templates.show_audit.values")}</th> | ||
| </tr> | ||
| <#list document.auditTrail as t> | ||
| <tr> | ||
| <td>${t.userIdentifier}</td> | ||
| <td>${t.auditApplication}</td> | ||
| <#if t.auditMethod?exists> | ||
| <td>${t.auditMethod}</td> | ||
| <#else> | ||
| <td> </td> | ||
| </#if> | ||
| <td>${t.date?datetime}</td> | ||
| <#if t.values?exists> | ||
| <td> | ||
| <@hashMap map=t.values /> | ||
| </td> | ||
| <#else> | ||
| <td> </td> | ||
| </#if> | ||
| </tr> | ||
| </#list> | ||
| </table> | ||
| <#elseif space?exists> | ||
| <h4>${message("templates.show_audit.current_space_audit_info")}</h4> | ||
| <b>${message("templates.show_audit.name")}</b> ${space.name}<br> | ||
| <table border="1" cellspacing="0" cellpadding="4"> | ||
| <tr> | ||
| <th>${message("templates.show_audit.user_name")}</th> | ||
| <th>${message("templates.show_audit.application")}</th> | ||
| <th>${message("templates.show_audit.method")}</th> | ||
| <th>${message("templates.show_audit.timestamp")}</th> | ||
| <th>${message("templates.show_audit.values")}</th> | ||
| </tr> | ||
|
|
||
| <#list space.auditTrail as t> | ||
| <tr> | ||
| <td>${t.userIdentifier}</td> | ||
| <td>${t.auditApplication}</td> | ||
| <#if t.auditMethod?exists> | ||
| <td>${t.auditMethod}</td> | ||
| <#else> | ||
| <td> </td> | ||
| </#if> | ||
| <td>${t.date?datetime}</td> | ||
| <#if t.values?exists> | ||
| <td> | ||
| <@hashMap map=t.values /> | ||
| </td> | ||
| <#else> | ||
| <td> </td> | ||
| </#if> | ||
| </tr> | ||
| </#list> | ||
| </table> | ||
| </#if> | ||
|
|
||
| <#-- renders an audit entry values --> | ||
| <#macro hashMap map simpleMode=false> | ||
| <ul> | ||
| <#assign index = 0 /> | ||
| <#list map?keys as key> | ||
| <#if simpleMode> | ||
| <li><@parseValue value=key />=<@parseValue value=map?values[index] /></li> | ||
| <#else> | ||
| <#assign value = map[key] /> | ||
| <#if value?is_sequence> | ||
| <li><@parseValue value=key />= | ||
| <ul> | ||
| <#list value as element> | ||
| <li><@parseValue value=element /></li> | ||
| </#list> | ||
| </ul> | ||
| </li> | ||
| <#elseif value?is_hash> | ||
| <li><@parseValue value=key />= | ||
| <@hashMap map=value simpleMode=true /> | ||
| </li> | ||
| <#else> | ||
| <li><@parseValue value=key />=<@parseValue value=value /></li> | ||
| </#if> | ||
| </#if> | ||
| <#assign index = index + 1 /> | ||
| </#list> | ||
| </ul> | ||
| </#macro> | ||
|
|
||
| <#-- renders an audit entry value --> | ||
| <#macro parseValue value="null"> | ||
| <#if value?is_number> | ||
| ${value?c} | ||
| <#elseif value?is_boolean> | ||
| ${value?string} | ||
| <#elseif value?is_date> | ||
| ${value?datetime} | ||
| <#elseif value?is_string && value != "null"> | ||
| ${shortQName(value?string)} | ||
| <#elseif value?is_hash && value?values[0]?exists> | ||
| ${value?values[0]} | ||
| </#if> | ||
| </#macro> |
| @@ -0,0 +1,20 @@ | ||
| <#-- Table of docs in a specific folder, that have been created or modified in the last week --> | ||
| <h3>${message("templates.recent_docs.documents_created_or_modified_in_the_last_week")}</h3> | ||
| <table cellpadding=2> | ||
| <tr> | ||
| <td></td> | ||
| <td><b>${message("templates.recent_docs.name")}</b></td> | ||
| <td><b>${message("templates.recent_docs.created_date")}</b></td> | ||
| <td><b>${message("templates.recent_docs.modified_date")}</b></td> | ||
| </tr> | ||
| <#list space.childrenByXPath[".//*[subtypeOf('cm:content')]"] as child> | ||
| <#if (dateCompare(child.properties["cm:modified"], date, 1000*60*60*24*7) == 1) || (dateCompare(child.properties["cm:created"], date, 1000*60*60*24*7) == 1)> | ||
| <tr> | ||
| <td><a href="${url.context}${child.url}" target="new"><img src="${url.context}${child.icon16}" border=0></a></td> | ||
| <td><a href="${url.context}${child.url}" target="new">${child.properties.name}</a></td> | ||
| <td>${child.properties["cm:created"]?datetime}</td> | ||
| <td>${child.properties["cm:modified"]?datetime}</td> | ||
| </tr> | ||
| </#if> | ||
| </#list> | ||
| </table> |
| @@ -0,0 +1,18 @@ | ||
| <#-- Shows the translations applied to a doc through the translatable aspect --> | ||
| <b>${message("templates.translatable.translatable")}</b> | ||
| <#if document?exists> | ||
| <#if hasAspect(document, "cm:translatable") = 1> | ||
| ${message("templates.translatable.yes")}<br> | ||
| <table> | ||
| <#if document.assocs["cm:translations"]?exists> | ||
| <#list document.assocs["cm:translations"] as t> | ||
| <tr><td>${t.content}</td></tr> | ||
| </#list> | ||
| </#if> | ||
| </table> | ||
| <#else> | ||
| ${message("templates.translatable.no")}<br> | ||
| </#if> | ||
| <#else> | ||
| ${message("templates.translatable.no_document_found")}<br> | ||
| </#if> |
| @@ -0,0 +1,15 @@ | ||
| <#-- List of docs in the Home Space for current user --> | ||
| <#-- If the doc mimetype is plain/text then the content is shown inline --> | ||
| <#-- If the doc mimetype is JPEG then the image is shown inline as a small thumbnail image --> | ||
| <table> | ||
| <#list userhome.children as child> | ||
| <#if child.isDocument> | ||
| <tr><td>${child.properties.name}</td></tr> | ||
| <#if child.mimetype = "text/plain"> | ||
| <tr><td style='padding-left:16px'>${child.content}</td></tr> | ||
| <#elseif child.mimetype = "image/jpeg"> | ||
| <tr><td style='padding-left:16px'><img width=100 height=65 src="${url.context}${child.url}"><td></tr> | ||
| </#if> | ||
| </#if> | ||
| </#list> | ||
| </table> |
| @@ -0,0 +1,98 @@ | ||
| <html> | ||
| <head> | ||
| <style type="text/css"><!-- | ||
| body | ||
| { | ||
| font-family: Arial, sans-serif; | ||
| font-size: 14px; | ||
| color: #4c4c4c; | ||
| } | ||
|
|
||
| a, a:visited | ||
| { | ||
| color: #0072cf; | ||
| } | ||
| --></style> | ||
| </head> | ||
|
|
||
| <body bgcolor="#dddddd"> | ||
| <table width="100%" cellpadding="20" cellspacing="0" border="0" bgcolor="#dddddd"> | ||
| <tr> | ||
| <td width="100%" align="center"> | ||
| <table width="70%" cellpadding="0" cellspacing="0" bgcolor="white" style="background-color: white; border: 1px solid #aaaaaa;"> | ||
| <tr> | ||
| <td width="100%"> | ||
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td style="padding: 10px 30px 0px;"> | ||
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td> | ||
| <table cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td> | ||
| <img src="${shareUrl}/res/components/images/no-user-photo-64.png" alt="" width="64" height="64" border="0" style="padding-right: 20px;" /> | ||
| </td> | ||
| <td> | ||
| <div style="font-size: 22px; padding-bottom: 4px;"> | ||
| Ihr neues Alfresco ${productName!""}-Konto | ||
| </div> | ||
| <div style="font-size: 13px;"> | ||
| ${date?datetime?string.full} | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| <div style="font-size: 14px; margin: 12px 0px 24px 0px; padding-top: 10px; border-top: 1px solid #aaaaaa;"> | ||
| <p>Hallo ${firstname},</p> | ||
|
|
||
| <p>${creator.firstname} ${creator.lastname} hat ein Alfresco ${productName!""}-Konto für Sie erstellt.</p> | ||
|
|
||
| <p>Klicken Sie zur Anmeldung auf diesen Link:<br /> | ||
| <br /><a href="${shareUrl}">${shareUrl}</a></p> | ||
|
|
||
| <p>Ihre Anmeldeinformationen lauten:<br /> | ||
| <br />Benutzername: <b>${username}</b> | ||
| <br />Passwort: <b>${password}</b> | ||
| </p> | ||
|
|
||
| <p><b>Wir legen Ihnen nahe, das Passwort bei der ersten Anmeldung zu ändern.</b><br /> | ||
| Gehen Sie dazu zu <b>Mein Profil</b>, und wählen Sie <b>Passwort ändern</b> aus.</p> | ||
|
|
||
| <p>Mit freundlichen Grüßen<br /> | ||
| Alfresco ${productName!""}</p> | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <div style="border-top: 1px solid #aaaaaa;"> </div> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td style="padding: 0px 30px; font-size: 13px;"> | ||
| Weitere Informationen zu Alfresco ${productName!""} finden Sie unter <a href="http://www.alfresco.com">http://www.alfresco.com</a> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <div style="border-bottom: 1px solid #aaaaaa;"> </div> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td style="padding: 10px 30px;"> | ||
| <img src="${shareUrl}/themes/default/images/app-logo.png" alt="" width="117" height="48" border="0" /> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,7 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <response> | ||
| <code>${status.code}</code> | ||
| <codeName>${status.codeName}</codeName> | ||
| <codeDescription>${status.codeDescription}</codeDescription> | ||
| <message>${status.message}</message> | ||
| </response> |
| @@ -0,0 +1,136 @@ | ||
| <html> | ||
| <head> | ||
| <style type="text/css"><!-- | ||
| body | ||
| { | ||
| font-family: Arial, sans-serif; | ||
| font-size: 14px; | ||
| color: #4c4c4c; | ||
| } | ||
|
|
||
| a, a:visited | ||
| { | ||
| color: #0072cf; | ||
| } | ||
|
|
||
| .activity a | ||
| { | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| .activity a:hover | ||
| { | ||
| text-decoration: underline; | ||
| } | ||
| --></style> | ||
| </head> | ||
|
|
||
| <body bgcolor="#dddddd"> | ||
| <table width="100%" cellpadding="20" cellspacing="0" border="0" bgcolor="#dddddd"> | ||
| <tr> | ||
| <td width="100%" align="center"> | ||
| <table width="70%" cellpadding="0" cellspacing="0" bgcolor="white" style="background-color: white; border: 1px solid #aaaaaa;"> | ||
| <tr> | ||
| <td width="100%"> | ||
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td style="padding: 20px 30px 0px;"> | ||
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td> | ||
| <div style="font-size: 22px; padding-bottom: 4px;"> | ||
| Attività recenti | ||
| </div> | ||
| <div style="font-size: 13px;"> | ||
| ${date?datetime?string.full} | ||
| </div> | ||
| <div style="font-size: 14px; margin: 18px 0px 24px 0px; padding-top: 18px; border-top: 1px solid #aaaaaa;"> | ||
| <#if activities?exists && activities?size > 0> | ||
| <#list activities as activity> | ||
| <#if activity.siteNetwork??> | ||
| <#assign userLink="<a href=\"${shareUrl}/page/user/${activity.postUserId?html}/profile\">${activity.activitySummary.firstName!\"\"} ${activity.activitySummary.lastName!\"\"}</a>"> | ||
| <#assign secondUserLink=""> | ||
| <#assign itemLink="<a href=\"${shareUrl}/page/site/${activity.siteNetwork?html}/${activity.activitySummary.page!\"\"}\">${activity.activitySummary.title!\"\"}</a>"> | ||
| <#assign siteLink="<a href=\"${shareUrl}/page/site/${activity.siteNetwork?html}/dashboard\">${siteTitles[activity.siteNetwork]!activity.siteNetwork?html}</a>"> | ||
|
|
||
| <#assign suppressSite=false> | ||
|
|
||
| <#switch activity.activityType> | ||
| <#case "org.alfresco.site.user-joined"> | ||
| <#case "org.alfresco.site.user-left"> | ||
| <#assign suppressSite=true> | ||
| <#case "org.alfresco.site.user-role-changed"> | ||
| <#assign custom0=message("role."+activity.activitySummary.role)!""> | ||
| <#assign userLink="<a href=\"${shareUrl}/page/user/${activity.activitySummary.memberUserName?html}/profile\">${activity.activitySummary.memberFirstName!\"\"} ${activity.activitySummary.memberLastName!\"\"}</a>"> | ||
| <#break> | ||
| <#case "org.alfresco.site.group-added"> | ||
| <#case "org.alfresco.site.group-removed"> | ||
| <#assign suppressSite=true> | ||
| <#case "org.alfresco.site.group-role-changed"> | ||
| <#assign custom0=message("role."+activity.activitySummary.role)!""> | ||
| <#assign userLink=activity.activitySummary.groupName?replace("GROUP_", "")> | ||
| <#break> | ||
| <#case "org.alfresco.subscriptions.followed"> | ||
| <#assign userLink="<a href=\"${shareUrl}/page/user/${activity.activitySummary.followerUserName?html}/profile\">${activity.activitySummary.followerFirstName!\"\"} ${activity.activitySummary.followerLastName!\"\"}</a>"> | ||
| <#assign secondUserLink="<a href=\"${shareUrl}/page/user/${activity.activitySummary.userUserName?html}/profile\">${activity.activitySummary.userFirstName!\"\"} ${activity.activitySummary.userLastName!\"\"}</a>"> | ||
| <#assign suppressSite=true> | ||
| <#break> | ||
| <#case "org.alfresco.subscriptions.subscribed"> | ||
| <#assign userLink="<a href=\"${shareUrl}/page/user/${activity.activitySummary.subscriberUserName?html}/profile\">${activity.activitySummary.subscriberFirstName!\"\"} ${activity.activitySummary.subscriberLastName!\"\"}</a>"> | ||
| <#assign custom0=(activity.activitySummary.node!"")?html> | ||
| <#assign suppressSite=true> | ||
| <#break> | ||
| <#case "org.alfresco.profile.status-changed"> | ||
| <#assign custom0=(activity.activitySummary.status!"")?html> | ||
| <#assign suppressSite=true> | ||
| <#break> | ||
| <#default> | ||
| </#switch> | ||
|
|
||
| <#assign detail=message(activity.activityType?html, itemLink, userLink, custom0, activity.activitySummary.custom1!"", siteLink, secondUserLink)!""> | ||
|
|
||
| <div class="activity"> | ||
| <#if suppressSite>${detail}<#else>${message("in.site", detail, siteLink)!""}</#if> | ||
| </div> | ||
| <div style="font-size: 11px; padding: 4px 0px 12px 0px;"> | ||
| ${activity.postDate?datetime?string.medium} | ||
| </div> | ||
| </#if> | ||
| </#list> | ||
| </#if> | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <div style="border-top: 1px solid #aaaaaa;"> </div> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td style="padding: 0px 30px; font-size: 13px;"> | ||
| È possibile disattivare le notifiche facendo clic su questo collegamento:<br /> | ||
| <br /><a href="${shareUrl}/page/user/${personProps["cm:userName"]}/user-notifications">${shareUrl}/page/user/${personProps["cm:userName"]}/user-notifications</a> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <div style="border-bottom: 1px solid #aaaaaa;"> </div> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td style="padding: 10px 30px;"> | ||
| <img src="${shareUrl}/res/themes/default/images/app-logo.png" alt="" width="117" height="48" border="0" /> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,164 @@ | ||
| <html> | ||
| <head> | ||
| <style type="text/css"><!-- | ||
| body | ||
| { | ||
| font-family: Arial, sans-serif; | ||
| font-size: 14px; | ||
| color: #4c4c4c; | ||
| } | ||
|
|
||
| a, a:visited | ||
| { | ||
| color: #0072cf; | ||
| } | ||
| --></style> | ||
| </head> | ||
|
|
||
| <body bgcolor="#dddddd"> | ||
| <table width="100%" cellpadding="20" cellspacing="0" border="0" bgcolor="#dddddd"> | ||
| <tr> | ||
| <td width="100%" align="center"> | ||
| <table width="70%" cellpadding="0" cellspacing="0" bgcolor="white" style="background-color: white; border: 1px solid #aaaaaa;"> | ||
| <tr> | ||
| <td width="100%"> | ||
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td style="padding: 10px 30px 0px;"> | ||
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td> | ||
| <table cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td> | ||
| <img src="${shareUrl}/res/components/images/task-64.png" alt="" width="64" height="64" border="0" style="padding-right: 20px;" /> | ||
| </td> | ||
| <td> | ||
| <div style="font-size: 22px; padding-bottom: 4px;"> | ||
| <#if args.workflowPooled == true> | ||
| Neue gemeinsame Aufgabe | ||
| <#else> | ||
| Ihnen wurde eine Aufgabe zugewiesen | ||
| </#if> | ||
| </div> | ||
| <div style="font-size: 13px;"> | ||
| ${date?datetime?string.full} | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| <div style="font-size: 14px; margin: 12px 0px 24px 0px; padding-top: 10px; border-top: 1px solid #aaaaaa;"> | ||
| <p>Hallo,</p> | ||
|
|
||
| <p> | ||
| <#if args.workflowPooled == true> | ||
| Die folgenden gemeinsamen Aufgaben stehen zur Verfügung: | ||
| <#else> | ||
| Ihnen wurde folgende Aufgabe zugewiesen: | ||
| </#if> | ||
| </p> | ||
|
|
||
| <p><b>"${args.workflowTitle}"</b></p> | ||
|
|
||
| <#if (args.workflowDescription)??> | ||
| <p>${args.workflowDescription}</p> | ||
| </#if> | ||
|
|
||
| <p> | ||
| <#if (args.workflowDueDate)??>Due: <b>${args.workflowDueDate?date?string.full}</b><br></#if> | ||
| <#if (args.workflowPriority)??> | ||
| Priorität: | ||
| <b> | ||
| <#if args.workflowPriority == 3> | ||
| Niedrig | ||
| <#elseif args.workflowPriority == 2> | ||
| Mittel | ||
| <#else> | ||
| Hoch | ||
| </#if> | ||
| </b> | ||
| </#if> | ||
| </p> | ||
|
|
||
| <#if (args.workflowDocuments)??> | ||
| <table cellpadding="0" callspacing="0" border="0" bgcolor="#eeeeee" style="padding:10px; border: 1px solid #aaaaaa;"> | ||
| <#list args.workflowDocuments as doc> | ||
| <tr> | ||
| <td> | ||
| <table cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td valign="top"> | ||
| <img src="${shareUrl}/res/components/images/generic-file.png" alt="" width="64" height="64" border="0" style="padding-right: 10px;" /> | ||
| </td> | ||
| <td> | ||
| <table cellpadding="2" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td><b>${doc.name}</b></td> | ||
| </tr> | ||
| <tr> | ||
| <td>Klicken Sie auf diesen Link um das Dokument herunterzuladen:</td> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <a href="${shareUrl}/proxy/alfresco/api/node/content/workspace/SpacesStore/${doc.id}/${doc.name}?a=true"> | ||
| ${shareUrl}/proxy/alfresco/api/node/content/workspace/SpacesStore/${doc.id}/${doc.name}?a=true</a> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| <#if doc_has_next> | ||
| <tr><td><div style="border-top: 1px solid #aaaaaa; margin:12px;"></div></td></tr> | ||
| </#if> | ||
| </#list> | ||
| </table> | ||
| </#if> | ||
|
|
||
| <#if args.workflowPooled == true> | ||
| <p>Klicken Sie auf diesen Link um die Aufgabe einzusehen:</p> | ||
| <p><a href="${shareUrl}/page/task-details?taskId=${args.workflowId}">${shareUrl}/page/task-details?taskId=${args.workflowId}</a> | ||
| <#else> | ||
| <p>Klicken Sie auf diesen Link um die Aufgabe zu ändern:</p> | ||
| <p><a href="${shareUrl}/page/task-edit?taskId=${args.workflowId}">${shareUrl}/page/task-edit?taskId=${args.workflowId}</a> | ||
| </#if> | ||
|
|
||
| <p>Mit freundlichen Grüßen,<br /> | ||
| Alfresco ${productName!""}</p> | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <div style="border-top: 1px solid #aaaaaa;"> </div> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td style="padding: 0px 30px; font-size: 13px;"> | ||
| Weitere Informationen zu Alfresco ${productName!""} finden Sie unter <a href="http://www.alfresco.com">http://www.alfresco.com</a> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <div style="border-bottom: 1px solid #aaaaaa;"> </div> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td style="padding: 10px 30px;"> | ||
| <img src="${shareUrl}/themes/default/images/app-logo.png" alt="" width="117" height="48" border="0" /> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,82 @@ | ||
| <html> | ||
| <head> | ||
| <style type="text/css"><!-- | ||
| body | ||
| { | ||
| font-family: Arial, sans-serif; | ||
| font-size: 14px; | ||
| color: #4c4c4c; | ||
| } | ||
|
|
||
| a, a:visited | ||
| { | ||
| color: #0072cf; | ||
| } | ||
| --></style> | ||
| </head> | ||
|
|
||
| <body bgcolor="#dddddd"> | ||
| <table width="100%" cellpadding="20" cellspacing="0" border="0" bgcolor="#dddddd"> | ||
| <tr> | ||
| <td width="100%" align="center"> | ||
| <table width="70%" cellpadding="0" cellspacing="0" bgcolor="white" style="background-color: white; border: 1px solid #aaaaaa;"> | ||
| <tr> | ||
| <td width="100%"> | ||
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td style="padding: 10px 30px 0px;"> | ||
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td> | ||
| <table cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td> | ||
| <img src="${shareUrl}/res/components/images/page-64.png" alt="" width="64" height="64" border="0" style="padding-right: 20px;" /> | ||
| </td> | ||
| <td> | ||
| <div style="font-size: 22px; padding-bottom: 4px;"> | ||
| ${person.properties.firstName} <#if person.properties.lastName?exists> ${person.properties.lastName}</#if> has added a new content item, ${document.name}, in the ${document.siteShortName!""} site | ||
| </div> | ||
| <div style="font-size: 13px;"> | ||
| ${date?datetime?string.full} | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| <div style="font-size: 14px; margin: 12px 0px 24px 0px; padding-top: 10px; border-top: 1px solid #aaaaaa;"> | ||
| <p>Hi,</p> | ||
|
|
||
| <p>${person.properties.firstName} | ||
| <#if person.properties.lastName?exists> ${person.properties.lastName}</#if> | ||
| has added a new content item, ${document.name}, in the ${document.siteShortName!""} site. | ||
|
|
||
| <p>Click this link to view the item:<br /> | ||
| <br />${document.shareUrl}</p> | ||
|
|
||
| <p>Sincerely,<br /> | ||
| Alfresco</p> | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <div style="border-bottom: 1px solid #aaaaaa;"> </div> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td style="padding: 10px 30px;"> | ||
| <img src="${shareUrl}/themes/default/images/app-logo.png" alt="" width="117" height="48" border="0" /> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,80 @@ | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> | ||
| <html> | ||
| <head> | ||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
| <meta name="Generator" content="Alfresco Repository"> | ||
| <meta name="layoutengine" content="MSHTML"> | ||
| <style type="text/css"> | ||
| body { | ||
| background-color:#FFFFFF; | ||
| color:#000000; | ||
| font-family:Verdana,Arial,sans-serif; | ||
| font-size:11px; | ||
| } | ||
| * { | ||
| font-family:Verdana,Arial,sans-serif; | ||
| font-size:11px; | ||
| } | ||
| h1 { | ||
| text-align:left; | ||
| font-size:15px; | ||
| } | ||
| h2 { | ||
| text-align:left; | ||
| font-size:13px; | ||
| margin: 17px; | ||
| text-decoration:underline; | ||
| } | ||
| table.links td, table.description td { | ||
| border-bottom:1px dotted #555555; | ||
| padding:5px; | ||
| } | ||
| table.description, table.links { | ||
| border:0; | ||
| border-collapse:collapse; | ||
| width:auto; | ||
| margin:7px 20px 7px 20px; | ||
| } | ||
| </style> | ||
| </head> | ||
| <body> | ||
| <hr> | ||
| <h1> 文書 (名前): ${document.name} </h1> | ||
| <hr> | ||
| <h2>メタデータ </h2> | ||
| <table class="description"> | ||
| <#if document.properties.title?exists> | ||
| <tr><td valign="top">タイトル:</td><td>${document.properties.title}</td></tr> | ||
| <#else> | ||
| <tr><td valign="top">タイトル:</td><td> </td></tr> | ||
| </#if> | ||
| <#if document.properties.description?exists> | ||
| <tr><td valign="top">説明:</td><td>${document.properties.description}</td></tr> | ||
| <#else> | ||
| <tr><td valign="top">説明:</td><td> </td></tr> | ||
| </#if> | ||
| <tr><td>作成者:</td><td>${document.properties.creator}</td></tr> | ||
| <tr><td>作成日時:</td><td>${document.properties.created?datetime}</td></tr> | ||
| <tr><td>修正者:</td><td>${document.properties.modifier}</td></tr> | ||
| <tr><td>修正日時:</td><td>${document.properties.modified?datetime}</td></tr> | ||
| <tr><td>サイズ: </td><td>${document.size / 1024} KB</td></tr> | ||
| </table> | ||
| <br> | ||
| <h2> コンテンツリンク </h2> | ||
| <table class="links"> | ||
| <tr> | ||
| <td>コンテンツ フォルダー:</td><td><a href="${contentFolderUrl}">${contentFolderUrl}</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>コンテンツ URL:</td><td><a href="${contextUrl}/service/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}">${contextUrl}/service/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>ダウンロード URL:</td><td><a href="${contextUrl}/service/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true">${contextUrl}/service/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>WebDAV URL:</td><td><a href="${contextUrl}${document.webdavUrl}">${contextUrl}${document.webdavUrl}</a></td> | ||
| </tr> | ||
| </table> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,24 @@ | ||
| <p>Please translate me!</p> | ||
| <h1>Web Scripts</h1> | ||
| <p> | ||
| <p>Web Scripts allow you to bind new Alfresco based functionality to a HTTP method and custom URL. A library of URLs may be built up to provide a complete API accessible via HTTP. They are ideal for building data access & update APIs and simple UI components such as Portlets. Development of Web Scripts may be performed within Alfresco. Knowledge of Java is <em><strong>not</strong></em> required.<br/> | ||
| </p> | ||
| <p> | ||
| For example, you could create the following API for your particular application... | ||
| </p> | ||
| <dl><dt><strong>Execute a search</strong> </dt></dl> | ||
| <p> | ||
| GET http://<host>:<port>/alfresco/service/blog/category/{category} | ||
| </p> | ||
| <dl><dt><strong>Retrieve meta-data for an item in the repository</strong> </dt></dl> | ||
| <p> | ||
| GET http://<host>:<port>/alfresco/service/blog/2007/03/04/new-release | ||
| </p> | ||
| <dl><dt><strong>Update meta-data for an item in the repository</strong> </dt></dl> | ||
| <p> | ||
| POST http://<host>:<port>/alfresco/service/blog/2007/03/04/new-release?status=Draft | ||
| </p> | ||
| <dl><dt><strong>Delete an item in the repository</strong></dt></dl> | ||
| <p> | ||
| DELETE http://<host>:<port>/alfresco/service/blog/2007/03/04/new-release | ||
| </p> |
| @@ -0,0 +1,25 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <feed xmlns="http://www.w3.org/2005/Atom"> | ||
| <generator version="${server.version}">Alfresco (${server.edition})</generator> | ||
| <title>Folder: ${folder.displayPath}/${folder.name?xml}</title> | ||
| <updated>${xmldate(date)}</updated> | ||
| <icon>${absurl(url.context)}/images/logo/AlfrescoLogo16.ico</icon> | ||
| <#list folder.children as child> | ||
| <entry> | ||
| <title>${child.name?xml}</title> | ||
| <#if child.isContainer> | ||
| <link rel="alternate" href="${absurl(url.serviceContext)}/sample/folder<@encodepath node=child/>"/> | ||
| <#else> | ||
| <link rel="alternate" href="${absurl(url.serviceContext)}/api/node/content/${child.nodeRef.storeRef.protocol}/${child.nodeRef.storeRef.identifier}/${child.nodeRef.id}/${child.name?url}"/> | ||
| </#if> | ||
| <icon>${absurl(url.context)}${child.icon16}</icon> | ||
| <id>urn:uuid:${child.id}</id> | ||
| <updated>${xmldate(child.properties.modified)}</updated> | ||
| <summary>${child.properties.description?xml!""}</summary> | ||
| <author> | ||
| <name>${child.properties.creator?xml}</name> | ||
| </author> | ||
| </entry> | ||
| </#list> | ||
| </feed> | ||
| <#macro encodepath node><#if node.parent?exists><@encodepath node=node.parent/>/${node.name?url}</#if></#macro> |
| @@ -0,0 +1,26 @@ | ||
| ------------------------------------------------------------------------------ | ||
| Document name: ${document.name} | ||
| ------------------------------------------------------------------------------ | ||
|
|
||
| <#if document.properties.title?exists> | ||
| Title: ${document.properties.title} | ||
| <#else> | ||
| Title: NONE | ||
| </#if> | ||
| <#if document.properties.description?exists> | ||
| Description: ${document.properties.description} | ||
| <#else> | ||
| Description: NONE | ||
| </#if> | ||
| Creator: ${document.properties.creator} | ||
| Created: ${document.properties.created?datetime} | ||
| Modifier: ${document.properties.modifier} | ||
| Modified: ${document.properties.modified?datetime} | ||
| Size: ${document.size / 1024} Kb | ||
|
|
||
|
|
||
| CONTENT LINKS | ||
|
|
||
| Content folder: ${contentFolderUrl} | ||
| Content URL: ${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name} | ||
| Download URL: ${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true |
| @@ -0,0 +1,98 @@ | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
| <html xmlns="http://www.w3.org/1999/xhtml"> | ||
| <head> | ||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
| <meta name="Generator" content="Alfresco Repository"> | ||
|
|
||
| <style type="text/css"> | ||
| body { | ||
| background-color:#FFFFFF; | ||
| color:#000000; | ||
| } | ||
| * { | ||
| font-family:Verdana,Arial,sans-serif; | ||
| font-size:11px; | ||
| } | ||
| h1 { | ||
| text-align:left; | ||
| font-size:15px; | ||
| } | ||
| h2 { | ||
| text-align:left; | ||
| font-size:13px; | ||
| } | ||
| fieldset { | ||
| border:1px dotted #555555; | ||
| margin:15px 5px 15px 5px; | ||
| } | ||
| fieldset legend { | ||
| font-weight:bold; | ||
| border:1px dotted #555555; | ||
| background-color: #FFFFFF; | ||
| padding:7px; | ||
| } | ||
| .links { | ||
| border:0; | ||
| border-collapse:collapse; | ||
| width:99%; | ||
| } | ||
| .links td { | ||
| border:0; | ||
| padding:5px; | ||
| } | ||
| .description { | ||
| border:0; | ||
| border-collapse:collapse; | ||
| width:99%; | ||
| } | ||
| .description td { | ||
| /*border:1px dotted #555555;*/ | ||
| padding:5px; | ||
| } | ||
| #start_workflow input, #start_workflow select, #start_workflow textarea | ||
| { | ||
| border:1px solid #555555; | ||
| } | ||
| </style> | ||
| </head> | ||
| <body> | ||
| <hr/> | ||
| <h1> 文書 (名前): ${document.name} </h1> | ||
| <hr/> | ||
| <fieldset> | ||
| <legend>メタデータ</legend> | ||
| <table class="description"> | ||
| <#if document.properties.title?exists> | ||
| <tr><td valign="top">タイトル:</td><td>${document.properties.title}</td></tr> | ||
| <#else> | ||
| <tr><td valign="top">タイトル:</td><td> </td></tr> | ||
| </#if> | ||
| <#if document.properties.description?exists> | ||
| <tr><td valign="top">説明:</td><td>${document.properties.description}</td></tr> | ||
| <#else> | ||
| <tr><td valign="top">説明:</td><td> </td></tr> | ||
| </#if> | ||
| <tr><td>作成者:</td><td>${document.properties.creator}</td></tr> | ||
| <tr><td>作成日時:</td><td>${document.properties.created?datetime}</td></tr> | ||
| <tr><td>修正者:</td><td>${document.properties.modifier}</td></tr> | ||
| <tr><td>修正日時:</td><td>${document.properties.modified?datetime}</td></tr> | ||
| <tr><td>サイズ:</td><td>${document.size / 1024} Kb</td></tr> | ||
| </table> | ||
| </fieldset> | ||
| <fieldset> | ||
| <legend> コンテンツリンク </legend> | ||
| <table class="links"> | ||
| <tr> | ||
| <td>コンテンツ フォルダー:</td><td><a href="${contentFolderUrl}">${contentFolderUrl}</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>コンテンツ URL:</td><td><a href="${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}">${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>ダウンロード URL:</td><td><a href="${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true">${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true</a></td> | ||
| </tr> | ||
| </table> | ||
| </fieldset> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,23 @@ | ||
| <h1>Web Scripts</h1> | ||
| <p> | ||
| Documentation on how to develop a Web Script may be found <a href="http://wiki.alfresco.com/wiki/Web_Scripts">here</a>. </p><p>Web Scripts allow you to bind new Alfresco-based functionality to a HTTP method and custom URL. A library of URLs may be built up to provide a complete API accessible via HTTP. They are ideal for building data access & update APIs and simple UI components such as Portlets. Development of Web Scripts may be performed within Alfresco. Knowledge of Java is <em><strong>not</strong></em> required.<br/> | ||
| </p> | ||
| <p> | ||
| For example, you could create the following API for your particular application... | ||
| </p> | ||
| <dl><dt><strong>Execute a search</strong> </dt></dl> | ||
| <p> | ||
| GET http://<host>:<port>/alfresco/service/blog/category/{category} | ||
| </p> | ||
| <dl><dt><strong>Retrieve meta-data for an item in the repository</strong> </dt></dl> | ||
| <p> | ||
| GET http://<host>:<port>/alfresco/service/blog/2007/03/04/new-release | ||
| </p> | ||
| <dl><dt><strong>Update meta-data for an item in the repository</strong> </dt></dl> | ||
| <p> | ||
| POST http://<host>:<port>/alfresco/service/blog/2007/03/04/new-release?status=Draft | ||
| </p> | ||
| <dl><dt><strong>Delete an item in the repository</strong></dt></dl> | ||
| <p> | ||
| DELETE http://<host>:<port>/alfresco/service/blog/2007/03/04/new-release | ||
| </p> |
| @@ -0,0 +1,32 @@ | ||
| // find the backup folder - create if not already exists | ||
| var backupFolder = space.childByNamePath("Backup"); | ||
| if (backupFolder == null && space.hasPermission("CreateChildren")) | ||
| { | ||
| // create the folder for the first time | ||
| backupFolder = space.createFolder("Backup"); | ||
| } | ||
| if (backupFolder != null && backupFolder.hasPermission("CreateChildren")) | ||
| { | ||
| // copy the doc into the backup folder | ||
| var copy = document.copy(backupFolder); | ||
| if (copy != null) | ||
| { | ||
| // change the name so we know it's a backup | ||
| var backupName = "Backup of " + copy.name; | ||
| copy.name = backupName; | ||
| copy.save(); | ||
| } | ||
|
|
||
| // record the time of the backup to a log file | ||
| var logFile = backupFolder.childByNamePath("backuplog.txt"); | ||
| if (logFile == null) | ||
| { | ||
| logFile = backupFolder.createFile("backuplog.txt"); | ||
| } | ||
| if (logFile != null) | ||
| { | ||
| logFile.content += "File: " + backupName + | ||
| "\tDate: " + new Date().toGMTString() + | ||
| "\tSize: " + copy.size + "\r\n"; | ||
| } | ||
| } |
| @@ -0,0 +1 @@ | ||
| <h1>How to Customize a Web Script</h1><p>Documentation on how to develop a Web Script may be found <a href="http://wiki.alfresco.com/wiki/Web_Scripts">here</a>.</p><p>Any part of a Web Script (i.e. its description, "execute" javascript, or "response" template) may be overridden. This is achieved by copying the original part to this extension folder. The folder within which the part lives must be replicated in this extension area too.<br /></p><p>e.g. to override the html output of the "Keyword search" script...</p><p>copy</p><p><em>/Data Dictionary/Web Scripts/org/alfresco/repository/keywordsearch.get.html.ftl </em><br /></p><p>to</p><p><em>/Data Dictionary/Web Scripts Extensions/org/alfresco/repository/keywordsearch.get.html.ftl </em><br /> </p><p>Once copied, you can make your changes to the copy.</p><p>To ensure your override is registered, go to <a href="/alfresco/service/">/alfresco/service/</a> and click on the "Refresh List of Web Scripts" button. The next invocation of the web script will include your override.<br /> </p> |
| @@ -0,0 +1,81 @@ | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> | ||
| <html> | ||
| <head> | ||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
| <meta name="Generator" content="Alfresco Repository"> | ||
| <meta name="layoutengine" content="MSHTML"> | ||
| <style type="text/css"> | ||
| body { | ||
| background-color:#FFFFFF; | ||
| color:#000000; | ||
| font-family:Verdana,Arial,sans-serif; | ||
| font-size:11px; | ||
| } | ||
| * { | ||
| font-family:Verdana,Arial,sans-serif; | ||
| font-size:11px; | ||
| } | ||
| h1 { | ||
| text-align:left; | ||
| font-size:15px; | ||
| } | ||
| h2 { | ||
| text-align:left; | ||
| font-size:13px; | ||
| margin: 17px; | ||
| text-decoration:underline; | ||
| } | ||
| table.links td, table.description td { | ||
| border-bottom:1px dotted #555555; | ||
| padding:5px; | ||
| } | ||
| table.description, table.links { | ||
| border:0; | ||
| border-collapse:collapse; | ||
| width:auto; | ||
| margin:7px 20px 7px 20px; | ||
| } | ||
| </style> | ||
| </head> | ||
| <body> | ||
| <hr> | ||
| <h1> Documento (nome): ${document.name} </h1> | ||
| <hr> | ||
| <h2> Metadati </h2> | ||
| <table class="description"> | ||
| <#if document.properties.title?exists> | ||
| <tr><td valign="top">Titolo:</td><td>${document.properties.title}</td></tr> | ||
| <#else> | ||
| <tr><td valign="top">Titolo:</td><td> </td></tr> | ||
| </#if> | ||
| <#if document.properties.description?exists> | ||
| <tr><td valign="top">Descrizione:</td><td>${document.properties.description}</td></tr> | ||
| <#else> | ||
| <tr><td valign="top">Descrizione:</td><td> </td></tr> | ||
| </#if> | ||
| <tr><td>Autore:</td><td>${document.properties.creator}</td></tr> | ||
| <tr><td>Data di creazione:</td><td>${document.properties.created?datetime}</td></tr> | ||
| <tr><td>Modificatore:</td><td>${document.properties.modifier}</td></tr> | ||
| <tr><td>Data di modifica:</td><td>${document.properties.modified?datetime}</td></tr> | ||
| <tr><td>Dimensioni:</td><td>${document.size / 1024} Kb</td></tr> | ||
| </table> | ||
| <br> | ||
| <h2> Collegamenti del contenuto </h2> | ||
| <table class="links"> | ||
| <tr> | ||
| <td>Cartella del contenuto:</td><td><a href="${contentFolderUrl}">${contentFolderUrl}</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>URL del contenuto</td><td><a href="${contextUrl}/service/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}">${contextUrl}/service/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>URL di download:</td><td><a href="${contextUrl}/service/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true">${contextUrl}/service/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>URL WebDAV:</td><td><a href="${contextUrl}${document.webdavUrl}">${contextUrl}${document.webdavUrl}</a></td> | ||
| </tr> | ||
| </table> | ||
|
|
||
| </body> | ||
| </html> |
| @@ -0,0 +1,96 @@ | ||
| <?xml version="1.0" encoding="utf-8" ?> | ||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
| <html xmlns="http://www.w3.org/1999/xhtml"> | ||
| <head> | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| <meta name="Generator" content="Alfresco Repository"><style type="text/css"> | ||
| body { | ||
| background-color:#FFFFFF; | ||
| color:#000000; | ||
| } | ||
| * { | ||
| font-family:Verdana,Arial,sans-serif; | ||
| font-size:11px; | ||
| } | ||
| h1 { | ||
| text-align:left; | ||
| font-size:15px; | ||
| } | ||
| h2 { | ||
| text-align:left; | ||
| font-size:13px; | ||
| } | ||
| fieldset { | ||
| border:1px dotted #555555; | ||
| margin:15px 5px 15px 5px; | ||
| } | ||
| fieldset legend { | ||
| font-weight:bold; | ||
| border:1px dotted #555555; | ||
| background-color: #FFFFFF; | ||
| padding:7px; | ||
| } | ||
| .links { | ||
| border:0; | ||
| border-collapse:collapse; | ||
| width:99%; | ||
| } | ||
| .links td { | ||
| border:0; | ||
| padding:5px; | ||
| } | ||
| .description { | ||
| border:0; | ||
| border-collapse:collapse; | ||
| width:99%; | ||
| } | ||
| .description td { | ||
| /*border:1px dotted #555555;*/ | ||
| padding:5px; | ||
| } | ||
| #start_workflow input, #start_workflow select, #start_workflow textarea | ||
| { | ||
| border:1px solid #555555; | ||
| } | ||
| </style> | ||
| </head> | ||
| <body> | ||
| <hr/> | ||
| <h1> Document (naam): ${document.name} </h1> | ||
| <hr/> | ||
| <fieldset> | ||
| <legend> Metagegevens </legend> | ||
| <table class="description"> | ||
| <#if document.properties.title?exists> | ||
| <tr><td valign="top">Titel:</td><td> ${document.properties.title}</td></tr> | ||
| <#else> | ||
| <tr><td valign="top">Titel:</td><td> </td></tr> | ||
| </#if> | ||
| <#if document.properties.description?exists> | ||
| <tr><td valign="top">Beschrijving:</td><td> ${document.properties.description}</td></tr> | ||
| <#else> | ||
| <tr><td valign="top">Beschrijving:</td><td> </td></tr> | ||
| </#if> | ||
| <tr><td>Maker:</td><td> ${document.properties.creator}</td></tr> | ||
| <tr><td>Gemaakt op:</td><td> ${document.properties.created?datetime}</td></tr> | ||
| <tr><td>Gewijzigd door:</td><td> ${document.properties.modifier}</td></tr> | ||
| <tr><td>Gewijzigd:</td><td> ${document.properties.modified?datetime}</td></tr> | ||
| <tr><td>Grootte:</td><td> ${document.size / 1024} kB</td></tr> | ||
| </table> | ||
| </fieldset> | ||
| <fieldset> | ||
| <legend> Contentkoppelingen </legend> | ||
| <table class="links"> | ||
| <tr> | ||
| <td>Contentmap:</td><td> <a href="${contentFolderUrl}">${contentFolderUrl}</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>Content-URL:</td><td> <a href="${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}">${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>Download-URL:</td><td> <a href="${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true">${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true</a></td> | ||
| </tr> | ||
| </table> | ||
| </fieldset> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,80 @@ | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> | ||
| <html> | ||
| <head> | ||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
| <meta name="Generator" content="Alfresco Repository"> | ||
| <meta name="layoutengine" content="MSHTML"> | ||
| <style type="text/css"> | ||
| body { | ||
| background-color:#FFFFFF; | ||
| color:#000000; | ||
| font-family:Verdana,Arial,sans-serif; | ||
| font-size:11px; | ||
| } | ||
| * { | ||
| font-family:Verdana,Arial,sans-serif; | ||
| font-size:11px; | ||
| } | ||
| h1 { | ||
| text-align:left; | ||
| font-size:15px; | ||
| } | ||
| h2 { | ||
| text-align:left; | ||
| font-size:13px; | ||
| margin: 17px; | ||
| text-decoration:underline; | ||
| } | ||
| table.links td, table.description td { | ||
| border-bottom:1px dotted #555555; | ||
| padding:5px; | ||
| } | ||
| table.description, table.links { | ||
| border:0; | ||
| border-collapse:collapse; | ||
| width:auto; | ||
| margin:7px 20px 7px 20px; | ||
| } | ||
| </style> | ||
| </head> | ||
| <body> | ||
| <hr> | ||
| <h1> Document (name): ${document.name} </h1> | ||
| <hr> | ||
| <h2> Metadata </h2> | ||
| <table class="description"> | ||
| <#if document.properties.title?exists> | ||
| <tr><td valign="top">Title:</td><td>${document.properties.title}</td></tr> | ||
| <#else> | ||
| <tr><td valign="top">Title:</td><td> </td></tr> | ||
| </#if> | ||
| <#if document.properties.description?exists> | ||
| <tr><td valign="top">Description:</td><td>${document.properties.description}</td></tr> | ||
| <#else> | ||
| <tr><td valign="top">Description:</td><td> </td></tr> | ||
| </#if> | ||
| <tr><td>Creator:</td><td>${document.properties.creator}</td></tr> | ||
| <tr><td>Created:</td><td>${document.properties.created?datetime}</td></tr> | ||
| <tr><td>Modifier:</td><td>${document.properties.modifier}</td></tr> | ||
| <tr><td>Modified:</td><td>${document.properties.modified?datetime}</td></tr> | ||
| <tr><td>Size:</td><td>${document.size / 1024} Kb</td></tr> | ||
| </table> | ||
| <br> | ||
| <h2> Content links </h2> | ||
| <table class="links"> | ||
| <tr> | ||
| <td>Content folder:</td><td><a href="${contentFolderUrl}">${contentFolderUrl}</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>Content URL:</td><td><a href="${contextUrl}/service/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}">${contextUrl}/service/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>Download URL:</td><td><a href="${contextUrl}/service/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true">${contextUrl}/service/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>WebDAV URL:</td><td><a href="${contextUrl}${document.webdavUrl}">${contextUrl}${document.webdavUrl}</a></td> | ||
| </tr> | ||
| </table> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,26 @@ | ||
| ------------------------------------------------------------------------------ | ||
| ドキュメント名: ${document.name} | ||
| ------------------------------------------------------------------------------ | ||
|
|
||
| <#if document.properties.title?exists> | ||
| タイトル: ${document.properties.title} | ||
| <#else> | ||
| タイトル: なし | ||
| </#if> | ||
| <#if document.properties.description?exists> | ||
| 説明: ${document.properties.description} | ||
| <#else> | ||
| 説明: なし | ||
| </#if> | ||
| 作成者: ${document.properties.creator} | ||
| 作成日時: ${document.properties.created?datetime} | ||
| 修正者: ${document.properties.modifier} | ||
| 修正日時: ${document.properties.modified?datetime} | ||
| サイズ: ${document.size / 1024} Kb | ||
|
|
||
|
|
||
| コンテンツリンク | ||
|
|
||
| コンテンツ フォルダー: ${contentFolderUrl} | ||
| コンテンツURL: ${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name} | ||
| ダウンロード URL: ${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true |
| @@ -0,0 +1,4 @@ | ||
| <p> | ||
| <p>The plan is to use a combination of both. We have sourced a number of images from a free online image gallery. Others will need to be created so that they are unique to the Green Energy web site.</p> | ||
| <p>Alice</p> | ||
| </p> |
| @@ -0,0 +1,20 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <feed xmlns="http://www.w3.org/2005/Atom"> | ||
| <generator version="${server.version}">Alfresco (${server.edition})</generator> | ||
| <title>Category search: ${url.extension}</title> | ||
| <updated>${xmldate(date)}</updated> | ||
| <icon>${absurl(url.context)}/images/logo/AlfrescoLogo16.ico</icon> | ||
| <#list resultset as node> | ||
| <entry> | ||
| <title>${node.name}</title> | ||
| <link rel="alternate" href="${absurl(url.serviceContext)}/api/node/content/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/${node.name?url}"/> | ||
| <icon>${absurl(url.context)}${node.icon16}</icon> | ||
| <id>urn:uuid:${node.id}</id> | ||
| <updated>${xmldate(node.properties.modified)}</updated> | ||
| <summary>${node.properties.description!""}</summary> | ||
| <author> | ||
| <name>${node.properties.creator}</name> | ||
| </author> | ||
| </entry> | ||
| </#list> | ||
| </feed> |
| @@ -0,0 +1,136 @@ | ||
| <html> | ||
| <head> | ||
| <style type="text/css"><!-- | ||
| body | ||
| { | ||
| font-family: Arial, sans-serif; | ||
| font-size: 14px; | ||
| color: #4c4c4c; | ||
| } | ||
|
|
||
| a, a:visited | ||
| { | ||
| color: #0072cf; | ||
| } | ||
|
|
||
| .activity a | ||
| { | ||
| text-decoration: none; | ||
| } | ||
|
|
||
| .activity a:hover | ||
| { | ||
| text-decoration: underline; | ||
| } | ||
| --></style> | ||
| </head> | ||
|
|
||
| <body bgcolor="#dddddd"> | ||
| <table width="100%" cellpadding="20" cellspacing="0" border="0" bgcolor="#dddddd"> | ||
| <tr> | ||
| <td width="100%" align="center"> | ||
| <table width="70%" cellpadding="0" cellspacing="0" bgcolor="white" style="background-color: white; border: 1px solid #aaaaaa;"> | ||
| <tr> | ||
| <td width="100%"> | ||
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td style="padding: 20px 30px 0px;"> | ||
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td> | ||
| <div style="font-size: 22px; padding-bottom: 4px;"> | ||
| 最近のアクティビティ | ||
| </div> | ||
| <div style="font-size: 13px;"> | ||
| ${date?datetime?string.full} | ||
| </div> | ||
| <div style="font-size: 14px; margin: 18px 0px 24px 0px; padding-top: 18px; border-top: 1px solid #aaaaaa;"> | ||
| <#if activities?exists && activities?size > 0> | ||
| <#list activities as activity> | ||
| <#if activity.siteNetwork??> | ||
| <#assign userLink="<a href=\"${shareUrl}/page/user/${activity.postUserId?html}/profile\">${activity.activitySummary.firstName!\"\"} ${activity.activitySummary.lastName!\"\"}</a>"> | ||
| <#assign secondUserLink=""> | ||
| <#assign itemLink="<a href=\"${shareUrl}/page/site/${activity.siteNetwork?html}/${activity.activitySummary.page!\"\"}\">${activity.activitySummary.title!\"\"}</a>"> | ||
| <#assign siteLink="<a href=\"${shareUrl}/page/site/${activity.siteNetwork?html}/dashboard\">${siteTitles[activity.siteNetwork]!activity.siteNetwork?html}</a>"> | ||
|
|
||
| <#assign suppressSite=false> | ||
|
|
||
| <#switch activity.activityType> | ||
| <#case "org.alfresco.site.user-joined"> | ||
| <#case "org.alfresco.site.user-left"> | ||
| <#assign suppressSite=true> | ||
| <#case "org.alfresco.site.user-role-changed"> | ||
| <#assign custom0=message("role."+activity.activitySummary.role)!""> | ||
| <#assign userLink="<a href=\"${shareUrl}/page/user/${activity.activitySummary.memberUserName?html}/profile\">${activity.activitySummary.memberFirstName!\"\"} ${activity.activitySummary.memberLastName!\"\"}</a>"> | ||
| <#break> | ||
| <#case "org.alfresco.site.group-added"> | ||
| <#case "org.alfresco.site.group-removed"> | ||
| <#assign suppressSite=true> | ||
| <#case "org.alfresco.site.group-role-changed"> | ||
| <#assign custom0=message("role."+activity.activitySummary.role)!""> | ||
| <#assign userLink=activity.activitySummary.groupName?replace("GROUP_", "")> | ||
| <#break> | ||
| <#case "org.alfresco.subscriptions.followed"> | ||
| <#assign userLink="<a href=\"${shareUrl}/page/user/${activity.activitySummary.followerUserName?html}/profile\">${activity.activitySummary.followerFirstName!\"\"} ${activity.activitySummary.followerLastName!\"\"}</a>"> | ||
| <#assign secondUserLink="<a href=\"${shareUrl}/page/user/${activity.activitySummary.userUserName?html}/profile\">${activity.activitySummary.userFirstName!\"\"} ${activity.activitySummary.userLastName!\"\"}</a>"> | ||
| <#assign suppressSite=true> | ||
| <#break> | ||
| <#case "org.alfresco.subscriptions.subscribed"> | ||
| <#assign userLink="<a href=\"${shareUrl}/page/user/${activity.activitySummary.subscriberUserName?html}/profile\">${activity.activitySummary.subscriberFirstName!\"\"} ${activity.activitySummary.subscriberLastName!\"\"}</a>"> | ||
| <#assign custom0=(activity.activitySummary.node!"")?html> | ||
| <#assign suppressSite=true> | ||
| <#break> | ||
| <#case "org.alfresco.profile.status-changed"> | ||
| <#assign custom0=(activity.activitySummary.status!"")?html> | ||
| <#assign suppressSite=true> | ||
| <#break> | ||
| <#default> | ||
| </#switch> | ||
|
|
||
| <#assign detail=message(activity.activityType?html, itemLink, userLink, custom0, activity.activitySummary.custom1!"", siteLink, secondUserLink)!""> | ||
|
|
||
| <div class="activity"> | ||
| <#if suppressSite>${detail}<#else>${message("in.site", detail, siteLink)!""}</#if> | ||
| </div> | ||
| <div style="font-size: 11px; padding: 4px 0px 12px 0px;"> | ||
| ${activity.postDate?datetime?string.medium} | ||
| </div> | ||
| </#if> | ||
| </#list> | ||
| </#if> | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <div style="border-top: 1px solid #aaaaaa;"> </div> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td style="padding: 0px 30px; font-size: 13px;"> | ||
| この通知の受信を停止する場合は、次のリンクをクリックしてください。<br /> | ||
| <br /><a href="${shareUrl}/page/user/${personProps["cm:userName"]}/user-notifications">${shareUrl}/page/user/${personProps["cm:userName"]}/user-notifications</a> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <div style="border-bottom: 1px solid #aaaaaa;"> </div> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td style="padding: 10px 30px;"> | ||
| <img src="${shareUrl}/res/themes/default/images/app-logo.png" alt="" width="117" height="48" border="0" /> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,12 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <component> | ||
| <guid>page.full-width-dashlet.site~swsdp~dashboard</guid> | ||
| <scope>page</scope> | ||
| <region-id>full-width-dashlet</region-id> | ||
| <source-id>site/swsdp/dashboard</source-id> | ||
| <url>/components/dashlets/dynamic-welcome</url> | ||
| <properties> | ||
| <dashboardType>site</dashboardType> | ||
| </properties> | ||
| </component> |
| @@ -0,0 +1,109 @@ | ||
| <html> | ||
| <#assign inviterPersonRef=args["inviterPersonRef"]/> | ||
| <#assign inviterPerson=companyhome.nodeByReference[inviterPersonRef]/> | ||
| <#assign inviteePersonRef=args["inviteePersonRef"]/> | ||
| <#assign inviteePerson=companyhome.nodeByReference[inviteePersonRef]/> | ||
|
|
||
| <head> | ||
| <style type="text/css"><!-- | ||
| body | ||
| { | ||
| font-family: Arial, sans-serif; | ||
| font-size: 14px; | ||
| color: #4c4c4c; | ||
| } | ||
|
|
||
| a, a:visited | ||
| { | ||
| color: #0072cf; | ||
| } | ||
| --></style> | ||
| </head> | ||
|
|
||
| <body bgcolor="#dddddd"> | ||
| <table width="100%" cellpadding="20" cellspacing="0" border="0" bgcolor="#dddddd"> | ||
| <tr> | ||
| <td width="100%" align="center"> | ||
| <table width="70%" cellpadding="0" cellspacing="0" bgcolor="white" style="background-color: white; border: 1px solid #aaaaaa;"> | ||
| <tr> | ||
| <td width="100%"> | ||
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td style="padding: 10px 30px 0px;"> | ||
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td> | ||
| <table cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td> | ||
| <img src="${shareUrl}/res/components/site-finder/images/site-64.png" alt="" width="64" height="64" border="0" style="padding-right: 20px;" /> | ||
| </td> | ||
| <td> | ||
| <div style="font-size: 22px; padding-bottom: 4px;"> | ||
| È stato ricevuto un invito a partecipare al '${args["siteName"]}' Sito | ||
| </div> | ||
| <div style="font-size: 13px;"> | ||
| ${date?datetime?string.full} | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| <div style="font-size: 14px; margin: 12px 0px 24px 0px; padding-top: 10px; border-top: 1px solid #aaaaaa;"> | ||
| <p>Caro ${inviteePerson.properties["cm:firstName"]!""},</p> | ||
|
|
||
| <p>${inviterPerson.properties["cm:firstName"]!""} ${inviterPerson.properties["cm:lastName"]!""} | ||
| ti ha inviatato a partecipare al sito ${args["siteName"]} con il ruolo di ${args["inviteeSiteRole"]}.</p> | ||
|
|
||
| <p>Fare clic sul collegamento per accettare l’invito dell'${inviterPerson.properties["cm:firstName"]!""}':<br /> | ||
| <br /><a href="${args["acceptLink"]}">${args["acceptLink"]}</a></p> | ||
|
|
||
| <#if args["inviteeGenPassword"]?exists> | ||
| <p>Account creato. I dettagli di accesso sono:<br /> | ||
| <br />Nome utente: ${args["inviteeUserName"]} | ||
| <br />Password: ${args["inviteeGenPassword"]} | ||
| </p> | ||
|
|
||
| <p>Si consiglia di cambiare la password quando si effettua l'eccesso per la prima volta. | ||
| È possibile effettuare questa operazione andando a <b>Il mio profilo</b> e selezionando <b>Cambia password</b>.</p> | ||
| </#if> | ||
|
|
||
| <p>Per rifiutare l’invito dell’${inviterPerson.properties["cm:firstName"]!""}, fare clic su questo collegamento:<br /> | ||
| <br /><a href="${args["rejectLink"]}">${args["rejectLink"]}</a></p> | ||
|
|
||
| <p>Cordiali saluti,<br /> | ||
| Alfresco ${productName!""}</p> | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <div style="border-top: 1px solid #aaaaaa;"> </div> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td style="padding: 0px 30px; font-size: 13px;"> | ||
| Per ulteriori informazioni su Alfresco ${productName!""} visitare il sito Web <a href="http://www.alfresco.com">http://www.alfresco.com</a> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <div style="border-bottom: 1px solid #aaaaaa;"> </div> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td style="padding: 10px 30px;"> | ||
| <img src="${shareUrl}/themes/default/images/app-logo.png" alt="" width="117" height="48" border="0" /> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,98 @@ | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
| <html xmlns="http://www.w3.org/1999/xhtml"> | ||
| <head> | ||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
| <meta name="Generator" content="Alfresco Repository"> | ||
|
|
||
| <style type="text/css"> | ||
| body { | ||
| background-color:#FFFFFF; | ||
| color:#000000; | ||
| } | ||
| * { | ||
| font-family:Verdana,Arial,sans-serif; | ||
| font-size:11px; | ||
| } | ||
| h1 { | ||
| text-align:left; | ||
| font-size:15px; | ||
| } | ||
| h2 { | ||
| text-align:left; | ||
| font-size:13px; | ||
| } | ||
| fieldset { | ||
| border:1px dotted #555555; | ||
| margin:15px 5px 15px 5px; | ||
| } | ||
| fieldset legend { | ||
| font-weight:bold; | ||
| border:1px dotted #555555; | ||
| background-color: #FFFFFF; | ||
| padding:7px; | ||
| } | ||
| .links { | ||
| border:0; | ||
| border-collapse:collapse; | ||
| width:99%; | ||
| } | ||
| .links td { | ||
| border:0; | ||
| padding:5px; | ||
| } | ||
| .description { | ||
| border:0; | ||
| border-collapse:collapse; | ||
| width:99%; | ||
| } | ||
| .description td { | ||
| /*border:1px dotted #555555;*/ | ||
| padding:5px; | ||
| } | ||
| #start_workflow input, #start_workflow select, #start_workflow textarea | ||
| { | ||
| border:1px solid #555555; | ||
| } | ||
| </style> | ||
| </head> | ||
| <body> | ||
| <hr/> | ||
| <h1> Dokument (Name): ${document.name} </h1> | ||
| <hr/> | ||
| <fieldset> | ||
| <legend> Metadata </legend> | ||
| <table class="description"> | ||
| <#if document.properties.title?exists> | ||
| <tr><td valign="top">Titel:</td><td>${document.properties.title}</td></tr> | ||
| <#else> | ||
| <tr><td valign="top">Titel:</td><td> </td></tr> | ||
| </#if> | ||
| <#if document.properties.description?exists> | ||
| <tr><td valign="top">Beschreibung:</td><td>${document.properties.description}</td></tr> | ||
| <#else> | ||
| <tr><td valign="top">Beschreibung:</td><td> </td></tr> | ||
| </#if> | ||
| <tr><td>Ersteller:</td><td>${document.properties.creator}</td></tr> | ||
| <tr><td>Erstellt am:</td><td>${document.properties.created?datetime}</td></tr> | ||
| <tr><td>Bearbeiter:</td><td>${document.properties.modifier}</td></tr> | ||
| <tr><td>Bearbeitet am:</td><td>${document.properties.modified?datetime}</td></tr> | ||
| <tr><td>Größe:</td><td>${document.size / 1024} Kb</td></tr> | ||
| </table> | ||
| </fieldset> | ||
| <fieldset> | ||
| <legend> Links zum Inhalt </legend> | ||
| <table class="links"> | ||
| <tr> | ||
| <td>Dokumenten Ordner:</td><td><a href="${contentFolderUrl}">${contentFolderUrl}</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>URL zum Inhalt:</td><td><a href="${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}">${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}</a></td> | ||
| </tr> | ||
| <tr> | ||
| <td>Download URL:</td><td><a href="${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true">${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true</a></td> | ||
| </tr> | ||
| </table> | ||
| </fieldset> | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,12 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <component> | ||
| <guid>page.component-1-4.site~swsdp~dashboard</guid> | ||
| <scope>page</scope> | ||
| <region-id>component-1-4</region-id> | ||
| <source-id>site/swsdp/dashboard</source-id> | ||
| <url>/components/dashlets/site-datalists</url> | ||
| <properties> | ||
| <height>110</height> | ||
| </properties> | ||
| </component> |
| @@ -0,0 +1,14 @@ | ||
| <p><img title="undefined" src="/share/proxy/alfresco/api/node/content/workspace/SpacesStore/79a03a3e-a027-4b91-9f14-02b62723591e/GE Logo.png" alt="" /></p> | ||
| <h1><font size="5" color="#457F32">Wiki Pages for the new corporate web site design project</font></h1> | ||
| <p> </p> | ||
| <p><font size="4">Links to other wiki pages:</font></p> | ||
| <ul> | ||
| <li><font size="4"><a href="/share/page/site/swsdp/wiki-page?title=Meetings&listViewLinkBack=true">Meeting Reports</a></font></li> | ||
| <li><font size="4"><a href="/share/page/site/swsdp/wiki-page?title=Milestones">Project Milestones</a></font></li> | ||
| </ul> | ||
| <p><font size="4">Links to key documents:</font></p> | ||
| <ul> | ||
| <li><font size="4"><a href="/share/page/site/swsdp/document-details?nodeRef=workspace://SpacesStore/7d90c94c-fcf7-4f79-9273-bd1352bbb612">Proposed site wireframe</a></font></li> | ||
| <li><font size="4"><a href="/share/page/site/swsdp/document-details?nodeRef=workspace://SpacesStore/99cb2789-f67e-41ff-bea9-505c138a6b23">Project Overview</a></font></li> | ||
| <li><font size="4"><a href="/share/page/site/swsdp/document-details?nodeRef=workspace://SpacesStore/5515d3e1-bb2a-42ed-833c-52802a367033">Project Objectives</a></font></li> | ||
| </ul> |
| @@ -0,0 +1,2 @@ | ||
| <p>Will we be using free stock images for the web site or will we create custom images?</p> | ||
| <p> </p> |
| @@ -0,0 +1,5 @@ | ||
| <html> | ||
| <body> | ||
| ${status.message} | ||
| </body> | ||
| </html> |
| @@ -0,0 +1,25 @@ | ||
| ------------------------------------------------------------------------------ | ||
| Nome documento: ${document.name} | ||
| ------------------------------------------------------------------------------ | ||
|
|
||
| <#if document.properties.title?exists> | ||
| Titolo: ${document.properties.title} | ||
| <#else> | ||
| Titolo: NESSUNO | ||
| </#if> | ||
| <#if document.properties.description?exists> | ||
| Descrizione: ${document.properties.description} | ||
| <#else> | ||
| Descrizione: NESSUNA | ||
| </#if> | ||
| Autore: ${document.properties.creator} | ||
| Data di creazione: ${document.properties.created?datetime} | ||
| Modificatore: ${document.properties.modifier} | ||
| Data di modifica: ${document.properties.modified?datetime} | ||
| Dimensioni: ${document.size / 1024} Kb | ||
|
|
||
|
|
||
| COLLEGAMENTI DEL CONTENUTO | ||
|
|
||
| URL del contenuto: ${document.shareUrl} | ||
|
|
| @@ -0,0 +1,26 @@ | ||
| ------------------------------------------------------------------------------ | ||
| Nome documento: ${document.name} | ||
| ------------------------------------------------------------------------------ | ||
|
|
||
| <#if document.properties.title?exists> | ||
| Titolo: ${document.properties.title} | ||
| <#else> | ||
| Titolo: NESSUNO | ||
| </#if> | ||
| <#if document.properties.description?exists> | ||
| Descrizione: ${document.properties.description} | ||
| <#else> | ||
| Descrizione: NESSUNO | ||
| </#if> | ||
| Autore: ${document.properties.creator} | ||
| Data di creazione: ${document.properties.created?datetime} | ||
| Modificatore: ${document.properties.modifier} | ||
| Data di modifica: ${document.properties.modified?datetime} | ||
| Dimensioni: ${document.size / 1024} Kb | ||
|
|
||
|
|
||
| Collegamenti del contenuto | ||
|
|
||
| Cartella del contenuto: ${contentFolderUrl} | ||
| URL del contenuto: ${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name} | ||
| URL di download: ${shareContextUrl}/proxy/alfresco/api/node/content/${document.storeType}/${document.storeId}/${document.id}/${document.name}?a=true |
| @@ -0,0 +1,20 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <feed xmlns="http://www.w3.org/2005/Atom"> | ||
| <generator version="${server.version}">Alfresco (${server.edition})</generator> | ||
| <title>Blog query: ${args.q?html}</title> | ||
| <updated>${xmldate(date)}</updated> | ||
| <icon>${absurl(url.context)}/images/logo/AlfrescoLogo16.ico</icon> | ||
| <#list resultset as node> | ||
| <entry> | ||
| <title>${node.name}</title> | ||
| <link rel="alternate" href="${absurl(url.serviceContext)}/api/node/content/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/${node.name?url}"/> | ||
| <icon>${absurl(url.context)}${node.icon16}</icon> | ||
| <id>urn:uuid:${node.id}</id> | ||
| <updated>${xmldate(node.properties.modified)}</updated> | ||
| <summary>${node.properties.description!""}</summary> | ||
| <author> | ||
| <name>${node.properties.creator}</name> | ||
| </author> | ||
| </entry> | ||
| </#list> | ||
| </feed> |
| @@ -0,0 +1,12 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <component> | ||
| <guid>page.component-2-1.site~swsdp~dashboard</guid> | ||
| <scope>page</scope> | ||
| <region-id>component-2-2</region-id> | ||
| <source-id>site/swsdp/dashboard</source-id> | ||
| <url>/components/dashlets/docsummary</url> | ||
| <properties> | ||
| <height>165</height> | ||
| </properties> | ||
| </component> |
| @@ -0,0 +1,98 @@ | ||
| <html> | ||
| <head> | ||
| <style type="text/css"><!-- | ||
| body | ||
| { | ||
| font-family: Arial, sans-serif; | ||
| font-size: 14px; | ||
| color: #4c4c4c; | ||
| } | ||
|
|
||
| a, a:visited | ||
| { | ||
| color: #0072cf; | ||
| } | ||
| --></style> | ||
| </head> | ||
|
|
||
| <body bgcolor="#dddddd"> | ||
| <table width="100%" cellpadding="20" cellspacing="0" border="0" bgcolor="#dddddd"> | ||
| <tr> | ||
| <td width="100%" align="center"> | ||
| <table width="70%" cellpadding="0" cellspacing="0" bgcolor="white" style="background-color: white; border: 1px solid #aaaaaa;"> | ||
| <tr> | ||
| <td width="100%"> | ||
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td style="padding: 10px 30px 0px;"> | ||
| <table width="100%" cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td> | ||
| <table cellpadding="0" cellspacing="0" border="0"> | ||
| <tr> | ||
| <td> | ||
| <img src="${shareUrl}/res/components/images/no-user-photo-64.png" alt="" width="64" height="64" border="0" style="padding-right: 20px;" /> | ||
| </td> | ||
| <td> | ||
| <div style="font-size: 22px; padding-bottom: 4px;"> | ||
| Votre nouveau compte Alfresco ${productName!""} | ||
| </div> | ||
| <div style="font-size: 13px;"> | ||
| ${date?datetime?string.full} | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| <div style="font-size: 14px; margin: 12px 0px 24px 0px; padding-top: 10px; border-top: 1px solid #aaaaaa;"> | ||
| <p>Bonjour ${firstname},</p> | ||
|
|
||
| <p>${creator.firstname} ${creator.lastname} a créé un compte Alfresco ${productName!""} pour vous.</p> | ||
|
|
||
| <p>Cliquez sur ce lien pour vous connecter :<br /> | ||
| <br /><a href="${shareUrl}">${shareUrl}</a></p> | ||
|
|
||
| <p>Vos informations de connexion sont les suivantes :<br /> | ||
| <br />Nom d'utilisateur : <b>${username}</b> | ||
| <br />Mot de passe : <b>${password}</b> | ||
| </p> | ||
|
|
||
| <p><b>Nous vous conseillons vivement de modifier votre mot de passe lors de votre première connexion.</b><br /> | ||
| Pour ce faire, sélectionnez <b>Mon profil</b>, puis <b>Changer de mot de passe</b>.</p> | ||
|
|
||
| <p>Cordialement,<br /> | ||
| Alfresco ${productName!""}</p> | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <div style="border-top: 1px solid #aaaaaa;"> </div> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td style="padding: 0px 30px; font-size: 13px;"> | ||
| Pour en savoir plus sur Alfresco ${productName!""}, visitez notre site Web <a href="http://www.alfresco.com">http://www.alfresco.com</a> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td> | ||
| <div style="border-bottom: 1px solid #aaaaaa;"> </div> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td style="padding: 10px 30px;"> | ||
| <img src="${shareUrl}/themes/default/images/app-logo.png" alt="" width="117" height="48" border="0" /> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </body> | ||
| </html> |