From dd3cf3be65e7f31b82b442aaf159a2120699a359 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 31 Aug 2006 07:21:43 +0000 Subject: - Patch #81619 by m3avrck: clean up default phpTemplates. --- modules/filter/filter.module | 4 ++-- themes/engines/phptemplate/block.tpl.php | 6 +++++- themes/engines/phptemplate/box.tpl.php | 8 +++++--- themes/engines/phptemplate/comment.tpl.php | 22 +++++++++++++------- themes/engines/phptemplate/node.tpl.php | 32 +++++++++++++++++++++--------- 5 files changed, 50 insertions(+), 22 deletions(-) diff --git a/modules/filter/filter.module b/modules/filter/filter.module index 1eb786551..545ec0885 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -1095,7 +1095,7 @@ function _filter_url($text, $format) { // Match absolute URLs. $text = preg_replace_callback("!(

|

  • ||[ \n\r\t\(])((http://|https://|ftp://|mailto:|smb://|afp://|file://|gopher://|news://|ssl://|sslv2://|sslv3://|tls://|tcp://|udp://)([a-zA-Z0-9@:%_+*~#?&=.,/;-]*[a-zA-Z0-9@:%_+*~#&=/;-]))([.,?]?)(?=(

    |
  • ||[ \n\r\t\)]))!i", '_filter_url_parse_full_links', $text); - + // Match e-mail addresses. $text = preg_replace("!(

    |

  • ||[ \n\r\t\(])([A-Za-z0-9._-]+@[A-Za-z0-9._+-]+\.[A-Za-z]{2,4})([.,?]?)(?=(

    |
  • ||[ \n\r\t\)]))!i", '\1\2\3', $text); @@ -1107,7 +1107,7 @@ function _filter_url($text, $format) { } /** - * Make links out of absolute URLs. + * Make links out of absolute URLs. */ function _filter_url_parse_full_links($match) { $match[2] = decode_entities($match[2]); diff --git a/themes/engines/phptemplate/block.tpl.php b/themes/engines/phptemplate/block.tpl.php index ca670dbbd..3df046fca 100644 --- a/themes/engines/phptemplate/block.tpl.php +++ b/themes/engines/phptemplate/block.tpl.php @@ -1,4 +1,8 @@ -
    module" ?>" id="module-$block->delta"; ?>"> +
    + +subject): ?>

    subject ?>

    + +
    content ?>
    diff --git a/themes/engines/phptemplate/box.tpl.php b/themes/engines/phptemplate/box.tpl.php index 56667e767..84d810cf0 100644 --- a/themes/engines/phptemplate/box.tpl.php +++ b/themes/engines/phptemplate/box.tpl.php @@ -1,6 +1,8 @@
    - -

    - + + +

    + +
    diff --git a/themes/engines/phptemplate/comment.tpl.php b/themes/engines/phptemplate/comment.tpl.php index d9dc3fd36..c7211b9bf 100644 --- a/themes/engines/phptemplate/comment.tpl.php +++ b/themes/engines/phptemplate/comment.tpl.php @@ -1,12 +1,20 @@
    - new) : ?> + + +new) : ?> - + -
    - -
    -
    - +

    + + + +
    + +
    + +
    diff --git a/themes/engines/phptemplate/node.tpl.php b/themes/engines/phptemplate/node.tpl.php index 6da685329..872ea0c29 100644 --- a/themes/engines/phptemplate/node.tpl.php +++ b/themes/engines/phptemplate/node.tpl.php @@ -1,15 +1,29 @@ -
    clear-block"> - -

    +
    + + + + +

    + + +
    + + - -
    + + + +
    +
    - - - -
    + + +
    \ No newline at end of file -- cgit v1.2.3