From af049aea2d7e44c9dff58d9fd81658a73ed60537 Mon Sep 17 00:00:00 2001 From: Angel Ortega Date: Tue, 25 Dec 2007 10:49:49 +0100 Subject: [PATCH] Copied many Artemus templates from Nutriguia. --- templates/artemus/404 | 9 ++++++ templates/artemus/DELETE_STORY | 13 +++++++++ templates/artemus/EDIT_STORY | 19 ++++++++++++ templates/artemus/EDIT_TEMPLATE | 12 ++++++++ templates/artemus/EDIT_TOPIC | 12 ++++++++ templates/artemus/EDIT_USER | 12 ++++++++ templates/artemus/LOGIN | 5 ++++ templates/artemus/LOGOUT | 2 ++ templates/artemus/SAVE_STORY | 16 ++++++++++ templates/artemus/SAVE_TEMPLATE | 11 +++++++ templates/artemus/SAVE_TOPIC | 10 +++++++ templates/artemus/SAVE_USER | 9 ++++++ templates/artemus/SEARCH_BY_TAG | 18 ++++++++++++ templates/artemus/STORY_PRINTABLE | 7 +++++ templates/artemus/TAGS | 14 +++++++++ templates/artemus/TAG_CLOUD | 14 +++++++++ templates/artemus/UPLOAD | 9 ++++++ templates/artemus/_search_tag | 1 + templates/artemus/_select_option | 7 +++++ templates/artemus/_story_abstract | 23 +++++++++++++++ templates/artemus/_story_complete | 15 ++++++++++ templates/artemus/_story_for_rdf | 10 +++++++ templates/artemus/_story_for_rss | 15 ++++++++++ templates/artemus/_story_link_as_item | 7 +++++ templates/artemus/_story_link_as_item_with_edit | 15 ++++++++++ templates/artemus/_story_link_as_item_with_hits | 7 +++++ templates/artemus/_story_link_edit_and_preview | 12 ++++++++ templates/artemus/_story_preview | 11 +++++++ templates/artemus/_story_printable | 14 +++++++++ templates/artemus/_tag_as_cloud | 1 + templates/artemus/_tag_with_count_as_item | 1 + templates/artemus/assert_logged_in | 1 + templates/artemus/assert_topic_editor | 1 + templates/artemus/assert_visible_story | 1 + templates/artemus/box_no_title | 6 ++++ templates/artemus/edit_story | 39 +++++++++++++++++++++++++ templates/artemus/edit_template | 9 ++++++ templates/artemus/edit_topic | 23 +++++++++++++++ templates/artemus/edit_user | 38 ++++++++++++++++++++++++ templates/artemus/footer | 1 + templates/artemus/footer_printable | 1 + templates/artemus/header_printable | 11 +++++++ templates/artemus/is_future_story | 7 +++++ templates/artemus/list_edit_stories | 18 ++++++++++++ templates/artemus/login_box | 22 ++++++++++++++ templates/artemus/rdf_footer | 1 + templates/artemus/rdf_header | 5 ++++ templates/artemus/restricted_access | 10 +++++++ templates/artemus/rss_footer | 1 + templates/artemus/rss_header | 3 ++ templates/artemus/search_form | 5 ++++ templates/artemus/search_hits | 1 + templates/artemus/select_templates | 4 +++ templates/artemus/select_topics | 5 ++++ templates/artemus/select_upload_dir | 3 ++ templates/artemus/select_users | 4 +++ templates/artemus/small | 1 + templates/artemus/template_select_box | 9 ++++++ templates/artemus/top_ten_box | 7 +++++ templates/artemus/topic_select_box | 8 +++++ templates/artemus/upload_file_box | 10 +++++++ templates/artemus/user_select_box | 9 ++++++ 62 files changed, 595 insertions(+) create mode 100644 templates/artemus/404 create mode 100644 templates/artemus/DELETE_STORY create mode 100644 templates/artemus/EDIT_STORY create mode 100644 templates/artemus/EDIT_TEMPLATE create mode 100644 templates/artemus/EDIT_TOPIC create mode 100644 templates/artemus/EDIT_USER create mode 100644 templates/artemus/LOGIN create mode 100644 templates/artemus/LOGOUT create mode 100644 templates/artemus/SAVE_STORY create mode 100644 templates/artemus/SAVE_TEMPLATE create mode 100644 templates/artemus/SAVE_TOPIC create mode 100644 templates/artemus/SAVE_USER create mode 100644 templates/artemus/SEARCH_BY_TAG create mode 100644 templates/artemus/STORY_PRINTABLE create mode 100644 templates/artemus/TAGS create mode 100644 templates/artemus/TAG_CLOUD create mode 100644 templates/artemus/UPLOAD create mode 100644 templates/artemus/_search_tag create mode 100644 templates/artemus/_select_option create mode 100644 templates/artemus/_story_abstract create mode 100644 templates/artemus/_story_complete create mode 100644 templates/artemus/_story_for_rdf create mode 100644 templates/artemus/_story_for_rss create mode 100644 templates/artemus/_story_link_as_item create mode 100644 templates/artemus/_story_link_as_item_with_edit create mode 100644 templates/artemus/_story_link_as_item_with_hits create mode 100644 templates/artemus/_story_link_edit_and_preview create mode 100644 templates/artemus/_story_preview create mode 100644 templates/artemus/_story_printable create mode 100644 templates/artemus/_tag_as_cloud create mode 100644 templates/artemus/_tag_with_count_as_item create mode 100644 templates/artemus/assert_logged_in create mode 100644 templates/artemus/assert_topic_editor create mode 100644 templates/artemus/assert_visible_story create mode 100644 templates/artemus/box_no_title create mode 100644 templates/artemus/edit_story create mode 100644 templates/artemus/edit_template create mode 100644 templates/artemus/edit_topic create mode 100644 templates/artemus/edit_user create mode 100644 templates/artemus/footer create mode 100644 templates/artemus/footer_printable create mode 100644 templates/artemus/header_printable create mode 100644 templates/artemus/is_future_story create mode 100644 templates/artemus/list_edit_stories create mode 100644 templates/artemus/login_box create mode 100644 templates/artemus/rdf_footer create mode 100644 templates/artemus/rdf_header create mode 100644 templates/artemus/restricted_access create mode 100644 templates/artemus/rss_footer create mode 100644 templates/artemus/rss_header create mode 100644 templates/artemus/search_form create mode 100644 templates/artemus/search_hits create mode 100644 templates/artemus/select_templates create mode 100644 templates/artemus/select_topics create mode 100644 templates/artemus/select_upload_dir create mode 100644 templates/artemus/select_users create mode 100644 templates/artemus/small create mode 100644 templates/artemus/template_select_box create mode 100644 templates/artemus/top_ten_box create mode 100644 templates/artemus/topic_select_box create mode 100644 templates/artemus/upload_file_box create mode 100644 templates/artemus/user_select_box diff --git a/templates/artemus/404 b/templates/artemus/404 new file mode 100644 index 0000000..dd64ceb --- /dev/null +++ b/templates/artemus/404 @@ -0,0 +1,9 @@ +{-header} +{-main_menu} + +{-box_title|Error} +

404 No Encontrado

+

La página que ha seleccionado no existe. +{-box_end} + +{-footer} diff --git a/templates/artemus/DELETE_STORY b/templates/artemus/DELETE_STORY new file mode 100644 index 0000000..c0eec25 --- /dev/null +++ b/templates/artemus/DELETE_STORY @@ -0,0 +1,13 @@ +{-assert_topic_editor|{-cgi-topic}} +{-header} + +{-box_title|Borrar artículo} + +

Principal - Administración + +

+{-delete_story|{-cgi-topic}|{-cgi-id}} + +{-box_end} + +{-footer} diff --git a/templates/artemus/EDIT_STORY b/templates/artemus/EDIT_STORY new file mode 100644 index 0000000..00e715d --- /dev/null +++ b/templates/artemus/EDIT_STORY @@ -0,0 +1,19 @@ +{-assert_topic_editor|{-cgi-topic}} +{-header} +{-box_title|Datos del Artículo} + +

+{-edit_story|{-cgi-topic}|{-cgi-id}} + +
+ +
+ + + + +
+ +{-box_end} + +{-footer} diff --git a/templates/artemus/EDIT_TEMPLATE b/templates/artemus/EDIT_TEMPLATE new file mode 100644 index 0000000..e94eecf --- /dev/null +++ b/templates/artemus/EDIT_TEMPLATE @@ -0,0 +1,12 @@ +{-assert_admin} +{-header} + +{-box_title|Datos de la plantilla} +
+{-edit_template|{-cgi-id}} + + +
+{-box_end} + +{-footer} diff --git a/templates/artemus/EDIT_TOPIC b/templates/artemus/EDIT_TOPIC new file mode 100644 index 0000000..2ff4f1a --- /dev/null +++ b/templates/artemus/EDIT_TOPIC @@ -0,0 +1,12 @@ +{-assert_admin} +{-header} + +{-box_title|Datos de la sección} +
+{-edit_topic|{-cgi-topic}} + + +
+{-box_end} + +{-footer} diff --git a/templates/artemus/EDIT_USER b/templates/artemus/EDIT_USER new file mode 100644 index 0000000..42e7527 --- /dev/null +++ b/templates/artemus/EDIT_USER @@ -0,0 +1,12 @@ +{-assert_logged_in} +{-header} + +{-box_title|Datos del Usuario} +
+{-edit_user|{-cgi-userid}} + + +
+{-box_end} + +{-footer} diff --git a/templates/artemus/LOGIN b/templates/artemus/LOGIN new file mode 100644 index 0000000..c03253a --- /dev/null +++ b/templates/artemus/LOGIN @@ -0,0 +1,5 @@ +{-header} + +{-login|{-cgi-userid}|{-cgi-pass}} + +{-footer} diff --git a/templates/artemus/LOGOUT b/templates/artemus/LOGOUT new file mode 100644 index 0000000..d5b3428 --- /dev/null +++ b/templates/artemus/LOGOUT @@ -0,0 +1,2 @@ +{-logout} +{-INDEX} diff --git a/templates/artemus/SAVE_STORY b/templates/artemus/SAVE_STORY new file mode 100644 index 0000000..5341b00 --- /dev/null +++ b/templates/artemus/SAVE_STORY @@ -0,0 +1,16 @@ +{-assert_topic_editor|{-cgi-topic}} +{-header} + +{-box_title|Guardar artículo} + +

Principal - Administración + +

+{-_story_preview|{-cgi-topic}|{-save_story|{-cgi-topic}|{-cgi-id}|{-cgi-content}|{-cgi-year}|{-cgi-month}|{-cgi-day}||||{-cgi-format}|{-cgi-tags}|{-cgi-year2}|{-cgi-month2}|{-cgi-day2}}} + +{-box_end} + +{-reindex_topic|{-cgi-topic}} +{-reindex_topic|{-cgi-topic}-arch} + +{-footer} diff --git a/templates/artemus/SAVE_TEMPLATE b/templates/artemus/SAVE_TEMPLATE new file mode 100644 index 0000000..2f1553a --- /dev/null +++ b/templates/artemus/SAVE_TEMPLATE @@ -0,0 +1,11 @@ +{-assert_admin} +{-header} + +{-box_title|Guardar plantilla} +{-save_template|{-cgi-id}|{-cgi-content}} + +

Administración + +{-box_end} + +{-footer} diff --git a/templates/artemus/SAVE_TOPIC b/templates/artemus/SAVE_TOPIC new file mode 100644 index 0000000..5bf0bed --- /dev/null +++ b/templates/artemus/SAVE_TOPIC @@ -0,0 +1,10 @@ +{-assert_admin} +{-header} + +{-box_title|Guardar sección} +{-save_topic|{-cgi-topic}|{-cgi-name}|{-cgi-editors}|{-cgi-internal}|{-cgi-max}} + +

Volver a Administración +{-box_end} + +{-footer} diff --git a/templates/artemus/SAVE_USER b/templates/artemus/SAVE_USER new file mode 100644 index 0000000..42d9442 --- /dev/null +++ b/templates/artemus/SAVE_USER @@ -0,0 +1,9 @@ +{-assert_logged_in} +{-header} +{-box_title|Datos del Usuario} + +{-save_user|{-cgi-new}|{-cgi-userid}|{-cgi-username}|{-cgi-email}|{-cgi-isadmin}|{-cgi-canupload}|{-cgi-pass1}|{-cgi-pass2}|{-cgi-year}|{-cgi-month}|{-cgi-day}} + +

Principal - Administración +{-box_end} +{-footer} diff --git a/templates/artemus/SEARCH_BY_TAG b/templates/artemus/SEARCH_BY_TAG new file mode 100644 index 0000000..7bbbcc9 --- /dev/null +++ b/templates/artemus/SEARCH_BY_TAG @@ -0,0 +1,18 @@ +{-header} +{-main_menu} + + + +{-box_title|Búsquedas por etiqueta} + +

{-cgi-tag}:
+ +

+ +{-search_hits} + +{-box_end} + +{-footer} diff --git a/templates/artemus/STORY_PRINTABLE b/templates/artemus/STORY_PRINTABLE new file mode 100644 index 0000000..f5e044c --- /dev/null +++ b/templates/artemus/STORY_PRINTABLE @@ -0,0 +1,7 @@ +{-redir_if_archived|STORY_PRINTABLE|{-cgi-topic}|{-cgi-id}} + +{-header_printable} + +{-_story_printable|{-cgi-topic}|{-cgi-id}|{-cgi-hl}} + +{-footer_printable} diff --git a/templates/artemus/TAGS b/templates/artemus/TAGS new file mode 100644 index 0000000..77fbb10 --- /dev/null +++ b/templates/artemus/TAGS @@ -0,0 +1,14 @@ +{-header} +{-main_menu} + + + +{-box_title|Etiquetas} + + + +{-box_end} + +{-footer} diff --git a/templates/artemus/TAG_CLOUD b/templates/artemus/TAG_CLOUD new file mode 100644 index 0000000..a6ad316 --- /dev/null +++ b/templates/artemus/TAG_CLOUD @@ -0,0 +1,14 @@ +{-header} +{-main_menu} + + + +{-box_title|Nube de etiquetas} + +

+{-loop_tags|_tag_as_cloud|} +

+ +{-box_end} + +{-footer} diff --git a/templates/artemus/UPLOAD b/templates/artemus/UPLOAD new file mode 100644 index 0000000..d46d8ae --- /dev/null +++ b/templates/artemus/UPLOAD @@ -0,0 +1,9 @@ +{-header} + +{-box_title|Uploads} +{-upload|{-cgi-updir}|file} + +

Volver a Administración +{-box_end} + +{-footer} diff --git a/templates/artemus/_search_tag b/templates/artemus/_search_tag new file mode 100644 index 0000000..785ad19 --- /dev/null +++ b/templates/artemus/_search_tag @@ -0,0 +1 @@ +$0 \ No newline at end of file diff --git a/templates/artemus/_select_option b/templates/artemus/_select_option new file mode 100644 index 0000000..54f2288 --- /dev/null +++ b/templates/artemus/_select_option @@ -0,0 +1,7 @@ +=item B<_select_option> + + _select_option text [value] + +Returns an option HTML tag for select widgets. +=cut +{-ifelse|$1||} diff --git a/templates/artemus/_story_abstract b/templates/artemus/_story_abstract new file mode 100644 index 0000000..40f36b3 --- /dev/null +++ b/templates/artemus/_story_abstract @@ -0,0 +1,23 @@ +=item B<_story_abstract> + + _story_abstract topic story_id + +Shows the abstract of a story. +=cut +{-story_abstract|$0|$1}
+ +
+ + + + + +
+ + {-if|{-is_topic_editor|$0}| Leído {-story_hits|$0|$1} veces - } + Completo... + {-if|{-is_topic_editor|$0}| - [Modificar]} + + + {-loop_story_tags|$0|$1|_search_tag|, } +
diff --git a/templates/artemus/_story_complete b/templates/artemus/_story_complete new file mode 100644 index 0000000..06ee724 --- /dev/null +++ b/templates/artemus/_story_complete @@ -0,0 +1,15 @@ +=item B<_story_complete> + + _story_complete topic story_id + +Shows a complete story. +=cut +{-story_body|$0|$1|{-cgi-hl}}
+ +

{-loop_story_tags|$0|$1|_search_tag|, } +{-box_brk} + +

+Versión para Imprimir - +Enlace permanente a esta página +
diff --git a/templates/artemus/_story_for_rdf b/templates/artemus/_story_for_rdf new file mode 100644 index 0000000..8cd2b3a --- /dev/null +++ b/templates/artemus/_story_for_rdf @@ -0,0 +1,10 @@ +=item B<_story_for_rdf> + + _story_for_rdf topic story_id + +Generates a story link in RDF format. +=cut + +{-story_title|$0|$1} +http://{-host}/{-l|STORY|topic=$0|id=$1} + diff --git a/templates/artemus/_story_for_rss b/templates/artemus/_story_for_rss new file mode 100644 index 0000000..9b0ca25 --- /dev/null +++ b/templates/artemus/_story_for_rss @@ -0,0 +1,15 @@ +=item B<_story_for_rss> + + _story_for_rss topic story_id + +Generates a story link in RSS format. +=cut + +{-story_title|$0|$1} +http://{-host}/{-l|STORY|topic=$0|id=$1} + + + + diff --git a/templates/artemus/_story_link_as_item b/templates/artemus/_story_link_as_item new file mode 100644 index 0000000..99effd2 --- /dev/null +++ b/templates/artemus/_story_link_as_item @@ -0,0 +1,7 @@ +=item B<_story_link_as_item> + + _story_link_as_item topic story_id + +Shows a link to a story, as an element of a list. +=cut +
  • {-story_title|$0|$1}
  • diff --git a/templates/artemus/_story_link_as_item_with_edit b/templates/artemus/_story_link_as_item_with_edit new file mode 100644 index 0000000..c2f4037 --- /dev/null +++ b/templates/artemus/_story_link_as_item_with_edit @@ -0,0 +1,15 @@ +=item B<_story_link_as_item_with_edit> + + _story_link_as_item_with_edit topic story_id + +Shows a link to a story, as an element of a list. If authorized, +shows also a link to edit it. +=cut +
  • +{-if|{-is_future_story|$0|$1}||} + {-story_title|$0|$1} +{-if|{-is_future_story|$0|$1}||} +{-if|{-is_topic_editor|$0}| + - [Modificar] +} +
  • diff --git a/templates/artemus/_story_link_as_item_with_hits b/templates/artemus/_story_link_as_item_with_hits new file mode 100644 index 0000000..97dfb0d --- /dev/null +++ b/templates/artemus/_story_link_as_item_with_hits @@ -0,0 +1,7 @@ +=item B<_story_link_as_item_with_hits> + + _story_link_as_item_with_hits topic story_id + +Shows a link to a story, as an element of a list, including its hits. +=cut +
  • {-story_title|$0|$1} ({-story_hits|$0|$1})
  • diff --git a/templates/artemus/_story_link_edit_and_preview b/templates/artemus/_story_link_edit_and_preview new file mode 100644 index 0000000..4f99dd6 --- /dev/null +++ b/templates/artemus/_story_link_edit_and_preview @@ -0,0 +1,12 @@ +=item B<_story_link_edit_and_preview> + + _story_link_edit_and_preview topic story_id + +Shows links to edit and preview a story. +=cut +
  • +{-if|{-is_future_story|$0|$1}||} +{-story_date|%d/%m/%y|$0|$1} - {-story_title|$0|$1} +{-if|{-is_future_story|$0|$1}||} +[Preview] +
  • diff --git a/templates/artemus/_story_preview b/templates/artemus/_story_preview new file mode 100644 index 0000000..0120866 --- /dev/null +++ b/templates/artemus/_story_preview @@ -0,0 +1,11 @@ +=item B<_story_preview> + + _story_preview topic story_id + +Shows what is shown as the 'preview' after editing a story, that is, +a continuation link and a call to _story_complete (so it's not +really a preview). +=cut +Continuar Edición +

    +{-_story_complete|$0|$1} diff --git a/templates/artemus/_story_printable b/templates/artemus/_story_printable new file mode 100644 index 0000000..eb84a5e --- /dev/null +++ b/templates/artemus/_story_printable @@ -0,0 +1,14 @@ +=item B<_story_printable> + + _story_printable topic story_id + +Shows a complete story, in 'printer-friendly' format. +=cut +{-story_body|$0|$1}
    + +{-box_brk} + +

    +Enlace permanente a esta página: +http://{-host}/?t=STORY;topic=$0;id=$1 +
    diff --git a/templates/artemus/_tag_as_cloud b/templates/artemus/_tag_as_cloud new file mode 100644 index 0000000..e3ad060 --- /dev/null +++ b/templates/artemus/_tag_as_cloud @@ -0,0 +1 @@ +$0 diff --git a/templates/artemus/_tag_with_count_as_item b/templates/artemus/_tag_with_count_as_item new file mode 100644 index 0000000..57cb056 --- /dev/null +++ b/templates/artemus/_tag_with_count_as_item @@ -0,0 +1 @@ +
  • $0 ($1)
  • diff --git a/templates/artemus/assert_logged_in b/templates/artemus/assert_logged_in new file mode 100644 index 0000000..74fbbdc --- /dev/null +++ b/templates/artemus/assert_logged_in @@ -0,0 +1 @@ +{-assert|{-is_logged_in}|LOGIN} diff --git a/templates/artemus/assert_topic_editor b/templates/artemus/assert_topic_editor new file mode 100644 index 0000000..7c4d844 --- /dev/null +++ b/templates/artemus/assert_topic_editor @@ -0,0 +1 @@ +{-assert|{-is_topic_editor|$0}|ADMIN} diff --git a/templates/artemus/assert_visible_story b/templates/artemus/assert_visible_story new file mode 100644 index 0000000..9398dcd --- /dev/null +++ b/templates/artemus/assert_visible_story @@ -0,0 +1 @@ +{-assert|{-is_visible_story|$0|$1}|404} diff --git a/templates/artemus/box_no_title b/templates/artemus/box_no_title new file mode 100644 index 0000000..72bfd6f --- /dev/null +++ b/templates/artemus/box_no_title @@ -0,0 +1,6 @@ + +
    + +
    + +
    diff --git a/templates/artemus/edit_story b/templates/artemus/edit_story new file mode 100644 index 0000000..b880d05 --- /dev/null +++ b/templates/artemus/edit_story @@ -0,0 +1,39 @@ + + + +

    Fecha de publicación: (Vacío, hoy)
    + + / + / + + +

    Fecha de liberación a los no suscriptores: (Vacío, la misma)
    + + / + / + + +

    Formato: (grutatxt, html ó raw_html)
    + + +{-ifelse|{-eq|{-cgi-id}|[]}| +

    Id de la historia: +(Opcional; si no sabe lo que significa, déjelo en blanco)
    + +| + +} + +

    Etiquetas: (separadas por comas)
    + + +

    Contenido:
    + + diff --git a/templates/artemus/edit_template b/templates/artemus/edit_template new file mode 100644 index 0000000..0d3b820 --- /dev/null +++ b/templates/artemus/edit_template @@ -0,0 +1,9 @@ +{-ifelse|{-eq|{-cgi-id}|[]}| + +| +{-cgi-id} +} + +

    Contenido:
    + + diff --git a/templates/artemus/edit_topic b/templates/artemus/edit_topic new file mode 100644 index 0000000..a7c0525 --- /dev/null +++ b/templates/artemus/edit_topic @@ -0,0 +1,23 @@ +{-ifelse|{-eq|{-cgi-topic}|[]}| +

    Id de la sección (sólo minúsculas y números)
    + + +| +{-cgi-topic}
    + + +} + +

    Nombre de la sección
    + + +

    Editores
    + + +

    Interna?
    + + +

    Número Máximo de Historias +(Las viejas irán pasando al archivo; +vacío significa no archivar nunca)
    + diff --git a/templates/artemus/edit_user b/templates/artemus/edit_user new file mode 100644 index 0000000..bb9d37d --- /dev/null +++ b/templates/artemus/edit_user @@ -0,0 +1,38 @@ +{-ifelse|{-eq|$0|[]}| +

    Id. del usuario:
    + + +| +$0 +} + +

    Nombre completo del usuario:
    + + + +

    Email:
    + + + +{-if|{-is_admin}| + +

    Administrador?
    + + +

    Puede enviar ficheros?
    + + +

    Fecha de expiración de la cuenta: (vacío, nunca)
    + + / + / + +} + +

    Passwords: (Sólo nuevos usuarios ó para cambiarla)
    + +

    Password:
    + + +

    Repetir password:
    + diff --git a/templates/artemus/footer b/templates/artemus/footer new file mode 100644 index 0000000..9625558 --- /dev/null +++ b/templates/artemus/footer @@ -0,0 +1 @@ +

    diff --git a/templates/artemus/footer_printable b/templates/artemus/footer_printable new file mode 100644 index 0000000..ed1b6f3 --- /dev/null +++ b/templates/artemus/footer_printable @@ -0,0 +1 @@ +

    diff --git a/templates/artemus/header_printable b/templates/artemus/header_printable new file mode 100644 index 0000000..647ee98 --- /dev/null +++ b/templates/artemus/header_printable @@ -0,0 +1,11 @@ + + + +{-sitename} + + + +{-sitename} +

    {-slogan} +
    diff --git a/templates/artemus/is_future_story b/templates/artemus/is_future_story new file mode 100644 index 0000000..36cb343 --- /dev/null +++ b/templates/artemus/is_future_story @@ -0,0 +1,7 @@ +=item is_future_story + + is_future_story topic story_id + +Returns 1 if the story is to be published in the future. +=cut +{-gt|{-story_date|%y%m%d%H%M%S|$0|$1}|{-date|%y%m%d%H%M%S}} diff --git a/templates/artemus/list_edit_stories b/templates/artemus/list_edit_stories new file mode 100644 index 0000000..2c26eea --- /dev/null +++ b/templates/artemus/list_edit_stories @@ -0,0 +1,18 @@ +=item B + + list_edit_stories topic new_story_link num offset + +Generate a list of links to edit stories. +=cut +

    {-topic_name|$0}

    + +
      + +{-if|$1|
    • [Nueva]
    • } + +{-story_loop_by_date|$0|$2|$3|_story_link_edit_and_preview||||1} + +
    + +{-if|{-topic_has_archive|$0}| +Esta sección tiene historias archivadas.} diff --git a/templates/artemus/login_box b/templates/artemus/login_box new file mode 100644 index 0000000..d7bf400 --- /dev/null +++ b/templates/artemus/login_box @@ -0,0 +1,22 @@ +{-box_title|Login} +
    +{-ifelse|{-is_logged_in}| +Estás conectado como {-username}. +

    Desconectar
    +Preferencias +| +

    + + + + +
    Usuario: + +
    Password: + +
    + +
    +} +
    +{-box_end} diff --git a/templates/artemus/rdf_footer b/templates/artemus/rdf_footer new file mode 100644 index 0000000..7edcd78 --- /dev/null +++ b/templates/artemus/rdf_footer @@ -0,0 +1 @@ + diff --git a/templates/artemus/rdf_header b/templates/artemus/rdf_header new file mode 100644 index 0000000..7574566 --- /dev/null +++ b/templates/artemus/rdf_header @@ -0,0 +1,5 @@ +{-content_type|text/xml} + + diff --git a/templates/artemus/restricted_access b/templates/artemus/restricted_access new file mode 100644 index 0000000..af2ae12 --- /dev/null +++ b/templates/artemus/restricted_access @@ -0,0 +1,10 @@ +

    El contenido que está intentando ver ({-story_title|{-cgi-topic}|{-cgi-id}}) +está actualmente disponible sólo para suscriptores.

    + +

    Si usted ya es un suscriptor de {-sitename}, por favor +identifíquese para poder leerlo.

    + +

    Si no lo es, por favor considere suscribirse.

    + +

    Alternativamente, este artículo estará disponible para todo el mundo el +{-story_date2|%d/%m/%y|{-cgi-topic}|{-cgi-id}}.

    diff --git a/templates/artemus/rss_footer b/templates/artemus/rss_footer new file mode 100644 index 0000000..8d009c4 --- /dev/null +++ b/templates/artemus/rss_footer @@ -0,0 +1 @@ + diff --git a/templates/artemus/rss_header b/templates/artemus/rss_header new file mode 100644 index 0000000..f84237b --- /dev/null +++ b/templates/artemus/rss_header @@ -0,0 +1,3 @@ +{-content_type|text/xml} + + diff --git a/templates/artemus/search_form b/templates/artemus/search_form new file mode 100644 index 0000000..12c1c26 --- /dev/null +++ b/templates/artemus/search_form @@ -0,0 +1,5 @@ +
    + + + +
    diff --git a/templates/artemus/search_hits b/templates/artemus/search_hits new file mode 100644 index 0000000..f9ced3c --- /dev/null +++ b/templates/artemus/search_hits @@ -0,0 +1 @@ +

    Total: {-search_count} \ No newline at end of file diff --git a/templates/artemus/select_templates b/templates/artemus/select_templates new file mode 100644 index 0000000..c7682d8 --- /dev/null +++ b/templates/artemus/select_templates @@ -0,0 +1,4 @@ + diff --git a/templates/artemus/select_topics b/templates/artemus/select_topics new file mode 100644 index 0000000..996c037 --- /dev/null +++ b/templates/artemus/select_topics @@ -0,0 +1,5 @@ + + diff --git a/templates/artemus/select_upload_dir b/templates/artemus/select_upload_dir new file mode 100644 index 0000000..89e7564 --- /dev/null +++ b/templates/artemus/select_upload_dir @@ -0,0 +1,3 @@ + diff --git a/templates/artemus/select_users b/templates/artemus/select_users new file mode 100644 index 0000000..fea61ba --- /dev/null +++ b/templates/artemus/select_users @@ -0,0 +1,4 @@ + diff --git a/templates/artemus/small b/templates/artemus/small new file mode 100644 index 0000000..4409ec7 --- /dev/null +++ b/templates/artemus/small @@ -0,0 +1 @@ +$0 \ No newline at end of file diff --git a/templates/artemus/template_select_box b/templates/artemus/template_select_box new file mode 100644 index 0000000..3f26086 --- /dev/null +++ b/templates/artemus/template_select_box @@ -0,0 +1,9 @@ +{-box_title|Plantillas (Templates)} +

    +{-select_templates|id|1} + + + +
    +{-box_end} + diff --git a/templates/artemus/top_ten_box b/templates/artemus/top_ten_box new file mode 100644 index 0000000..4d924f8 --- /dev/null +++ b/templates/artemus/top_ten_box @@ -0,0 +1,7 @@ +{-box_title|Los más leídos} + +
      +{-story_loop_top_ten|10|1|_story_link_as_item_with_hits|} +
    +
    +{-box_end} diff --git a/templates/artemus/topic_select_box b/templates/artemus/topic_select_box new file mode 100644 index 0000000..d01d6c1 --- /dev/null +++ b/templates/artemus/topic_select_box @@ -0,0 +1,8 @@ +{-box_title|Secciones} +
    +{-select_topics|topic|1|0} + + + +
    +{-box_end} diff --git a/templates/artemus/upload_file_box b/templates/artemus/upload_file_box new file mode 100644 index 0000000..77f591c --- /dev/null +++ b/templates/artemus/upload_file_box @@ -0,0 +1,10 @@ +{-box_title|Uploads} +
    +Directorio:
    +{-select_upload_dir|updir}
    +Fichero:
    +
    + + +
    +{-box_end} diff --git a/templates/artemus/user_select_box b/templates/artemus/user_select_box new file mode 100644 index 0000000..f61650f --- /dev/null +++ b/templates/artemus/user_select_box @@ -0,0 +1,9 @@ +{-box_title|Usuarios} +
    + +{-select_users} + + + +
    +{-box_end} -- 2.11.4.GIT