Index: openacs-4/packages/content-includelet/content-includelet.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/content-includelet.info,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/content-includelet.info 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,29 @@ + + + + + Content Includelet + Content Includelets + f + f + + + OpenACS + 2008-07-11 + OpenACS + 0 + + + + + + + + + + + + + + + Index: openacs-4/packages/content-includelet/catalog/static-portlet.ar_EG.utf-8.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.ar_EG.utf-8.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.ar_EG.utf-8.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,13 @@ + + + + بورتليت حسب الطّلب + المحتوى + لوحة التّحكّم + %pretty_name% %element_pretty_name% أحذف + %pretty_name% %element_pretty_name% تعديل + البسيط في منطقة المحتمويات HTML يمكن أن تستخدم النّصّ :<strong>لاحظ</strong> + اسم + جديد + جديد %element_pretty_name% + Index: openacs-4/packages/content-includelet/catalog/static-portlet.ar_LB.utf-8.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.ar_LB.utf-8.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.ar_LB.utf-8.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,24 @@ + + + + بورتليت حسب الطّلب + خصّصْ إدارة البورتليت + Back to + Binary file %filename% was uploaded, but we only support text files here. + المحتوى + لوحة التّحكّم + Create a new %element_pretty_name% + Edit + حررْ عنصرُ المحتوى + False + File + أحذف %pretty_name% %element_pretty_name% + تعديل %element_pretty_name% %pretty_name% + Enforce this applet to be shown in the Portal + <strong>لاحظ</strong>: البسيط في منطقة المحتمويات إتش تي إم إل يمكن أن تستخدم النّصّ + إستعمل هذا الإستمارة لخلق %element_pretty_name% جديد. الـ %element_pretty_name% سيُخْلَق و تلقائيًّا يُوضَع على الصّفحة الأولى من بوابة الإنترنت %portal_name%. إذهب إلى الـ %control_panel_text% و إختار تخصيص التخطيط لتحريك هذا %element_pretty_name%. + إسم + جديد + %element_pretty_name% جديد + True + Index: openacs-4/packages/content-includelet/catalog/static-portlet.ast_ES.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.ast_ES.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.ast_ES.ISO-8859-1.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,16 @@ + + + + Portlet Personaliz�u + Alministraci�n Personalizada del Portlet + Conten�u + Panel de Control + Editar conten�u del elementu + Eliminar "%element_pretty_name% %pretty_name%" + Editar "%element_pretty_name% %pretty_name%" + <strong>Atenci�n</strong>:puedes editar l'�rea de Conten�u en textu planu o HTML. + Usar esti formulariu pa crear un nuevu "%element_pretty_name%". El "%element_pretty_name%" va crease y asitiar� autom�ticamente na primer p�xina del "%portal_name%" portal. Vete al "%control_panel_text%" y escueye Personalizar Asitiamientu pa mover esti "%element_pretty_name%". + Nome + Nuevo + "%element_pretty_name%" Nuevu + Index: openacs-4/packages/content-includelet/catalog/static-portlet.ca_ES.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.ca_ES.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.ca_ES.ISO-8859-1.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,27 @@ + + + + Portlet personalitzat + Administraci� del portlet personalitzat + Tornar a + L'arxiu binari %filename% s'ha pujat, per� ac� nom�s se suporten arxius de text. + Contingut + Panell de control + Crear un nou %element_pretty_name% + Editar + Editar element de contingut + Fals + Arxiu + Eliminar %element_pretty_name% %pretty_name% + Editant %element_pretty_name% %pretty_name% + Fer que aquest applet es mostre en el portal + For�ar Vertader significa que el portlet est�tic ser� \ afegit de seguida en els portals de dest� ja creats, \ Fals significa que estaran disponibles en modificar el portal o en desfer l'acci� + <strong>Nota</strong>: Podeu emprar text pla o HTML en aquest quadre de contingut. + Empreu aquest formulari per a crear un %element_pretty_name% nou. El %element_pretty_name% es crear� i autom�ticament es col�locar� en la primera p�gina del portal %portal_name%. Aneu al %control_panel_text% i seleccioneu Personalitzar el format per a moure aquest %element_pretty_name%. + Nom + Nou + Nou %element_pretty_name% + Vertader + Empreu aquest formulari per a crear un %element_pretty_name% nou. El %element_pretty_name% es crear� i autom�ticament es col�locar� en la primera p�gina del portal %portal_name%. Aneu a la p�gina d'administraci� i seleccioneu Personalitzar el format per a moure aquest %element_pretty_name%. + O b� podeu pujar aqu� un arxiu de < strong>text</strong >, el contingut del qual substituir� el contingut actual del portlet. + Index: openacs-4/packages/content-includelet/catalog/static-portlet.ch_zh.utf-8.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.ch_zh.utf-8.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.ch_zh.utf-8.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,16 @@ + + + + 用户入口 + 用户入口管理 + 内容 + 控制面板 + 编辑内容项 + 删除%element_pretty_name% %pretty_name% + 编辑%element_pretty_name% %pretty_name% + <strong>注意</strong>:在内容区域可使用普通文本格式或HTML格式。 + 用此表格可创建新的%element_pretty_name%。%element_pretty_name%将创建并自动放入到%portal_name%入口的第一页。进入%control_panel_text%并选择“定制设计”可移动%element_pretty_name%。 + 名称 + 新的 + 新%element_pretty_name% + Index: openacs-4/packages/content-includelet/catalog/static-portlet.da_DK.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.da_DK.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.da_DK.ISO-8859-1.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,25 @@ + + + + Speciel Portlet + Administration af Tilpasset Portlet + Tilbage til + Bin�r fil %filename% blev uploadet, men vi supporterer kun tekst-filer h�r. + Indhold + Kontrolpanel + Opret en ny %element_pretty_name% + Rediger + Redig�r indholdselement + Falsk + Fil + Slet %element_pretty_name% %pretty_name% + Redigerer %element_pretty_name% %pretty_name% + Tving denne applet til at blive vist i Portalen + <strong>Bem�rk</strong>: Du kan brugere ren tekst eller HTML i Indholdsomr�det. + Brug denne formular til at oprette en ny %element_pretty_name%. %element_pretty_name% vil bluve oprettet og blive placeret automatisk p� den f�rste side af %portal_name%-portalen. G� til %control_panel_text% og v�lg Tilpas Layout for at flytte %element_pretty_name%. + Navn + Ny + Myt %element_pretty_name% + Sand + Brug denne formular til at oprette en ny %element_pretty_name%. %element_pretty_name% vil blive oprettet og placeret automatisk p� den f�rste side af %portal_name% portalen. G� til administrationsiden og v�lg Tilpas Layout for at flytte %element_pretty_name%. + Index: openacs-4/packages/content-includelet/catalog/static-portlet.de_DE.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.de_DE.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.de_DE.ISO-8859-1.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,28 @@ + + + + Benutzerdefiniertes Portlet + Benutzerdefinierte Portlets verwalten + Zur�ck zu + Die hochgeladene Datei %filename% ist bin�r, aber hier werden nur Textdateien akzeptiert. + Inhalt + Eigene Einstellungen + %element_pretty_name% neu erstellen + Bearbeiten + Inhalt bearbeiten + Falsch + Datei + %element_pretty_name% "%pretty_name%" l�schen + %element_pretty_name% "%pretty_name%" bearbeiten + Erzwingen dass diese Anwendung im Portal erscheint + Erzwingen Wahr bedeutet, dass das statische Portlet \ sofort in die schon erstellten Ziel-Portale einbezogen wird; \ Falsch bedeutet, dass es zur Verf�gung steht, wenn das Portal angepasst wird oder wenn die Aktion Zur�cksetzen durchgef�hrt wird. + + <strong>Hinweis</strong>: Sie k�nnen f�r den Inhalt einfaches Textformat oder HTML verwenden. + Mit diesem Formular kann ein neues %element_pretty_name% erstellt werden. Es wird automatisch auf der ersten Seite des Portals "%portal_name%" platziert. Um es zu verschieben, gehen Sie unter '%control_panel_text%' auf 'Layout des Gruppenportals anpassen'. + Name + Neu + Neues %element_pretty_name% erstellen + Wahr + Mit diesem Formular kann ein neues %element_pretty_name% erstellt werden. Es wird automatisch auf der ersten Seite des Portals "%portal_name%" platziert. Um es zu verschieben, gehen Sie auf der Verwaltungsseite auf 'Layout des Gruppenportals anpassen' + Alternativ k�nnen Sie auch eine <strong>Text</strong>datei hier hochladen und damit den derzeitigen Inhalt des Portlets ersetzen. + Index: openacs-4/packages/content-includelet/catalog/static-portlet.en_AU.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.en_AU.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.en_AU.ISO-8859-1.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,30 @@ + + + + Custom Portlet + Custom Portlet Administration + Back to + Binary file %filename% was uploaded, but we only support text files here. + Content + Control Panel + Create a new %element_pretty_name% + Edit + Edit content element + False + File + Delete %element_pretty_name% %pretty_name% + Editing %element_pretty_name% %pretty_name% + Enforce this applet to be shown in the Portal + Enforce True means that the static portlet will be \ + added right away in the target portals that are already created, \ + False means that will be available to use when customizing the portal or when performing revert action + <strong>Note</strong>: You can use plain text or HTML in the Content area. + Use this form to create a new %element_pretty_name%. The %element_pretty_name% will be created and automatically placed on the first page of %portal_name% portal. Goto the %control_panel_text% and select Customize Layout to move this %element_pretty_name%. + Name + New + New %element_pretty_name% + True + Use this form to create a new %element_pretty_name%. The %element_pretty_name% +will be created and automatically placed on the first page of %portal_name% portal. Go to the administration page and select Customize Layout to move this %element_pretty_name%. + Or, You may upload a <strong>text</strong> file here, the contents of which will replace the current contents of the portlet. + Index: openacs-4/packages/content-includelet/catalog/static-portlet.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.en_US.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.en_US.ISO-8859-1.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,32 @@ + + + + Custom Portlet + Custom Portlet Administration + Back to + Binary file %filename% was uploaded, but we only support text files here. + Content + Control Panel + Create a new %element_pretty_name% + Create a new %element_pretty_name% + Edit + Edit content element + Edit %content.pretty_name% + False + File + Delete %element_pretty_name% %pretty_name% + Editing %element_pretty_name% %pretty_name% + Enforce this applet to be shown in the Portal + Enforce True means that the static portlet will be \ + added right away in the target portals that are already created, \ + False means that will be available to use when customizing the portal or when performing revert action + <strong>Note</strong>: You can use plain text or HTML in the Content area. + Use this form to create a new %element_pretty_name%. The %element_pretty_name% will be created and automatically placed on the first page of %portal_name% portal. Goto the %control_panel_text% and select Customize Layout to move this %element_pretty_name%. + Name + New + New %element_pretty_name% + True + Use this form to create a new %element_pretty_name%. The %element_pretty_name% +will be created and automatically placed on the first page of %portal_name% portal. Go to the administration page and select Customize Layout to move this %element_pretty_name%. + Or, You may upload a <strong>text</strong> file here, the contents of which will replace the current contents of the portlet. + Index: openacs-4/packages/content-includelet/catalog/static-portlet.es_CO.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.es_CO.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.es_CO.ISO-8859-1.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,21 @@ + + + + Portlet personalizado + Administraci�n del Portlet + Regresar a + Contenido + Panel de Control + Editar el contenido del elemento + Falso + Borrar %element_pretty_name% %pretty_name% + Editando %element_pretty_name% %pretty_name% + Forzar este applet a aparecer en el portal + Forzar Verdadero significa que el portlet est�tico va a ser \ agregado en el momento, a los portlets destino que ya est�n creados, \ Falso significa que estar�n disponibles para su uso, cuando se personalize el portal o cuando se realize una acci�n de reversi�n. + <strong>Nota</strong>: Puede usar texto o HTML en este cuadro de contenido + Use este formulario para crear un nuevo %element_pretty_name%. El %element_pretty_name% va a ser creado autom�ticamente y puesto en la primera p�gina del portal %portal_name%. Vaya al %control_panel_text% y seleccione personalizar para mover este %element_pretty_name%. + Nombre + Nuevo + Nuevo %element_pretty_name% + Verdadero + Index: openacs-4/packages/content-includelet/catalog/static-portlet.es_ES.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.es_ES.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.es_ES.ISO-8859-1.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,29 @@ + + + + Portlet personalizado + Administraci�n a medida del Portlet + Regresar a + El archivo binario %filename% ha sido subido, pero aqu� solo se soportan archivos de texto. + Contenido + Panel de Control + Crear un nuevo %element_pretty_name% + Crear un nuevo %element_pretty_name% + Editar + Editar el elemento de contenido + Editar %content.pretty_name% + Falso + Archivo + Borrar %element_pretty_name% %pretty_name% + Editando %element_pretty_name% %pretty_name% + Forzar este applet a ser mostrado en el Portal + Forzar Verdadero significa que el portlet est�tico ser� agregado inmediatamente en los portales indicados que ya han sido creados. Forzar Falso significa que estar� disponible cuando se customize el portal o cuando se haga el proceso de reversi�n. + <strong>Nota</strong>: Puede usar texto plano o HTML en este cuadro de contenido + Use este formulario para crear un nuevo %element_pretty_name%. El %element_pretty_name% va a ser creado autom�ticamente y puesto en la primera p�gina del portal %portal_name%. Vaya al %control_panel_text% y seleccione personalizar forma para mover este %element_pretty_name%. + Nombre + Nuevo + %element_pretty_name% nuevo + Verdadero + Use este formulario para crear un nuevo %element_pretty_name%. El %element_pretty_name% va a ser creado autom�ticamente y puesto en la primera p�gina del portal %portal_name%. Vaya al %control_panel_text% y seleccione personalizar para mover este %element_pretty_name%. + O, Puede subir un archivo de < strong>texto</strong > aqu�, cuyo contenido sustituir� el contenido actual del portlet. + Index: openacs-4/packages/content-includelet/catalog/static-portlet.es_GT.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.es_GT.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.es_GT.ISO-8859-1.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,16 @@ + + + + Portlet personalizado + Administraci�n del Portlet + Contenido + Panel de Control + Editar el contenido del elemento + Borrar %element_pretty_name% %pretty_name% + Editando %element_pretty_name% %pretty_name% + <strong>Nota</strong>: Puede usar texto o HTML en este cuadro de contenido + Use este formulario para crear un nuevo %element_pretty_name%. El %element_pretty_name% va a ser creado autom�ticamente y puesto en la primera p�gina del portal %portal_name%. Vaya al %control_panel_text% y seleccione personalizar para mover este %element_pretty_name%. + Nombre + Nuevo + Nuevo %element_pretty_name% + Index: openacs-4/packages/content-includelet/catalog/static-portlet.fi_FI.utf-8.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.fi_FI.utf-8.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.fi_FI.utf-8.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,16 @@ + + + + Itsemuokattu portletti + Omatekoisten portlettien ylläpito + Sisältö + Ohjauspaneeli + Muokkaa sisältöelementtiä + Poista elementti %pretty_name% + Muokkaa elementtiä %pretty_name% + <strong>Huom</strong>: Voit käyttää sisältöosassa sekä pelkkää tekstiä että HTML-merkkausta. + Tällä lomakkeella voit luoda uuden %element_pretty_name%-elementin. %element_pretty_name% luodaan ja sijoitetaan automaattisesti %portal_name%-portaalin etusivulle. Mene %control_panel_text%in ja valitse \"Muokkaa sivun ulkoasua\" siirtääksesi %element_pretty_name%n haluamaasi paikkaan. + Nimi + Uusi + Luo uusi elementti + Index: openacs-4/packages/content-includelet/catalog/static-portlet.fr_FR.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.fr_FR.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.fr_FR.ISO-8859-1.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,10 @@ + + + + Contenu + Panneau de controle + Effacer %element_pretty_name% %pretty_name% + Nom + Nouveau + Cr�er %element_pretty_name% + Index: openacs-4/packages/content-includelet/catalog/static-portlet.gl_ES.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.gl_ES.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.gl_ES.ISO-8859-1.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,16 @@ + + + + Portlet Personalizado + Administraci�n de Portlet Personalizado + Contido + Painel de Control + Editar contido do elemento + Eliminar %element_pretty_name% %pretty_name% + Editando %element_pretty_name% %pretty_name% + <strong>Repara</strong>: Podes utilizar texto simple ou HTML na �rea de Contido. + Usa este formulario para criares un novo %element_pretty_name%. O %element_pretty_name% criarase e automaticamente porase na primeira p�xina do portal %portal_name%. Vai ao %control_panel_text% e selecciona Personalizar Disposici�n para moveres este %element_pretty_name%. + Nome + Novo + Novo %element_pretty_name% + Index: openacs-4/packages/content-includelet/catalog/static-portlet.hi_IN.utf-8.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.hi_IN.utf-8.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.hi_IN.utf-8.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,33 @@ + + + + प्रथा + कुस्तोम पोर्तलेत का प्रबन्धन + पीछे को + द्विआधारी फ़ाइल %filename% का अपलोड पूरा हूआ, परन्तु हम सिर्फ़ टेक्ष्ट फ़ाइल का अव्ल्म्ब करते है + विषयवस्तु + नियन्त्रण कक्ष + एक नया %element_pretty_name% बनाओ + बदलना + विषयवस्तु को बदलना + गलत + फ़ाइल + मिटाना %element_pretty_name% %pretty_name% + बदलना %element_pretty_name% %pretty_name% + + इस अप्पलेत को पोर्तल मे दिखने के लिये बाध्य करना + Enforce True means that the static portlet will be \added right away in the target portals that are already created, \ False means that will be available to use when customizing the portal or when performing revert action + +सही को लागू करने का मतलब है की स्थैतिक पोर्तलेत का सही तरीके से लक्ष्य पोर्तल जो पेहले से है को जोडना और गलत का मतलब की + <strong>टिप्पणी</strong> आप साधारण या HTML का प्रयोग विषय क्षेत्र मे कर सकते है| + इस प्रपत्र को नया %element_pretty_name% बनाने के लिये प्रयोग करे। %element_pretty_name% बनकर स्वत: प्रथम प्रष्ठ %portal_name% पोर्टल पर आ जायेगा। %control_panel_text% पर जाये और कसटोमइज प्रारुप को %element_pretty_name% पर ले जाने के लिये चुने + नाम + नया + नया %element_pretty_name% + + + सच + इस प्रपत्र को नया %element_pretty_name% बनाने के लिये प्रयोग करे %element_pretty_name% बनकर स्वत: प्रथम प्रष्ठ +%portal_name% पोर्टल पर आ जायेगा। सन्चालन प्रष्ठ पर जाये और कसटोमाइज प्रारुप को %element_pretty_name% पर ले जाने के लिये चुने. + या आप &lt;strong&gt;text&lt;/strong&gt; को अपलोड करे जिससे कि वर्तमान पोर्टल की विषय की सूची बदली जा सके। + Index: openacs-4/packages/content-includelet/catalog/static-portlet.it_IT.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.it_IT.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.it_IT.ISO-8859-1.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,28 @@ + + + + Portlet personale + Amministrazione portlet personale + Indietro + File binario %filename% caricato, ma supportiamo solo testo qui. + Contenuto + Pannello di Controllo + Crea un nuovo %element_pretty_name% + Edita + Modifica il contenuto dell'elemento + Falso + File + Cancella %element_pretty_name% %pretty_name% + Modifica %element_pretty_name% %pretty_name% + Obbliga questo applet a essere mostrato nel Portale + Obbliga 'Vero' significa che il portlet static sar� aggiunto subito nei portali gi� creati, 'Falso' che saranno disponibili quando sar� personalizzato il portale + <strong>Nota</strong>: Puoi usare testo semplice o HTML nella textarea. + Usa questa form per creare un nuovo %element_pretty_name%. +Il nuovo %element_pretty_name% sar� creato e posto automaticamente sulla prima pagina del protale %portal_name%. Vai al %control_panel_text% e seleziona &quot;Personalizza l'Impaginazione&quot; per disporre questo %element_pretty_name%. + Nome + Nuovo + Nuovo %element_pretty_name% + Vero + Usa questa form per creare un nuovo %element_pretty_name%. Il %element_pretty_name% sar� creato e posto automaticamente sulla prima pagina del portale %portal_name%. Vai alla pagina di amministrazione e seleziona &quot;Personalizza l'Impaginazione&quot; per disporre questo %element_pretty_name%. + Oppure, puoi caricare un file di <strong>testo</strong>, il contenuto del quale sostituir� il contenuto attuale del portlet. + Index: openacs-4/packages/content-includelet/catalog/static-portlet.ko_KR.utf-8.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.ko_KR.utf-8.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.ko_KR.utf-8.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,16 @@ + + + + 주문 포틀릿 + 주문 포틀릿 관리 + 내용 + 제어판 + 내용 요소 수정 + %element_pretty_name% %pretty_name% 삭제 + %element_pretty_name% %pretty_name% 수정하기 + <strong>주</strong>: 내용영역(Content area)에서 텍스트나 HTML을 사용할 수 있습니다. + 새로운 %element_pretty_name%을 생성하기 위해 이 폼을 사용하세요. %element_pretty_name%는 생성되고 %portal_name% 포탈의 처음 페이지에 자동적으로 위치하게 될 것입니다. %element_pretty_name%를 이동하기 위해서는 %control_panel_text%으로 가서 레이아웃 개별화를 선택하시오. + 이름 + 새로운 + 새로운 %element_pretty_name% + Index: openacs-4/packages/content-includelet/catalog/static-portlet.ms_MY.utf-8.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.ms_MY.utf-8.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.ms_MY.utf-8.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,22 @@ + + + + Portlet Adat + Pentadbiran Portlet Adat + Fail binari %filename% telah dimuat atas, tetapi kami hanya boleh menyokong fail teks di sini. + Perisian + Kawal Paparan + Membuat satu %element_pretty_name% baru + Ubah + Edit elemen perisian + Fail + Buang %element_pretty_name% %pretty_name% + Mengedit %element_pretty_name% %pretty_name% + <strong>Nota</strong>: Anda boleh menggunakan abjad biasa atau HTML di ruangan Perisian. + Gunakan boran ini untuk menambah %element_pretty_name% baru. %element_pretty_name% ini akan ditambah dan secara automatik akan di letakkan pada halaman yang pertama %portal_name% portal. Pergi ke %control_panel_text% dan pilih Ubahsuai Bentangan untuk memindahkan %element_pretty_name%. + Nama + Baru + %element_pretty_name% baru + Guna borang ini untuk membuat satu %element_pretty_name% baru. %element_pretty_name% akan dibuat dan secara automatik diletakkan pada halaman pertama portal %portal_name% Pergi ke halaman pentadbiran dan pilih Pengawal Paparan untuk memindah %element_pretty_name% ini. + Atau, anda boleh memuat naik <strong>teks</strong> fail di sini, dimana kandungannya akan menggantikan kandunagan asas portlet. + Index: openacs-4/packages/content-includelet/catalog/static-portlet.nl_NL.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.nl_NL.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.nl_NL.ISO-8859-1.xml 11 Jul 2008 16:38:54 -0000 1.1 @@ -0,0 +1,27 @@ + + + + Portlet op maat + Portlet Op Maat administratie + Terug naar + Binair-bestand %filename% werd aangeboden, maar er worden hier alleen tekstbestanden geaccepteerd. + Inhoud + Mijn instellingen + Een nieuw %element_pretty_name% aanmaken + Bewerken + Inhoud bewerken + Onjuist + Bestand + %element_pretty_name% %pretty_name% verwijderen + %element_pretty_name% %pretty_name% bewerken + Deze applet in het Portaal tonen + Juist afdwingen betekent dat de statische portlet \ direct toegevoegd zal worden in het portaal dat al is gecre�erd, \Onjuist betekent dat het beschikbaar is bij het aanpassen van een portaal. + <strong>Bericht</strong>: U kunt platte tekst of HTML gebruiken bij het schrijven van uw tekst. + Gebruik dit formulier om een nieuw %element_pretty_name% aan te maken. %element_pretty_name% zal automatisch worden toegevoegd aan de eerste pagina van het %portal_name% portaal. Ga naar %control_panel_text% en selecteer Paginaindeling wijzigen om %element_pretty_name% te verplaatsen. + Naam + Nieuw + Nieuw %element_pretty_name% + Juist + Formulier om een nieuw %element_pretty_name% aan te maken. De %element_pretty_name% wordt aangemaakt en automatisch getoond op de eerste pagina van de %portal_name% portaal. + Of, biedt hier een <strong>tekst</strong> bestand aan. De tekst van dat bestand zal de huidige tekstinhoud van de portlet vervangen. + Index: openacs-4/packages/content-includelet/catalog/static-portlet.nn_NO.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.nn_NO.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.nn_NO.ISO-8859-1.xml 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,27 @@ + + + + Spesialtilpassa modul + Administrasjon for spesialtilpassa modul + Attende til + Bin�rfil %filename% vart lasta opp, men vi st�ttar berre tekstfiler her. + Innhald + Kontrollpanel + Lag ein ny %element_pretty_name% + Rediger + Rediger innhaldselement + Ja + Fil + Slett %element_pretty_name% %pretty_name% + Slettar %element_pretty_name% %pretty_name% + Tving denne ruta til � visast i portalen + Tvang Ja tyder at den statiske ruta vil bli \ lagt inn med ein gong i m�lprotalane som alt er oppretta, \ Nei tyder at ruta vil verte tilgjengeleg for bruk n� portalen vert tilpassa eller n�r ein utf�rer ei tilbakestilling. + <strong>Merk</strong>: Du kan bruke enkel tekst eller HTML i innhaldsruta. + Bruk dette skjemaet for � lage eit nytt %element_pretty_name%. %element_pretty_name% vil bli lagt inn og automatisk plassert p� f�rste sida av %portal_name% portalen. G� til %control_panel_text% og velg Skredddarsy portalen for � flytte denne %element_pretty_name%. + Navn + Ny + Ny %element_pretty_name% + Nei + Bruk dette skjemaet for � lage ein ny %element_pretty_name%. %element_pretty_name% vil bli oppretta og auromatisk lagt inn p� f�rste sida av %portal_name% portaleb. G� til administrasjonssida og velg "Skreddarsy portal" for � flytte denne %element_pretty_name%. + Eller, du kan laste opp ei <strong>tekst</strong>-fil her. Innhaldet vil d� erstatte det noverande innhaldet i ruta. + Index: openacs-4/packages/content-includelet/catalog/static-portlet.no_NO.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.no_NO.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.no_NO.ISO-8859-1.xml 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,27 @@ + + + + Spesialtilpasset modul + Administrasjon av spesialtilpasset modul + Tilbake til + Bin�rfil %filename% ble lastet opp, men vi supporterer kun tekstfiler her. + Innhold + Kontrollpanel + Lag en ny %element_pretty_name% + Rediger + Rediger innholdselement + Feil + Fil + Slett %element_pretty_name% %pretty_name% + Redigerer %element_pretty_name% %pretty_name% + Tving denne ruten til � vises i portalen + Tving Ja betyr at den statiske ruten umiddelbart vil bli \ lagt inn i m�lportalene som allerede er laget. \ Nei betyr at den vil bli tilgjengelig for bruk n�r portalen blir tilpasset eller n�r man utf�rer tilbakestilling av portalen + <strong>Obs</strong>: Du kan benytte enkel tekst eller eller HTML i innholdsomr�det. + Bruk dette skjemaet for � lage et nytt %element_pretty_name%. %element_pretty_name% vil bli lagt inn og automatisk plassert p� f�rste siden av %portal_name% portalen. G� til %control_panel_text% og velg Skreddersy portalen for � flytte dette %element_pretty_name%. + Navn + Ny + Ny %element_pretty_name% + Ja + Bruk dette skjemaet for � lage en ny %element_pretty_name%. %element_pretty_name% wil opprettes og automatisk legges inn p� f�rste side av %portal_name% portalen. G� til administrasjonssiden og velg Skreddersy portal for � flytte %element_pretty_name%. + Eller, du kan laste opp en <strong>tekst</strong>-fil her, innholdet av den vil erstatte det n�v�rende innholdet i ruten. + Index: openacs-4/packages/content-includelet/catalog/static-portlet.pl_PL.utf-8.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.pl_PL.utf-8.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.pl_PL.utf-8.xml 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,24 @@ + + + + Własny Portalik + Administracja Portalem Użytkownika /???/ + Powróć do + Zawartość + Ustawienia + Utwórz nowy %element_pretty_name% + Edytuj + Edytuj element zawartości + Fałsz + Plik + Usuń %element_pretty_name% %pretty_name% + Edycja %element_pretty_name% %pretty_name% + Wymuś wyświetlanie apletu w Portalu + <strong>Uwaga</strong>: Możesz użyć zwykłego tekstu lub HTML w obszarze zawartości + Utwórz nowy %element_pretty_name% za pomocą tego formularza. %element_pretty_name% zostanie utworzony i automatycznie umieszczony na pierwszej stronie portalu %portal_name%. Przejdź do %control_panel_text% i wybierz "Zmień Wygląd" by przesunąć ten %element_pretty_name%. + Nazwa + Nowy + Nowy %element_pretty_name% + + Prawda + Index: openacs-4/packages/content-includelet/catalog/static-portlet.pt_BR.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.pt_BR.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.pt_BR.ISO-8859-1.xml 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,27 @@ + + + + Portlet Personalizado + Administra��o de Portlet Personalizado + Voltar para + O arquivo bin�rio %filename% foi enviado, mas apenas arquivos de texto s�o suportados. + Conte�do + Painel de Controle + Criar um novo %element_pretty_name% + Editar + Editar conte�do do elemento + Falso + Arquivo + Apagar %element_pretty_name% %pretty_name% + Editando %element_pretty_name% %pretty_name% + For�ar o aparecimento deste aplicativo no Portal + For�ar True significa que o portlet est�tico ser� \ adicionado diretamente aos portais alvo que j� foram criados, \ False significa que o portlet est�tico estar� dispon�vel para uso durante customiza��o do portal ou quando realizada a��o de reverter template padr�o + <strong>Repara</strong>: Pode utilizar texto simples ou HTML na �rea de Conte�do. + Use este formul�rio para criar um novo %element_pretty_name%. O %element_pretty_name% criar-se-� e automaticamente p�r-se-� na primeira p�gina do portal %portal_name%. Vaia ao %control_panel_text% e seleccione Personalizar Disposi��o para mover este %element_pretty_name%. + Nome + Novo + Novo %element_pretty_name% + Verdadeiro + Utilize este formul�rio para criar um novo %element_pretty_name%. O %element_pretty_name% ser� criado e automaticamente colocado na p�gina inicial do portal %portal_name%. V� � p�gina de administra��o e selecione Personalizar Layout para mover este %element_pretty_name%. + Ou, Voc� pode enviar um arquivo <strong>texto</strong>, cujo conte�do substituir� o atual conte�do do portlet. + Index: openacs-4/packages/content-includelet/catalog/static-portlet.pt_PT.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.pt_PT.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.pt_PT.ISO-8859-1.xml 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,16 @@ + + + + Portlet Personalizado + Administra��o do Portlet Personalizado + Conte�do + Painel de Controlo + Editar conte�do + Eliminar %element_pretty_name% %pretty_name% + Editando %element_pretty_name% %pretty_name% + <strong>Nota</strong>: Pode usar texto simples ou HTML na �rea de Conte�do. + Utilize este formul�rio para criar um novo %element_pretty_name%. O %element_pretty_name% ser� criado e colocado automaticamente na primeira p�gina do portal %portal_name%. V� ao %control_panel_text% e seleccione Personalizar Disposi��o para mover este %element_pretty_name%. + Nome + Novo + Novo %element_pretty_name% + Index: openacs-4/packages/content-includelet/catalog/static-portlet.ro_RO.utf-8.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.ro_RO.utf-8.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.ro_RO.utf-8.xml 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,28 @@ + + + + Portlet Adaptat + Administrare pentru Portlet Adaptat + Înapoi la + Fişierul binar %filename% a fost încărcat, dar asistenţă este oferită numai pentru fişiere text. + Conţinut + Control Panel + Creează un nou %element_pretty_name% + Modifică + Modifică elementul din conţinut + Fals + Fişier + Şterge %element_pretty_name% %pretty_name% + Modifică %element_pretty_name% %pretty_name% + Determină acest aplet să fie afişat in Portal + Determină Adevărat - înseamnă ca acest portlet static va fi \ adăugat imediat în portalurile ţintă care au fost deja creeate, \Fals înseamnă că va putea fi folosit când portalul este adaptat sau când se efectuează acţiunea invers + <strong>Note</strong>: Puteţi folosi text simplu sau HTM in zona de Conţinut + Folosiţi acest formular pentru a creea un nou %element_pretty_name%. %element_pretty_name%ul/a va fi creeat şi plasat automat pe prima pagină a portalului %portal_name% + Nume + Nou + %element_pretty_name% nou + Adevărat + Folosiţi acest formular pentru a creea un nou %element_pretty_name%. %element_pretty_name% va fi creeat si plasat în mod automat pe prima pagina a portalului %portal_name%. +Mergi la pagina de administrare si selectează "Adaptează Aşezarea în Pagină" pentru a muta acest %element_pretty_name%. + Sau, Poţi încărca un fişier <strong>text</strong>, al cărui conţinut va înlocui conţinutul curent al portletului + Index: openacs-4/packages/content-includelet/catalog/static-portlet.ru_RU.utf-8.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.ru_RU.utf-8.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.ru_RU.utf-8.xml 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,14 @@ + + + + Администрирование Персонализированного Портлета + Текст + Панель управления + Редактировать элемент текста + Удалить %element_pretty_name% %pretty_name% + Редактируем %element_pretty_name% %pretty_name% + Вы можете использовать эту формы для создания нового %element_pretty_name%. %element_pretty_name% будет создан и автоматически помещен на первой странице портала %portal_name%. С помощью %control_panel_text% вы можете позже, для того чтобы поменять расположение %element_pretty_name% (воспользуйтесь опцией "Персонализация Структуры Страницы"). + Название + Новый + Новый %element_pretty_name% + Index: openacs-4/packages/content-includelet/catalog/static-portlet.sv_SE.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.sv_SE.ISO-8859-1.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.sv_SE.ISO-8859-1.xml 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,16 @@ + + + + Skr�ddarsydd Portlet + Administration av Skr�ddarsydd Portlet + Inneh�ll + Kontrollpanel + Redigera inneh�llselement + Ta bort %element_pretty_name% %pretty_name% + Redigera %element_pretty_name% %pretty_name% + <strong>Notera</strong>: Du kan anv�nda vanlig text eller HTML i inneh�llsarean. + Anv�nd detta formul�r f�r att skapa nytt %element_pretty_name%. %element_pretty_name%et kommer att skapas och automatiskt placeras p� den f�rsta sidan f�r %portal_name%portalen. G� till %control_panel_text% och v�lj layout f�r att flytta detta %element_pretty_name%. + Namn + Nya + Nytt inneh�llselement + Index: openacs-4/packages/content-includelet/catalog/static-portlet.zh_CN.utf-8.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/catalog/Attic/static-portlet.zh_CN.utf-8.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/catalog/static-portlet.zh_CN.utf-8.xml 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,27 @@ + + + + 用户入口 + 用户入口管理 + 后退 + 二进制文件%filename%已上传,但此系统只支持文本文件。 + 内容 + 控制面板 + 创建新%element_pretty_name% + 编辑 + 编辑 + + 文件 + 删除%element_pretty_name% %pretty_name% + 编辑%element_pretty_name% %pretty_name% + 在此入口强制显示applet程序 + 强制为“真”指此入口将被加到一个已存在的目标入口。“假”指可以用户化入口或执行相反操作。 + <strong>注意</strong>:在内容区域可使用普通文本格式或HTML格式。 + 用此表格可创建新的%element_pretty_name%。%element_pretty_name%将创建并自动放入到%portal_name%入口的第一页。进入%control_panel_text%并选择“定制设计”可移动%element_pretty_name%。 + 名称 + 新的 + 新%element_pretty_name% + + 用此form创建新%element_pretty_name%。%element_pretty_name%将被创建,并自动放置到%portal_name%入口的首页。请到管理页,选择用户化设计可以移动%element_pretty_name%。 + 或者,可以上传 <strong>文本</strong>文件,该文件的内容将取代当前入口内容。 + Index: openacs-4/packages/content-includelet/lib/add-edit-form.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/lib/add-edit-form.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/lib/add-edit-form.adp 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1 @@ + Index: openacs-4/packages/content-includelet/lib/add-edit-form.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/lib/add-edit-form.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/lib/add-edit-form.tcl 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,41 @@ + +ad_page_contract { + + Edit form for a content includelet's content + + @author Don Baccus (dhogaza@pacifier.com) + @cvs_id $Id: add-edit-form.tcl,v 1.1 2008/07/11 16:38:55 donb Exp $ +} + +# DRB: Note this is called only from the admin pages so permissions aren't +# checked. Safe because the lib dir is not accessible via HTML. + +set package_id [ad_conn package_id] + +ad_form -name add-edit-form -export {element_id item_id revision_id} -form { + {content:richtext \ + {label Content} + {html {rows 20 cols 60 wrap soft}} + } +} -on_request { + if { $revision_id ne "" } { + db_1row q { + select content as old_content, mime_type + from cr_revisions where revision_id = :revision_id + } + ad_set_element_value \ + -element content \ + [template::util::richtext::create $old_content $mime_type] + } +} -on_submit { + + content::revision::new \ + -item_id $item_id \ + -content [template::util::richtext::get_property contents $content] \ + -mime_type [template::util::richtext::get_property format $content] + + ad_returnredirect index?[export_vars -url {item_id element_id}] + ad_script_abort +} + +ad_return_template Index: openacs-4/packages/content-includelet/lib/content-includelet.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/lib/content-includelet.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/lib/content-includelet.adp 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,10 @@ + + @content;noquote@ + + + +

+ Edit Content +

+ +
Index: openacs-4/packages/content-includelet/lib/content-includelet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/lib/content-includelet.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/lib/content-includelet.tcl 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,42 @@ +ad_page_contract { + + The display logic for the content includelet + + Note: the optional revision_id queryvar is used by the admin "view revision" script + to override the live version. + + @author Don Baccus (dhogaza@pacifier.com) + @cvs_id $Id: content-includelet.tcl,v 1.1 2008/07/11 16:38:55 donb Exp $ +} { + revision_id:optional +} + +#array set config $cf +#if { [info exists config(param_name)] } { +# set item_id $config($param_name) +#} else { +# set item_id $config(content_id) +#} +#set element_id $config(element_id) + +if { [info exists param_name] } { + set item_id [set $param_name] +} else { + set item_id $content_id +} + +set edit_p [permission::permission_p -object_id $item_id -privilege write] +if { $edit_p} { + set package_url [site_node::get_url_from_object_id -object_id $package_id] + set edit_url ${package_url}/admin?[export_vars -url {element_id item_id}] +} + +if { ![info exists revision_id] || + [content::revision::item_id -revision_id $revision_id] ne $item_id} { + set revision_id [content::item::get_live_revision -item_id $item_id] +} + +if { $revision_id ne "" } { + set content \ + [template::expand_percentage_signs [cr_write_content -string -revision_id $revision_id]] +} Index: openacs-4/packages/content-includelet/tcl/apm-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/tcl/apm-callback-procs.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/tcl/apm-callback-procs.tcl 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,58 @@ +ad_library { + + Lorsm Includelet Install library + + Procedures that deal with installing, instantiating, mounting. + + @creation-date 2007-01-10 + @author Don Baccus + @cvs-id +} + +namespace eval content_includelet::install {} + +ad_proc -private content_includelet::install::package_install {} { + Package installation callback proc +} { + + db_transaction { + # Need our own content type for search callbacks + content::type::new \ + -content_type content_includelet_revision \ + -pretty_name "Content Includelet Text" \ + -pretty_plural "Content Includelet Text" \ + -table_name content_includelet_revisions \ + -id_column content_includelet_revision_id + + # User includelet + layout::includelet::new \ + -name content_includelet \ + -description "Displays the content includelet" \ + -title "Content Includelet" \ + -application content-includelet \ + -owner content-includelet \ + -template content-includelet \ + -constructor content_includelet_utilities::configure_content_id + } +} + +ad_proc -private content_includelet::install::package_uninstall {} { + Package uninstallation callback proc +} { + layout::includelet::delete -name content_includelet +} + +ad_proc -private content_includelet::install::after_upgrade { + {-from_version_name:required} + {-to_version_name:required} +} { + + Upgrade logic + +} { + apm_upgrade_logic \ + -from_version_name $from_version_name \ + -to_version_name $to_version_name \ + -spec { + } +} Index: openacs-4/packages/content-includelet/tcl/content-includelet-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/tcl/content-includelet-callback-procs.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/tcl/content-includelet-callback-procs.tcl 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,63 @@ +ad_library { + + Search callbacks + + @author Don Baccus (dhogaza@pacifier.com) + @cvs-id $Id: content-includelet-callback-procs.tcl,v 1.1 2008/07/11 16:38:55 donb Exp $ + +} + +ad_proc -public -callback search::datasource -impl content_portlet_revision {} { + + @author dhogaza@pacifier.com + @creation_date 2007-11-15 + + returns a datasource for the search package + this is the content that will be indexed by the full text + search engine. + +} { + db_1row q { + select publish_date, data + from cr_revisionsi + where revision_id = :object_id + } + return [list object_id $object_id \ + title "" \ + content $data \ + relevant_date $publish_date \ + storage_type text \ + mime text/html] +} + +ad_proc -public -callback search::url -impl content_portlet_revision {} { + + + @author dhogaza@pacifier.com + @creation_date 2007-11-15 + + returns a url for a content portlet + +} { + db_1row q { + select s.node_id + from site_nodes s, site_nodes s1, cr_revisions r, cr_items i + where r.revision_id = :object_id + and i.item_id = r.item_id + and s1.object_id = i.parent_id + and s.node_id = s1.parent_id + } + db_1row q { + select p.element_id + from portal_element_parameters p, cr_revisions r + where r.revision_id = :object_id + and p.key = 'content_id' + and p.value = r.item_id + } + set page_id [portal::element::get_page_id -element_id $element_id] + array set page [portal::page::get -page_id $page_id] + set base [site_node::get_element -node_id $node_id -element url] + # Total kludge for The Learning Center + return [export_vars -base $base {{portal_id $page(portal_id)} {page_num $page(sort_key)}}] +} + Index: openacs-4/packages/content-includelet/tcl/content-includelet-utility-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/tcl/content-includelet-utility-procs.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/tcl/content-includelet-utility-procs.tcl 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,62 @@ +ad_library { + + Some useful utilities for content includelets. + + @author Don Baccus (dhogaza@pacifier.com) + @cvs-id $Id: content-includelet-utility-procs.tcl,v 1.1 2008/07/11 16:38:55 donb Exp $ + +} + +namespace eval content_includelet_utilities {} + +ad_proc content_includelet_utilities::configure_content_id { + element_id + {parameter content_id} +} { + Create the includelet's item and set the content_id param. + + @param element_id The content includelet + @param parameter The parameter name to assign to the content item + +} { + # Create the content item and stuff its id into the includelet. + + set package_id [lindex [layout::element::parameter::get \ + -element_id $element_id \ + -key package_id] 0] + + set content_id [content::item::new \ + -name "Content For $package_id's $parameter" \ + -parent_id $package_id \ + -context_id $package_id \ + -content_type content_includelet_revision \ + -storage_type text] + + layout::element::parameter::new \ + -element_id $element_id \ + -parameters [list $parameter $content_id] +} + +ad_proc content_includelet_utilities::mount_and_configure_content_id { + {-node_id ""} + {-instance_name ""} + {-pretty_name ""} + element_id + {parameter_id content_id} +} { + Create the includelet's item and set the content_id param. + + @param element_id The content includelet + +} { + set package_id [subsite::auto_mount_application \ + -node_id $node_id \ + -instance_name $instance_name \ + -pretty_name $pretty_name \ + content-includelet] + layout::element::parameter::set_values \ + -element_id $element_id \ + -parameters [list package_id $package_id] + content_includelet_utilities::configure_content_id $element_id $parameter_id + return $package_id +} Index: openacs-4/packages/content-includelet/www/admin/delete.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/www/admin/delete.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/www/admin/delete.tcl 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,13 @@ +ad_page_contract { + @author Don Baccus (dhogaza@pacifier.com) + @creation-date 2007-01-14 + + Delete thie revision + +} { + revision_id:integer,notnull +} + +content::revision::delete -revision_id $revision_id + +ad_returnredirect index?[ad_conn query] Index: openacs-4/packages/content-includelet/www/admin/edit.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/www/admin/edit.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/www/admin/edit.adp 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,13 @@ + + Edit + @context;noquote@ + +You can update the title and content of this page below. +Clicking on "OK" will make a new revision which will appear first in the +list of revisions for this content portlet. Afterwards, you can review the +changes made by clicking on "View". Clicking on "Publish" will then make +the currently viewed version of the content "live". + + Index: openacs-4/packages/content-includelet/www/admin/edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/www/admin/edit.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/www/admin/edit.tcl 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,13 @@ +ad_page_contract { + @author Don Baccus (dhogaza@pacifier.com) + @creation-date 2007-01-14 + + Displays all options for editing a content includelet's content. + +} { + element_id:integer,notnull + item_id:integer,notnull + revision_id:integer,notnull +} + +set context [list Edit] Index: openacs-4/packages/content-includelet/www/admin/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/www/admin/index.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/www/admin/index.adp 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,84 @@ + + @page_title;noquote@ + @context;noquote@ + + + + + + + + + + + +
+You can update the title and content of this page below. +Clicking on "OK" will make a new revision which will appear first in the +list of revisions for this content includelet. Afterwards, you can review the +changes made by clicking on "View". Clicking on "Publish" will then make +the currently viewed version of the content "live". +

+

+

Live Version + internal version id: @live_revision@ | + view | + unpublish
+ Create a new revision from the live revision:

+ +

+ There is no live version - create a new revision:

+ +

+

+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
Internal Version IDPropertiesActions
@revisions.revision_id@ + + +Title: @revisions.title@
+Description: @revisions.description@
+Published: @revisions.publish_date@
+Author: @revisions.author@
+
+view | +edit | + +delete | +publish + + +unpublish + + +
+
+ + Index: openacs-4/packages/content-includelet/www/admin/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/www/admin/index.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/www/admin/index.tcl 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,30 @@ +ad_page_contract { + @author Don Baccus (dhogaza@pacifier.com) + @creation-date 2007-01-14 + + Displays all options for editing a content includelet's content. + +} { + item_id:integer,notnull + element_id:integer,notnull +} -properties { +} + +set package_id [ad_conn package_id] +set live_revision [content::item::get_live_revision -item_id $item_id] +set context [list Administer] + +set page_title "Manage Content" +set name "Content Name" + +db_multirow -extend {author_url} revisions revisions { + select r.*, p.first_names || ' ' || p.last_name as author, + p.person_id as user_id + from cr_revisions r, persons p, acs_objects o + where r.item_id = :item_id + and o.object_id = r.revision_id + and p.person_id = o.creation_user + order by r.revision_id desc +} { + set author_url [export_vars -base /shared/community-member {user_id}] +} Index: openacs-4/packages/content-includelet/www/admin/publish.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/www/admin/publish.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/www/admin/publish.tcl 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,14 @@ +ad_page_contract { + @author Don Baccus (dhogaza@pacifier.com) + @creation-date 2007-01-14 + + Set this revision to be live + +} { + item_id:integer,notnull + revision_id:integer,notnull +} + +content::item::set_live_revision -revision_id $revision_id + +ad_returnredirect index?[ad_conn query] Index: openacs-4/packages/content-includelet/www/admin/unpublish.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/www/admin/unpublish.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/www/admin/unpublish.tcl 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,14 @@ +ad_page_contract { + + @author Don Baccus (dhogaza@pacifier.com) + @creation-date 2007-01-14 + + Unpublish this item + +} { + item_id:integer,notnull +} + +db_dml q {update cr_items set live_revision = null where item_id = :item_id} + +ad_returnredirect index?[ad_conn query] Index: openacs-4/packages/content-includelet/www/admin/view.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/www/admin/view.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/www/admin/view.adp 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,9 @@ + + View Content + @context@ + +

+The portlet appears as it would be rendered in a page with a single column. +

+ + Index: openacs-4/packages/content-includelet/www/admin/view.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/content-includelet/www/admin/view.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/content-includelet/www/admin/view.tcl 11 Jul 2008 16:38:55 -0000 1.1 @@ -0,0 +1,11 @@ +ad_page_contract { + View a revision of the content portlet's content. + + @author Don Baccus (dhogaza@pacifier.com) + @cvs_id $Id: view.tcl,v 1.1 2008/07/11 16:38:55 donb Exp $ +} { + revision_id:integer,notnull + element_id:integer,notnull +} + +set context View