From 7470f900101c8e07819cad55d9cc06751514498a Mon Sep 17 00:00:00 2001 From: Moc Date: Tue, 30 Apr 2013 23:36:51 +0200 Subject: [PATCH] Reverting default news template back to original, previous edits are included in the 'bootstrap' theme. --- e107_plugins/news/templates/news_template.php | 61 +++---------------- 1 file changed, 7 insertions(+), 54 deletions(-) diff --git a/e107_plugins/news/templates/news_template.php b/e107_plugins/news/templates/news_template.php index 29d1968c0..6bc7aa2a4 100644 --- a/e107_plugins/news/templates/news_template.php +++ b/e107_plugins/news/templates/news_template.php @@ -51,7 +51,7 @@ $NEWS_TEMPLATE['list']['item'] = ' // XXX As displayed by news.php (no query) or news.php?list.1.1 (ie. regular view of a particular category) //XXX TODO GEt this looking good in the default Bootstrap theme. -/*$NEWS_TEMPLATE['default']['item'] = ' +$NEWS_TEMPLATE['default']['item'] = ' {SETIMAGE: w=400}

{NEWSTITLE}

@@ -69,30 +69,8 @@ $NEWS_TEMPLATE['list']['item'] = '
'; -*/ -// Attempt at bootstrap style -// XXX As displayed by news.php (no query) or news.php?list.1.1 (ie. regular view of a particular category) -$NEWS_TEMPLATE['default']['item'] = ' - {SETIMAGE: w=600} -
-

{NEWSTITLE}

- -
- {NEWSIMAGE} - {NEWSBODY} - {EXTENDED} -
-
- {EMAILICON} {PRINTICON} {PDFICON} {ADMINOPTIONS} -
-
-'; + @@ -103,16 +81,13 @@ $NEWS_TEMPLATE['default']['item'] = ' // As displayed by news.php?extend.1 //XXX TODO GEt this looking good in the default Bootstrap theme. -/*$NEWS_TEMPLATE['view']['item'] = ' +$NEWS_TEMPLATE['view']['item'] = ' {SETIMAGE: w=800}

{NEWSTITLE}

- + + {NEWSDATE=short} by {NEWSAUTHOR} +
{NEWSIMAGE} @@ -123,31 +98,9 @@ $NEWS_TEMPLATE['default']['item'] = ' {NEWSCATEGORY} {NEWSTAGS} {NEWSCOMMENTS} {EMAILICON} {PRINTICON} {PDFICON} {ADMINOPTIONS}
-';*/ +'; //$NEWS_MENU_TEMPLATE['view']['separator'] = '
'; -// Attempt at bootstrap style -$NEWS_TEMPLATE['view']['item'] = ' -{SETIMAGE: w=800} -
-

{NEWSTITLE}

- - -
- {NEWSIMAGE} - {NEWSBODY} - {EXTENDED} -
-
- {EMAILICON} {PRINTICON} {PDFICON} {ADMINOPTIONS} -
-
-'; ###### news_categories.sc (temporary) - TODO rewrite news $NEWS_TEMPLATE['category']['body'] = '