mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
edit offline page
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8181 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
61
source/web/jsp/coci/edit-offline-file.jsp
Normal file
61
source/web/jsp/coci/edit-offline-file.jsp
Normal file
@@ -0,0 +1,61 @@
|
||||
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
|
||||
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
|
||||
<%@taglib prefix="a" uri="/WEB-INF/alfresco.tld" %>
|
||||
<%@taglib prefix="c" uri="/WEB-INF/c.tld" %>
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
setTimeout("document.location.href=" + "\'" + document.getElementById("url") + "\'", 10000);
|
||||
//-->
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function timer(second)
|
||||
{
|
||||
document.getElementById("time").innerHTML = second;
|
||||
second--;
|
||||
if (second >=0)
|
||||
{
|
||||
window.setTimeout('timer('+second+')', 1000);
|
||||
}
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
|
||||
<f:verbatim>
|
||||
<body onload="timer(10)">
|
||||
|
||||
</f:verbatim><h:outputText value="#{msg.offline_download_first}"/>
|
||||
|
||||
<f:verbatim> <b id="time">10</b> </f:verbatim>
|
||||
|
||||
<h:outputText value="#{msg.offline_download_second}"/><f:verbatim> </f:verbatim>
|
||||
<a:actionLink id="url" style="text-decoration: underline;" value="#{msg.click_here}" href="#{CCProperties.document.properties.url}"/>
|
||||
|
||||
<f:verbatim><br/><br/>
|
||||
|
||||
</f:verbatim><h:outputText value="#{msg.offline_download_third}"/><f:verbatim> </f:verbatim>
|
||||
|
||||
<a:actionLink value="#{msg.click_here}"
|
||||
action="dialog:userConsole"
|
||||
actionListener="#{UsersDialog.setupUserAction}"
|
||||
style="text-decoration: underline;">
|
||||
<f:param name="id" value="#{NavigationBean.currentUser.person.id}" />
|
||||
</a:actionLink>
|
||||
|
||||
<f:verbatim><br/><br/> </f:verbatim>
|
||||
|
||||
<h:graphicImage url="/images/icons/Help_icon.gif" alt="#{msg.help}"/><f:verbatim> </f:verbatim>
|
||||
<h:outputText value="#{msg.offline_help}"/><f:verbatim> </f:verbatim>
|
||||
<a:actionLink style="text-decoration: underline;" value="#{msg.click_here}" action="dialog:aboutOfflineEdit"/>
|
||||
|
||||
<f:verbatim>
|
||||
<br/>
|
||||
</f:verbatim>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user