Changeset 2567:6c11245cbf04
- Timestamp:
- 11/17/13 20:30:21 (12 years ago)
- Branch:
- default
- Parents:
- 2564:c8bf313d697e (diff), 2566:9bf417837888 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 34 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/categories.php
r2496 r2567 224 224 dcPage::helpBlock('core_categories'); 225 225 dcPage::close(); 226 ?> -
admin/categories.php
r2566 r2567 109 109 && $rs->count()>1) { 110 110 $starting_script .= dcPage::jsLoad('js/jquery/jquery-ui.custom.js'); 111 $starting_script .= dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'); 111 112 $starting_script .= dcPage::jsLoad('js/jquery/jquery.mjs.nestedSortable.js'); 112 113 } -
admin/preferences.php
r2496 r2567 632 632 dcPage::helpBlock('core_user_pref'); 633 633 dcPage::close(); 634 ?> -
admin/preferences.php
r2566 r2567 305 305 ($user_acc_nodragdrop ? '' : dcPage::jsLoad('js/_preferences-dragdrop.js')). 306 306 dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 307 dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'). 307 308 dcPage::jsLoad('js/jquery/jquery.pwstrength.js'). 308 309 '<script type="text/javascript">'."\n". -
inc/core/class.dc.blog.php
r2521 r2567 2385 2385 //@} 2386 2386 } 2387 ?> -
inc/core/class.dc.blog.php
r2566 r2567 1894 1894 - post_id: (integer) Get comments belonging to given post_id 1895 1895 - cat_id: (integer or array) Get comments belonging to entries of given category ID 1896 - comment_id: (integer ) Get comment with given ID1896 - comment_id: (integer or array) Get comment with given ID (or IDs) 1897 1897 - comment_site: (string) Get comments with given comment_site 1898 1898 - comment_status: (integer) Get comments with given comment_status … … 1984 1984 1985 1985 if (isset($params['comment_id']) && $params['comment_id'] !== '') { 1986 $strReq .= 'AND comment_id = '.(integer) $params['comment_id'].' '; 1986 if (is_array($params['comment_id'])) { 1987 array_walk($params['comment_id'],create_function('&$v,$k','if($v!==null){$v=(integer)$v;}')); 1988 } else { 1989 $params['comment_id'] = array((integer) $params['comment_id']); 1990 } 1991 $strReq .= 'AND comment_id '.$this->con->in($params['comment_id']); 1987 1992 } 1988 1993 -
inc/core/class.dc.namespace.php
r2505 r2567 399 399 400 400 } 401 ?> -
inc/core/class.dc.namespace.php
r2566 r2567 125 125 126 126 /** 127 Returns global setting value if exists. 128 129 @param n <b>string</b> setting name 130 @return <b>mixed</b> 131 */ 132 public function getGlobal($n) 133 { 134 if (isset($this->global_settings[$n]['value'])) { 135 return $this->global_settings[$n]['value']; 136 } 137 138 return null; 139 } 140 141 /** 142 Returns local setting value if exists. 143 144 @param n <b>string</b> setting name 145 @return <b>mixed</b> 146 */ 147 public function getLocal($n) 148 { 149 if (isset($this->local_settings[$n]['value'])) { 150 return $this->local_settings[$n]['value']; 151 } 152 153 return null; 154 } 155 156 /** 127 157 Magic __get method. 128 158 @copydoc ::get -
inc/core/class.dc.themes.php
r2566 r2567 59 59 # Themes specifics properties 60 60 $properties = array_merge( 61 array('parent' => null ),61 array('parent' => null, 'tplset' => 'legacy'), 62 62 $properties, 63 63 array('permissions' => 'admin') // force themes perms -
inc/prepend.php
r2557 r2567 310 310 } 311 311 } 312 ?> -
inc/prepend.php
r2566 r2567 135 135 # Constants 136 136 define('DC_ROOT',path::real(dirname(__FILE__).'/..')); 137 define('DC_VERSION','2. 6.1');137 define('DC_VERSION','2.7-dev'); 138 138 define('DC_DIGESTS',dirname(__FILE__).'/digests'); 139 139 define('DC_L10N_ROOT',dirname(__FILE__).'/../locales'); -
inc/public/default-templates/legacy/404.html
r2541 r2567 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" /> 7 7 8 8 <title>{{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}}</title> 9 9 <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 10 10 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 11 11 12 12 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 13 13 <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}}" /> … … 17 17 <meta name="dc.type" content="text" /> 18 18 <meta name="dc.format" content="text/html" /> 19 19 20 20 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 21 21 <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" /> 22 22 <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 23 23 24 24 {{tpl:include src="_head.html"}} 25 25 </head> … … 33 33 <div id="main"> 34 34 <div id="content"> 35 35 36 36 <div id="content-info"> 37 37 <h2>{{tpl:lang Document not found}}</h2> 38 38 </div> 39 39 40 40 <div class="content-inner"> 41 41 <p>{{tpl:lang The document you are looking for does not exist.}}</p> 42 42 </div> 43 43 44 44 </div> 45 45 </div> … … 49 49 {{tpl:Widgets type="nav"}} 50 50 </div> <!-- End #blognav --> 51 51 52 52 <div id="blogextra"> 53 53 {{tpl:Widgets type="extra"}} -
inc/public/default-templates/legacy/_top.html
r2541 r2567 1 1 <div id="top"> 2 2 <h1><span><a href="{{tpl:BlogURL}}">{{tpl:BlogName encode_html="1"}}</a></span></h1> 3 3 4 4 <!-- # --BEHAVIOR-- publicTopAfterContent --> 5 5 {{tpl:SysBehavior behavior="publicTopAfterContent"}} -
inc/public/default-templates/legacy/archive.html
r2541 r2567 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 7 7 8 8 <title>{{tpl:lang Archives}} - {{tpl:BlogName encode_html="1"}}</title> 9 9 <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 10 10 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 11 11 <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 12 12 13 13 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 14 14 <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Archives}} - {{tpl:BlogName encode_html="1"}}" /> … … 19 19 <meta name="dc.type" content="text" /> 20 20 <meta name="dc.format" content="text/html" /> 21 21 22 22 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 23 23 24 24 <tpl:Archives> 25 25 <link rel="chapter" href="{{tpl:ArchiveURL}}" title="{{tpl:ArchiveDate encode_html="1"}}" /> 26 26 </tpl:Archives> 27 27 28 28 <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 29 29 30 30 {{tpl:include src="_head.html"}} 31 31 </head> … … 39 39 <div id="main"> 40 40 <div id="content"> 41 41 42 42 <div id="content-info"> 43 43 <h2>{{tpl:lang Archives}}</h2> 44 44 </div> 45 45 46 46 <div class="content-inner"> 47 47 <tpl:Archives> … … 58 58 </tpl:Archives> 59 59 </div> 60 60 61 61 </div> 62 62 </div> <!-- End #main --> … … 66 66 {{tpl:Widgets type="nav"}} 67 67 </div> <!-- End #blognav --> 68 68 69 69 <div id="blogextra"> 70 70 {{tpl:Widgets type="extra"}} -
inc/public/default-templates/legacy/archive_month.html
r2541 r2567 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" /> 7 7 8 8 <title>{{tpl:lang Archives}} - {{tpl:ArchiveDate}} - {{tpl:BlogName encode_html="1"}}</title> 9 9 <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 10 10 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 11 11 <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 12 12 13 13 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 14 14 <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Archives}} - {{tpl:ArchiveDate}} - {{tpl:BlogName encode_html="1"}}" /> … … 19 19 <meta name="dc.type" content="text" /> 20 20 <meta name="dc.format" content="text/html" /> 21 21 22 22 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 23 23 <link rel="up" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 24 24 <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 25 26 25 26 27 27 <tpl:ArchiveNext><link rel="next" href="{{tpl:ArchiveURL}}" 28 28 title="{{tpl:ArchiveDate encode_html="1"}}" /></tpl:ArchiveNext> 29 29 <tpl:ArchivePrevious><link rel="prev" href="{{tpl:ArchiveURL}}" 30 30 title="{{tpl:ArchiveDate encode_html="1"}}" /></tpl:ArchivePrevious> 31 31 32 32 <tpl:Entries no_content="1"> 33 33 <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /> 34 34 </tpl:Entries> 35 35 36 36 {{tpl:include src="_head.html"}} 37 37 </head> … … 45 45 <div id="main"> 46 46 <div id="content"> 47 47 48 48 <p id="navlinks"> 49 49 <tpl:ArchivePrevious><a href="{{tpl:ArchiveURL}}" class="prev">« {{tpl:ArchiveDate encode_html="1"}}</a> … … 52 52 <tpl:ArchiveNext> - <a href="{{tpl:ArchiveURL}}" class="next">{{tpl:ArchiveDate encode_html="1"}} »</a></tpl:ArchiveNext> 53 53 </p> 54 54 55 55 <div id="content-info"> 56 56 <h2>{{tpl:ArchiveDate}}</h2> 57 57 </div> 58 58 59 59 <div class="content-inner"> 60 60 <tpl:Entries no_content="1"> 61 61 <!-- # New day date --> 62 62 <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 63 63 64 64 <h2 id="p{{tpl:EntryID}}" class="post-title" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}"><a 65 65 href="{{tpl:EntryURL}}" title="{{tpl:lang Read}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 66 66 67 67 <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} 68 68 <tpl:EntryIf show_comments="1"> … … 83 83 {{tpl:Widgets type="nav"}} 84 84 </div> <!-- End #blognav --> 85 85 86 86 <div id="blogextra"> 87 87 {{tpl:Widgets type="extra"}} -
inc/public/default-templates/legacy/atom-comments.xml
r2541 r2567 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{tpl:BlogLanguage}}"> 3 3 4 4 <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}} 5 5 - {{tpl:lang Comments}}</title> … … 14 14 <id>{{tpl:BlogFeedID}}</id> 15 15 <generator uri="http://www.dotclear.org/">Dotclear</generator> 16 16 17 17 <tpl:Comments order="desc" with_pings="1"> 18 18 19 19 <tpl:CommentIf is_ping="1"> 20 20 <entry> … … 28 28 <content type="html"><p><a href="{{tpl:PingAuthorURL encode_xml="1"}}">{{tpl:PingTitle encode_xml="1"}}</a></p> {{tpl:PingContent encode_xml="1"}}</content> 29 29 </entry> 30 30 31 31 </tpl:CommentIf> 32 32 33 33 <tpl:CommentIf is_ping="0"> 34 34 <entry> … … 44 44 </tpl:CommentIf> 45 45 </tpl:Comments> 46 46 47 47 </feed> -
inc/public/default-templates/legacy/atom.xml
r2541 r2567 4 4 xmlns:wfw="http://wellformedweb.org/CommentAPI/" 5 5 xml:lang="{{tpl:BlogLanguage}}"> 6 6 7 7 <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title> 8 8 <subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle> … … 16 16 <id>{{tpl:BlogFeedID}}</id> 17 17 <generator uri="http://www.dotclear.org/">Dotclear</generator> 18 18 19 19 <tpl:Entries> 20 20 21 21 <entry> 22 22 <title>{{tpl:EntryTitle encode_xml="1"}}</title> … … 36 36 </tpl:EntryIf> 37 37 <tpl:EntryTags><dc:subject>{{tpl:TagID}}</dc:subject></tpl:EntryTags> 38 38 39 39 <content type="html">{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} 40 40 {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</content> 41 41 42 42 <tpl:Attachments> 43 43 <link rel="enclosure" href="{{tpl:AttachmentURL}}" … … 45 45 </tpl:Attachments> 46 46 47 47 48 48 <tpl:EntryIf comments_active="1"> 49 49 <wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment> -
inc/public/default-templates/legacy/category.html
r2541 r2567 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" /> 7 7 8 8 <title>{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title> 9 9 <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription cut_string="180" remove_html="1"}}" /> … … 11 11 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 12 12 <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 13 13 14 14 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 15 15 <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> … … 21 21 <meta name="dc.type" content="text" /> 22 22 <meta name="dc.format" content="text/html" /> 23 23 24 24 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 25 25 <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 26 26 27 27 <tpl:Entries no_content="1"> 28 28 <tpl:EntriesHeader> … … 31 31 <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" /> 32 32 </tpl:PaginationIf> 33 33 34 34 <tpl:PaginationIf start="0"> 35 35 <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" /> … … 37 37 </tpl:Pagination> 38 38 </tpl:EntriesHeader> 39 39 40 40 <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /> 41 41 </tpl:Entries> 42 42 43 43 <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:CategoryFeedURL type="atom"}}" /> 44 44 45 45 {{tpl:include src="_head.html"}} 46 46 </head> … … 59 59 {{tpl:CategoryTitle encode_html="1"}}</h2> 60 60 {{tpl:CategoryDescription}} 61 61 62 62 <tpl:CategoryIf has_entries="1"> 63 63 <p><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}" 64 64 title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a> 65 65 66 66 <tpl:SysIf operator="or" comments_active="1" pings_active="1"> 67 67 - <a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments" … … 71 71 </tpl:CategoryIf> 72 72 </div> 73 73 74 74 <tpl:CategoryFirstChildren> 75 75 <tpl:CategoriesHeader> … … 84 84 </tpl:CategoriesFooter> 85 85 </tpl:CategoryFirstChildren> 86 86 87 87 <tpl:Entries> 88 88 <div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}"> 89 89 <!-- # New day date --> 90 90 <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 91 91 92 92 <h2 class="post-title"><a 93 93 href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 94 94 95 95 <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} 96 96 {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}}</p> 97 97 98 98 <tpl:EntryTags> 99 99 <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader> … … 101 101 <tpl:TagsFooter></ul></tpl:TagsFooter> 102 102 </tpl:EntryTags> 103 103 104 104 <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 105 105 {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 106 106 107 107 <!-- # Entry with an excerpt --> 108 108 <tpl:EntryIf extended="1"> … … 112 112 reading}}</a>...</p> 113 113 </tpl:EntryIf> 114 114 115 115 <!-- # Entry without excerpt --> 116 116 <tpl:EntryIf extended="0"> 117 117 <div class="post-content">{{tpl:EntryContent}}</div> 118 118 </tpl:EntryIf> 119 119 120 120 <!-- # --BEHAVIOR-- publicEntryAfterContent --> 121 121 {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 122 122 123 123 <!-- # Number of comments, trackbacks and attachments --> 124 124 <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> … … 136 136 </tpl:EntryIf> 137 137 </div> 138 138 139 139 <tpl:EntriesFooter> 140 140 <tpl:Pagination> … … 154 154 {{tpl:Widgets type="nav"}} 155 155 </div> <!-- End #blognav --> 156 156 157 157 <div id="blogextra"> 158 158 {{tpl:Widgets type="extra"}} -
inc/public/default-templates/legacy/home.html
r2541 r2567 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 7 7 8 8 <title>{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title> 9 9 <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription cut_string="180" encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> … … 11 11 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 12 12 <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 13 13 14 14 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 15 15 <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> … … 21 21 <meta name="dc.type" content="text" /> 22 22 <meta name="dc.format" content="text/html" /> 23 23 24 24 <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" /> 25 25 <tpl:Categories> 26 26 <link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" /> 27 27 </tpl:Categories> 28 28 29 29 <tpl:Entries no_content="1"> 30 30 <tpl:EntriesHeader> … … 33 33 <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" /> 34 34 </tpl:PaginationIf> 35 35 36 36 <tpl:PaginationIf start="0"> 37 37 <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" /> … … 39 39 </tpl:Pagination> 40 40 </tpl:EntriesHeader> 41 41 42 42 <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /> 43 43 </tpl:Entries> 44 44 45 45 <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 46 46 <link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" /> 47 47 <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" /> 48 48 49 49 {{tpl:include src="_head.html"}} 50 50 </head> … … 62 62 <!-- # New day date --> 63 63 <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 64 64 65 65 <h2 class="post-title"><a 66 66 href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 67 67 68 68 <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} 69 69 {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}} … … 72 72 </tpl:EntryIf> 73 73 </p> 74 74 75 75 <tpl:EntryTags> 76 76 <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader> … … 78 78 <tpl:TagsFooter></ul></tpl:TagsFooter> 79 79 </tpl:EntryTags> 80 80 81 81 <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 82 82 {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 83 83 84 84 <!-- # Entry with an excerpt --> 85 85 <tpl:EntryIf extended="1"> … … 89 89 reading}}</a>...</p> 90 90 </tpl:EntryIf> 91 91 92 92 <!-- # Entry without excerpt --> 93 93 <tpl:EntryIf extended="0"> 94 94 <div class="post-content">{{tpl:EntryContent}}</div> 95 95 </tpl:EntryIf> 96 96 97 97 <!-- # --BEHAVIOR-- publicEntryAfterContent --> 98 98 {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 99 99 100 100 <!-- # Number of comments, trackbacks and attachments --> 101 101 <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> … … 113 113 </tpl:EntryIf> 114 114 </div> 115 115 116 116 <tpl:EntriesFooter> 117 117 <tpl:Pagination> … … 131 131 {{tpl:Widgets type="nav"}} 132 132 </div> <!-- End #blognav --> 133 133 134 134 <div id="blogextra"> 135 135 {{tpl:Widgets type="extra"}} -
inc/public/default-templates/legacy/password-form.html
r2541 r2567 6 6 <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" /> 7 7 <title>{{tpl:lang Password needed}} - {{tpl:BlogName encode_html="1"}}</title> 8 8 9 9 <style type="text/css"> 10 10 body { 11 11 font: 0.8em Verdana,Arial,Geneva,sans-serif; 12 12 } 13 13 14 14 form { 15 15 display : block; … … 19 19 background : #eee; 20 20 } 21 21 22 22 h2 { font : 140% Arial,Helvetica,sans-serif; margin : 0; } 23 23 24 24 label { font-weight : bold; } 25 25 26 26 input { border-width : 1px; } 27 27 </style> -
inc/public/default-templates/legacy/post.html
r2541 r2567 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 7 7 8 8 <title>{{tpl:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title> 9 9 <meta name="description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> … … 11 11 <meta name="author" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" /> 12 12 <meta name="date" scheme="W3CDTF" content="{{tpl:EntryDate iso8601="1"}}" /> 13 13 14 14 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 15 15 <meta name="dc.title" content="{{tpl:EntryTitle encode_html="1"}}" /> … … 22 22 <meta name="dc.type" content="text" /> 23 23 <meta name="dc.format" content="text/html" /> 24 24 25 25 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 26 26 <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 27 27 <tpl:EntryIf pings_active="1"><link rel="pingback" href="{{tpl:BlogXMLRPCURL}}" /></tpl:EntryIf> 28 28 29 29 <tpl:EntryNext><link rel="next" href="{{tpl:EntryURL}}" 30 30 title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryNext> 31 31 32 32 <tpl:EntryPrevious><link rel="prev" href="{{tpl:EntryURL}}" 33 33 title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryPrevious> 34 34 35 35 <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 36 36 37 37 {{tpl:include src="_head.html"}} 38 38 39 39 <script type="text/javascript" src="{{tpl:BlogThemeURL}}/../default/js/post.js"></script> 40 40 <script type="text/javascript"> … … 55 55 <div id="main"> 56 56 <div id="content"> 57 57 58 58 <p id="navlinks"> 59 59 <tpl:EntryPrevious><a href="{{tpl:EntryURL}}" … … 64 64 cut_string="50"}} »</a></tpl:EntryNext> 65 65 </p> 66 66 67 67 <div id="p{{tpl:EntryID}}" class="post"> 68 68 <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2> 69 69 70 70 <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} 71 71 {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}} … … 75 75 - <a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a> 76 76 </p> 77 77 78 78 <tpl:EntryTags> 79 79 <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader> … … 81 81 <tpl:TagsFooter></ul></tpl:TagsFooter> 82 82 </tpl:EntryTags> 83 83 84 84 <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 85 85 {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 86 86 87 87 <!-- # Entry with an excerpt --> 88 88 <tpl:EntryIf extended="1"> 89 89 <div class="post-excerpt">{{tpl:EntryExcerpt}}</div> 90 90 </tpl:EntryIf> 91 91 92 92 <div class="post-content">{{tpl:EntryContent}}</div> 93 93 94 94 <!-- # --BEHAVIOR-- publicEntryAfterContent --> 95 95 {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 96 96 </div> 97 97 98 98 <!-- # Attachments --> 99 99 <tpl:Attachments> … … 105 105 <li class="{{tpl:AttachmentType}}"> 106 106 <tpl:AttachmentIf is_mp3="1"> 107 {{tpl:include src="_mp3_player.html"/}} - 107 {{tpl:include src="_mp3_player.html"/}} - 108 108 </tpl:AttachmentIf> 109 109 <tpl:AttachmentIf is_flv="1"> … … 120 120 </tpl:AttachmentsFooter> 121 121 </tpl:Attachments> 122 122 123 123 <!-- # Comments --> 124 124 <tpl:EntryIf show_comments="1"> … … 133 133 {{tpl:lang On}} {{tpl:CommentDate}}, {{tpl:CommentTime}} 134 134 {{tpl:lang by}} {{tpl:CommentAuthorLink}}</dt> 135 135 136 136 <dd class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"> 137 137 <!-- # --BEHAVIOR-- publicCommentBeforeContent --> 138 138 {{tpl:SysBehavior behavior="publicCommentBeforeContent"}} 139 139 140 140 {{tpl:CommentContent}} 141 141 142 142 <!-- # --BEHAVIOR-- publicCommentAfterContent --> 143 143 {{tpl:SysBehavior behavior="publicCommentAfterContent"}} … … 149 149 </tpl:Comments> 150 150 </tpl:EntryIf> 151 152 <tpl:EntryIf comments_active="1"> 151 152 <tpl:EntryIf comments_active="1"> 153 153 <tpl:SysIfFormError> 154 154 <p class="error" id="pr">{{tpl:SysFormError}}</p> 155 155 </tpl:SysIfFormError> 156 156 157 157 <tpl:SysIfCommentPublished> 158 158 <p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p> 159 159 </tpl:SysIfCommentPublished> 160 160 161 161 <tpl:SysIfCommentPending> 162 162 <p class="message" id="pr">{{tpl:lang Your comment has been submitted and 163 163 will be reviewed for publication.}}</p> 164 164 </tpl:SysIfCommentPending> 165 165 166 166 <!-- # Comment form --> 167 167 <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form"> … … 175 175 </div> 176 176 </tpl:IfCommentPreview> 177 177 178 178 <h3>{{tpl:lang Add a comment}}</h3> 179 179 <fieldset> 180 180 <!-- # --BEHAVIOR-- publicCommentFormBeforeContent --> 181 181 {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}} 182 182 183 183 <p class="field"><label for="c_name">{{tpl:lang Name or nickname}} :</label> 184 184 <input name="c_name" id="c_name" type="text" size="30" maxlength="255" 185 185 value="{{tpl:CommentPreviewName encode_html="1"}}" /> 186 186 </p> 187 187 188 188 <p class="field"><label for="c_mail">{{tpl:lang Email address}} :</label> 189 189 <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255" 190 190 value="{{tpl:CommentPreviewEmail encode_html="1"}}" /> 191 191 </p> 192 192 193 193 <p class="field"><label for="c_site">{{tpl:lang Website}} ({{tpl:lang optional}}) :</label> 194 194 <input name="c_site" id="c_site" type="text" size="30" maxlength="255" 195 195 value="{{tpl:CommentPreviewSite encode_html="1"}}" /> 196 196 </p> 197 197 198 198 <p style="display:none"><input name="f_mail" type="text" size="30" 199 199 maxlength="255" value="" /></p> 200 200 201 201 <p class="field"><label for="c_content">{{tpl:lang Comment}} :</label> 202 202 <textarea name="c_content" id="c_content" cols="35" … … 204 204 </p> 205 205 <p class="form-help">{{tpl:CommentHelp}}</p> 206 206 207 207 <!-- # --BEHAVIOR-- publicCommentFormAfterContent --> 208 208 {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}} 209 209 </fieldset> 210 210 211 211 <fieldset> 212 212 <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" /> … … 215 215 </form> 216 216 </tpl:EntryIf> 217 217 218 218 <!-- # Trackbacks --> 219 219 <tpl:EntryIf show_pings="1"> … … 228 228 {{tpl:lang On}} {{tpl:PingDate}}, {{tpl:PingTime}} 229 229 {{tpl:lang by}} {{tpl:PingBlogName encode_html="1"}}</dt> 230 230 231 231 <dd class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}"> 232 232 <!-- # --BEHAVIOR-- publicPingBeforeContent --> 233 233 {{tpl:SysBehavior behavior="publicPingBeforeContent"}} 234 234 235 235 <p><a href="{{tpl:PingAuthorURL}}" 236 236 {{tpl:PingNoFollow}}>{{tpl:PingTitle encode_html="1"}}</a></p> 237 237 {{tpl:PingContent}} 238 238 239 239 <!-- # --BEHAVIOR-- publicPingAfterContent --> 240 240 {{tpl:SysBehavior behavior="publicPingAfterContent"}} … … 246 246 </div> 247 247 </tpl:EntryIf> 248 248 249 249 <tpl:EntryIf pings_active="1"> 250 250 <p id="ping-url">{{tpl:lang Trackback URL}} : {{tpl:EntryPingLink}}</p> 251 251 </tpl:EntryIf> 252 252 253 253 <tpl:EntryIf operator="or" comments_active="1" pings_active="1"> 254 254 <p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" … … 262 262 {{tpl:Widgets type="nav"}} 263 263 </div> <!-- End #blognav --> 264 264 265 265 <div id="blogextra"> 266 266 {{tpl:Widgets type="extra"}} -
inc/public/default-templates/legacy/rss2-comments.xml
r2541 r2567 16 16 <docs>http://blogs.law.harvard.edu/tech/rss</docs> 17 17 <generator>Dotclear</generator> 18 18 19 19 <tpl:Comments order="desc" with_pings="1"> 20 20 21 21 <tpl:CommentIf is_ping="1"> 22 22 <item> … … 26 26 <pubDate>{{tpl:PingDate rfc822="1"}}</pubDate> 27 27 <dc:creator>{{tpl:PingBlogName encode_xml="1"}}</dc:creator> 28 28 29 29 <description><p><a href="{{tpl:PingAuthorURL encode_xml="1"}}">{{tpl:PingTitle encode_xml="1"}}</a></p> 30 30 {{tpl:PingContent encode_xml="1"}}</description> 31 31 </item> 32 32 </tpl:CommentIf> 33 33 34 34 <tpl:CommentIf is_ping="0"> 35 35 <item> … … 39 39 <pubDate>{{tpl:CommentDate rfc822="1"}}</pubDate> 40 40 <dc:creator>{{tpl:CommentAuthor encode_xml="1"}}</dc:creator> 41 41 42 42 <description>{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</description> 43 43 </item> 44 44 </tpl:CommentIf> 45 45 </tpl:Comments> 46 46 47 47 </channel> 48 48 </rss> -
inc/public/default-templates/legacy/rss2.xml
r2541 r2567 16 16 <docs>http://blogs.law.harvard.edu/tech/rss</docs> 17 17 <generator>Dotclear</generator> 18 18 19 19 <tpl:Entries> 20 20 21 21 <item> 22 22 <title>{{tpl:EntryTitle encode_xml="1"}}</title> … … 29 29 </tpl:EntryIf> 30 30 <tpl:EntryTags><category>{{tpl:TagID}}</category></tpl:EntryTags> 31 31 32 32 <description>{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} 33 33 {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</description> 34 34 35 35 <tpl:Attachments> 36 36 <enclosure url="{{tpl:AttachmentURL}}" 37 37 length="{{tpl:AttachmentSize full="1"}}" type="{{tpl:AttachmentMimeType}}" /> 38 38 </tpl:Attachments> 39 39 40 40 <tpl:EntryIf comments_active="1"> 41 41 <comments>{{tpl:EntryURL}}#comment-form</comments> … … 45 45 </item> 46 46 </tpl:Entries> 47 47 48 48 </channel> 49 49 </rss> -
inc/public/default-templates/legacy/rss2.xsl
r2541 r2567 62 62 window.onload = function() { 63 63 document.getElementById('feedurl').value = window.location.href; 64 64 65 65 // Ugly but works ;) 66 66 var c = document.getElementsByTagName('div'); … … 75 75 t = ''; 76 76 } 77 77 78 78 if (t) { c[i].innerHTML = t; } 79 79 } -
inc/public/default-templates/legacy/search.html
r2541 r2567 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 6 6 <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" /> 7 7 8 8 <title>{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title> 9 9 <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 10 10 <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 11 11 <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 12 12 13 13 <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 14 14 <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> … … 19 19 <meta name="dc.type" content="text" /> 20 20 <meta name="dc.format" content="text/html" /> 21 21 22 22 <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 23 23 <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 24 24 25 25 <tpl:Entries no_content="1"> 26 26 <tpl:EntriesHeader> … … 29 29 <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" /> 30 30 </tpl:PaginationIf> 31 31 32 32 <tpl:PaginationIf start="0"> 33 33 <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" /> … … 35 35 </tpl:Pagination> 36 36 </tpl:EntriesHeader> 37 37 38 38 <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /> 39 39 </tpl:Entries> 40 40 41 41 <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" /> 42 42 43 43 {{tpl:include src="_head.html"}} 44 44 </head> … … 52 52 <div id="main"> 53 53 <div id="content"> 54 54 55 55 <div id="content-info"> 56 56 <h2>{{tpl:lang Search}}</h2> … … 65 65 </tpl:SysIf> 66 66 </div> 67 67 68 68 <tpl:Entries> 69 69 <div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}"> 70 70 <!-- # New day date --> 71 71 <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 72 72 73 73 <h2 class="post-title"><a 74 74 href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 75 75 76 76 <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} 77 77 {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}} … … 80 80 </tpl:EntryIf> 81 81 </p> 82 82 83 83 <tpl:EntryTags> 84 84 <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader> … … 86 86 <tpl:TagsFooter></ul></tpl:TagsFooter> 87 87 </tpl:EntryTags> 88 88 89 89 <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 90 90 {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 91 91 92 92 <!-- # Entry with an excerpt --> 93 93 <tpl:EntryIf extended="1"> … … 97 97 reading}}</a>...</p> 98 98 </tpl:EntryIf> 99 99 100 100 <!-- # Entry without excerpt --> 101 101 <tpl:EntryIf extended="0"> 102 102 <div class="post-content">{{tpl:EntryContent}}</div> 103 103 </tpl:EntryIf> 104 104 105 105 <!-- # --BEHAVIOR-- publicEntryAfterContent --> 106 106 {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 107 107 108 108 <!-- # Number of comments, trackbacks and attachments --> 109 109 <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> … … 121 121 </tpl:EntryIf> 122 122 </div> 123 123 124 124 <tpl:EntriesFooter> 125 125 <tpl:Pagination> … … 139 139 {{tpl:Widgets type="nav"}} 140 140 </div> <!-- End #blognav --> 141 141 142 142 <div id="blogextra"> 143 143 {{tpl:Widgets type="extra"}} -
inc/public/prepend.php
r2541 r2567 160 160 ,660); 161 161 } 162 -
inc/public/prepend.php
r2566 r2567 134 134 $__theme_tpl_path[] = $core->blog->themes_path.'/'.$__parent_theme.'/tpl'; 135 135 } 136 137 $core->tpl->setPath( 138 $__theme_tpl_path, 139 dirname(__FILE__).'/default-templates', 140 $core->tpl->getPath()); 141 136 $tplset = $core->themes->moduleInfo($core->blog->settings->system->theme,'tplset'); 137 if (!empty($tplset) && is_dir(dirname(__FILE__).'/default-templates/'.$tplset)) { 138 $core->tpl->setPath( 139 $__theme_tpl_path, 140 dirname(__FILE__).'/default-templates/'.$tplset, 141 $core->tpl->getPath()); 142 } else { 143 $core->tpl->setPath( 144 $__theme_tpl_path, 145 $core->tpl->getPath()); 146 } 142 147 $core->url->mode = $core->blog->settings->system->url_scan; 143 148 -
plugins/antispam/filters/class.dc.filter.linkslookup.php
r2524 r2567 74 74 } 75 75 } 76 ?> -
plugins/antispam/filters/class.dc.filter.linkslookup.php
r2566 r2567 48 48 49 49 $i = count($domain_elem) - 1; 50 if ($i == 0) { 51 // "domain" is 1 word long, don't check it 52 return null; 53 } 50 54 $host = $domain_elem[$i]; 51 55 do -
plugins/antispam/index.php
r2566 r2567 117 117 echo 118 118 dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 119 dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'). 119 120 dcPage::jsLoad('index.php?pf=antispam/antispam.js'); 120 121 } -
plugins/blogroll/index.php
r2566 r2567 177 177 echo 178 178 dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 179 dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'). 179 180 dcPage::jsLoad('index.php?pf=blogroll/blogroll.js'); 180 181 } -
plugins/pages/list.php
r2566 r2567 55 55 <title><?php echo __('Pages'); ?></title> 56 56 <?php 57 echo dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 57 echo 58 dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 59 dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'). 58 60 dcPage::jsLoad('index.php?pf=pages/list.js'). 59 61 '<script type="text/javascript">'. -
themes/ductile/_prepend.php
r2495 r2567 56 56 } 57 57 } 58 ?> -
themes/ductile/_prepend.php
r2566 r2567 26 26 if (!$core->auth->user_prefs->accessibility->nodragdrop) { 27 27 echo 28 dcPage::jsLoad('js/jquery/jquery-ui.custom.js'); 28 dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 29 dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'); 29 30 echo <<<EOT 30 31 <script type="text/javascript">
Note: See TracChangeset
for help on using the changeset viewer.