ALF-14382: Remove source for MS Office Add-in
- As requested by Richard Esplin, with directions from Mike - Let's see what build script breaks next! git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@37344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
@@ -1,145 +0,0 @@
|
||||
##
|
||||
## Microsoft Office Add-In Messages
|
||||
##
|
||||
# Page Titles
|
||||
office.title.my_alfresco=My Alfresco
|
||||
office.title.navigation=Browse Spaces and Documents
|
||||
office.title.search=Search Alfresco
|
||||
office.title.document_details=Document Details
|
||||
office.title.my_tasks=My Tasks
|
||||
office.title.document_tags=Document Tags
|
||||
|
||||
# Help
|
||||
office.help.title=Online Help
|
||||
office.help.url=http://docs.alfresco.com/{0}.{1}/topic/com.alfresco.{2}_{0}_{1}_0.doc/concepts/MSAddin-using.html
|
||||
|
||||
# Headers and Subheaders
|
||||
office.header.my_checked_out_documents=My Checked Out Documents
|
||||
office.header.my_tasks=My Tasks
|
||||
office.header.current_space=Current Space
|
||||
office.header.spaces_in=Spaces in {0}
|
||||
office.header.documents_in=Documents in {0}
|
||||
office.header.document_actions=Document Actions
|
||||
office.header.actions=Actions
|
||||
office.header.details=Current Document Details
|
||||
office.header.document_tags=Document Tags
|
||||
office.header.document_tags.for=Document Tags for {0}
|
||||
office.header.version_history=Version History
|
||||
office.header.version_history.for=Version History for {0}
|
||||
office.header.search=Search
|
||||
office.header.task_details=Task Details
|
||||
office.header.tag_cloud=Tag Cloud
|
||||
office.header.tagged=Tagged Documents
|
||||
|
||||
# Document Status
|
||||
office.status.locked=Locked
|
||||
|
||||
# Actions
|
||||
office.action.add_tag=Add a tag
|
||||
office.action.remove_tag=Remove tag "{0}"
|
||||
office.action.download=Download {0}
|
||||
office.action.open=Open {0}
|
||||
office.action.make_versionable=Make Versionable
|
||||
office.action.compare_current=Compare with current
|
||||
office.action.checkin=Check In
|
||||
office.action.checkin.description=Check in the current document.
|
||||
office.action.checkout=Check Out
|
||||
office.action.checkout.description=Check out the current document to a working copy.
|
||||
office.action.start_workflow=Start Workflow
|
||||
office.action.start_workflow.description=Start Advanced Workflow for the current document.
|
||||
office.action.transform_pdf=Transform to PDF
|
||||
office.action.transform_pdf.description=Transform to Adobe PDF format.
|
||||
office.action.open_details=Open Full Details
|
||||
office.action.open_details.description=Open the document details in Alfresco Explorer.
|
||||
office.action.save_to_alfresco=Save To Alfresco
|
||||
office.action.save_to_alfresco.description=Allows you to place the current document under Alfresco management.
|
||||
office.action.insert=Insert File into Current Document
|
||||
office.action.create_collaboration_space=Create Collaboration Space
|
||||
office.action.create_collaboration_space.description=Create a new Collaboration Space in the Alfresco Repository.
|
||||
office.action.launch_alfresco=Launch Alfresco
|
||||
office.action.launch_alfresco.description=Start the Alfresco Explorer Web Client.
|
||||
office.action.userhome=To User Home Space
|
||||
office.action.parent_space=Up to Parent Space
|
||||
office.action.create_space=Create New Space
|
||||
office.action.create_collaboration_space=Create New Collaboration Space
|
||||
office.action.delete=Delete
|
||||
office.action.return_search=Back to Search Results
|
||||
office.action.return_search.description=Return to the Search Tab
|
||||
office.action.manage_task=Manage
|
||||
|
||||
# Buttons
|
||||
office.button.submit=Submit
|
||||
office.button.cancel=Cancel
|
||||
office.button.ok=OK
|
||||
office.button.search=Search
|
||||
|
||||
# Messages
|
||||
office.message.unmanaged=The current document is not managed by Alfresco.
|
||||
office.message.unversioned=The current document is not versioned.
|
||||
office.message.none=None
|
||||
office.message.no_documents=No documents
|
||||
office.message.no_due_date=No due date
|
||||
office.message.no_tasks=No tasks
|
||||
office.message.no_subspaces=No subspaces
|
||||
office.message.search_for=Search for
|
||||
office.message.results_max.before=Return a maximum of
|
||||
office.message.results_max.after=items
|
||||
office.message.no_results=No results found
|
||||
office.message.confirm_delete=Are you sure you want to delete this document?
|
||||
office.message.enter_workflow_details=Enter new workflow details below
|
||||
office.message.workflow_action_complete=Workflow action ''{0}'' completed.
|
||||
|
||||
# Properties
|
||||
office.property.title=Title
|
||||
office.property.description=Description
|
||||
office.property.creator=Creator
|
||||
office.property.created=Created
|
||||
office.property.modifier=Modifier
|
||||
office.property.modified=Modified
|
||||
office.property.size=Size
|
||||
office.property.categories=Categories
|
||||
office.property.author=Author
|
||||
office.property.date=Date
|
||||
office.property.due_date=Due date
|
||||
office.property.name=Name
|
||||
office.property.template=Template
|
||||
office.property.filename=Document filename
|
||||
office.property.workflow=Workflow
|
||||
office.property.assign_to=Assign to
|
||||
office.property.due_on=Due on
|
||||
office.property.status=Status
|
||||
office.property.priority=Priority
|
||||
office.property.start_date=Start Date
|
||||
office.property.type=Type
|
||||
office.property.complete=Complete
|
||||
|
||||
# Workflow
|
||||
office.workflow.review=Review and Approve
|
||||
office.workflow.adhoc=Adhoc Task
|
||||
|
||||
# Result messages
|
||||
office.result.failed=Action failed
|
||||
office.result.convert.failed=Could not convert document
|
||||
office.result.converted=Document converted
|
||||
office.result.delete.failed=Could not delete document
|
||||
office.result.deleted=Document deleted
|
||||
office.result.checkout.failed=Could not checkout document
|
||||
office.result.checked_out=Document checked out
|
||||
office.result.checkin.failed=Could not checkin document
|
||||
office.result.checked_in=Document checked in
|
||||
office.result.version.failed=Could not version document
|
||||
office.result.versioned=Document versioned
|
||||
office.result.workflow_started=New workflow started
|
||||
office.result.unknown=Unknown action
|
||||
office.result.exception=Action failed due to exception
|
||||
office.result.create_space.failed=Could not create space
|
||||
office.result.create_space.missing_name=Space must have a Name
|
||||
office.result.space_created=New space created
|
||||
office.result.user_not_found=User Not Found
|
||||
|
||||
# Miscellaneous
|
||||
office.unit.kb=KB
|
||||
office.version.notes=Notes
|
||||
office.task.overdue=overdue
|
||||
office.task.due_today=due today
|
||||
office.tip.task_item=Task item
|
@@ -1,145 +0,0 @@
|
||||
##
|
||||
##Microsoft Office Add-In Messages
|
||||
##
|
||||
#Page Titles
|
||||
office.title.my_alfresco=Mein Alfresco
|
||||
office.title.navigation=Arbeitsbereiche und Dokumente durchsuchen
|
||||
office.title.search=Alfresco durchsuchen
|
||||
office.title.document_details=Dokumentendetails
|
||||
office.title.my_tasks=Meine Aufgaben
|
||||
office.title.document_tags=Dokumenten-Tags
|
||||
|
||||
#Help
|
||||
office.help.title=Online Hilfe
|
||||
office.help.url=http://docs.alfresco.com/{0}.{1}/topic/com.alfresco.{2}_{0}_{1}_0.doc/concepts/MSAddin-using.html
|
||||
|
||||
#Headers and Subheaders
|
||||
office.header.my_checked_out_documents=Meine ausgecheckten Dokumente
|
||||
office.header.my_tasks=Meine Aufgaben
|
||||
office.header.current_space=Aktueller Arbeitsbereich
|
||||
office.header.spaces_in=Arbeitsbereiche in {0}
|
||||
office.header.documents_in=Dokumente in {0}
|
||||
office.header.document_actions=Dokumentenaktionen
|
||||
office.header.actions=Aktionen
|
||||
office.header.details=Details des aktuellen Dokuments
|
||||
office.header.document_tags=Dokumenten-Tags
|
||||
office.header.document_tags.for=Dokumenten-Tags f\u00fcr {0}
|
||||
office.header.version_history=Versionsverlauf
|
||||
office.header.version_history.for=Versionsverlauf f\u00fcr {0}
|
||||
office.header.search=Suche
|
||||
office.header.task_details=Aufgabendetails
|
||||
office.header.tag_cloud=Tag Cloud
|
||||
office.header.tagged=Getaggde Dokumente
|
||||
|
||||
#Document Status
|
||||
office.status.locked=Gesperrt
|
||||
|
||||
#Actions
|
||||
office.action.add_tag=Einen Tag hinzuf\u00fcgen
|
||||
office.action.remove_tag=Tag ''{0}'' entfernen
|
||||
office.action.download={0} downloaden
|
||||
office.action.open={0} \u00f6ffnen
|
||||
office.action.make_versionable=Versionierbar machen
|
||||
office.action.compare_current=Mit aktuellem vergleichen
|
||||
office.action.checkin=Einchecken
|
||||
office.action.checkin.description=Aktuelles Dokument einchecken.
|
||||
office.action.checkout=Auschecken
|
||||
office.action.checkout.description=Aktuelles Dokument als Arbeitskopie auschecken.
|
||||
office.action.start_workflow=Workflow starten
|
||||
office.action.start_workflow.description=Erweiterten Workflow f\u00fcr aktuelles Dokument starten.
|
||||
office.action.transform_pdf=In PDF umwandeln.
|
||||
office.action.transform_pdf.description=In Adobe PDF-Format umwandeln.
|
||||
office.action.open_details=Alle Details \u00f6ffnen
|
||||
office.action.open_details.description=Dokumentendetails in Alfresco Explorer \u00f6ffnen.
|
||||
office.action.save_to_alfresco=In Alfresco speichern
|
||||
office.action.save_to_alfresco.description=L\u00e4sst zu, dass Sie das aktuelle Dokument unter Alfresco Management ablegen.
|
||||
office.action.insert=Datei in aktuelles Dokument einf\u00fcgen
|
||||
office.action.create_collaboration_space=Collaboration-Arbeitsbereich erstellen
|
||||
office.action.create_collaboration_space.description=Einen neuen Collaborations-Arbeitsbereich im Alfresco Repository erstellen.
|
||||
office.action.launch_alfresco=Alfresco starten
|
||||
office.action.launch_alfresco.description=Alfresco Explorer Web Client starten.
|
||||
office.action.userhome=Zum Home Arbeitsbereich des Benutzers
|
||||
office.action.parent_space=Nach oben in den Eltern-Arbeitsbereich
|
||||
office.action.create_space=Neuen Arbeitsbereich erstellen
|
||||
office.action.create_collaboration_space=Neuen Collaborations-Arbeitsbereich erstellen
|
||||
office.action.delete=L\u00f6schen
|
||||
office.action.return_search=Zur\u00fcck zu Suchergebnissen
|
||||
office.action.return_search.description=Zur\u00fcck zum Such-Tab
|
||||
office.action.manage_task=Verwalten
|
||||
|
||||
#Buttons
|
||||
office.button.submit=Vorlegen
|
||||
office.button.cancel=Abbrechen
|
||||
office.button.ok=OK
|
||||
office.button.search=Suche
|
||||
|
||||
#Messages
|
||||
office.message.unmanaged=Das aktuelle Dokument wird nicht von Alfresco verwaltet.
|
||||
office.message.unversioned=Das aktuelle Dokument ist nicht versioniert.
|
||||
office.message.none=Keine
|
||||
office.message.no_documents=Keine Dokumente
|
||||
office.message.no_due_date=Kein F\u00e4lligkeitsdatum
|
||||
office.message.no_tasks=Keine Aufgaben
|
||||
office.message.no_subspaces=Keine untergeordneten Arbeitsbereiche
|
||||
office.message.search_for=Suchen nach
|
||||
office.message.results_max.before=Maximal anzeigen
|
||||
office.message.results_max.after=Elemente
|
||||
office.message.no_results=Keine Ergebnisse gefunden
|
||||
office.message.confirm_delete=Wollen Sie dieses Dokument wirklich l\u00f6schen?
|
||||
office.message.enter_workflow_details=Neue Details f\u00fcr den Workflow untenstehend eingeben
|
||||
office.message.workflow_action_complete=Workflow-Aktion ''{0}'' abgeschlossen.
|
||||
|
||||
#Properties
|
||||
office.property.title=Titel
|
||||
office.property.description=Beschreibung
|
||||
office.property.creator=Ersteller
|
||||
office.property.created=Angelegt
|
||||
office.property.modifier=Bearbeiter
|
||||
office.property.modified=Ge\u00e4ndert
|
||||
office.property.size=Gr\u00f6\u00dfe
|
||||
office.property.categories=Kategorien
|
||||
office.property.author=Autor
|
||||
office.property.date=Datum
|
||||
office.property.due_date=F\u00e4lligkeitsdatum
|
||||
office.property.name=Name
|
||||
office.property.template=Mustervorlage
|
||||
office.property.filename=Dateiname des Dokuments
|
||||
office.property.workflow=Workflow
|
||||
office.property.assign_to=Zuweisen
|
||||
office.property.due_on=F\u00e4llig am
|
||||
office.property.status=Status
|
||||
office.property.priority=Priorit\u00e4t
|
||||
office.property.start_date=Anfangsdatum
|
||||
office.property.type=Typ
|
||||
office.property.complete=Abschlie\u00dfen
|
||||
|
||||
#Workflow
|
||||
office.workflow.review=\u00dcberpr\u00fcfen und zustimmen
|
||||
office.workflow.adhoc=Adhoc Aufgabe
|
||||
|
||||
#Result messages
|
||||
office.result.failed=Aktion fehlgeschlagen
|
||||
office.result.convert.failed=Dokument konnte nicht konvertiert werden
|
||||
office.result.converted=Dokument konvertiert
|
||||
office.result.delete.failed=Dokument konnte nicht gel\u00f6scht werden
|
||||
office.result.deleted=Dokument gel\u00f6scht
|
||||
office.result.checkout.failed=Dokument konnte nicht ausgecheckt werden
|
||||
office.result.checked_out=Dokument ausgescheckt
|
||||
office.result.checkin.failed=Dokument konnte nicht eingecheckt werden
|
||||
office.result.checked_in=Dokument eingecheckt
|
||||
office.result.version.failed=Dokument konnte nicht versioniert werden
|
||||
office.result.versioned=Dokument versioniert
|
||||
office.result.workflow_started=Neuer Workflow gestartet
|
||||
office.result.unknown=Unbekannte Aktion
|
||||
office.result.exception=Aktion aufgrund einer Ausnahme fehlgeschlagen
|
||||
office.result.create_space.failed=Arbeitsbereich konnte nicht erstellt werden
|
||||
office.result.create_space.missing_name=Arbeitsbereich muss \u00fcber einen Namen verf\u00fcgen
|
||||
office.result.space_created=Neuer Arbeitsbereich erstellt
|
||||
office.result.user_not_found=Benutzer nicht gefunden
|
||||
|
||||
#Miscellaneous
|
||||
office.unit.kb=KB
|
||||
office.version.notes=Notizen
|
||||
office.task.overdue=\u00fcberf\u00e4llig
|
||||
office.task.due_today=heute f\u00e4llig
|
||||
office.tip.task_item=Aufgabenelement
|
@@ -1,145 +0,0 @@
|
||||
##
|
||||
##Microsoft Office Add-In Messages
|
||||
##
|
||||
#Page Titles
|
||||
office.title.my_alfresco=Mi Alfresco
|
||||
office.title.navigation=Examinar espacios y documentos
|
||||
office.title.search=Buscar en Alfresco
|
||||
office.title.document_details=Detalles del documento
|
||||
office.title.my_tasks=Mis Tareas
|
||||
office.title.document_tags=Etiquetas de documento
|
||||
|
||||
#Help
|
||||
office.help.title=Ayuda en l\u00ednea
|
||||
office.help.url=http://docs.alfresco.com/{0}.{1}/topic/com.alfresco.{2}_{0}_{1}_0.doc/concepts/MSAddin-using.html
|
||||
|
||||
#Headers and Subheaders
|
||||
office.header.my_checked_out_documents=Mis Documentos bloqueados
|
||||
office.header.my_tasks=Mis Tareas
|
||||
office.header.current_space=Espacio actual
|
||||
office.header.spaces_in=Espacios en {0}
|
||||
office.header.documents_in=Documentos en {0}
|
||||
office.header.document_actions=Acciones sobre el documento
|
||||
office.header.actions=Acciones
|
||||
office.header.details=Detalles del documento actual
|
||||
office.header.document_tags=Etiquetas de documento
|
||||
office.header.document_tags.for=Etiquetas de documento para {0}
|
||||
office.header.version_history=Hist\u00f3rico de versiones
|
||||
office.header.version_history.for=Hist\u00f3rico de versiones para {0}
|
||||
office.header.search=Buscar
|
||||
office.header.task_details=Detalles de la tarea
|
||||
office.header.tag_cloud=Nube de etiquetas
|
||||
office.header.tagged=Documentos etiquetados
|
||||
|
||||
#Document Status
|
||||
office.status.locked=Bloqueado
|
||||
|
||||
#Actions
|
||||
office.action.add_tag=A\u00f1adir una etiqueta
|
||||
office.action.remove_tag=Quitar etiqueta ''{0}''
|
||||
office.action.download=Descargar {0}
|
||||
office.action.open=Abrir {0}
|
||||
office.action.make_versionable=Hacer versionable
|
||||
office.action.compare_current=Comparar con actual
|
||||
office.action.checkin=Desbloquear
|
||||
office.action.checkin.description=Desbloquear el documento actual
|
||||
office.action.checkout=Bloquear
|
||||
office.action.checkout.description=Bloquear el documento actual a una copia de trabajo
|
||||
office.action.start_workflow=Iniciar un flujo de trabajo
|
||||
office.action.start_workflow.description=Iniciar flujo de trabajo avanzado para el documento actual.
|
||||
office.action.transform_pdf=Transformar en PDF
|
||||
office.action.transform_pdf.description=Transformar en formato Adobe PDF.
|
||||
office.action.open_details=Abrir detalles completos
|
||||
office.action.open_details.description=Abrir los detalles del documento en Alfresco Explorer.
|
||||
office.action.save_to_alfresco=Guardar en Alfresco
|
||||
office.action.save_to_alfresco.description=Le permite colocar el documento actual bajo administraci\u00f3n de Alfresco.
|
||||
office.action.insert=Insertar fichero en el documento actual
|
||||
office.action.create_collaboration_space=Crear espacio colaborativo
|
||||
office.action.create_collaboration_space.description=Crear un nuevo espacio colaborativo en el repositorio de Alfresco.
|
||||
office.action.launch_alfresco=Lanzar Alfresco
|
||||
office.action.launch_alfresco.description=Iniciar el cliente Web de Alfresco Explorer.
|
||||
office.action.userhome=Hacia espacio personal de usuario
|
||||
office.action.parent_space=Hasta espacio padre
|
||||
office.action.create_space=Crear nuevo espacio
|
||||
office.action.create_collaboration_space=Crear nuevo espacio colaborativo
|
||||
office.action.delete=Eliminar
|
||||
office.action.return_search=Volver a resultados de b\u00fasqueda
|
||||
office.action.return_search.description=Volver a la pesta\u00f1a de b\u00fasqueda
|
||||
office.action.manage_task=Gestionar
|
||||
|
||||
#Buttons
|
||||
office.button.submit=Enviar
|
||||
office.button.cancel=Cancelar
|
||||
office.button.ok=Aceptar
|
||||
office.button.search=Buscar
|
||||
|
||||
#Messages
|
||||
office.message.unmanaged=El documento actual no est\u00e1 administrado por Alfresco.
|
||||
office.message.unversioned=El documento actual no est\u00e1 versionado.
|
||||
office.message.none=Ninguno
|
||||
office.message.no_documents=No hay documentos
|
||||
office.message.no_due_date=No hay fecha de vencimiento
|
||||
office.message.no_tasks=No hay tareas
|
||||
office.message.no_subspaces=No hay subespacios
|
||||
office.message.search_for=B\u00fasqueda de
|
||||
office.message.results_max.before=Devolver un m\u00e1ximo de
|
||||
office.message.results_max.after=elementos
|
||||
office.message.no_results=Ning\u00fan resultado encontrado
|
||||
office.message.confirm_delete=\u00bfEst\u00e1 seguro de que quiere eliminar este documento?
|
||||
office.message.enter_workflow_details=Introduzca los datos del nuevo flujo de trabajo a continuaci\u00f3n
|
||||
office.message.workflow_action_complete=Acci\u00f3n ''{0}'' del flujo de trabajo completada.
|
||||
|
||||
#Properties
|
||||
office.property.title=T\u00edtulo
|
||||
office.property.description=Descripci\u00f3n
|
||||
office.property.creator=Creador
|
||||
office.property.created=Creado
|
||||
office.property.modifier=Modificador
|
||||
office.property.modified=Modificado
|
||||
office.property.size=Tama\u00f1o
|
||||
office.property.categories=Categor\u00edas
|
||||
office.property.author=Autor
|
||||
office.property.date=Fecha
|
||||
office.property.due_date=Fecha de vencimiento
|
||||
office.property.name=Nombre
|
||||
office.property.template=Plantilla
|
||||
office.property.filename=Nombre de fichero del documento
|
||||
office.property.workflow=Flujo de trabajo
|
||||
office.property.assign_to=Asignar a
|
||||
office.property.due_on=Vencimiento el
|
||||
office.property.status=Estado
|
||||
office.property.priority=Prioridad
|
||||
office.property.start_date=Fecha de inicio
|
||||
office.property.type=Tipo
|
||||
office.property.complete=Completar
|
||||
|
||||
#Workflow
|
||||
office.workflow.review=Revisar y aprobar
|
||||
office.workflow.adhoc=Tarea ad hoc
|
||||
|
||||
#Result messages
|
||||
office.result.failed=Acci\u00f3n fallida
|
||||
office.result.convert.failed=No se pudo convertir el documento
|
||||
office.result.converted=Documento convertido
|
||||
office.result.delete.failed=No se pudo eliminar el documento
|
||||
office.result.deleted=Documento eliminado
|
||||
office.result.checkout.failed=No se pudo bloquear el documento
|
||||
office.result.checked_out=Documento bloqueado
|
||||
office.result.checkin.failed=No se pudo desbloquear el documento
|
||||
office.result.checked_in=Documento desbloqueado
|
||||
office.result.version.failed=No se pudo versionar el documento
|
||||
office.result.versioned=Documento versionado
|
||||
office.result.workflow_started=Nuevo flujo de trabajo iniciado
|
||||
office.result.unknown=Acci\u00f3n desconocida
|
||||
office.result.exception=Acci\u00f3n fallida debido a una excepci\u00f3n
|
||||
office.result.create_space.failed=No se pudo crear el espacio
|
||||
office.result.create_space.missing_name=El espacio debe tener un nombre
|
||||
office.result.space_created=Nuevo espacio creado
|
||||
office.result.user_not_found=Usuario no encontrado
|
||||
|
||||
#Miscellaneous
|
||||
office.unit.kb=KB
|
||||
office.version.notes=Notas
|
||||
office.task.overdue=con retraso
|
||||
office.task.due_today=a completar hoy
|
||||
office.tip.task_item=Elemento de tarea
|
@@ -1,145 +0,0 @@
|
||||
##
|
||||
##Microsoft Office Add-In Messages
|
||||
##
|
||||
#Page Titles
|
||||
office.title.my_alfresco=Mon Alfresco
|
||||
office.title.navigation=Parcourir les espaces et les documents
|
||||
office.title.search=Rechercher sur Alfresco
|
||||
office.title.document_details=D\u00e9tails du document
|
||||
office.title.my_tasks=Mes t\u00e2ches
|
||||
office.title.document_tags=Tags du document
|
||||
|
||||
#Help
|
||||
office.help.title=Aide en Ligne
|
||||
office.help.url=http://docs.alfresco.com/{0}.{1}/topic/com.alfresco.{2}_{0}_{1}_0.doc/concepts/MSAddin-using.html
|
||||
|
||||
#Headers and Subheaders
|
||||
office.header.my_checked_out_documents=Mes copies de travail
|
||||
office.header.my_tasks=Mes t\u00e2ches
|
||||
office.header.current_space=Espace actuel
|
||||
office.header.spaces_in=Espaces dans {0}
|
||||
office.header.documents_in=Documents dans {0}
|
||||
office.header.document_actions=Actions sur le document
|
||||
office.header.actions=Actions
|
||||
office.header.details=D\u00e9tails du document actuel
|
||||
office.header.document_tags=Tags du document
|
||||
office.header.document_tags.for=Tags de document pour {0}
|
||||
office.header.version_history=Historique des versions
|
||||
office.header.version_history.for=Historique des versions pour {0}
|
||||
office.header.search=Rechercher
|
||||
office.header.task_details=D\u00e9tails de la t\u00e2che
|
||||
office.header.tag_cloud=Nuage de tags
|
||||
office.header.tagged=Documents tagg\u00e9s
|
||||
|
||||
#Document Status
|
||||
office.status.locked=Verrouill\u00e9
|
||||
|
||||
#Actions
|
||||
office.action.add_tag=Ajouter un tag
|
||||
office.action.remove_tag=Supprimer le tag ''{0}''
|
||||
office.action.download=T\u00e9l\u00e9charger {0}
|
||||
office.action.open=Ouvrir {0}
|
||||
office.action.make_versionable=Rendre versionnable
|
||||
office.action.compare_current=Comparer avec le document actuel
|
||||
office.action.checkin=R\u00e9server la copie de travail
|
||||
office.action.checkin.description=Lib\u00e9rer le document actuel.
|
||||
office.action.checkout=Lib\u00e9rer une copie de travail
|
||||
office.action.checkout.description=R\u00e9server le document actuel vers une copie de travail.
|
||||
office.action.start_workflow=D\u00e9marrer un workflow
|
||||
office.action.start_workflow.description=D\u00e9marrer le workflow avanc\u00e9 pour le document actuel.
|
||||
office.action.transform_pdf=Transformer en PDF
|
||||
office.action.transform_pdf.description=Transformer au format Adobe PDF.
|
||||
office.action.open_details=Ouvrir tous les d\u00e9tails
|
||||
office.action.open_details.description=Ouvrir les d\u00e9tails du document dans Alfresco Explorer.
|
||||
office.action.save_to_alfresco=Enregistrer dans Alfresco
|
||||
office.action.save_to_alfresco.description=Vous permet de placer le document actuel sous la gestion Alfresco.
|
||||
office.action.insert=Ins\u00e9rer le fichier dans le document actuel
|
||||
office.action.create_collaboration_space=Cr\u00e9er un espace de collaboration
|
||||
office.action.create_collaboration_space.description=Cr\u00e9er un espace de collaboration dans l'entrep\u00f4t Alfresco.
|
||||
office.action.launch_alfresco=Lancer Alfresco
|
||||
office.action.launch_alfresco.description=D\u00e9marrer le client Web Alfresco Explorer.
|
||||
office.action.userhome=Vers l'espace personnel de l'utilisateur
|
||||
office.action.parent_space=Vers l'espace parent
|
||||
office.action.create_space=Cr\u00e9er un espace
|
||||
office.action.create_collaboration_space=Cr\u00e9er un espace de collaboration
|
||||
office.action.delete=Supprimer
|
||||
office.action.return_search=Revenir aux r\u00e9sultats de la recherche
|
||||
office.action.return_search.description=Retourner \u00e0 l'onglet de recherche
|
||||
office.action.manage_task=G\u00e9rer
|
||||
|
||||
#Buttons
|
||||
office.button.submit=Soumettre
|
||||
office.button.cancel=Annuler
|
||||
office.button.ok=OK
|
||||
office.button.search=Rechercher
|
||||
|
||||
#Messages
|
||||
office.message.unmanaged=Le document actuel n'est pas g\u00e9r\u00e9 par Alfresco.
|
||||
office.message.unversioned=Le document actuel n'est pas versionn\u00e9.
|
||||
office.message.none=Aucun
|
||||
office.message.no_documents=Aucun document
|
||||
office.message.no_due_date=Pas de date pr\u00e9vue
|
||||
office.message.no_tasks=Aucune t\u00e2che
|
||||
office.message.no_subspaces=Aucun sous-espace
|
||||
office.message.search_for=RechercherRetourner
|
||||
office.message.results_max.before=Retourner un maximum
|
||||
office.message.results_max.after=d'articles
|
||||
office.message.no_results=Pas de r\u00e9sultat trouv\u00e9
|
||||
office.message.confirm_delete=Etes-vous s\u00fbr de vouloir supprimer ce document ?
|
||||
office.message.enter_workflow_details=Saisir les d\u00e9tails du nouveau workflow ci-dessous
|
||||
office.message.workflow_action_complete=Action de workflow ''{0}'' termin\u00e9e.
|
||||
|
||||
#Properties
|
||||
office.property.title=Titre
|
||||
office.property.description=Description
|
||||
office.property.creator=Cr\u00e9ateur
|
||||
office.property.created=Cr\u00e9\u00e9
|
||||
office.property.modifier=Modificateur
|
||||
office.property.modified=Modifi\u00e9
|
||||
office.property.size=Taille
|
||||
office.property.categories=Cat\u00e9gories
|
||||
office.property.author=Auteur
|
||||
office.property.date=Date
|
||||
office.property.due_date=Date d'\u00e9ch\u00e9ance
|
||||
office.property.name=Nom
|
||||
office.property.template=Mod\u00e8le
|
||||
office.property.filename=Nom de fichier du document
|
||||
office.property.workflow=Workflow
|
||||
office.property.assign_to=Assigner \u00e0
|
||||
office.property.due_on=A \u00e9ch\u00e9ance le
|
||||
office.property.status=Statut
|
||||
office.property.priority=Priorit\u00e9
|
||||
office.property.start_date=Date de D\u00e9but
|
||||
office.property.type=Type
|
||||
office.property.complete=Achev\u00e9
|
||||
|
||||
#Workflow
|
||||
office.workflow.review=R\u00e9viser et approuver
|
||||
office.workflow.adhoc=T\u00e2che Adhoc
|
||||
|
||||
#Result messages
|
||||
office.result.failed=Echec de l'action
|
||||
office.result.convert.failed=Impossible de convertir le document
|
||||
office.result.converted=Document converti
|
||||
office.result.delete.failed=Impossible de supprimer le document
|
||||
office.result.deleted=Document supprim\u00e9
|
||||
office.result.checkout.failed=Impossible de r\u00e9server le document
|
||||
office.result.checked_out=Document r\u00e9serv\u00e9
|
||||
office.result.checkin.failed=Impossible de lib\u00e9rer le document
|
||||
office.result.checked_in=Document lib\u00e9r\u00e9
|
||||
office.result.version.failed=Impossible de versionner le document
|
||||
office.result.versioned=Document versionn\u00e9
|
||||
office.result.workflow_started=Nouveau workflow d\u00e9marr\u00e9
|
||||
office.result.unknown=Action inconnue
|
||||
office.result.exception=Echec de l'action en raison d'une exception
|
||||
office.result.create_space.failed=Cr\u00e9ation de l'espace impossible
|
||||
office.result.create_space.missing_name=L'espace doit comporter un nom
|
||||
office.result.space_created=Espace cr\u00e9\u00e9
|
||||
office.result.user_not_found=Utilisateur introuvable
|
||||
|
||||
#Miscellaneous
|
||||
office.unit.kb=Ko
|
||||
office.version.notes=Notes
|
||||
office.task.overdue=En retard
|
||||
office.task.due_today=\u00e9ch\u00e9ance \u00e0 ce jour
|
||||
office.tip.task_item=El\u00e9ment de t\u00e2che
|
@@ -1,145 +0,0 @@
|
||||
##
|
||||
##Microsoft Office Add-In Messages
|
||||
##
|
||||
#Page Titles
|
||||
office.title.my_alfresco=Il mio Alfresco
|
||||
office.title.navigation=Sfoglia spazi e documenti
|
||||
office.title.search=Cerca in Alfresco
|
||||
office.title.document_details=Dettagli documento
|
||||
office.title.my_tasks=I miei compiti
|
||||
office.title.document_tags=Tag documento
|
||||
|
||||
#Help
|
||||
office.help.title=Aiuto online
|
||||
office.help.url=http://docs.alfresco.com/{0}.{1}/topic/com.alfresco.{2}_{0}_{1}_0.doc/concepts/MSAddin-using.html
|
||||
|
||||
#Headers and Subheaders
|
||||
office.header.my_checked_out_documents=I miei documenti sottoposti a Check Out
|
||||
office.header.my_tasks=I miei compiti
|
||||
office.header.current_space=Spazio attuale
|
||||
office.header.spaces_in=Spazi in {0}
|
||||
office.header.documents_in=Documenti in {0}
|
||||
office.header.document_actions=Azioni documento
|
||||
office.header.actions=Azioni
|
||||
office.header.details=Dettagli documento attuale
|
||||
office.header.document_tags=Tag documento
|
||||
office.header.document_tags.for=Tag documento per {0}
|
||||
office.header.version_history=Cronologia versioni
|
||||
office.header.version_history.for=Cronologia delle versioni per {0}
|
||||
office.header.search=Cerca
|
||||
office.header.task_details=Dettagli compito
|
||||
office.header.tag_cloud=Cloud di tag
|
||||
office.header.tagged=Documenti etichettati
|
||||
|
||||
#Document Status
|
||||
office.status.locked=Bloccato
|
||||
|
||||
#Actions
|
||||
office.action.add_tag=Aggiungi un tag
|
||||
office.action.remove_tag=Rimuovi il tag ''{0}''
|
||||
office.action.download=Scarica {0}
|
||||
office.action.open=Apri {0}
|
||||
office.action.make_versionable=Applica aspetto Versionable
|
||||
office.action.compare_current=Confronta con attuale
|
||||
office.action.checkin=Check In
|
||||
office.action.checkin.description=Esegue il Check In del documento attuale.
|
||||
office.action.checkout=Check Out
|
||||
office.action.checkout.description=Esegue il Check Out del documento attuale in una copia di lavoro.
|
||||
office.action.start_workflow=Avvia workflow
|
||||
office.action.start_workflow.description=Avvia un workflow avanzato per il documento attuale.
|
||||
office.action.transform_pdf=Trasforma in PDF
|
||||
office.action.transform_pdf.description=Esegue una trasformazione nel formato Adobe PDF.
|
||||
office.action.open_details=Apri dettagli completi
|
||||
office.action.open_details.description=Apre i dettagli del documento in Alfresco Explorer.
|
||||
office.action.save_to_alfresco=Salva in Alfresco
|
||||
office.action.save_to_alfresco.description=Consente di includere il documento attuale nella gestione di Alfresco.
|
||||
office.action.insert=Inserisci file nel documento attuale
|
||||
office.action.create_collaboration_space=Crea spazio di collaborazione
|
||||
office.action.create_collaboration_space.description=Crea un nuovo spazio di collaborazione nel repository Alfresco.
|
||||
office.action.launch_alfresco=Avvia Alfresco
|
||||
office.action.launch_alfresco.description=Avvia il client web Alfresco Explorer.
|
||||
office.action.userhome=Allo spazio di homepage dell'utente
|
||||
office.action.parent_space=Allo spazio genitore
|
||||
office.action.create_space=Crea nuovo spazio
|
||||
office.action.create_collaboration_space=Crea nuovo spazio di collaborazione
|
||||
office.action.delete=Elimina
|
||||
office.action.return_search=Torna ai risultati della ricerca
|
||||
office.action.return_search.description=Torna alla scheda di ricerca
|
||||
office.action.manage_task=Gestisci
|
||||
|
||||
#Buttons
|
||||
office.button.submit=Invia
|
||||
office.button.cancel=Annulla
|
||||
office.button.ok=OK
|
||||
office.button.search=Cerca
|
||||
|
||||
#Messages
|
||||
office.message.unmanaged=Il documento attuale non \u00e8 gestito da Alfresco.
|
||||
office.message.unversioned=Il documento attuale non \u00e8 sottoposto alla gestione delle versioni.
|
||||
office.message.none=Nessuno
|
||||
office.message.no_documents=Nessun documento
|
||||
office.message.no_due_date=Nessuna data di scadenza
|
||||
office.message.no_tasks=Nessun compito
|
||||
office.message.no_subspaces=Nessun sottospazio
|
||||
office.message.search_for=Cerca
|
||||
office.message.results_max.before=Restituisci massimo
|
||||
office.message.results_max.after=elementi
|
||||
office.message.no_results=Nessun risultato trovato
|
||||
office.message.confirm_delete=Eliminare questo documento?
|
||||
office.message.enter_workflow_details=Immettere i dettagli del nuovo workflow di seguito
|
||||
office.message.workflow_action_complete=L''azione del workflow ''{0}'' \u00e8 stata completata.
|
||||
|
||||
#Properties
|
||||
office.property.title=Titolo
|
||||
office.property.description=Descrizione
|
||||
office.property.creator=Creatore
|
||||
office.property.created=Creato
|
||||
office.property.modifier=Modificatore
|
||||
office.property.modified=Modificato
|
||||
office.property.size=Dimensioni
|
||||
office.property.categories=Categorie
|
||||
office.property.author=Autore
|
||||
office.property.date=Data
|
||||
office.property.due_date=Data di scadenza
|
||||
office.property.name=Nome
|
||||
office.property.template=Modello
|
||||
office.property.filename=Nome file documento
|
||||
office.property.workflow=Workflow
|
||||
office.property.assign_to=Assegna a
|
||||
office.property.due_on=Scade il
|
||||
office.property.status=Stato
|
||||
office.property.priority=Priorit\u00e0
|
||||
office.property.start_date=Data di inizio
|
||||
office.property.type=Tipo
|
||||
office.property.complete=Completato
|
||||
|
||||
#Workflow
|
||||
office.workflow.review=Esamina e approva
|
||||
office.workflow.adhoc=Compito ad-hoc
|
||||
|
||||
#Result messages
|
||||
office.result.failed=Azione non riuscita
|
||||
office.result.convert.failed=Impossibile convertire il documento
|
||||
office.result.converted=Documento convertito
|
||||
office.result.delete.failed=Impossibile eliminare il documento
|
||||
office.result.deleted=Documento eliminato
|
||||
office.result.checkout.failed=Impossibile eseguire il Check Out del documento
|
||||
office.result.checked_out=Documento sottoposto a Check Out
|
||||
office.result.checkin.failed=Impossibile eseguire il Check In del documento
|
||||
office.result.checked_in=Documento sottoposto a Check In
|
||||
office.result.version.failed=Impossibile gestire le versioni per il documento
|
||||
office.result.versioned=Documento sottoposto alla gestione delle versioni
|
||||
office.result.workflow_started=Nuovo workflow avviato
|
||||
office.result.unknown=Azione sconosciuta
|
||||
office.result.exception=Azione non riuscita a causa di un'eccezione
|
||||
office.result.create_space.failed=Impossibile creare lo spazio
|
||||
office.result.create_space.missing_name=Lo spazio deve disporre di un nome
|
||||
office.result.space_created=Nuovo spazio creato
|
||||
office.result.user_not_found=Utente non trovato
|
||||
|
||||
#Miscellaneous
|
||||
office.unit.kb=KB
|
||||
office.version.notes=Note
|
||||
office.task.overdue=scaduti
|
||||
office.task.due_today=in scadenza oggi
|
||||
office.tip.task_item=Elemento compito
|
@@ -1,145 +0,0 @@
|
||||
##
|
||||
##Microsoft Office Add-In Messages
|
||||
##
|
||||
#Page Titles
|
||||
office.title.my_alfresco=\u3042\u306a\u305f\u306eAlfresco
|
||||
office.title.navigation=\u30b9\u30da\u30fc\u30b9\u3068\u6587\u66f8\u306e\u95b2\u89a7
|
||||
office.title.search=Alfresco\u306e\u691c\u7d22
|
||||
office.title.document_details=\u6587\u66f8\u306e\u8a73\u7d30
|
||||
office.title.my_tasks=\u3042\u306a\u305f\u306e\u30bf\u30b9\u30af
|
||||
office.title.document_tags=\u6587\u66f8\u30bf\u30b0
|
||||
|
||||
#Help
|
||||
office.help.title=\u30aa\u30f3\u30e9\u30a4\u30f3\u30d8\u30eb\u30d7
|
||||
office.help.url=http://docs.alfresco.com/{0}.{1}/topic/com.alfresco.{2}_{0}_{1}_0.doc/concepts/MSAddin-using.html
|
||||
|
||||
#Headers and Subheaders
|
||||
office.header.my_checked_out_documents=\u3042\u306a\u305f\u306e\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u6e08\u307f\u6587\u66f8
|
||||
office.header.my_tasks=\u3042\u306a\u305f\u306e\u30bf\u30b9\u30af
|
||||
office.header.current_space=\u73fe\u5728\u306e\u30b9\u30da\u30fc\u30b9
|
||||
office.header.spaces_in={0} \u306e\u30b9\u30da\u30fc\u30b9
|
||||
office.header.documents_in={0} \u306e\u6587\u66f8
|
||||
office.header.document_actions=\u6587\u66f8\u5411\u3051\u30a2\u30af\u30b7\u30e7\u30f3
|
||||
office.header.actions=\u30a2\u30af\u30b7\u30e7\u30f3
|
||||
office.header.details=\u73fe\u5728\u306e\u6587\u66f8\u306e\u8a73\u7d30
|
||||
office.header.document_tags=\u6587\u66f8\u30bf\u30b0
|
||||
office.header.document_tags.for={0} \u306e\u6587\u66f8\u30bf\u30b0
|
||||
office.header.version_history=\u30d0\u30fc\u30b8\u30e7\u30f3\u5c65\u6b74
|
||||
office.header.version_history.for={0} \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u5c65\u6b74
|
||||
office.header.search=\u691c\u7d22
|
||||
office.header.task_details=\u30bf\u30b9\u30af\u306e\u8a73\u7d30
|
||||
office.header.tag_cloud=\u30bf\u30b0\u30af\u30e9\u30a6\u30c9
|
||||
office.header.tagged=\u30bf\u30b0\u4ed8\u304d\u6587\u66f8
|
||||
|
||||
#Document Status
|
||||
office.status.locked=\u30ed\u30c3\u30af\u6e08\u307f
|
||||
|
||||
#Actions
|
||||
office.action.add_tag=\u30bf\u30b0\u306e\u8ffd\u52a0
|
||||
office.action.remove_tag=\u30bf\u30b0''{0}''\u306e\u524a\u9664
|
||||
office.action.download={0} \u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9
|
||||
office.action.open={0} \u3092\u958b\u304f
|
||||
office.action.make_versionable=\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u5bfe\u8c61\u306b\u3059\u308b
|
||||
office.action.compare_current=\u73fe\u5728\u3068\u6bd4\u8f03
|
||||
office.action.checkin=\u30c1\u30a7\u30c3\u30af\u30a4\u30f3
|
||||
office.action.checkin.description=\u73fe\u5728\u306e\u6587\u66f8\u3092\u30c1\u30a7\u30c3\u30af\u30a4\u30f3\u3057\u307e\u3059\u3002
|
||||
office.action.checkout=\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8
|
||||
office.action.checkout.description=\u73fe\u5728\u306e\u6587\u66f8\u3092\u4f5c\u696d\u7528\u30b3\u30d4\u30fc\u306b\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3057\u307e\u3059\u3002
|
||||
office.action.start_workflow=\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u958b\u59cb
|
||||
office.action.start_workflow.description=\u73fe\u5728\u306e\u6587\u66f8\u306e\u30a2\u30c9\u30d0\u30f3\u30b9\u30c9\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u958b\u59cb\u3057\u307e\u3059\u3002
|
||||
office.action.transform_pdf=PDF\u3078\u306e\u5909\u63db
|
||||
office.action.transform_pdf.description=Adobe PDF\u5f62\u5f0f\u306b\u5909\u63db\u3057\u307e\u3059\u3002
|
||||
office.action.open_details=\u8a73\u7d30\u3092\u958b\u304f
|
||||
office.action.open_details.description=Alfresco Explorer\u3067\u6587\u66f8\u306e\u8a73\u7d30\u3092\u958b\u304d\u307e\u3059\u3002
|
||||
office.action.save_to_alfresco=Alfresco\u306b\u4fdd\u5b58
|
||||
office.action.save_to_alfresco.description=\u73fe\u5728\u306e\u6587\u66f8\u3092Alfresco\u306e\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002
|
||||
office.action.insert=\u73fe\u5728\u306e\u6587\u66f8\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u633f\u5165
|
||||
office.action.create_collaboration_space=\u30b3\u30e9\u30dc\u30ec\u30fc\u30b7\u30e7\u30f3\u30b9\u30da\u30fc\u30b9\u306e\u4f5c\u6210
|
||||
office.action.create_collaboration_space.description=Alfresco\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u65b0\u3057\u3044\u30b3\u30e9\u30dc\u30ec\u30fc\u30b7\u30e7\u30f3\u30b9\u30da\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002
|
||||
office.action.launch_alfresco=Alfresco\u306e\u8d77\u52d5
|
||||
office.action.launch_alfresco.description=Alfresco Explorer\u306eWeb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u958b\u59cb\u3057\u307e\u3059\u3002
|
||||
office.action.userhome=\u30e6\u30fc\u30b6\u30fc\u306e\u30db\u30fc\u30e0\u30b9\u30da\u30fc\u30b9\u306b
|
||||
office.action.parent_space=\u89aa\u30b9\u30da\u30fc\u30b9\u307e\u3067
|
||||
office.action.create_space=\u65b0\u898f\u30b9\u30da\u30fc\u30b9\u306e\u4f5c\u6210
|
||||
office.action.create_collaboration_space=\u65b0\u898f\u30b3\u30e9\u30dc\u30ec\u30fc\u30b7\u30e7\u30f3\u30b9\u30da\u30fc\u30b9\u306e\u4f5c\u6210
|
||||
office.action.delete=\u524a\u9664
|
||||
office.action.return_search=\u691c\u7d22\u7d50\u679c\u306b\u623b\u308b
|
||||
office.action.return_search.description=\u691c\u7d22\u30bf\u30d6\u306b\u623b\u308b
|
||||
office.action.manage_task=\u7ba1\u7406
|
||||
|
||||
#Buttons
|
||||
office.button.submit=\u9001\u4fe1
|
||||
office.button.cancel=\u30ad\u30e3\u30f3\u30bb\u30eb
|
||||
office.button.ok=OK
|
||||
office.button.search=\u691c\u7d22
|
||||
|
||||
#Messages
|
||||
office.message.unmanaged=\u73fe\u5728\u306e\u6587\u66f8\u306fAlfresco\u306b\u3088\u3063\u3066\u7ba1\u7406\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002
|
||||
office.message.unversioned=\u73fe\u5728\u306e\u6587\u66f8\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002
|
||||
office.message.none=\u306a\u3057
|
||||
office.message.no_documents=\u6587\u66f8\u304c\u3042\u308a\u307e\u305b\u3093
|
||||
office.message.no_due_date=\u7de0\u5207\u65e5\u306a\u3057
|
||||
office.message.no_tasks=\u30bf\u30b9\u30af\u306f\u3042\u308a\u307e\u305b\u3093\u3002
|
||||
office.message.no_subspaces=\u30b5\u30d6\u30b9\u30da\u30fc\u30b9\u304c\u3042\u308a\u307e\u305b\u3093
|
||||
office.message.search_for=\u691c\u7d22\u5bfe\u8c61
|
||||
office.message.results_max.before=\u6700\u5927\u691c\u7d22\u6570
|
||||
office.message.results_max.after=\u30a2\u30a4\u30c6\u30e0
|
||||
office.message.no_results=\u691c\u7d22\u7d50\u679c\u304c\u3042\u308a\u307e\u305b\u3093\u3002
|
||||
office.message.confirm_delete=\u3053\u306e\u6587\u66f8\u3092\u524a\u9664\u3057\u307e\u3059\u304b\uff1f
|
||||
office.message.enter_workflow_details=\u65b0\u3057\u3044\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u8a73\u7d30\u3092\u4e0b\u306b\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044
|
||||
office.message.workflow_action_complete=\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30a2\u30af\u30b7\u30e7\u30f3''{0}''\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002
|
||||
|
||||
#Properties
|
||||
office.property.title=\u30bf\u30a4\u30c8\u30eb
|
||||
office.property.description=\u8aac\u660e
|
||||
office.property.creator=\u4f5c\u6210\u8005
|
||||
office.property.created=\u4f5c\u6210\u65e5
|
||||
office.property.modifier=\u5909\u66f4\u8005
|
||||
office.property.modified=\u5909\u66f4\u65e5
|
||||
office.property.size=\u30b5\u30a4\u30ba
|
||||
office.property.categories=\u30ab\u30c6\u30b4\u30ea
|
||||
office.property.author=\u4f5c\u6210\u8005
|
||||
office.property.date=\u65e5\u4ed8
|
||||
office.property.due_date=\u7de0\u5207\u65e5
|
||||
office.property.name=\u540d\u524d
|
||||
office.property.template=\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8
|
||||
office.property.filename=\u6587\u66f8\u306e\u30d5\u30a1\u30a4\u30eb\u540d
|
||||
office.property.workflow=\u30ef\u30fc\u30af\u30d5\u30ed\u30fc
|
||||
office.property.assign_to=\u5272\u308a\u5f53\u3066\u5148
|
||||
office.property.due_on=\u7de0\u5207\u65e5
|
||||
office.property.status=\u30b9\u30c6\u30fc\u30bf\u30b9
|
||||
office.property.priority=\u512a\u5148
|
||||
office.property.start_date=\u958b\u59cb\u65e5
|
||||
office.property.type=\u30bf\u30a4\u30d7
|
||||
office.property.complete=\u5b8c\u4e86
|
||||
|
||||
#Workflow
|
||||
office.workflow.review=\u30ec\u30d3\u30e5\u30fc\u3068\u627f\u8a8d
|
||||
office.workflow.adhoc=\u30a2\u30c9\u30db\u30c3\u30af\u30bf\u30b9\u30af
|
||||
|
||||
#Result messages
|
||||
office.result.failed=\u30a2\u30af\u30b7\u30e7\u30f3\u304c\u5931\u6557\u3057\u307e\u3057\u305f
|
||||
office.result.convert.failed=\u6587\u66f8\u3092\u5909\u63db\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f
|
||||
office.result.converted=\u6587\u66f8\u304c\u5909\u63db\u3055\u308c\u307e\u3057\u305f
|
||||
office.result.delete.failed=\u6587\u66f8\u3092\u524a\u9664\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f
|
||||
office.result.deleted=\u6587\u66f8\u304c\u524a\u9664\u3055\u308c\u307e\u3057\u305f
|
||||
office.result.checkout.failed=\u6587\u66f8\u3092\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f
|
||||
office.result.checked_out=\u6587\u66f8\u304c\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3055\u308c\u307e\u3057\u305f
|
||||
office.result.checkin.failed=\u6587\u66f8\u3092\u30c1\u30a7\u30c3\u30af\u30a4\u30f3\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f
|
||||
office.result.checked_in=\u6587\u66f8\u304c\u30c1\u30a7\u30c3\u30af\u30a4\u30f3\u3055\u308c\u307e\u3057\u305f
|
||||
office.result.version.failed=\u6587\u66f8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f
|
||||
office.result.versioned=\u6587\u66f8\u304c\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3055\u308c\u307e\u3057\u305f
|
||||
office.result.workflow_started=\u65b0\u3057\u3044\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304c\u958b\u59cb\u3055\u308c\u307e\u3057\u305f
|
||||
office.result.unknown=\u4e0d\u660e\u306a\u30a2\u30af\u30b7\u30e7\u30f3
|
||||
office.result.exception=\u4f8b\u5916\u304c\u767a\u751f\u3057\u305f\u305f\u3081\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f
|
||||
office.result.create_space.failed=\u30b9\u30da\u30fc\u30b9\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f
|
||||
office.result.create_space.missing_name=\u30b9\u30da\u30fc\u30b9\u306b\u306f\u540d\u524d\u304c\u5fc5\u8981\u3067\u3059
|
||||
office.result.space_created=\u65b0\u898f\u30b9\u30da\u30fc\u30b9\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f
|
||||
office.result.user_not_found=\u30e6\u30fc\u30b6\u30fc\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093
|
||||
|
||||
#Miscellaneous
|
||||
office.unit.kb=KB
|
||||
office.version.notes=\u30e1\u30e2
|
||||
office.task.overdue=\u671f\u9650\u5207\u308c
|
||||
office.task.due_today=\u672c\u65e5\u671f\u9650
|
||||
office.tip.task_item=\u30bf\u30b9\u30af\u30a2\u30a4\u30c6\u30e0
|
@@ -1,145 +0,0 @@
|
||||
##
|
||||
## Microsoft Office Add-In Messages
|
||||
##
|
||||
# Page Titles
|
||||
office.title.my_alfresco=Mijn Alfresco
|
||||
office.title.navigation=Bladeren in ruimtes en documenten
|
||||
office.title.search=Zoeken in Alfresco
|
||||
office.title.document_details=Documentgegevens
|
||||
office.title.my_tasks=Mijn taken
|
||||
office.title.document_tags=Documenttags
|
||||
|
||||
# Help
|
||||
office.help.title=Online Help
|
||||
office.help.url=http://docs.alfresco.com/{0}.{1}/topic/com.alfresco.{2}_{0}_{1}_0.doc/concepts/MSAddin-using.html
|
||||
|
||||
# Headers and Subheaders
|
||||
office.header.my_checked_out_documents=Mijn uitgecheckte documenten
|
||||
office.header.my_tasks=Mijn taken
|
||||
office.header.current_space=Huidige ruimte
|
||||
office.header.spaces_in=Ruimtes in {0}
|
||||
office.header.documents_in=Documenten in {0}
|
||||
office.header.document_actions=Documentacties
|
||||
office.header.actions=Acties
|
||||
office.header.details=Gegevens van huidig document
|
||||
office.header.document_tags=Documenttags
|
||||
office.header.document_tags.for=Documenttags voor {0}
|
||||
office.header.version_history=Versiehistorie
|
||||
office.header.version_history.for=Versiehistorie voor {0}
|
||||
office.header.search=Zoeken
|
||||
office.header.task_details=Taakgegevens
|
||||
office.header.tag_cloud=Tagcloud
|
||||
office.header.tagged=Getagde documenten
|
||||
|
||||
# Document Status
|
||||
office.status.locked=Vergrendeld
|
||||
|
||||
# Actions
|
||||
office.action.add_tag=Tag toevoegen
|
||||
office.action.remove_tag=Tag "{0}" verwijderen
|
||||
office.action.download={0} downloaden
|
||||
office.action.open={0} openen
|
||||
office.action.make_versionable=Versies bijhouden mogelijk maken
|
||||
office.action.compare_current=Vergelijken met huidige
|
||||
office.action.checkin=Inchecken
|
||||
office.action.checkin.description=Het huidige document inchecken.
|
||||
office.action.checkout=Uitchecken
|
||||
office.action.checkout.description=Het huidige document uitchecken naar een werkkopie.
|
||||
office.action.start_workflow=Werkstroom starten
|
||||
office.action.start_workflow.description=Geavanceerde werkstroom starten voor het huidige document.
|
||||
office.action.transform_pdf=Converteren naar PDF
|
||||
office.action.transform_pdf.description=Converteren naar Adobe PDF-indeling.
|
||||
office.action.open_details=Volledige gegevens openen
|
||||
office.action.open_details.description=De documentgegevens openen in Alfresco Explorer.
|
||||
office.action.save_to_alfresco=Opslaan in Alfresco
|
||||
office.action.save_to_alfresco.description=Hiermee kunt u het huidige document onder Alfresco-beheer plaatsen.
|
||||
office.action.insert=Bestand invoegen in huidig document
|
||||
office.action.create_collaboration_space=Samenwerkingsruimte maken
|
||||
office.action.create_collaboration_space.description=Een nieuwe samenwerkingsruimte maken in de Alfresco-repository.
|
||||
office.action.launch_alfresco=Alfresco starten
|
||||
office.action.launch_alfresco.description=De Alfresco Explorer-webclient starten.
|
||||
office.action.userhome=Naar startruimte van gebruiker
|
||||
office.action.parent_space=Omhoog naar bovenliggende ruimte
|
||||
office.action.create_space=Nieuwe ruimte maken
|
||||
office.action.create_collaboration_space=Nieuwe samenwerkingsruimte maken
|
||||
office.action.delete=Verwijderen
|
||||
office.action.return_search=Terug naar zoekresultaten
|
||||
office.action.return_search.description=Terug naar het tabblad Zoeken
|
||||
office.action.manage_task=Beheren
|
||||
|
||||
# Buttons
|
||||
office.button.submit=Verzenden
|
||||
office.button.cancel=Annuleren
|
||||
office.button.ok=OK
|
||||
office.button.search=Zoeken
|
||||
|
||||
# Messages
|
||||
office.message.unmanaged=Het huidige document wordt niet beheerd door Alfresco.
|
||||
office.message.unversioned=Voor het huidige document worden geen versies bijgehouden.
|
||||
office.message.none=Geen
|
||||
office.message.no_documents=Geen documenten
|
||||
office.message.no_due_date=Geen vervaldatum
|
||||
office.message.no_tasks=Geen taken
|
||||
office.message.no_subspaces=Geen subruimtes
|
||||
office.message.search_for=Zoeken naar
|
||||
office.message.results_max.before=Maximaal
|
||||
office.message.results_max.after=objecten retourneren
|
||||
office.message.no_results=Geen resultaten gevonden
|
||||
office.message.confirm_delete=Weet u zeker dat u dit document wilt verwijderen?
|
||||
office.message.enter_workflow_details=Voer nieuwe werkstroomgegevens hieronder in
|
||||
office.message.workflow_action_complete=Werkstroomactie ''{0}'' voltooid.
|
||||
|
||||
# Properties
|
||||
office.property.title=Titel
|
||||
office.property.description=Beschrijving
|
||||
office.property.creator=Maker
|
||||
office.property.created=Gemaakt
|
||||
office.property.modifier=Gewijzigd door
|
||||
office.property.modified=Gewijzigd
|
||||
office.property.size=Grootte
|
||||
office.property.categories=Categorie\u00ebn
|
||||
office.property.author=Auteur
|
||||
office.property.date=Datum
|
||||
office.property.due_date=Vervaldatum
|
||||
office.property.name=Naam
|
||||
office.property.template=Sjabloon
|
||||
office.property.filename=Bestandsnaam van document
|
||||
office.property.workflow=Werkstroom
|
||||
office.property.assign_to=Toewijzen aan
|
||||
office.property.due_on=Vervaldatum
|
||||
office.property.status=Status
|
||||
office.property.priority=Prioriteit
|
||||
office.property.start_date=Begindatum
|
||||
office.property.type=Type
|
||||
office.property.complete=Voltooid
|
||||
|
||||
#\u00a0Workflow
|
||||
office.workflow.review=Reviseren en goedkeuren
|
||||
office.workflow.adhoc=Ad-hoctaak
|
||||
|
||||
# Result messages
|
||||
office.result.failed=Actie mislukt
|
||||
office.result.convert.failed=Kan document niet converteren
|
||||
office.result.converted=Document geconverteerd
|
||||
office.result.delete.failed=Kan document niet verwijderen
|
||||
office.result.deleted=Document verwijderd
|
||||
office.result.checkout.failed=Kan document niet uitchecken
|
||||
office.result.checked_out=Document uitgecheckt
|
||||
office.result.checkin.failed=Kan document niet inchecken
|
||||
office.result.checked_in=Document ingecheckt
|
||||
office.result.version.failed=Kan geen versies bijhouden van document
|
||||
office.result.versioned=Versies van document worden bijgehouden
|
||||
office.result.workflow_started=Nieuwe werkstroom gestart
|
||||
office.result.unknown=Onbekende actie
|
||||
office.result.exception=Actie mislukt vanwege uitzondering
|
||||
office.result.create_space.failed=Kan ruimte niet maken
|
||||
office.result.create_space.missing_name=Ruimte moet een naam hebben
|
||||
office.result.space_created=Nieuwe ruimte gemaakt
|
||||
office.result.user_not_found=Gebruiker niet gevonden
|
||||
|
||||
# Miscellaneous
|
||||
office.unit.kb=kB
|
||||
office.version.notes=Opmerkingen
|
||||
office.task.overdue=achterstallig
|
||||
office.task.due_today=vervaldatum vandaag
|
||||
office.tip.task_item=Taakobject
|
@@ -1,16 +0,0 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
||||
|
||||
<beans>
|
||||
|
||||
<!-- I18N -->
|
||||
|
||||
<bean id="officeResourceBundles" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
|
||||
<property name="resourceBundles">
|
||||
<list>
|
||||
<value>alfresco.messages.office-addin</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
</beans>
|
@@ -1,915 +0,0 @@
|
||||
html {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
body {
|
||||
background: url("../images/office/view_bg.gif") top;
|
||||
color: #0073e6;
|
||||
font-family: tahoma, sans-serif;
|
||||
font-size: 11px;
|
||||
height: 100%;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
overflow: hidden;
|
||||
scrollbar-arrow-color: #0073e6;
|
||||
scrollbar-3dlight-color: #c0c0c0;
|
||||
scrollbar-darkshadow-color: #4F4F82;
|
||||
scrollbar-face-color: #f4f4f0;
|
||||
scrollbar-highlight-color: #fffff;
|
||||
scrollbar-shadow-color: #d0d0d0;
|
||||
scrollbar-track-color: #f0f0f0;
|
||||
}
|
||||
|
||||
#overlayPanel
|
||||
{
|
||||
background-color: #ffffff;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
height: 652px;
|
||||
width: 290px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #0073e6;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
a img {
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
TABLE, TD {
|
||||
border: 0px;
|
||||
border-collapse: collapse;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin: 0px;
|
||||
list-style: none;
|
||||
padding: 2px 0px 0px 2px;
|
||||
}
|
||||
|
||||
input.button {
|
||||
background-color: #cce6ff;
|
||||
border: 1px solid #0073e6;
|
||||
color: #0073e6;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
margin-left: 6px;
|
||||
padding: 1px 4px;
|
||||
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#ffffff', EndColorStr='#cce6ff');
|
||||
}
|
||||
|
||||
.bold {
|
||||
font-weight: bold;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.ellipsis {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tabBar {
|
||||
float: left;
|
||||
width: 100%;
|
||||
background: #efefef;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
.tabBar ul {
|
||||
margin: 0px;
|
||||
padding: 4px 10px 0px 4px;
|
||||
list-style: none;
|
||||
}
|
||||
.tabBar ul li {
|
||||
display: inline;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
height: 18px;
|
||||
}
|
||||
.tabBar ul a {
|
||||
background: url("../images/office/tab_left.gif") no-repeat left top;
|
||||
float:left;
|
||||
margin: 0px;
|
||||
padding: 0px 0px 0px 4px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.tabBar ul span {
|
||||
background: url("../images/office/tab_right.gif") no-repeat right top;
|
||||
color: #666;
|
||||
display: block;
|
||||
float: none;
|
||||
padding: 5px 15px 4px 6px;
|
||||
}
|
||||
|
||||
.tabBar ul a:hover span {
|
||||
color: #FFF;
|
||||
}
|
||||
.tabBar ul a:hover {
|
||||
background-position: 0% -42px;
|
||||
}
|
||||
.tabBar ul a:hover span {
|
||||
background-position: 100% -42px;
|
||||
}
|
||||
|
||||
.tabBar ul #current a {
|
||||
background-position: 0% -42px;
|
||||
}
|
||||
.tabBar ul #current a span {
|
||||
background-position: 100% -42px;
|
||||
}
|
||||
|
||||
.tabBar .help {
|
||||
left: 270px;
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
.tabBarInline {
|
||||
clear: left;
|
||||
float: left;
|
||||
margin: 0px 4px;
|
||||
width: 284px;
|
||||
}
|
||||
.tabBarInline ul {
|
||||
margin: 0px;
|
||||
padding: 4px 10px 0px 4px;
|
||||
list-style: none;
|
||||
}
|
||||
.tabBarInline li {
|
||||
display: inline;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
height: 18px;
|
||||
}
|
||||
.tabBarInline a {
|
||||
background: url("../images/office/tab_left.gif") no-repeat left top;
|
||||
float:left;
|
||||
margin: 0px;
|
||||
padding: 0px 0px 0px 4px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.tabBarInline a span {
|
||||
background: url("../images/office/tab_right.gif") no-repeat right top;
|
||||
color: #666;
|
||||
display: block;
|
||||
float: none;
|
||||
padding: 5px 15px 4px 6px;
|
||||
}
|
||||
|
||||
.tabBarInline a:hover span {
|
||||
color: #FFF;
|
||||
}
|
||||
.tabBarInline a:hover {
|
||||
background-position: 0% -42px;
|
||||
}
|
||||
.tabBarInline a:hover span {
|
||||
background-position: 100% -42px;
|
||||
}
|
||||
|
||||
.tabBarInline .current a {
|
||||
background-position: 0% -42px;
|
||||
}
|
||||
.tabBarInline .current a span {
|
||||
background-position: 100% -42px;
|
||||
}
|
||||
|
||||
.tabPanel {
|
||||
}
|
||||
|
||||
.tabPanelHidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.headerRow {
|
||||
clear: both;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.headerWrapper {
|
||||
float: left;
|
||||
width: 288px;
|
||||
}
|
||||
|
||||
.header {
|
||||
font-weight: bold;
|
||||
margin: 0px 24px 0px 0px;
|
||||
padding: 3px 2px 2px 4px;
|
||||
height: 16px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tabHeader {
|
||||
background: #ffffff;
|
||||
border: 1px solid #cccccc;
|
||||
border-bottom: none;
|
||||
clear: both;
|
||||
font-weight: bold;
|
||||
float: left;
|
||||
margin: 0px 4px;
|
||||
padding: 2px;
|
||||
height: 13px;
|
||||
width: 278px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.headerExtra {
|
||||
font-weight: normal;
|
||||
float: left;
|
||||
margin: 0px 0px 0px -16px;
|
||||
padding: 3px 0px 2px 0px;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
.taskKey {
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px 0px 0px 40px;
|
||||
}
|
||||
|
||||
.toggle {
|
||||
background: transparent url("../images/office/arrow_up.gif") no-repeat;
|
||||
cursor: pointer;
|
||||
float: left;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
.toggled {
|
||||
background-image: url("../images/office/arrow_down.gif") !important;
|
||||
}
|
||||
|
||||
.containerBig {
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 282px;
|
||||
height: 373px;
|
||||
border: 1px solid #cccccc;
|
||||
margin: 0px 4px 0px 4px;
|
||||
background: #fff;
|
||||
}
|
||||
.containerMedium {
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 282px;
|
||||
height: 200px;
|
||||
overflow: auto;
|
||||
border: 1px solid #cccccc;
|
||||
margin: 0px 4px 0px 4px;
|
||||
background: #fff;
|
||||
}
|
||||
.containerSmall {
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 282px;
|
||||
height: 89px;
|
||||
overflow: auto;
|
||||
border: 1px solid #cccccc;
|
||||
margin: 0px 4px 0px 4px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.containerSearchTerms {
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 282px;
|
||||
height: 76px;
|
||||
overflow: auto;
|
||||
border: 1px solid #cccccc;
|
||||
margin: 0px 4px 0px 4px;
|
||||
background: #fff;
|
||||
}
|
||||
.containerSearchResults {
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 282px;
|
||||
height: 497px;
|
||||
overflow: auto;
|
||||
border: 1px solid #cccccc;
|
||||
margin: 0px 4px 0px 4px;
|
||||
background: #fff;
|
||||
}
|
||||
.containerTabMedium {
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 282px;
|
||||
height: 173px;
|
||||
overflow: auto;
|
||||
border: 1px solid #cccccc;
|
||||
border-top: none;
|
||||
margin: 0px 4px 0px 4px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
|
||||
#checkedoutList, #taskList, #spaceList, #documentList, #versionList, #taggedList, #resultsList {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.odd {
|
||||
background-color: #f8f8f8 !important;
|
||||
}
|
||||
.even {
|
||||
background-color: #ffffff !important;
|
||||
}
|
||||
.new {
|
||||
background-color: #ffffcc !important;
|
||||
cursor: pointer;
|
||||
}
|
||||
.noItems {
|
||||
text-align: center;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
#currentSpaceInfo {
|
||||
background: #fff;
|
||||
border: 1px solid #cccccc;
|
||||
clear: both;
|
||||
float: left;
|
||||
height: 34px;
|
||||
width: 280px;
|
||||
overflow: none;
|
||||
margin: 0px 4px;
|
||||
padding: 2px 0px 2px 2px;
|
||||
}
|
||||
|
||||
#createSpaceContainer {
|
||||
border-bottom: 1px dashed #ccc;
|
||||
overflow: hidden;
|
||||
padding: 2px 2px 0px;
|
||||
width: 261px;
|
||||
}
|
||||
|
||||
#createSpace {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#createSpacePanel {
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#createSpaceParameters {
|
||||
background-color: #ffffcc;
|
||||
border: 1px solid #ccc;
|
||||
float: left;
|
||||
margin: 2px;
|
||||
padding: 2px 0px 4px 0px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.spaceParam {
|
||||
clear: both;
|
||||
float: left;
|
||||
padding: 4px 4px 0px 0px;
|
||||
text-align: right;
|
||||
width: 64px;
|
||||
}
|
||||
|
||||
.spaceValue {
|
||||
float: left;
|
||||
padding: 2px 0px 0px 0px;
|
||||
width: 180px;
|
||||
}
|
||||
.spaceValue select,
|
||||
.spaceValue input,
|
||||
.spaceValue textarea {
|
||||
font-family: tahoma, sans-serif;
|
||||
font-size: 8pt;
|
||||
margin: 0px 1px 1px 1px;
|
||||
padding: 0px 0px 0px 0px;
|
||||
width: 168px;
|
||||
}
|
||||
|
||||
.spaceAction {
|
||||
background-color: #cce6ff;
|
||||
border: 1px solid #0073e6;
|
||||
color: #0073e6;
|
||||
float: left;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
margin: 0px 4px 0px 2px;
|
||||
padding: 4px;
|
||||
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#ffffff', EndColorStr='#cce6ff');
|
||||
}
|
||||
.spaceAction.disabled {
|
||||
background-color: #fff;
|
||||
border-color: #c0c0c0;
|
||||
color: #c0c0c0;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.spaceItem {
|
||||
border-bottom: 1px solid #eee;
|
||||
padding: 2px 0px 6px 0px;
|
||||
height: 26px;
|
||||
width: 265px;
|
||||
}
|
||||
|
||||
.documentItem {
|
||||
float: left;
|
||||
border-bottom: 1px solid #eee;
|
||||
padding: 2px 0px 6px 0px;
|
||||
width: 265px;
|
||||
}
|
||||
|
||||
.documentItemIcon {
|
||||
float: left;
|
||||
width: 36px;
|
||||
padding: 0px 2px 0px 1px;
|
||||
}
|
||||
|
||||
.documentItemDetails {
|
||||
float: left;
|
||||
width: 226px;
|
||||
}
|
||||
|
||||
.actionsPanel {
|
||||
clear: both;
|
||||
background-color: #ffffcc;
|
||||
border: 1px solid #ccc;
|
||||
float: left;
|
||||
margin: 0px 4px;
|
||||
width: 282px;
|
||||
}
|
||||
.actionsPanel ul {
|
||||
padding: 2px 0px 0px 24px;
|
||||
}
|
||||
.actionsPanel li a {
|
||||
font-weight: bold;
|
||||
margin: 0px 0px 0px -22px;
|
||||
}
|
||||
.actionsPanel li a img {
|
||||
margin: 0px 0px -2px 0px;
|
||||
padding: 0px 3px 0px 0px;
|
||||
}
|
||||
|
||||
|
||||
#myAlfrescoActions {
|
||||
height: 150px;
|
||||
}
|
||||
#documentActions {
|
||||
height: 149px;
|
||||
}
|
||||
#navigationActions {
|
||||
height: 89px;
|
||||
}
|
||||
|
||||
#saveDetailsPanel
|
||||
{
|
||||
position: absolute;
|
||||
border: 1px solid #CCD4DB;
|
||||
background-color: #EEF7FB;
|
||||
height: 40px;
|
||||
width: 267px;
|
||||
margin: 8px 0px 0px;
|
||||
padding: 8px;
|
||||
display: none;
|
||||
z-index: 1;
|
||||
-moz-border-radius: 5px;
|
||||
}
|
||||
|
||||
.saveDetailsItem
|
||||
{
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #CCD4DB;
|
||||
color: #0073e6;
|
||||
float: left;
|
||||
font-size: 11px;
|
||||
margin: 0px 4px 4px 4px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
#nonStatusText {
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#statusText {
|
||||
border: none;
|
||||
float: left;
|
||||
margin: -22px 0px;
|
||||
padding: 2px;
|
||||
position: relative;
|
||||
height: 17px;
|
||||
width: 278px;
|
||||
}
|
||||
|
||||
.searchBox {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.searchParam {
|
||||
float: left;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
#searchText {
|
||||
font-family: tahoma, sans-serif;
|
||||
font-size: 8pt;
|
||||
padding: 1px 0px 1px 2px;
|
||||
width: 160px;
|
||||
}
|
||||
|
||||
.searchButton {
|
||||
background-color: #cce6ff;
|
||||
border: 1px solid #0073e6;
|
||||
color: #0073e6;
|
||||
float: left;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
margin: 0px 0px 0px 4px;
|
||||
padding: 4px;
|
||||
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#ffffff', EndColorStr='#cce6ff');
|
||||
}
|
||||
|
||||
.searchButtonDisabled {
|
||||
}
|
||||
|
||||
#searchResultsList {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tool-tip {
|
||||
background-color: #ffffe1;
|
||||
border: 1px solid black;
|
||||
padding: 2px;
|
||||
}
|
||||
.tool-tip .tool-title {
|
||||
display: none;
|
||||
}
|
||||
.tool-tip .tool-text {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.checkedoutItem {
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
#taskDetails {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.taskItem {
|
||||
cursor: pointer;
|
||||
border-bottom: 1px solid #eee;
|
||||
float: left;
|
||||
padding: 4px 0px;
|
||||
}
|
||||
|
||||
.taskIndicator {
|
||||
display: block;
|
||||
float: left;
|
||||
height: 12px;
|
||||
padding: 0px 0px 0px 2px;
|
||||
width: 12px;
|
||||
}
|
||||
|
||||
.taskItemDetails {
|
||||
display: block;
|
||||
float: left;
|
||||
width: 251px;
|
||||
}
|
||||
|
||||
.taskItemSelected {
|
||||
background-color: #ffff90 !important;
|
||||
}
|
||||
|
||||
.taskResources {
|
||||
border: 1px solid #ccc;
|
||||
margin: 4px;
|
||||
height: 128px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.taskActionContainer {
|
||||
float: left;
|
||||
padding-bottom: 0.2em;
|
||||
width: 260px;
|
||||
}
|
||||
|
||||
.taskActions {
|
||||
float: left;
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
.taskManage {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.taskAction {
|
||||
background-color: #cce6ff;
|
||||
border: 1px solid #0073e6;
|
||||
color: #0073e6;
|
||||
float: left;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
margin: 0px 0px 0px 4px;
|
||||
padding: 4px;
|
||||
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#ffffff', EndColorStr='#cce6ff');
|
||||
}
|
||||
|
||||
.taskParameters {
|
||||
border: 1px solid #ccc;
|
||||
margin: 4px;
|
||||
height: 168px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.taskParam {
|
||||
clear: both;
|
||||
float: left;
|
||||
padding: 4px 4px 0px 0px;
|
||||
text-align: right;
|
||||
width: 62px;
|
||||
}
|
||||
|
||||
.taskValue {
|
||||
float: left;
|
||||
padding: 2px 0px 0px 0px;
|
||||
width: 196px;
|
||||
}
|
||||
.taskValue img {
|
||||
margin: 0px 0px -2px -2px;
|
||||
}
|
||||
.taskValue select, .taskValue input, .taskValue textarea {
|
||||
font-family: tahoma, sans-serif;
|
||||
font-size: 8pt;
|
||||
padding: 1px 0px;
|
||||
width: 172px;
|
||||
}
|
||||
|
||||
/* Autocomplete pop-up */
|
||||
ul.autocompleter-choices
|
||||
{
|
||||
position: absolute;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
list-style: none;
|
||||
border: 1px solid #ccc;
|
||||
background-color: white;
|
||||
text-align: left;
|
||||
z-index: 50;
|
||||
}
|
||||
|
||||
ul.autocompleter-choices li
|
||||
{
|
||||
position: relative;
|
||||
padding: 0.1em 0.5em 0.1em 1em;
|
||||
cursor: pointer;
|
||||
font-weight: normal;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
ul.autocompleter-choices li.autocompleter-selected
|
||||
{
|
||||
background-color: #eee;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
ul.autocompleter-choices span.autocompleter-queried
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
ul.autocompleter-choices li.autocompleter-selected span.autocompleter-queried
|
||||
{
|
||||
color: #9FCFFF;
|
||||
}
|
||||
|
||||
/* Date Picker */
|
||||
#date-picker {
|
||||
margin-top: 3px;
|
||||
position: absolute;
|
||||
top: -1000px;
|
||||
left: 1000px;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#date-wrapper {
|
||||
font-weight: normal !important;
|
||||
font-size: 11px !important;
|
||||
margin: 0px 1px;
|
||||
}
|
||||
|
||||
#date-wrapper .date-table {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
border: 1px solid #666;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
#date-wrapper .date-table th, #date-wrapper .date-table td {
|
||||
background-color: #fff;
|
||||
padding: 3px 5px;
|
||||
text-align: center;
|
||||
border: 1px solid #c0c0c0;
|
||||
}
|
||||
|
||||
#date-wrapper .date-table td {
|
||||
background-color: #f8f8f8;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
#date-wrapper .date-table td.date-monthswitch, #date-wrapper .date-table td.date-yearswitch {
|
||||
cursor: pointer;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
#date-wrapper .date-table td.date-monthandyear {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#date-wrapper .date-table th {
|
||||
background-color: #004080;
|
||||
color: #fff;
|
||||
padding: 2px 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#date-wrapper .date-table tr {
|
||||
padding: 3px 5px;
|
||||
}
|
||||
|
||||
#date-wrapper td.date-weekend {
|
||||
font-weight: bold;
|
||||
background-color: #ffc;
|
||||
}
|
||||
|
||||
#date-wrapper td.date-workday {
|
||||
font-weight: bold;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#date-wrapper td.date-offmonth {
|
||||
background-color: #fff;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
#date-wrapper td.date-day {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#date-wrapper td.date-todayfooter {
|
||||
background-color: #f8f8f8;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
/* Date highlighting */
|
||||
#date-wrapper td.date-today {
|
||||
background-color: #ffe500;
|
||||
}
|
||||
|
||||
#date-wrapper td.date-picked {
|
||||
border: 2px solid #0073e6;
|
||||
margin: -4px;
|
||||
}
|
||||
|
||||
#date-wrapper td.date-tdover {
|
||||
background-color: #0073e6;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Document tags */
|
||||
.addTagIcon {
|
||||
background: url("../images/office/new_tag.gif") no-repeat;
|
||||
float: left;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
margin: 2px 4px;
|
||||
}
|
||||
|
||||
#addTagLinkContainer {
|
||||
height: 16px;
|
||||
margin: 3px 0px;
|
||||
}
|
||||
|
||||
#addTagFormContainer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#addTagForm {
|
||||
margin: 1px;
|
||||
}
|
||||
|
||||
.addTagFieldset {
|
||||
border: none;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#addTagBox {
|
||||
border: 1px solid #cccccc;
|
||||
height: 14px;
|
||||
margin: 0px 0px 0px;
|
||||
padding: 1px;
|
||||
color: #0073e6;
|
||||
font-family: tahoma, sans-serif;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.addTagImage {
|
||||
margin: 0px 0px -2px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.tagListEntry {
|
||||
cursor: pointer;
|
||||
margin: 1px 0px;
|
||||
padding: 0px 4px;
|
||||
}
|
||||
|
||||
.tagListDelete {
|
||||
color: #ccc;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.tagListName {
|
||||
}
|
||||
|
||||
/* Tag cloud */
|
||||
#tagCloud {
|
||||
line-height: 2em;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
#tagCloud .tagContainer {
|
||||
float: left;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
#tagCloud a {
|
||||
cursor: pointer;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
#tagCloud a.tagSelected {
|
||||
background-color: #ffff90;
|
||||
}
|
||||
|
||||
#tagCloud .tagName0 {
|
||||
font-size: 11px;
|
||||
}
|
||||
#tagCloud .tagName1 {
|
||||
font-size: 12px;
|
||||
}
|
||||
#tagCloud .tagName2 {
|
||||
font-size: 13px;
|
||||
}
|
||||
#tagCloud .tagName3 {
|
||||
font-size: 14px;
|
||||
}
|
||||
#tagCloud .tagName4 {
|
||||
font-size: 15px;
|
||||
}
|
||||
#tagCloud .tagName5 {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#tagCloud .tagCount {
|
||||
color: #cccccc;
|
||||
font-size: 11px;
|
||||
padding-left: 0.1em;
|
||||
}
|
||||
|
||||
#taggedList {
|
||||
border-top: none;
|
||||
float: left;
|
||||
height: 356px !important;
|
||||
}
|
||||
|
||||
.taggedFound {
|
||||
background: #ffffff;
|
||||
border: 1px solid #cccccc;
|
||||
border-bottom: none;
|
||||
clear: both;
|
||||
float: left;
|
||||
margin: 0px 4px;
|
||||
padding: 2px;
|
||||
height: 13px;
|
||||
width: 278px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.taggedFound {
|
||||
float: left;
|
||||
}
|
@@ -1,32 +0,0 @@
|
||||
.header {
|
||||
height: 16px;
|
||||
margin: 0px 0px 0px -1px;
|
||||
padding: 5px 0px 0px 4px;
|
||||
width: 260px;
|
||||
}
|
||||
|
||||
.tabBar .help {
|
||||
left: 268px;
|
||||
}
|
||||
|
||||
.toggle {
|
||||
left: -3px;
|
||||
margin-top: 0px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.containerBig, .containerBigAlt, .containerMedium, .containerSmall, .containerSearchTerms, .containerSearchResults, .containerTabMedium, #currentSpaceInfo, #myAlfrescoActions, #navigationActions, #documentActions {
|
||||
margin: 0px 4px 0px 1px;
|
||||
}
|
||||
|
||||
#documentActionsNavigation ul {
|
||||
padding: 2px 0px 0px 24px;
|
||||
}
|
||||
|
||||
.tabBarInline, .tabHeader, .taggedFound {
|
||||
margin: 0px 1px;
|
||||
}
|
||||
|
||||
.taskResources {
|
||||
width: 268px;
|
||||
}
|
Before Width: | Height: | Size: 607 B |
Before Width: | Height: | Size: 394 B |
Before Width: | Height: | Size: 970 B |
Before Width: | Height: | Size: 248 B |
Before Width: | Height: | Size: 248 B |
Before Width: | Height: | Size: 332 B |
Before Width: | Height: | Size: 540 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 127 B |
Before Width: | Height: | Size: 577 B |
Before Width: | Height: | Size: 633 B |
Before Width: | Height: | Size: 565 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 569 B |
Before Width: | Height: | Size: 705 B |
Before Width: | Height: | Size: 600 B |
Before Width: | Height: | Size: 645 B |
Before Width: | Height: | Size: 605 B |
Before Width: | Height: | Size: 278 B |
Before Width: | Height: | Size: 592 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 595 B |
Before Width: | Height: | Size: 553 B |
Before Width: | Height: | Size: 583 B |
Before Width: | Height: | Size: 589 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 998 B |
Before Width: | Height: | Size: 561 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 628 B |
Before Width: | Height: | Size: 377 B |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 561 B |
Before Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 110 B |
Before Width: | Height: | Size: 104 B |
Before Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 596 B |
Before Width: | Height: | Size: 312 B |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 344 B |
@@ -1,404 +0,0 @@
|
||||
/**
|
||||
* Autocompleter
|
||||
*
|
||||
* @version 1.0rc4
|
||||
*
|
||||
* @license MIT-style license
|
||||
* @author Harald Kirschner <mail [at] digitarald.de>
|
||||
* @copyright Author
|
||||
*/
|
||||
var Autocompleter = {};
|
||||
|
||||
Autocompleter.Base = new Class({
|
||||
|
||||
options: {
|
||||
minLength: 1,
|
||||
useSelection: true,
|
||||
markQuery: true,
|
||||
inheritWidth: true,
|
||||
maxChoices: 10,
|
||||
injectChoice: null,
|
||||
onSelect: Class.empty,
|
||||
onShow: Class.empty,
|
||||
onHide: Class.empty,
|
||||
customTarget: null,
|
||||
className: 'autocompleter-choices',
|
||||
zIndex: 42,
|
||||
observerOptions: {},
|
||||
fxOptions: {},
|
||||
overflown: []
|
||||
},
|
||||
|
||||
initialize: function(el, options) {
|
||||
this.setOptions(options);
|
||||
this.element = $(el);
|
||||
this.build();
|
||||
this.observer = new Observer(this.element, this.prefetch.bind(this), $merge({
|
||||
delay: 400
|
||||
}, this.options.observerOptions));
|
||||
this.value = this.observer.value;
|
||||
this.queryValue = null;
|
||||
},
|
||||
|
||||
/**
|
||||
* build - Initialize DOM
|
||||
*
|
||||
* Builds the html structure for choices and appends the events to the element.
|
||||
* Override this function to modify the html generation.
|
||||
*/
|
||||
build: function() {
|
||||
if ($(this.options.customTarget)) this.choices = this.options.customTarget;
|
||||
else {
|
||||
this.choices = new Element('ul', {
|
||||
'class': this.options.className,
|
||||
styles: {zIndex: this.options.zIndex}
|
||||
}).injectInside(document.body);
|
||||
this.fix = new OverlayFix(this.choices);
|
||||
}
|
||||
this.fx = this.choices.effect('opacity', $merge({
|
||||
wait: false,
|
||||
duration: 200
|
||||
}, this.options.fxOptions))
|
||||
.addEvent('onStart', function() {
|
||||
if (this.fx.now) return;
|
||||
this.choices.setStyle('display', '');
|
||||
this.fix.show();
|
||||
}.bind(this))
|
||||
.addEvent('onComplete', function() {
|
||||
if (this.fx.now) return;
|
||||
this.choices.setStyle('display', 'none');
|
||||
this.fix.hide();
|
||||
}.bind(this)).set(0);
|
||||
this.element.setProperty('autocomplete', 'off')
|
||||
.addEvent(window.ie ? 'keydown' : 'keypress', this.onCommand.bindWithEvent(this))
|
||||
.addEvent('mousedown', this.onCommand.bindWithEvent(this, [true]))
|
||||
.addEvent('focus', this.toggleFocus.bind(this, [true]))
|
||||
.addEvent('blur', this.toggleFocus.bind(this, [false]))
|
||||
.addEvent('trash', this.destroy.bind(this));
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
this.choices.remove();
|
||||
},
|
||||
|
||||
toggleFocus: function(state) {
|
||||
this.focussed = state;
|
||||
if (!state) this.hideChoices();
|
||||
},
|
||||
|
||||
onCommand: function(e, mouse) {
|
||||
if (mouse && this.focussed) this.prefetch();
|
||||
if (e.key && !e.shift) switch (e.key) {
|
||||
case 'enter':
|
||||
if (this.selected && this.visible) {
|
||||
this.choiceSelect(this.selected);
|
||||
e.stop();
|
||||
} return;
|
||||
case 'up': case 'down':
|
||||
if (this.observer.value != (this.value || this.queryValue)) this.prefetch();
|
||||
else if (this.queryValue === null) break;
|
||||
else if (!this.visible) this.showChoices();
|
||||
else {
|
||||
this.choiceOver((e.key == 'up')
|
||||
? this.selected.getPrevious() || this.choices.getLast()
|
||||
: this.selected.getNext() || this.choices.getFirst() );
|
||||
this.setSelection();
|
||||
}
|
||||
e.stop(); return;
|
||||
case 'esc': this.hideChoices(); return;
|
||||
}
|
||||
this.value = false;
|
||||
},
|
||||
|
||||
setSelection: function() {
|
||||
if (!this.options.useSelection) return;
|
||||
var startLength = this.queryValue.length;
|
||||
if (this.element.value.indexOf(this.queryValue) != 0) return;
|
||||
var insert = this.selected.inputValue.substr(startLength);
|
||||
if (document.getSelection) {
|
||||
this.element.value = this.queryValue + insert;
|
||||
this.element.selectionStart = startLength;
|
||||
this.element.selectionEnd = this.element.value.length;
|
||||
} else if (document.selection) {
|
||||
var sel = document.selection.createRange();
|
||||
sel.text = insert;
|
||||
sel.move("character", - insert.length);
|
||||
sel.findText(insert);
|
||||
sel.select();
|
||||
}
|
||||
this.value = this.observer.value = this.element.value;
|
||||
},
|
||||
|
||||
hideChoices: function() {
|
||||
if (!this.visible) return;
|
||||
this.visible = this.value = false;
|
||||
this.observer.clear();
|
||||
this.fx.start(0);
|
||||
this.fireEvent('onHide', [this.element, this.choices]);
|
||||
},
|
||||
|
||||
showChoices: function() {
|
||||
if (this.visible || !this.choices.getFirst()) return;
|
||||
this.visible = true;
|
||||
var pos = this.element.getCoordinates(this.options.overflown);
|
||||
this.choices.setStyles({
|
||||
left: pos.left,
|
||||
top: pos.bottom
|
||||
});
|
||||
if (this.options.inheritWidth) this.choices.setStyle('width', pos.width);
|
||||
this.fx.start(1);
|
||||
this.choiceOver(this.choices.getFirst());
|
||||
this.fireEvent('onShow', [this.element, this.choices]);
|
||||
},
|
||||
|
||||
prefetch: function() {
|
||||
if (this.element.value.length < this.options.minLength) this.hideChoices();
|
||||
else if (this.element.value == this.queryValue) this.showChoices();
|
||||
else this.query();
|
||||
},
|
||||
|
||||
updateChoices: function(choices) {
|
||||
this.choices.empty();
|
||||
this.selected = null;
|
||||
if (!choices || !choices.length) return;
|
||||
if (this.options.maxChoices < choices.length) choices.length = this.options.maxChoices;
|
||||
choices.each(this.options.injectChoice || function(choice, i){
|
||||
var el = new Element('li').setHTML(this.markQueryValue(choice));
|
||||
el.inputValue = choice;
|
||||
this.addChoiceEvents(el).injectInside(this.choices);
|
||||
}, this);
|
||||
this.showChoices();
|
||||
},
|
||||
|
||||
choiceOver: function(el) {
|
||||
if (this.selected) this.selected.removeClass('autocompleter-selected');
|
||||
this.selected = el.addClass('autocompleter-selected');
|
||||
},
|
||||
|
||||
choiceSelect: function(el) {
|
||||
this.observer.value = this.element.value = el.inputValue;
|
||||
this.hideChoices();
|
||||
this.fireEvent('onSelect', [this.element], 20);
|
||||
},
|
||||
|
||||
/**
|
||||
* markQueryValue
|
||||
*
|
||||
* Marks the queried word in the given string with <span class="autocompleter-queried">*</span>
|
||||
* Call this i.e. from your custom parseChoices, same for addChoiceEvents
|
||||
*
|
||||
* @param {String} Text
|
||||
* @return {String} Text
|
||||
*/
|
||||
markQueryValue: function(txt) {
|
||||
return (this.options.markQuery && this.queryValue) ? txt.replace(new RegExp('^(' + this.queryValue.escapeRegExp() + ')', 'i'), '<span class="autocompleter-queried">$1</span>') : txt;
|
||||
},
|
||||
|
||||
/**
|
||||
* addChoiceEvents
|
||||
*
|
||||
* Appends the needed event handlers for a choice-entry to the given element.
|
||||
*
|
||||
* @param {Element} Choice entry
|
||||
* @return {Element} Choice entry
|
||||
*/
|
||||
addChoiceEvents: function(el) {
|
||||
return el.addEvents({
|
||||
mouseover: this.choiceOver.bind(this, [el]),
|
||||
mousedown: this.choiceSelect.bind(this, [el])
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Autocompleter.Base.implement(new Events);
|
||||
Autocompleter.Base.implement(new Options);
|
||||
|
||||
Autocompleter.Local = Autocompleter.Base.extend({
|
||||
|
||||
options: {
|
||||
minLength: 0,
|
||||
filterTokens : null
|
||||
},
|
||||
|
||||
initialize: function(el, tokens, options) {
|
||||
this.parent(el, options);
|
||||
this.tokens = tokens;
|
||||
if (this.options.filterTokens) this.filterTokens = this.options.filterTokens.bind(this);
|
||||
},
|
||||
|
||||
query: function() {
|
||||
this.hideChoices();
|
||||
this.queryValue = this.element.value;
|
||||
this.updateChoices(this.filterTokens());
|
||||
},
|
||||
|
||||
filterTokens: function(token) {
|
||||
var regex = new RegExp('^' + this.queryValue.escapeRegExp(), 'i');
|
||||
return this.tokens.filter(function(token) {
|
||||
return regex.test(token);
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Autocompleter.Ajax = {};
|
||||
|
||||
Autocompleter.Ajax.Base = Autocompleter.Base.extend({
|
||||
|
||||
options: {
|
||||
postVar: 'value',
|
||||
postData: {},
|
||||
ajaxOptions: {},
|
||||
onRequest: Class.empty,
|
||||
onComplete: Class.empty
|
||||
},
|
||||
|
||||
initialize: function(el, url, options) {
|
||||
this.parent(el, options);
|
||||
this.ajax = new Ajax(url, $merge({
|
||||
autoCancel: true
|
||||
}, this.options.ajaxOptions));
|
||||
this.ajax.addEvent('onComplete', this.queryResponse.bind(this));
|
||||
this.ajax.addEvent('onFailure', this.queryResponse.bind(this, [false]));
|
||||
},
|
||||
|
||||
query: function(){
|
||||
var data = $extend({}, this.options.postData);
|
||||
data[this.options.postVar] = this.element.value;
|
||||
this.fireEvent('onRequest', [this.element, this.ajax]);
|
||||
this.ajax.request(data);
|
||||
},
|
||||
|
||||
/**
|
||||
* queryResponse - abstract
|
||||
*
|
||||
* Inherated classes have to extend this function and use this.parent(resp)
|
||||
*
|
||||
* @param {String} Response
|
||||
*/
|
||||
queryResponse: function(resp) {
|
||||
this.value = this.queryValue = this.element.value;
|
||||
this.selected = false;
|
||||
this.hideChoices();
|
||||
this.fireEvent(resp ? 'onComplete' : 'onFailure', [this.element, this.ajax], 20);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Autocompleter.Ajax.Json = Autocompleter.Ajax.Base.extend({
|
||||
|
||||
queryResponse: function(resp) {
|
||||
this.parent(resp);
|
||||
var choices = Json.evaluate(resp || false);
|
||||
if (!choices || !choices.length) return;
|
||||
this.updateChoices(choices);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Autocompleter.Ajax.Xhtml = Autocompleter.Ajax.Base.extend({
|
||||
|
||||
options: {
|
||||
parseChoices: null
|
||||
},
|
||||
|
||||
queryResponse: function(resp) {
|
||||
this.parent(resp);
|
||||
if (!resp) return;
|
||||
this.choices.setHTML(resp).getChildren().each(this.options.parseChoices || this.parseChoices, this);
|
||||
this.showChoices();
|
||||
},
|
||||
|
||||
parseChoices: function(el) {
|
||||
var value = el.innerHTML;
|
||||
el.inputValue = value;
|
||||
el.setHTML(this.markQueryValue(value));
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
var OverlayFix = new Class({
|
||||
|
||||
initialize: function(el) {
|
||||
this.element = $(el);
|
||||
if (window.ie){
|
||||
this.element.addEvent('trash', this.destroy.bind(this));
|
||||
this.fix = new Element('iframe', {
|
||||
properties: {
|
||||
frameborder: '0',
|
||||
scrolling: 'no',
|
||||
src: 'javascript:false;'
|
||||
},
|
||||
styles: {
|
||||
position: 'absolute',
|
||||
border: 'none',
|
||||
display: 'none',
|
||||
filter: 'progid:DXImageTransform.Microsoft.Alpha(opacity=0)'
|
||||
}
|
||||
}).injectAfter(this.element);
|
||||
}
|
||||
},
|
||||
|
||||
show: function() {
|
||||
if (this.fix) this.fix.setStyles($extend(
|
||||
this.element.getCoordinates(), {
|
||||
display: '',
|
||||
zIndex: (this.element.getStyle('zIndex') || 1) - 1
|
||||
}));
|
||||
return this;
|
||||
},
|
||||
|
||||
hide: function() {
|
||||
if (this.fix) this.fix.setStyle('display', 'none');
|
||||
return this;
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
this.fix.remove();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
/**
|
||||
* Observer - Observe formelements for changes
|
||||
*
|
||||
* @version 1.0rc1
|
||||
*
|
||||
* @license MIT-style license
|
||||
* @author Harald Kirschner <mail [at] digitarald.de>
|
||||
* @copyright Author
|
||||
*/
|
||||
var Observer = new Class({
|
||||
|
||||
options: {
|
||||
periodical: false,
|
||||
delay: 1000
|
||||
},
|
||||
|
||||
initialize: function(el, onFired, options){
|
||||
this.setOptions(options);
|
||||
this.addEvent('onFired', onFired);
|
||||
this.element = $(el);
|
||||
this.listener = this.fired.bind(this);
|
||||
this.value = this.element.getValue();
|
||||
if (this.options.periodical) this.timer = this.listener.periodical(this.options.periodical);
|
||||
else this.element.addEvent('keyup', this.listener);
|
||||
},
|
||||
|
||||
fired: function() {
|
||||
var value = this.element.getValue();
|
||||
if (this.value == value) return;
|
||||
this.clear();
|
||||
this.value = value;
|
||||
this.timeout = this.fireEvent.delay(this.options.delay, this, ['onFired', [value]]);
|
||||
},
|
||||
|
||||
clear: function() {
|
||||
$clear(this.timeout);
|
||||
return this;
|
||||
}
|
||||
});
|
||||
|
||||
Observer.implement(new Options);
|
||||
Observer.implement(new Events);
|
@@ -1,383 +0,0 @@
|
||||
if (!$defined(Element.getText))
|
||||
{
|
||||
Element.extend(
|
||||
{
|
||||
getText: function()
|
||||
{
|
||||
return this.innerText || this.textContent || "";
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
var DatePicker = new Class(
|
||||
{
|
||||
options:
|
||||
{
|
||||
onShow: Class.empty,
|
||||
onHide: Class.empty,
|
||||
readOnly: true,
|
||||
showToday: true,
|
||||
dateFormat: "string",
|
||||
monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
||||
monthNamesLong: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
||||
dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
||||
dayNamesLong: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
|
||||
},
|
||||
|
||||
initialize: function(el, options)
|
||||
{
|
||||
this.element = el;
|
||||
this.setOptions(options);
|
||||
|
||||
this.calendar = new Element("div", {"id": "date-picker"}).inject(document.body);
|
||||
this.calendar.addEvent("mouseenter", this.onMouseEnter.bind(this));
|
||||
this.calendar.addEvent("mouseleave", this.onMouseLeave.bind(this));
|
||||
|
||||
this.wrapper = new Element("div", {"id": "date-wrapper"}).inject(this.calendar);
|
||||
|
||||
this.currentDate = null;
|
||||
this.isVisible = false;
|
||||
this.hasMouse = false;
|
||||
|
||||
if (this.options.readOnly)
|
||||
{
|
||||
el.setProperty("readonly", "readonly");
|
||||
}
|
||||
el.addEvent("click", this.toggleCalendar.bind(this));
|
||||
el.addEvent("blur", this.onBlur.bind(this));
|
||||
},
|
||||
|
||||
position: function(el)
|
||||
{
|
||||
var pos = $(el).getPosition();
|
||||
this.calendar.setStyles(
|
||||
{
|
||||
"left": pos.x,
|
||||
"top": pos.y + $(el).getCoordinates().height
|
||||
});
|
||||
},
|
||||
|
||||
show: function()
|
||||
{
|
||||
this.isVisible = true;
|
||||
this.calendar.setStyle("visibility", "visible");
|
||||
this.fireEvent("onShow", [this.calendar]);
|
||||
},
|
||||
|
||||
hide: function()
|
||||
{
|
||||
this.isVisible = false;
|
||||
this.hasMouse = false;
|
||||
this.calendar.setStyle("visibility", "hidden");
|
||||
this.fireEvent("onHide", [this.calendar]);
|
||||
},
|
||||
|
||||
onMouseEnter: function()
|
||||
{
|
||||
this.hasMouse = true;
|
||||
},
|
||||
|
||||
onMouseLeave: function()
|
||||
{
|
||||
this.hasMouse = false;
|
||||
this.onBlur.delay(500, this);
|
||||
},
|
||||
|
||||
onBlur: function()
|
||||
{
|
||||
if (!this.hasMouse)
|
||||
{
|
||||
this.hide();
|
||||
}
|
||||
},
|
||||
|
||||
toggleCalendar: function()
|
||||
{
|
||||
if (this.isVisible)
|
||||
{
|
||||
// Hide the calendar
|
||||
this.hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.originalDate = this.convert(this.element.value.toString(), "date");
|
||||
this.renderCalendar(this.element);
|
||||
this.show();
|
||||
}
|
||||
},
|
||||
|
||||
/* Main calendar render function */
|
||||
renderCalendar: function(el, dt)
|
||||
{
|
||||
this.currentDate = this.convert((($defined(dt)) ? dt : el.value), "date");
|
||||
|
||||
this.position(el);
|
||||
|
||||
/** Set up all the dates we need */
|
||||
var lastMonth = new Date(this.currentDate).setMonth(this.currentDate.getMonth() - 1); // The previous month to the display date
|
||||
var nextMonth = new Date(this.currentDate).setMonth(this.currentDate.getMonth() + 1); // The next month to the display date
|
||||
var lastYear = new Date(this.currentDate).setFullYear(this.currentDate.getFullYear() - 1); // The previous year to the display date
|
||||
var nextYear = new Date(this.currentDate).setFullYear(this.currentDate.getFullYear() + 1); // The next year to the display date
|
||||
|
||||
var firstDay = new Date(this.currentDate); // The first day of the month for the display date
|
||||
firstDay.setDate(1);
|
||||
if (firstDay.getDay() > 0)
|
||||
{
|
||||
firstDay.setDate(-firstDay.getDay() + 1);
|
||||
}
|
||||
|
||||
var currentDay = new Date(firstDay);
|
||||
var today = new Date(); // Todays date
|
||||
|
||||
/** Clear any previous dom and refill it*/
|
||||
this.wrapper.empty();
|
||||
|
||||
/** Global vars and initial dom stuff */
|
||||
var table, tbody, row, td, highlight;
|
||||
table = new Element("table",
|
||||
{
|
||||
"id": "date-table",
|
||||
"class": "date-table"
|
||||
});
|
||||
tbody = new Element("tbody").injectInside(table)
|
||||
|
||||
/** Build the skip month/date controls */
|
||||
row = new Element("tr").injectInside(tbody);
|
||||
|
||||
new Element("td",
|
||||
{
|
||||
"class": "date-monthswitch",
|
||||
"events":
|
||||
{
|
||||
"click" : this.renderCalendar.bind(this, [el, lastMonth])
|
||||
}
|
||||
}).appendText("<").injectInside(row);
|
||||
|
||||
new Element("td",
|
||||
{
|
||||
"colSpan": 5,
|
||||
"rowSpan": 2,
|
||||
"class" : "date-monthandyear"
|
||||
}).appendText(this.options.monthNamesLong[this.currentDate.getMonth()] + " " + this.currentDate.getFullYear()).injectInside(row);
|
||||
|
||||
new Element("td",
|
||||
{
|
||||
"class": "date-monthswitch",
|
||||
"events":
|
||||
{
|
||||
"click" : this.renderCalendar.bind(this, [el, nextMonth])
|
||||
}
|
||||
}).appendText(">").injectInside(row);
|
||||
|
||||
row = new Element("tr").injectInside(tbody);
|
||||
|
||||
new Element("td",
|
||||
{
|
||||
"class": "date-yearswitch",
|
||||
"events":
|
||||
{
|
||||
"click" : this.renderCalendar.bind(this, [el, lastYear])
|
||||
}
|
||||
}).appendText("<<").injectInside(row);
|
||||
|
||||
new Element("td",
|
||||
{
|
||||
"class": "date-yearswitch",
|
||||
"events":
|
||||
{
|
||||
"click" : this.renderCalendar.bind(this, [el, nextYear])
|
||||
}
|
||||
}).appendText(">>").injectInside(row);
|
||||
|
||||
/** Push out the day names */
|
||||
row = new Element("tr").injectInside(tbody);
|
||||
for (i = 0; i < 7; i++)
|
||||
{
|
||||
new Element("th").appendText(this.options.dayNamesShort[i].substr(0,2)).injectInside(row);
|
||||
}
|
||||
|
||||
highlight = this.highlight.bind(this);
|
||||
|
||||
/* Populate the dates we can pick */
|
||||
while (currentDay.getMonth() == this.currentDate.getMonth() || currentDay.getMonth() == firstDay.getMonth())
|
||||
{
|
||||
row = new Element("tr").injectInside(tbody);
|
||||
for (i = 0; i < 7; i++)
|
||||
{
|
||||
td = new Element("td").appendText(currentDay.getDate()).injectInside(row);
|
||||
td.addClass((currentDay.getDay() == 0 || currentDay.getDay() == 6) ? "date-weekend" : "date-workday");
|
||||
if (currentDay.getMonth() != this.currentDate.getMonth())
|
||||
{
|
||||
td.addClass("date-offmonth");
|
||||
}
|
||||
else
|
||||
{
|
||||
td.addClass("date-day");
|
||||
td.addEvents(
|
||||
{
|
||||
"click": this.selectValue.bindWithEvent(this),
|
||||
"mouseenter": highlight,
|
||||
"mouseleave": highlight
|
||||
});
|
||||
}
|
||||
if (currentDay.getDate() == today.getDate() && currentDay.getMonth() == today.getMonth() && currentDay.getFullYear() == today.getFullYear())
|
||||
{
|
||||
td.addClass("date-today");
|
||||
}
|
||||
if (currentDay.getDate() == this.originalDate.getDate()
|
||||
&& currentDay.getMonth() == this.originalDate.getMonth()
|
||||
&& currentDay.getFullYear() == this.originalDate.getFullYear())
|
||||
{
|
||||
td.addClass("date-picked");
|
||||
}
|
||||
currentDay.setDate(currentDay.getDate() + 1);
|
||||
}
|
||||
}
|
||||
|
||||
/** Add the select today choice */
|
||||
if (this.options.showToday)
|
||||
{
|
||||
row = new Element("tr").injectInside(tbody);
|
||||
new Element("td",
|
||||
{
|
||||
"colSpan": 7,
|
||||
"class" : "date-todayfooter",
|
||||
"events":
|
||||
{
|
||||
"click" : this.renderCalendar.bind(this, [el, today])
|
||||
}
|
||||
}).appendText("Today: " + this.convert(today, "dd/MMM/yyyy")).injectInside(row);
|
||||
}
|
||||
|
||||
table.injectInside(this.wrapper);
|
||||
},
|
||||
|
||||
highlight: function (ev)
|
||||
{
|
||||
var e = new Event(ev);
|
||||
e.target.toggleClass("date-tdover");
|
||||
},
|
||||
|
||||
selectValue: function (ev)
|
||||
{
|
||||
var e = new Event(ev);
|
||||
e.stopPropagation();
|
||||
var o = $(e.target);
|
||||
var pickedDate = this.currentDate.setDate(o.getText());
|
||||
this.element.value = this.convert(pickedDate, this.options.dateFormat);
|
||||
this.hide();
|
||||
},
|
||||
|
||||
convert: function(o, format)
|
||||
{
|
||||
var d = new Date();
|
||||
if (o.getFullYear)
|
||||
{
|
||||
d = o;
|
||||
}
|
||||
else if ($type(o) == "number")
|
||||
{
|
||||
d = new Date(o);
|
||||
}
|
||||
else if ($type(o) == "object")
|
||||
{
|
||||
d = new Date(o.year, o.month, o.date);
|
||||
}
|
||||
else if ($type(o) == "string")
|
||||
{
|
||||
d = new Date(o);
|
||||
if ((d.toString() == "Invalid Date") || (d.toString() == "NaN"))
|
||||
{
|
||||
d = new Date();
|
||||
}
|
||||
}
|
||||
|
||||
if (format == "date")
|
||||
{
|
||||
return d;
|
||||
}
|
||||
else if (format == "object")
|
||||
{
|
||||
return(
|
||||
{
|
||||
date: d.getDate(),
|
||||
month: d.getMonth(),
|
||||
year: d.getFullYear()
|
||||
});
|
||||
}
|
||||
else if (format == "number")
|
||||
{
|
||||
return d.getTime();
|
||||
}
|
||||
else if (format == "string")
|
||||
{
|
||||
return d.getDate() + "/" + (d.getMonth() + 1) + "/" + d.getFullYear();
|
||||
}
|
||||
|
||||
// Otherwise, assume we've been given a format string for formatDate
|
||||
return this.formatDate(d, format);
|
||||
},
|
||||
|
||||
formatDate: function(dt, format)
|
||||
{
|
||||
if (!dt.valueOf())
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
window.monthNamesLong = this.options.monthNamesLong;
|
||||
window.monthNamesShort = this.options.monthNamesShort;
|
||||
window.dayNamesLong = this.options.dayNamesLong;
|
||||
window.dayNamesShort = this.options.dayNamesShort;
|
||||
|
||||
return format.replace(/(yyyy|yy|y|MMMM|MMM|MM|M|dddd|ddd|dd|d|HH|H|hh|h|mm|m|ss|s|t)/gi, function($1, $2, $3, $4, $5)
|
||||
{
|
||||
switch ($1)
|
||||
{
|
||||
case 'yyyy': return dt.getFullYear();
|
||||
case 'yy': return ('0' + (dt.getFullYear()%100)).zeroFill(2);
|
||||
case 'y': return (d.getFullYear()%100);
|
||||
case 'MMMM': return window.monthNamesLong[dt.getMonth()];
|
||||
case 'MMM': return window.monthNamesShort[dt.getMonth()];
|
||||
case 'MM': return (dt.getMonth() + 1).zeroFill(2);
|
||||
case 'M': return (dt.getMonth() + 1);
|
||||
case 'dddd': return window.dayNamesLong[dt.getDay()];
|
||||
case 'ddd': return window.dayNamesShort[dt.getDay()];
|
||||
case 'dd': return dt.getDate().zeroFill(2);
|
||||
case 'd': return dt.getDate();
|
||||
case 'HH': return dt.getHours().zeroFill(2);
|
||||
case 'H': return dt.getHours();
|
||||
case 'hh': return ((h = dt.getHours() % 12) ? h : 12).zeroFill(2);
|
||||
case 'h': return ((h = dt.getHours() % 12) ? h : 12);
|
||||
case 'mm': return dt.getMinutes().zeroFill(2);
|
||||
case 'm': return dt.getMinutes();
|
||||
case 'ss': return dt.getSeconds().zeroFill(2);
|
||||
case 's': return dt.getSeconds();
|
||||
case 't': return dt.getHours() < 12 ? 'A.M.' : 'P.M.';
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
DatePicker.implement(new Events, new Options);
|
||||
|
||||
// Used by formatDate function */
|
||||
String.prototype.zeroFill = function(l)
|
||||
{
|
||||
return '0'.repeat(l - this.length) + this;
|
||||
}
|
||||
String.prototype.repeat = function(l)
|
||||
{
|
||||
var s = '', i = 0;
|
||||
while (i++ < l)
|
||||
{
|
||||
s += this;
|
||||
}
|
||||
return s;
|
||||
}
|
||||
Number.prototype.zeroFill = function(l)
|
||||
{
|
||||
return this.toString().zeroFill(l);
|
||||
}
|
@@ -1,70 +0,0 @@
|
||||
/*
|
||||
* Prerequisites: mootools.v1.11.js
|
||||
* office_addin.js
|
||||
*/
|
||||
var OfficeDocDetails =
|
||||
{
|
||||
init: function()
|
||||
{
|
||||
OfficeDocDetails.setupTabs();
|
||||
},
|
||||
|
||||
setupTabs: function()
|
||||
{
|
||||
var tabs = $$('.tabBarInline li');
|
||||
var tablinks = $$('.tabBarInline li a');
|
||||
var panels = $$('.tabPanel');
|
||||
|
||||
tabs.each(function(tab, i)
|
||||
{
|
||||
// register 'click' event for each tab
|
||||
tablinks[i].addEvent('click', function(e)
|
||||
{
|
||||
// highlight the current tab
|
||||
tab.addClass('current');
|
||||
// show the tab panel
|
||||
panels[i].removeClass('tabPanelHidden');
|
||||
|
||||
// reset styles on all closed tasks
|
||||
tabs.each(function(otherTab, j)
|
||||
{
|
||||
if (otherTab != tab)
|
||||
{
|
||||
// reset selected class
|
||||
otherTab.removeClass('current');
|
||||
// hide the tab panel
|
||||
panels[j].addClass('tabPanelHidden');
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
showAddTagForm: function()
|
||||
{
|
||||
$("addTagLinkContainer").setStyle("display", "none");
|
||||
$("addTagFormContainer").setStyle("display", "block");
|
||||
$("addTagBox").focus();
|
||||
},
|
||||
|
||||
hideAddTagForm: function()
|
||||
{
|
||||
$("addTagFormContainer").setStyle("display", "none");
|
||||
$("addTagLinkContainer").setStyle("display", "block");
|
||||
return false;
|
||||
},
|
||||
|
||||
addTag: function(nodeId, tagName)
|
||||
{
|
||||
OfficeAddin.postAction(window.serviceContextPath + "/collaboration/tagActions", "add", nodeId, null, "t=" + encodeURIComponent(tagName));
|
||||
return false;
|
||||
},
|
||||
|
||||
removeTag: function(nodeId, tagName)
|
||||
{
|
||||
OfficeAddin.postAction(window.serviceContextPath + "/collaboration/tagActions", "remove", nodeId , null, "t=" + encodeURIComponent(tagName));
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
window.addEvent('domready', OfficeDocDetails.init);
|
@@ -1,270 +0,0 @@
|
||||
/**
|
||||
* External component static wrapper that composes and 'calls' external component methods
|
||||
*/
|
||||
var ExternalComponent =
|
||||
{
|
||||
extender: null,
|
||||
|
||||
init: function(params, extenderType)
|
||||
{
|
||||
if (typeof extenderType == "undefined")
|
||||
{
|
||||
// MSOffice mode check
|
||||
extenderType = (typeof top.window.external != "undefined" && typeof top.window.external.saveToAlfresco != "undefined") ? "msoffice" : "openoffice";
|
||||
}
|
||||
|
||||
switch (extenderType.toLowerCase())
|
||||
{
|
||||
case "msoffice":
|
||||
this.extender = new MSOffice(params);
|
||||
break;
|
||||
|
||||
case "openoffice":
|
||||
this.extender = new OpenOffice(params);
|
||||
break;
|
||||
|
||||
default:
|
||||
alert('ExtenderType "' + extenderType + '" is not supported.');
|
||||
return;
|
||||
}
|
||||
},
|
||||
|
||||
openDocument: function()
|
||||
{
|
||||
return this.extender.openDocument.apply(this.extender, arguments);
|
||||
},
|
||||
|
||||
docHasExtension: function()
|
||||
{
|
||||
return this.extender.docHasExtension.apply(this.extender, arguments);
|
||||
},
|
||||
|
||||
saveToAlfresco: function()
|
||||
{
|
||||
return this.extender.saveToAlfresco.apply(this.extender, arguments);
|
||||
},
|
||||
|
||||
saveToAlfrescoAs: function()
|
||||
{
|
||||
return this.extender.saveToAlfrescoAs.apply(this.extender, arguments);
|
||||
},
|
||||
|
||||
compareDocument: function()
|
||||
{
|
||||
return this.extender.compareDocument.apply(this.extender, arguments);
|
||||
},
|
||||
|
||||
insertDocument: function()
|
||||
{
|
||||
return this.extender.insertDocument.apply(this.extender, arguments);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* External component wrapper for Microsoft Internet Explorer and MSOffice add-in
|
||||
*/
|
||||
var MSOffice = new Class(
|
||||
{
|
||||
params: {},
|
||||
|
||||
initialize: function(params)
|
||||
{
|
||||
$extend(this.params, params);
|
||||
},
|
||||
|
||||
openDocument: function(relativePath)
|
||||
{
|
||||
window.external.openDocument(relativePath);
|
||||
},
|
||||
|
||||
docHasExtension: function(fnTrue, fnFalse)
|
||||
{
|
||||
if (window.external.docHasExtension())
|
||||
{
|
||||
fnTrue.apply(arguments.callee);
|
||||
}
|
||||
else
|
||||
{
|
||||
fnFalse.apply(arguments.callee);
|
||||
}
|
||||
},
|
||||
|
||||
saveToAlfresco: function(relativePath)
|
||||
{
|
||||
return window.external.saveToAlfresco(relativePath);
|
||||
},
|
||||
|
||||
saveToAlfrescoAs: function(relativePath, filename)
|
||||
{
|
||||
return window.external.saveToAlfrescoAs(relativePath, filename);
|
||||
},
|
||||
|
||||
compareDocument: function(url)
|
||||
{
|
||||
return window.external.compareDocument(url);
|
||||
},
|
||||
|
||||
insertDocument: function(relativePath, nodeRef)
|
||||
{
|
||||
return window.external.insertDocument(relativePath, nodeRef);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* External component wrapper for OpenOffice.org add-in
|
||||
*/
|
||||
var OpenOffice = new Class(
|
||||
{
|
||||
debugMode: false,
|
||||
queryResults: [],
|
||||
params: {},
|
||||
|
||||
initialize: function(params)
|
||||
{
|
||||
$extend(this.params, params);
|
||||
},
|
||||
|
||||
// Open document with given relativePath
|
||||
openDocument: function(relativePath)
|
||||
{
|
||||
with (this)
|
||||
{
|
||||
logDebug('openDocument', 'relativePath=' + relativePath);
|
||||
doExternalCall('openDocument', relativePath);
|
||||
}
|
||||
},
|
||||
|
||||
// call external hoster object method
|
||||
docHasExtension: function(functionIfTrue, functionIfFalse)
|
||||
{
|
||||
with (this)
|
||||
{
|
||||
logDebug('docHasExtension', 'functionIfTrue, functionIfFalse');
|
||||
queryResults["docHasExtension"] = null;
|
||||
checkBooleanResult(10, 'docHasExtension', functionIfTrue, functionIfFalse).delay(100, this);
|
||||
doExternalCall('docHasExtension', '').delay(1000, this);
|
||||
}
|
||||
},
|
||||
|
||||
// call external hoster object method
|
||||
saveToAlfresco: function(currentPath)
|
||||
{
|
||||
with (this)
|
||||
{
|
||||
logDebug('saveToAlfresco', 'currentPath=' + currentPath);
|
||||
doExternalCall('saveToAlfresco', currentPath);
|
||||
}
|
||||
},
|
||||
|
||||
// call external hoster object method
|
||||
saveToAlfrescoAs: function(currentPath, filename)
|
||||
{
|
||||
with (this)
|
||||
{
|
||||
logDebug('saveToAlfrescoAs', 'currentPath=' + currentPath + ", filename=" + filename);
|
||||
doExternalCallEx('saveToAlfrescoAs', currentPath, filename);
|
||||
}
|
||||
},
|
||||
|
||||
compareDocument: function(currentPath)
|
||||
{
|
||||
with (this)
|
||||
{
|
||||
logDebug('compareDocument', 'currentPath=' + currentPath);
|
||||
doExternalCall('compareDocument', currentPath);
|
||||
}
|
||||
},
|
||||
|
||||
// Insert a document into the currently open one
|
||||
insertDocument: function(relativePath)
|
||||
{
|
||||
with (this)
|
||||
{
|
||||
logDebug('insertDocument', 'relativePath=' + relativePath);
|
||||
doExternalCall('insertDocument', relativePath);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* Implementation-specific functions
|
||||
*/
|
||||
|
||||
// Set external method call result
|
||||
setResult: function(methodName, success)
|
||||
{
|
||||
with (this)
|
||||
{
|
||||
logDebug('setResult', 'method=' + methodName + ', success=' + success);
|
||||
queryResults[methodName] = success;
|
||||
}
|
||||
},
|
||||
|
||||
// used by timer for checking boolean result of external method call
|
||||
checkBooleanResult: function(maxCount, methodName, functionIfTrue, functionIfFalse)
|
||||
{
|
||||
with (this)
|
||||
{
|
||||
var result = queryResults[methodName];
|
||||
logDebug('checkBooleanResult', 'waiting: maxCount=' + maxCount + ", methodName=" + methodName + ", ...");
|
||||
if (result != null)
|
||||
{
|
||||
if (result)
|
||||
{
|
||||
functionIfTrue();
|
||||
}
|
||||
else
|
||||
{
|
||||
functionIfFalse();
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (maxCount <= 0)
|
||||
{
|
||||
logDebug('checkBooleanResult', 'waiting timeout: maxCount=' + maxCount + ", methodName=" + methodName + ", ...");
|
||||
return;
|
||||
}
|
||||
checkBooleanResult(maxCount-1, methodName, functionIfTrue, functionIfFalse).delay(1000, this);
|
||||
}
|
||||
},
|
||||
|
||||
// compose URL for purpose to call external object method
|
||||
doExternalCall: function(methodName, path)
|
||||
{
|
||||
with (this)
|
||||
{
|
||||
var newUrl = params.folderPath + "callexternal?extcall=&action=" + methodName
|
||||
+ "&path=" + encodeURIComponent(path) + "&ts=" + new Date().getTime()
|
||||
+ (params.ticket != "" ? "&ticket=" + params.ticket : "");
|
||||
logDebug('doExternalCall', 'url=' + newUrl);
|
||||
$("if_externalComponenetMethodCall").src = newUrl;
|
||||
}
|
||||
},
|
||||
|
||||
// compose URL for purpose to call external object method
|
||||
doExternalCallEx: function(methodName, path, filename)
|
||||
{
|
||||
with (this)
|
||||
{
|
||||
var newUrl = params.folderPath + "callexternal?extcall=&action=" + methodName
|
||||
+ "&path=" + encodeURIComponent(path) + "&filename=" + encodeURIComponent(filename) + "&ts=" + new Date().getTime()
|
||||
+ (params.ticket != "" ? "&ticket=" + params.ticket : "");
|
||||
logDebug('doExternalCallEx', 'url=' + newUrl);
|
||||
$("if_externalComponenetMethodCall").src = newUrl;
|
||||
}
|
||||
},
|
||||
|
||||
// logger method
|
||||
logDebug: function(methodName, message)
|
||||
{
|
||||
with (this)
|
||||
{
|
||||
if (debugMode.enabled && debugMode.methods[methodName])
|
||||
{
|
||||
alert("[DEBUG][ExternalComponent::" + methodName + "] " + message);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
@@ -1,143 +0,0 @@
|
||||
/*
|
||||
* Prerequisites: mootools.v1.11.js
|
||||
* office_addin.js
|
||||
*/
|
||||
var OfficeMyAlfresco =
|
||||
{
|
||||
TOGGLE_AMOUNT: 150,
|
||||
ANIM_LENGTH: 800,
|
||||
taskCount: 0,
|
||||
|
||||
init: function()
|
||||
{
|
||||
if (OfficeMyAlfresco.taskCount > 0)
|
||||
{
|
||||
OfficeAddin.sortTasks($('taskList'));
|
||||
OfficeMyAlfresco.setupTasks();
|
||||
}
|
||||
OfficeMyAlfresco.setupToggles();
|
||||
},
|
||||
|
||||
setupTasks: function()
|
||||
{
|
||||
var tasks = $$('#taskList .taskItem');
|
||||
|
||||
tasks.each(function(task, i)
|
||||
{
|
||||
// register 'mouseenter' event for each task
|
||||
task.addEvent('mouseenter', function(e)
|
||||
{
|
||||
// highlight the item title
|
||||
task.addClass('taskItemSelected');
|
||||
|
||||
// reset styles on all closed tasks
|
||||
tasks.each(function(otherTask, j)
|
||||
{
|
||||
if (otherTask != task)
|
||||
{
|
||||
// reset selected class
|
||||
otherTask.removeClass('taskItemSelected');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// register 'mouseleave' event for each task
|
||||
task.addEvent('mouseleave', function(e)
|
||||
{
|
||||
// unhighlight the item title
|
||||
task.removeClass('taskItemSelected');
|
||||
});
|
||||
|
||||
// register 'click' event for each task
|
||||
task.addEvent('click', function(e)
|
||||
{
|
||||
window.location.href = window.serviceContextPath + "/office/myTasks" + OfficeAddin.defaultQuery + "&t=" + encodeURIComponent(task.id);
|
||||
});
|
||||
});
|
||||
|
||||
$('taskList').addEvent('mouseleave', function(e)
|
||||
{
|
||||
// handler for mouse leaving the entire task list
|
||||
tasks.each(function(task, i)
|
||||
{
|
||||
task.removeClass('taskItemSelected');
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
setupToggles: function()
|
||||
{
|
||||
// Elements of interest
|
||||
var panels = $$('.togglePanel'),
|
||||
toggles = $$('.toggle'),
|
||||
toggle;
|
||||
|
||||
// Animation
|
||||
var fxPanel = new Fx.Elements(panels, {wait: false, duration: OfficeMyAlfresco.ANIM_LENGTH, transition: Fx.Transitions.Back.easeInOut});
|
||||
|
||||
panels.each(function(panel, i)
|
||||
{
|
||||
toggle = toggles[i];
|
||||
|
||||
panel.defaultHeight = panel.getStyle('height').toInt();
|
||||
panel.isToggled = false;
|
||||
|
||||
toggle.addEvent('click', function(e)
|
||||
{
|
||||
var animPanel = {};
|
||||
|
||||
if (panel.isToggled)
|
||||
{
|
||||
panel.isToggled = false;
|
||||
this.removeClass('toggled');
|
||||
animPanel[i] =
|
||||
{
|
||||
'height': [panel.getStyle('height').toInt(), panel.defaultHeight]
|
||||
};
|
||||
|
||||
// reset all other panels
|
||||
panels.each(function(otherPanel, j)
|
||||
{
|
||||
if (otherPanel != panel)
|
||||
{
|
||||
// reset panel
|
||||
otherPanel.isToggled = false;
|
||||
toggles[j].removeClass('toggled');
|
||||
animPanel[j] =
|
||||
{
|
||||
'height': [otherPanel.getStyle('height').toInt(), otherPanel.defaultHeight]
|
||||
};
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
panel.isToggled = true;
|
||||
this.addClass('toggled');
|
||||
animPanel[i] =
|
||||
{
|
||||
'height': [panel.getStyle('height').toInt(), panel.defaultHeight + (OfficeMyAlfresco.TOGGLE_AMOUNT * (panels.length - 1))]
|
||||
};
|
||||
|
||||
// set all other panels
|
||||
panels.each(function(otherPanel, j)
|
||||
{
|
||||
if (otherPanel != panel)
|
||||
{
|
||||
// set panel
|
||||
otherPanel.isToggled = false;
|
||||
toggles[j].removeClass('toggled');
|
||||
animPanel[j] =
|
||||
{
|
||||
'height': [otherPanel.getStyle('height').toInt(), otherPanel.defaultHeight - OfficeMyAlfresco.TOGGLE_AMOUNT]
|
||||
};
|
||||
}
|
||||
});
|
||||
}
|
||||
fxPanel.start(animPanel);
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
window.addEvent('domready', OfficeMyAlfresco.init);
|
@@ -1,296 +0,0 @@
|
||||
/*
|
||||
* Prerequisites: mootools.v1.11.js
|
||||
* autocompleter.js
|
||||
* office_addin.js
|
||||
*/
|
||||
var OfficeMyTasks =
|
||||
{
|
||||
MAX_DESCRIPTION: 100,
|
||||
|
||||
init: function()
|
||||
{
|
||||
OfficeAddin.sortTasks($('taskList'));
|
||||
OfficeMyTasks.setupEventHandlers();
|
||||
|
||||
if (window.queryObject.t)
|
||||
{
|
||||
OfficeMyTasks.openTask(window.queryObject.t);
|
||||
}
|
||||
|
||||
if ($('wrkAssignTo'))
|
||||
{
|
||||
var autoAssignTo = new Autocompleter.Ajax.Json($('wrkAssignTo'), window.serviceContextPath + '/office/getUsers',
|
||||
{
|
||||
postVar: 's',
|
||||
minLength: 2,
|
||||
useSelection: false,
|
||||
markQuery: false,
|
||||
ajaxOptions:
|
||||
{
|
||||
method: 'get',
|
||||
headers: {'If-Modified-Since': 'Sat, 1 Jan 2000 00:00:00 GMT'}
|
||||
},
|
||||
onRequest: function(el)
|
||||
{
|
||||
$('ajxAssignTo').setStyle('display', '');
|
||||
},
|
||||
onComplete: function(el)
|
||||
{
|
||||
$('ajxAssignTo').setStyle('display', 'none');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if ($('wrkDueDate'))
|
||||
{
|
||||
var dueDate = new DatePicker($('wrkDueDate'),
|
||||
{
|
||||
readOnly: false,
|
||||
dateFormat: "dd MMMM yyyy"
|
||||
});
|
||||
}
|
||||
|
||||
if ($('wrkDescription'))
|
||||
{
|
||||
var desc = $('wrkDescription');
|
||||
|
||||
desc.onkeyup = desc.onchange = desc.onblur = function(event)
|
||||
{
|
||||
if (this.value.length > OfficeMyTasks.MAX_DESCRIPTION)
|
||||
{
|
||||
this.setProperty('value', this.getProperty('value').substr(0, OfficeMyTasks.MAX_DESCRIPTION));
|
||||
}
|
||||
};
|
||||
}
|
||||
},
|
||||
|
||||
setupEventHandlers: function()
|
||||
{
|
||||
var tasks = $$('#taskList .taskItem');
|
||||
|
||||
tasks.each(function(task, i)
|
||||
{
|
||||
task.isOpen = false;
|
||||
|
||||
// register 'mouseenter' event for each task
|
||||
task.addEvent('mouseenter', function(e)
|
||||
{
|
||||
if (task.isOpen)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// highlight the item title
|
||||
task.addClass('taskItemSelected');
|
||||
|
||||
// reset styles on all closed tasks
|
||||
tasks.each(function(otherTask, j)
|
||||
{
|
||||
if ((otherTask != task) && (!otherTask.isOpen))
|
||||
{
|
||||
// reset selected class
|
||||
otherTask.removeClass('taskItemSelected');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// register 'mouseleave' event for each task
|
||||
task.addEvent('mouseleave', function(e)
|
||||
{
|
||||
if (task.isOpen)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// unhighlight the item title
|
||||
task.removeClass('taskItemSelected');
|
||||
});
|
||||
|
||||
// register 'click' event for each task
|
||||
task.addEvent('click', function(e)
|
||||
{
|
||||
if (!task.isOpen)
|
||||
{
|
||||
// open up this task
|
||||
// flag this task as open
|
||||
task.isOpen = true;
|
||||
|
||||
// highlight the item title
|
||||
task.addClass('taskItemSelected');
|
||||
|
||||
if (!window.queryObject.st)
|
||||
{
|
||||
OfficeAddin.showStatusText("Loading task...", "ajax_anim.gif", false);
|
||||
}
|
||||
|
||||
// ajax call to load task details
|
||||
var actionURL = window.serviceContextPath + "/office/myTasksDetail" + OfficeAddin.defaultQuery + "&t=" + task.id.replace(/\./, "$");
|
||||
var myAjax = new Ajax(actionURL,
|
||||
{
|
||||
method: 'get',
|
||||
headers: {'If-Modified-Since': 'Sat, 1 Jan 2000 00:00:00 GMT'},
|
||||
onComplete: function(textResponse, xmlResponse)
|
||||
{
|
||||
if (!window.queryObject.st)
|
||||
{
|
||||
OfficeAddin.hideStatusText();
|
||||
}
|
||||
$("taskDetails").innerHTML = textResponse;
|
||||
}
|
||||
}).request();
|
||||
|
||||
// close other open tasks
|
||||
tasks.each(function(otherTask, j)
|
||||
{
|
||||
if (otherTask != task)
|
||||
{
|
||||
// close any other open tasks
|
||||
otherTask.isOpen = false;
|
||||
|
||||
// unhighlight the item title
|
||||
otherTask.removeClass('taskItemSelected');
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('taskList').addEvent('mouseleave', function(e)
|
||||
{
|
||||
// handler for mouse leaving the entire task list
|
||||
tasks.each(function(task, i)
|
||||
{
|
||||
if (!task.isOpen)
|
||||
{
|
||||
task.removeClass('taskItemSelected');
|
||||
}
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
openTask: function(taskId)
|
||||
{
|
||||
if ($(taskId))
|
||||
{
|
||||
$(taskId).fireEvent("click");
|
||||
}
|
||||
},
|
||||
|
||||
transitionTask: function(taskId, commandURL, successMessage)
|
||||
{
|
||||
OfficeAddin.showStatusText("Running workflow...", "ajax_anim.gif", false);
|
||||
|
||||
// ajax call to run workflow
|
||||
var myAjax = new Ajax(commandURL,
|
||||
{
|
||||
method: 'get',
|
||||
headers: {'If-Modified-Since': 'Sat, 1 Jan 2000 00:00:00 GMT'},
|
||||
onComplete: function(textResponse, xmlResponse)
|
||||
{
|
||||
// Remove any trailing hash
|
||||
var href = window.location.href.replace("#", "");
|
||||
// Remove any "st" and "w" parameters
|
||||
href = OfficeAddin.removeParameters(href, "st|w");
|
||||
// Optionally add a status string
|
||||
if (successMessage !== "")
|
||||
{
|
||||
var json = "{\"statusString\":\"" + successMessage + "\",\"statusCode\":true}";
|
||||
href += (href.indexOf("?") == -1) ? "?" : "&";
|
||||
href += "st=" + encodeURIComponent(json);
|
||||
}
|
||||
window.location.href = href;
|
||||
},
|
||||
onFailure: function()
|
||||
{
|
||||
OfficeAddin.showStatusText("Couldn't run workflow", "action_failed.gif", true);
|
||||
}
|
||||
}).request();
|
||||
},
|
||||
|
||||
startWorkflow: function(commandURL, Doc)
|
||||
{
|
||||
var wrkType = $('wrkType').value,
|
||||
wrkAssignTo = $('wrkAssignTo').value,
|
||||
wrkDueDate = $('wrkDueDate').value,
|
||||
wrkDescription=$('wrkDescription').value;
|
||||
|
||||
if (wrkAssignTo.test(/(?:\(([^\)]+)\))/))
|
||||
{
|
||||
// Extract the Username - should be "First Last (Username)"
|
||||
wrkAssignTo = wrkAssignTo.match(/(?:\(([^\)]+)\))/)[1];
|
||||
}
|
||||
|
||||
if (wrkAssignTo === "")
|
||||
{
|
||||
OfficeAddin.showStatusText("Assign to cannot be empty", "info.gif", true);
|
||||
return;
|
||||
}
|
||||
|
||||
OfficeAddin.showStatusText("Starting workflow...", "ajax_anim.gif", false);
|
||||
var actionURL = commandURL + "?a=workflow&n=" + encodeURIComponent(Doc);
|
||||
actionURL += "&wt=" + encodeURIComponent(wrkType);
|
||||
actionURL += "&at=" + encodeURIComponent(wrkAssignTo);
|
||||
// Date supplied?
|
||||
if (wrkDueDate !== "")
|
||||
{
|
||||
actionURL += "&dd=" + encodeURIComponent(wrkDueDate);
|
||||
}
|
||||
actionURL += "&desc=" + encodeURIComponent(wrkDescription);
|
||||
var myAjax = new Ajax(actionURL,
|
||||
{
|
||||
method: 'get',
|
||||
headers: {'If-Modified-Since': 'Sat, 1 Jan 2000 00:00:00 GMT'},
|
||||
onComplete: function(textResponse, xmlResponse)
|
||||
{
|
||||
// Remove any trailing hash
|
||||
var href = window.location.href.replace("#", ""),
|
||||
success = Json.evaluate(textResponse).statusCode;
|
||||
|
||||
// Remove any previous "st", "w" or "wd" parameters
|
||||
href = OfficeAddin.removeParameters(href, success ? "st|w|wd" : "st");
|
||||
// Optionally add a status string
|
||||
if (textResponse !== "")
|
||||
{
|
||||
href += (href.indexOf("?") == -1) ? "?" : "&";
|
||||
href += "st=" + encodeURIComponent(textResponse);
|
||||
}
|
||||
window.location.href = href;
|
||||
}
|
||||
});
|
||||
myAjax.request();
|
||||
},
|
||||
|
||||
/* AJAX call to perform server-side actions */
|
||||
runTaskAction: function(useTemplate, action, nodeId, confirmMsg)
|
||||
{
|
||||
// Re-select a selected task after reload
|
||||
var taskSel = $E('#taskList .taskItemSelected'),
|
||||
outParams = null;
|
||||
if (taskSel !== null)
|
||||
{
|
||||
var taskId = taskSel.id;
|
||||
outParams = "t=" + encodeURIComponent(taskId);
|
||||
}
|
||||
|
||||
return OfficeAddin.getAction(useTemplate, action, nodeId, confirmMsg, null, outParams);
|
||||
},
|
||||
|
||||
refreshPage: function()
|
||||
{
|
||||
// Remove any trailing hash
|
||||
var href = window.location.href.replace("#", "");
|
||||
// Remove any previous "st", "w", "wd" or "t" parameters
|
||||
href = OfficeAddin.removeParameters(href, "st|w|wd|t");
|
||||
// Re-select a selected task after reload
|
||||
var taskSel = $E('#taskList .taskItemSelected');
|
||||
if (taskSel !== null)
|
||||
{
|
||||
var taskId = taskSel.id;
|
||||
href += (href.indexOf("?") == -1) ? "?" : "&";
|
||||
href += "t=" + encodeURIComponent(taskId);
|
||||
}
|
||||
window.location.href = href;
|
||||
}
|
||||
};
|
||||
|
||||
window.addEvent('domready', OfficeMyTasks.init);
|
@@ -1,342 +0,0 @@
|
||||
/*
|
||||
* Prerequisites: mootools.v1.11.js
|
||||
* office_addin.js
|
||||
*/
|
||||
var OfficeNavigation =
|
||||
{
|
||||
TOGGLE_AMOUNT: 150,
|
||||
ANIM_LENGTH: 800,
|
||||
CREATE_SPACE_HEIGHT: 108,
|
||||
CREATE_SPACE_TEMPLATE: 16,
|
||||
OVERLAY_ANIM_LENGTH: 300,
|
||||
OVERLAY_OPACITY: 0.7,
|
||||
documentNames: [],
|
||||
|
||||
init: function()
|
||||
{
|
||||
OfficeNavigation.setupToggles();
|
||||
OfficeNavigation.setupCreateSpace();
|
||||
OfficeNavigation.getDocumentNames();
|
||||
|
||||
// Did we arrive here from the "Create collaboration space" shortcut?
|
||||
if (window.queryObject.cc)
|
||||
{
|
||||
OfficeNavigation.showCreateSpace();
|
||||
}
|
||||
},
|
||||
|
||||
setupToggles: function()
|
||||
{
|
||||
// Elements of interest
|
||||
var panels = $$('.togglePanel'),
|
||||
toggles = $$('.toggle'),
|
||||
toggle;
|
||||
|
||||
// Animation
|
||||
var fxPanel = new Fx.Elements(panels,
|
||||
{
|
||||
wait: false,
|
||||
duration: OfficeNavigation.ANIM_LENGTH,
|
||||
transition: Fx.Transitions.Back.easeInOut
|
||||
});
|
||||
|
||||
panels.each(function(panel, i)
|
||||
{
|
||||
toggle = toggles[i];
|
||||
|
||||
panel.defaultHeight = panel.getStyle('height').toInt();
|
||||
panel.isToggled = false;
|
||||
|
||||
toggle.addEvent('click', function(e)
|
||||
{
|
||||
var animPanel = {};
|
||||
|
||||
if (panel.isToggled)
|
||||
{
|
||||
panel.isToggled = false;
|
||||
this.removeClass('toggled');
|
||||
animPanel[i] =
|
||||
{
|
||||
'height': [panel.getStyle('height').toInt(), panel.defaultHeight]
|
||||
};
|
||||
|
||||
// reset all other panels
|
||||
panels.each(function(otherPanel, j)
|
||||
{
|
||||
if (otherPanel != panel)
|
||||
{
|
||||
// reset panel
|
||||
otherPanel.isToggled = false;
|
||||
toggles[j].removeClass('toggled');
|
||||
animPanel[j] =
|
||||
{
|
||||
'height': [otherPanel.getStyle('height').toInt(), otherPanel.defaultHeight]
|
||||
};
|
||||
}
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
panel.isToggled = true;
|
||||
this.addClass('toggled');
|
||||
animPanel[i] =
|
||||
{
|
||||
'height': [panel.getStyle('height').toInt(), panel.defaultHeight + (OfficeNavigation.TOGGLE_AMOUNT * (panels.length - 1))]
|
||||
};
|
||||
|
||||
// set all other panels
|
||||
panels.each(function(otherPanel, j)
|
||||
{
|
||||
if (otherPanel != panel)
|
||||
{
|
||||
// set panel
|
||||
otherPanel.isToggled = false;
|
||||
toggles[j].removeClass('toggled');
|
||||
animPanel[j] =
|
||||
{
|
||||
'height': [otherPanel.getStyle('height').toInt(), otherPanel.defaultHeight - OfficeNavigation.TOGGLE_AMOUNT]
|
||||
};
|
||||
}
|
||||
});
|
||||
}
|
||||
fxPanel.start(animPanel);
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
setupCreateSpace: function()
|
||||
{
|
||||
var panel = $('createSpacePanel');
|
||||
panel.defaultHeight = 0;
|
||||
panel.setStyle('display', 'block');
|
||||
panel.setStyle('height', panel.defaultHeight);
|
||||
},
|
||||
|
||||
getDocumentNames: function()
|
||||
{
|
||||
OfficeNavigation.documentNames = [];
|
||||
|
||||
$$("#documentList .notVersionable").each(function(doc, i)
|
||||
{
|
||||
OfficeNavigation.documentNames.push(doc.getText());
|
||||
});
|
||||
},
|
||||
|
||||
showCreateSpace: function()
|
||||
{
|
||||
var panel = $('createSpacePanel');
|
||||
// Animation
|
||||
var fxPanel = new Fx.Style(panel, 'height',
|
||||
{
|
||||
duration: OfficeNavigation.ANIM_LENGTH,
|
||||
transition: Fx.Transitions.Back.easeOut,
|
||||
onComplete: function()
|
||||
{
|
||||
$('spaceName').focus();
|
||||
}
|
||||
});
|
||||
|
||||
if (!panel.isOpen)
|
||||
{
|
||||
panel.isOpen = true;
|
||||
var openHeight = OfficeNavigation.CREATE_SPACE_HEIGHT;
|
||||
if ($('spaceTemplate'))
|
||||
{
|
||||
openHeight += OfficeNavigation.CREATE_SPACE_TEMPLATE;
|
||||
}
|
||||
fxPanel.start(panel.getStyle('height').toInt(), openHeight);
|
||||
}
|
||||
else
|
||||
{
|
||||
OfficeNavigation.hideCreateSpace();
|
||||
}
|
||||
},
|
||||
|
||||
hideCreateSpace: function()
|
||||
{
|
||||
var panel = $('createSpacePanel');
|
||||
// Animation
|
||||
var fxPanel = new Fx.Style(panel, 'height',
|
||||
{
|
||||
duration: OfficeNavigation.ANIM_LENGTH,
|
||||
transition: Fx.Transitions.Back.easeIn,
|
||||
onComplete: function()
|
||||
{
|
||||
panel.isOpen = false;
|
||||
}
|
||||
});
|
||||
|
||||
fxPanel.start(panel.getStyle('height').toInt(), panel.defaultHeight);
|
||||
},
|
||||
|
||||
submitCreateSpace: function(commandURL, nodeId)
|
||||
{
|
||||
var spaceName = $('spaceName').value,
|
||||
spaceTitle = $('spaceTitle').value,
|
||||
spaceDescription = $('spaceDescription').value;
|
||||
|
||||
var spaceTemplate;
|
||||
if ($('spaceTemplate'))
|
||||
{
|
||||
spaceTemplate = $('spaceTemplate').value;
|
||||
}
|
||||
|
||||
OfficeAddin.showStatusText("Creating space...", "ajax_anim.gif", false);
|
||||
var actionURL = commandURL + "?a=newspace&p=" + nodeId;
|
||||
actionURL += "&sn=" + encodeURIComponent(spaceName);
|
||||
actionURL += "&st=" + encodeURIComponent(spaceTitle);
|
||||
actionURL += "&sd=" + encodeURIComponent(spaceDescription);
|
||||
actionURL += "&t=" + encodeURIComponent(spaceTemplate);
|
||||
var myAjax = new Ajax(actionURL,
|
||||
{
|
||||
method: 'get',
|
||||
headers:
|
||||
{
|
||||
'If-Modified-Since': 'Sat, 1 Jan 2000 00:00:00 GMT'
|
||||
},
|
||||
onComplete: function(textResponse, xmlResponse)
|
||||
{
|
||||
// Remove any trailing hash
|
||||
var href = window.location.href.replace("#", "");
|
||||
// Remove any "st" and "cc" parameters
|
||||
href = OfficeAddin.removeParameters(href, "st|cc");
|
||||
// Optionally add a status string
|
||||
if (textResponse !== "")
|
||||
{
|
||||
href += (href.indexOf("?") == -1) ? "?" : "&";
|
||||
href += "st=" + encodeURIComponent(textResponse);
|
||||
}
|
||||
window.location.href = href;
|
||||
}
|
||||
});
|
||||
myAjax.request();
|
||||
},
|
||||
|
||||
saveToAlfresco: function(currentPath)
|
||||
{
|
||||
// Does the current doc have an extension? - async request
|
||||
ExternalComponent.docHasExtension(function()
|
||||
{
|
||||
ExternalComponent.saveToAlfresco(currentPath);
|
||||
}, function()
|
||||
{
|
||||
OfficeNavigation.showSaveFilenamePanel(currentPath);
|
||||
});
|
||||
},
|
||||
|
||||
showSaveFilenamePanel: function(currentPath)
|
||||
{
|
||||
this.fxOverlay = $("overlayPanel").effect('opacity',
|
||||
{
|
||||
duration: OfficeNavigation.OVERLAY_ANIM_LENGTH
|
||||
});
|
||||
|
||||
var panel = $("saveDetailsPanel");
|
||||
panel.setStyle("opacity", 0);
|
||||
panel.setStyle("display", "inline");
|
||||
|
||||
var fnToggleOK = function()
|
||||
{
|
||||
var pattern = new RegExp(/([\"\*\\\><\?\/\:\|]+)|([\.]?[\.]+$)/),
|
||||
filename = $('saveFilename').value;
|
||||
if (filename.trim() === "" || pattern.test(filename))
|
||||
{
|
||||
$('saveFilenameOK').addClass('disabled');
|
||||
}
|
||||
else
|
||||
{
|
||||
$('saveFilenameOK').removeClass('disabled');
|
||||
}
|
||||
};
|
||||
|
||||
fnToggleOK();
|
||||
|
||||
var anim = new Fx.Styles(panel,
|
||||
{
|
||||
duration: OfficeNavigation.ANIM_LENGTH,
|
||||
transition: Fx.Transitions.linear,
|
||||
onComplete: function()
|
||||
{
|
||||
$('saveFilename').addEvent('keypress', function(event)
|
||||
{
|
||||
event = new Event(event);
|
||||
if (event.key == 'enter')
|
||||
{
|
||||
OfficeNavigation.saveOK();
|
||||
event.stop();
|
||||
this.removeEvent('keypress');
|
||||
this.removeEvent('keyup');
|
||||
}
|
||||
else if (event.key == 'esc')
|
||||
{
|
||||
OfficeNavigation.saveCancel();
|
||||
event.stop();
|
||||
this.removeEvent('keypress');
|
||||
this.removeEvent('keyup');
|
||||
}
|
||||
});
|
||||
$('saveFilename').addEvent('keyup', function(event)
|
||||
{
|
||||
fnToggleOK();
|
||||
});
|
||||
$('saveFilename').focus();
|
||||
}
|
||||
}).start({'opacity': 1});
|
||||
|
||||
this.fxOverlay.start(OfficeNavigation.OVERLAY_OPACITY);
|
||||
if (panel !== null)
|
||||
{
|
||||
this.popupPanel = panel;
|
||||
this.popupPanel.currentPath = currentPath;
|
||||
}
|
||||
},
|
||||
|
||||
saveOK: function()
|
||||
{
|
||||
// Shortcut for double-event firing issue
|
||||
if (this.popupPanel === null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var filename = $('saveFilename').value.trim(),
|
||||
currentPath = this.popupPanel.currentPath,
|
||||
cancelSave = false;
|
||||
|
||||
if (filename.length > 0)
|
||||
{
|
||||
// Trying to save over an existing non-versionable doc?
|
||||
OfficeNavigation.documentNames.each(function(doc, i)
|
||||
{
|
||||
if ((doc == filename) || (doc == filename + ".doc"))
|
||||
{
|
||||
if (!window.confirm("The document exists and is not versionable. Overwrite this file?"))
|
||||
{
|
||||
cancelSave = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
if (!cancelSave)
|
||||
{
|
||||
ExternalComponent.saveToAlfrescoAs(currentPath, filename);
|
||||
}
|
||||
}
|
||||
OfficeNavigation.saveCancel();
|
||||
},
|
||||
|
||||
saveCancel: function()
|
||||
{
|
||||
if (this.popupPanel !== null)
|
||||
{
|
||||
this.popupPanel.setStyle("display", "none");
|
||||
this.popupPanel = null;
|
||||
}
|
||||
if (this.fxOverlay)
|
||||
{
|
||||
this.fxOverlay.start(0);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
window.addEvent('domready', OfficeNavigation.init);
|
@@ -1,264 +0,0 @@
|
||||
/*
|
||||
* Prerequisites: mootools.v1.11.js
|
||||
*/
|
||||
var OfficeAddin =
|
||||
{
|
||||
ANIM_LENGTH: 500,
|
||||
STATUS_FADE: 10000,
|
||||
LIST_DEF_HEIGHT: 204,
|
||||
|
||||
defaultQuery: "",
|
||||
|
||||
init: function()
|
||||
{
|
||||
$('overlayPanel').setStyle('opacity', 0);
|
||||
|
||||
window.queryObject = OfficeAddin.toQueryObject(document.location.search);
|
||||
window.contextPath = OfficeAddin.getContextPath();
|
||||
window.serviceContextPath = OfficeAddin.getServiceContextPath();
|
||||
|
||||
/* Update needed after page load? */
|
||||
if (this.queryObject.st)
|
||||
{
|
||||
var objResponse = Json.evaluate(this.queryObject.st),
|
||||
imgSuccess = (objResponse.statusCode ? "action_successful.gif" : "action_failed.gif"),
|
||||
colBackground = (objResponse.statusCode ? "#50ff50" : "#ff5050");
|
||||
OfficeAddin.showStatusText(objResponse.statusString, imgSuccess, true, colBackground);
|
||||
}
|
||||
|
||||
OfficeAddin.makeExternalLinks();
|
||||
},
|
||||
|
||||
makeExternalLinks: function(e)
|
||||
{
|
||||
$$('a').each(function(anchor, i)
|
||||
{
|
||||
if (anchor.getProperty('rel') == '_blank')
|
||||
{
|
||||
anchor.target = "_blank";
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
toQueryObject: function(s)
|
||||
{
|
||||
var obj = {};
|
||||
$A(s.substring(1).split('&')).each(function(param)
|
||||
{
|
||||
param = decodeURIComponent(param).split("=");
|
||||
obj[param[0]] = param[1];
|
||||
});
|
||||
return obj;
|
||||
},
|
||||
|
||||
showStatusText: function(statusText, statusImage, fadeOut, colBackground)
|
||||
{
|
||||
var e = $("statusText");
|
||||
if (statusImage)
|
||||
{
|
||||
statusText = "<img src=\"../../images/office/" + statusImage + "\" alt=\"*\" style=\"padding-right: 8px;\" align=\"top\" />" + statusText;
|
||||
}
|
||||
e.innerHTML = statusText;
|
||||
e.setStyle("opacity", "1");
|
||||
if (statusText === "")
|
||||
{
|
||||
e.setStyle("border-top", "");
|
||||
}
|
||||
else
|
||||
{
|
||||
e.setStyle("border-top", "1px dashed #808080");
|
||||
var fx = new Fx.Style(e, 'background-color',
|
||||
{
|
||||
duration: OfficeAddin.ANIM_LENGTH,
|
||||
transition: Fx.Transitions.linear
|
||||
});
|
||||
if (fadeOut)
|
||||
{
|
||||
fx.chain(function()
|
||||
{
|
||||
OfficeAddin.hideStatusText.delay(OfficeAddin.STATUS_FADE);
|
||||
});
|
||||
}
|
||||
var fxBackground = (typeof colBackground == "undefined") ? "#ffffcc" : colBackground;
|
||||
fx.start(fxBackground, "#ffffff");
|
||||
}
|
||||
},
|
||||
|
||||
hideStatusText: function()
|
||||
{
|
||||
var e = $("statusText");
|
||||
e.setStyle("opacity", "1");
|
||||
var fx = new Fx.Style(e, 'opacity',
|
||||
{
|
||||
duration: OfficeAddin.ANIM_LENGTH
|
||||
}).start('1', '0');
|
||||
},
|
||||
|
||||
/* AJAX call to perform server-side actions */
|
||||
getAction: function(useTemplate, action, nodeId, confirmMsg, inParams, outParams)
|
||||
{
|
||||
return OfficeAddin.runAction("get", useTemplate, action, nodeId, confirmMsg, inParams, outParams);
|
||||
},
|
||||
postAction: function(useTemplate, action, nodeId, confirmMsg, inParams, outParams)
|
||||
{
|
||||
return OfficeAddin.runAction("post", useTemplate, action, nodeId, confirmMsg, inParams, outParams);
|
||||
},
|
||||
runAction: function(httpMethod, useTemplate, action, nodeId, confirmMsg, inParams, outParams)
|
||||
{
|
||||
if (confirmMsg && confirmMsg !== "")
|
||||
{
|
||||
if (!window.confirm(confirmMsg))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
OfficeAddin.showStatusText("Running action...", "ajax_anim.gif", false);
|
||||
var actionURL = useTemplate + "?a=" + action + "&n=" + nodeId;
|
||||
if (inParams && inParams !== "")
|
||||
{
|
||||
actionURL += "&" + inParams;
|
||||
}
|
||||
var myAjax = new Ajax(actionURL,
|
||||
{
|
||||
method: httpMethod,
|
||||
headers: {'If-Modified-Since': 'Sat, 1 Jan 2000 00:00:00 GMT'},
|
||||
onComplete: function(textResponse, xmlResponse)
|
||||
{
|
||||
// Remove any trailing hash
|
||||
var href = window.location.href.replace("#", "");
|
||||
// Remove any previous "st" parameters
|
||||
href = OfficeAddin.removeParameters(href, "st|version");
|
||||
// Optionally add a status string
|
||||
if (textResponse !== "")
|
||||
{
|
||||
href += (href.indexOf("?") == -1) ? "?" : "&";
|
||||
href += "st=" + encodeURIComponent(textResponse);
|
||||
if (outParams && outParams !== "")
|
||||
{
|
||||
href += "&" + outParams;
|
||||
}
|
||||
}
|
||||
window.location.href = href.replace(/&undefined/g, "");
|
||||
}
|
||||
}).request();
|
||||
},
|
||||
|
||||
/* Calculates and returns the context path for the current page */
|
||||
getContextPath: function()
|
||||
{
|
||||
var path = window.location.pathname,
|
||||
idx = path.indexOf("/", 1),
|
||||
contextPath = "";
|
||||
if (idx != -1)
|
||||
{
|
||||
contextPath = path.substring(0, idx);
|
||||
}
|
||||
else
|
||||
{
|
||||
contextPath = "";
|
||||
}
|
||||
|
||||
return contextPath;
|
||||
},
|
||||
|
||||
/* Calculates and returns the service context path for the current page */
|
||||
getServiceContextPath: function()
|
||||
{
|
||||
var path = window.location.pathname,
|
||||
idx = path.indexOf("/", 1),
|
||||
serviceContextPath = "";
|
||||
if (idx != -1)
|
||||
{
|
||||
serviceContextPath = path.substring(0, idx);
|
||||
path = path.substring(idx);
|
||||
idx = path.indexOf("/", 1);
|
||||
|
||||
if (idx != -1)
|
||||
{
|
||||
serviceContextPath += path.substring(0, idx);
|
||||
}
|
||||
}
|
||||
|
||||
return serviceContextPath;
|
||||
},
|
||||
|
||||
/* Removes params "param1|param2...|paramN" from a URL */
|
||||
removeParameters: function(theUrl, theParams)
|
||||
{
|
||||
var regexp = new RegExp("[?&](" + theParams + ")=([^&$]+)", "g"),
|
||||
url = theUrl.replace(regexp, "");
|
||||
|
||||
// Check that an href still contains a "?" after removing parameters
|
||||
var pos = url.indexOf("?");
|
||||
if (pos == -1)
|
||||
{
|
||||
// None found - do we have an "&" ?
|
||||
pos = url.indexOf("&");
|
||||
if (pos != -1)
|
||||
{
|
||||
// Yes - so replace the first one with a "?"
|
||||
url = url.substring(0, pos) + "?" + url.substring(pos+1);
|
||||
}
|
||||
}
|
||||
return url;
|
||||
},
|
||||
|
||||
sortTasks: function(taskContainer)
|
||||
{
|
||||
var taskArray = [];
|
||||
taskContainer.getElementsBySelector('.taskItem').each(function(task, i)
|
||||
{
|
||||
taskArray[i] = {dueDate: task.getProperty('rel'), theTask: task.clone()};
|
||||
});
|
||||
|
||||
taskArray.sort(OfficeAddin.sortByDueDate);
|
||||
taskContainer.empty();
|
||||
|
||||
for(var i = 0; i < taskArray.length; i++)
|
||||
{
|
||||
taskArray[i].theTask.addClass((i % 2 === 0) ? "odd" : "even");
|
||||
taskArray[i].theTask.injectInside(taskContainer);
|
||||
}
|
||||
},
|
||||
|
||||
sortByDueDate: function(a, b)
|
||||
{
|
||||
var x = a.dueDate,
|
||||
y = b.dueDate;
|
||||
return ((x < y) ? -1 : ((x > y) ? 1 : 0));
|
||||
},
|
||||
|
||||
openWindowCallback: function(url, callback)
|
||||
{
|
||||
// Store the callback function for later
|
||||
OfficeAddin.callbackFunction = callback;
|
||||
// Register our "well known" callback function
|
||||
window.alfrescoCallback = OfficeAddin.openWindowOnCallback;
|
||||
// Use a named window so that only one dialog is active at a time
|
||||
window.open(url, 'alfrescoDialog', 'width=1024,height=768,scrollbars=yes');
|
||||
},
|
||||
|
||||
openWindowOnCallback: function(fromTimeout)
|
||||
{
|
||||
if (typeof(fromTimeout)=='undefined')
|
||||
{
|
||||
window.setTimeout("OfficeAddin.openWindowOnCallback(true)", 10);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Clear out the global callback function
|
||||
window.alfrescoCallback = null;
|
||||
try
|
||||
{
|
||||
OfficeAddin.callbackFunction();
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
}
|
||||
OfficeAddin.callbackFunction = null;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
window.addEvent('domready', OfficeAddin.init);
|
@@ -1,75 +0,0 @@
|
||||
/*
|
||||
* Prerequisites: mootools.v1.11.js
|
||||
* office_addin.js
|
||||
*/
|
||||
var OfficeSearch =
|
||||
{
|
||||
MIN_LENGTH: 3,
|
||||
|
||||
init: function()
|
||||
{
|
||||
$('searchText').addEvent('keydown', function(event)
|
||||
{
|
||||
event = new Event(event);
|
||||
if (event.key == 'enter')
|
||||
{
|
||||
$("simpleSearchButton").onclick();
|
||||
}
|
||||
});
|
||||
|
||||
$('itemsFound').innerHTML = "Results Shown Below";
|
||||
|
||||
$('searchText').focus();
|
||||
},
|
||||
|
||||
itemsFound: function(shownResults, totalResults)
|
||||
{
|
||||
var strFound;
|
||||
if (totalResults === 0)
|
||||
{
|
||||
strFound = "No items found";
|
||||
}
|
||||
else
|
||||
{
|
||||
strFound = shownResults + " items found";
|
||||
}
|
||||
$('itemsFound').innerHTML = strFound;
|
||||
},
|
||||
|
||||
/* AJAX call to perform server-side search */
|
||||
runSearch: function(useTemplate, argPath)
|
||||
{
|
||||
var searchString = $('searchText').value;
|
||||
var maxResults = $('maxResults').value;
|
||||
|
||||
if (searchString.length < OfficeSearch.MIN_LENGTH)
|
||||
{
|
||||
OfficeAddin.showStatusText("Minimum " + OfficeSearch.MIN_LENGTH + " characters.", "info.gif", true);
|
||||
return;
|
||||
}
|
||||
|
||||
OfficeAddin.showStatusText("Searching...", "ajax_anim.gif", false);
|
||||
var actionURL = useTemplate + argPath + "&search=" + encodeURIComponent(searchString) + "&maxresults=" + maxResults;
|
||||
var myAjax = new Ajax(actionURL,
|
||||
{
|
||||
method: 'get',
|
||||
headers: {'If-Modified-Since': 'Sat, 1 Jan 2000 00:00:00 GMT'},
|
||||
evalScripts: true,
|
||||
onComplete: function(textResponse, xmlResponse)
|
||||
{
|
||||
OfficeAddin.hideStatusText();
|
||||
$('searchResultsList').innerHTML = textResponse;
|
||||
/* Custom tooltips
|
||||
var myTips = new Tips($$(".toolTip"),
|
||||
{
|
||||
fixed: true,
|
||||
maxTitleChars: 50
|
||||
});
|
||||
*/
|
||||
}
|
||||
});
|
||||
myAjax.request();
|
||||
}
|
||||
};
|
||||
|
||||
window.addEvent('domready', OfficeSearch.init);
|
@@ -1,140 +0,0 @@
|
||||
/*
|
||||
* Prerequisites: mootools.v1.11.js
|
||||
* office_addin.js
|
||||
*/
|
||||
var OfficeTags =
|
||||
{
|
||||
/* Scaling for tag clouds - must have supporting CSS classes defined */
|
||||
SCALE_FACTOR: 5,
|
||||
|
||||
/* Set to preselect a tag after the tag cloud populated */
|
||||
preselectedTag: "",
|
||||
|
||||
init: function()
|
||||
{
|
||||
OfficeTags.getTagCloud();
|
||||
},
|
||||
|
||||
getTagCloud: function()
|
||||
{
|
||||
if (!window.queryObject.st)
|
||||
{
|
||||
OfficeAddin.showStatusText("Loading tag cloud...", "ajax_anim.gif", false);
|
||||
}
|
||||
|
||||
// ajax call to get repository tag data
|
||||
var actionURL = window.serviceContextPath + "/collaboration/tagQuery";
|
||||
var myJsonRequest = new Json.Remote(actionURL,
|
||||
{
|
||||
method: 'get',
|
||||
headers: {'If-Modified-Since': 'Sat, 1 Jan 2000 00:00:00 GMT'},
|
||||
onComplete: function(tagQuery)
|
||||
{
|
||||
if (!window.queryObject.st)
|
||||
{
|
||||
OfficeAddin.hideStatusText();
|
||||
}
|
||||
OfficeTags.populateTagCloud(tagQuery);
|
||||
}
|
||||
}).send();
|
||||
},
|
||||
|
||||
populateTagCloud: function(tagQuery)
|
||||
{
|
||||
var tagCloud = $("tagCloud"),
|
||||
range = tagQuery.countMax - tagQuery.countMin,
|
||||
scale = (range / OfficeTags.SCALE_FACTOR);
|
||||
|
||||
var tagContainer, tagName, tagNameClass, tagCount;
|
||||
|
||||
tagCloud.empty();
|
||||
tagQuery.tags.each(function(tag, i)
|
||||
{
|
||||
tagNameClass = "tagName" + Math.round((tag.count - tagQuery.countMin) / scale);
|
||||
if (OfficeTags.preselectedTag == tag.name)
|
||||
{
|
||||
tagNameClass += " tagSelected";
|
||||
}
|
||||
tagName = new Element("a", {"class": tagNameClass, "rel": tag.name});
|
||||
tagName.appendText(tag.name);
|
||||
tagName.injectInside(tagCloud);
|
||||
tagName.addEvent('click', function(e)
|
||||
{
|
||||
OfficeTags.selectTag(tag.name);
|
||||
});
|
||||
tagCloud.appendText(" ");
|
||||
|
||||
tagCount = new Element("span", {"class": "tagCount"});
|
||||
tagCount.appendText("(" + tag.count + ")");
|
||||
tagCount.injectInside(tagName);
|
||||
});
|
||||
if (OfficeTags.preselectedTag !== "")
|
||||
{
|
||||
OfficeTags.selectTag(OfficeTags.preselectedTag);
|
||||
}
|
||||
},
|
||||
|
||||
/* AJAX call to perform server-side tag search */
|
||||
selectTag: function(tagName)
|
||||
{
|
||||
OfficeAddin.showStatusText("Searching tags...", "ajax_anim.gif", false);
|
||||
|
||||
var maxResults = 100,
|
||||
args = OfficeAddin.defaultQuery + "&type=tag",
|
||||
actionURL = window.serviceContextPath + "/office/searchResults" + args + "&search=" + encodeURIComponent(tagName) + "&maxresults=" + maxResults;
|
||||
var myAjax = new Ajax(actionURL,
|
||||
{
|
||||
method: 'get',
|
||||
headers: {'If-Modified-Since': 'Sat, 1 Jan 2000 00:00:00 GMT'},
|
||||
evalScripts: true,
|
||||
onComplete: function(textResponse, xmlResponse)
|
||||
{
|
||||
OfficeAddin.hideStatusText();
|
||||
$('taggedList').innerHTML = textResponse;
|
||||
$('taggedHeader').innerHTML = "Tagged with \"" + tagName + "\"";
|
||||
}
|
||||
}).request();
|
||||
|
||||
var tags = $$("#tagCloud a");
|
||||
tags.each(function(tag, i)
|
||||
{
|
||||
if (tag.rel == tagName)
|
||||
{
|
||||
tag.addClass("tagSelected");
|
||||
}
|
||||
else
|
||||
{
|
||||
tag.removeClass("tagSelected");
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
preselectTag: function(tagName)
|
||||
{
|
||||
OfficeTags.preselectedTag = tagName;
|
||||
}
|
||||
};
|
||||
|
||||
/* Search Results expects this class */
|
||||
var OfficeSearch =
|
||||
{
|
||||
itemsFound: function(shownResults, totalResults)
|
||||
{
|
||||
var strFound;
|
||||
if (totalResults === 0)
|
||||
{
|
||||
strFound = "No items found";
|
||||
}
|
||||
else if (shownResults < totalResults)
|
||||
{
|
||||
strFound = "Showing first " + shownResults + " of " + totalResults + " total items found";
|
||||
}
|
||||
else
|
||||
{
|
||||
strFound = "Showing all " + shownResults + " items found";
|
||||
}
|
||||
$('itemsFound').innerHTML = strFound;
|
||||
}
|
||||
};
|
||||
|
||||
window.addEvent('domready', OfficeTags.init);
|