From 3564b5fb067a59e114bffdb0be9e0aabb8098202 Mon Sep 17 00:00:00 2001 From: misol Date: Mon, 26 Mar 2012 12:47:49 +0000 Subject: [PATCH] Converting four spaces indent to tab indent at some of rss template xmls. According to http://code.google.com/p/xe-core/wiki/PHPCodingConvension#Code_Indenting git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10476 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/rss/tpl/atom10.html | 66 ++++++++++++++-------------- modules/rss/tpl/rss10.html | 44 +++++++++---------- modules/rss/tpl/rss20.html | 86 ++++++++++++++++++------------------- 3 files changed, 97 insertions(+), 99 deletions(-) diff --git a/modules/rss/tpl/atom10.html b/modules/rss/tpl/atom10.html index 4a4b6b0fd..b9f86283e 100644 --- a/modules/rss/tpl/atom10.html +++ b/modules/rss/tpl/atom10.html @@ -1,37 +1,35 @@ {''} - {$info->title} - - {str_replace('\'', ''', htmlspecialchars($info->description))} - - {$info->date} - {$info->id} - - - XpressEngine - - {str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText()))} - {$oDocument->getPermanentUrl()} - {$oDocument->getRegdate('Y-m-d\TH:i:sP')} - {zdate($oDocument->get('last_update'),'Y-m-d\TH:i:sP')} - - - - {str_replace('\'', ''',$oDocument->getNickName())} - - {$oDocument->getHomepageUrl()} - - - - {str_replace('\'', ''', htmlspecialchars($oDocument->getTransContent(false,false,true)))} - - {str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(100)))} - - - - - - - - + {$info->title} + + {str_replace('\'', ''', htmlspecialchars($info->description))} + + {$info->date} + {$info->id} + + + XpressEngine + + {str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText()))} + {$oDocument->getPermanentUrl()} + {$oDocument->getRegdate('Y-m-d\TH:i:sP')} + {zdate($oDocument->get('last_update'),'Y-m-d\TH:i:sP')} + + + + {str_replace('\'', ''',$oDocument->getNickName())} + + {$oDocument->getHomepageUrl()} + + + + {str_replace('\'', ''', htmlspecialchars($oDocument->getTransContent(false,false,true)))} + + {str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(100)))} + + + + + + \ No newline at end of file diff --git a/modules/rss/tpl/rss10.html b/modules/rss/tpl/rss10.html index 9bffb2dba..2f7641dd3 100644 --- a/modules/rss/tpl/rss10.html +++ b/modules/rss/tpl/rss10.html @@ -1,26 +1,26 @@ {''} - - {$info->title} - {$info->link} - {str_replace('\'', ''', htmlspecialchars($info->description))} - - - - - - - - {$info->date} - {$info->language} + + {$info->title} + {$info->link} + {str_replace('\'', ''', htmlspecialchars($info->description))} + + + + + + + + {$info->date} + {$info->language} - - - {str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText()))} - {$oDocument->getPermanentUrl()} - {str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(200)))} - {$oDocument->getRegdate('Y-m-d\TH:i:sP')} - - - + + + {str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText()))} + {$oDocument->getPermanentUrl()} + {str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(200)))} + {$oDocument->getRegdate('Y-m-d\TH:i:sP')} + + + \ No newline at end of file diff --git a/modules/rss/tpl/rss20.html b/modules/rss/tpl/rss20.html index 9cddb2024..1c10ede23 100644 --- a/modules/rss/tpl/rss20.html +++ b/modules/rss/tpl/rss20.html @@ -1,46 +1,46 @@ {''} - - {$info->title} - {$info->link} - {$info->description} - {$info->language} - {$info->date} - {$info->date} - XpressEngine - - {$info->feed_copyright} - - - - {$info->image} - {$info->title} - {$info->link} - - - - - {str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText()))} - {str_replace('\'', ''',$oDocument->getNickName())} - {$oDocument->getPermanentUrl()} - {$oDocument->getPermanentUrl()} - - {$oDocument->getPermanentUrl()}#comment - - - {str_replace('\'', ''', htmlspecialchars($oDocument->getTransContent(false,false,true)))} - - {str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(100)))} - - {$oDocument->getRegdateGM()} - - {str_replace('\'', ''', htmlspecialchars($tag))} - - - {$oDocument->getCommentcount()} - - - - - + + {$info->title} + {$info->link} + {$info->description} + {$info->language} + {$info->date} + {$info->date} + XpressEngine + + {$info->feed_copyright} + + + + {$info->image} + {$info->title} + {$info->link} + + + + + {str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText()))} + {str_replace('\'', ''',$oDocument->getNickName())} + {$oDocument->getPermanentUrl()} + {$oDocument->getPermanentUrl()} + + {$oDocument->getPermanentUrl()}#comment + + + {str_replace('\'', ''', htmlspecialchars($oDocument->getTransContent(false,false,true)))} + + {str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(100)))} + + {$oDocument->getRegdateGM()} + + {str_replace('\'', ''', htmlspecialchars($tag))} + + + {$oDocument->getCommentcount()} + + + + + \ No newline at end of file