Dotclear

Changeset 2567:6c11245cbf04


Ignore:
Timestamp:
11/17/13 20:30:21 (12 years ago)
Author:
franck <carnet.franck.paul@…>
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.
Message:

Merge from 2.6

Files:
34 edited

Legend:

Unmodified
Added
Removed
  • admin/categories.php

    r2496 r2567  
    224224dcPage::helpBlock('core_categories'); 
    225225dcPage::close(); 
    226 ?> 
  • admin/categories.php

    r2566 r2567  
    109109     && $rs->count()>1) { 
    110110          $starting_script .= dcPage::jsLoad('js/jquery/jquery-ui.custom.js'); 
     111          $starting_script .= dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'); 
    111112          $starting_script .= dcPage::jsLoad('js/jquery/jquery.mjs.nestedSortable.js'); 
    112113} 
  • admin/preferences.php

    r2496 r2567  
    632632dcPage::helpBlock('core_user_pref'); 
    633633dcPage::close(); 
    634 ?> 
  • admin/preferences.php

    r2566 r2567  
    305305     ($user_acc_nodragdrop ? '' : dcPage::jsLoad('js/_preferences-dragdrop.js')). 
    306306     dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 
     307     dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'). 
    307308     dcPage::jsLoad('js/jquery/jquery.pwstrength.js'). 
    308309          '<script type="text/javascript">'."\n". 
  • inc/core/class.dc.blog.php

    r2521 r2567  
    23852385     //@} 
    23862386} 
    2387 ?> 
  • inc/core/class.dc.blog.php

    r2566 r2567  
    18941894     - post_id: (integer) Get comments belonging to given post_id 
    18951895     - cat_id: (integer or array) Get comments belonging to entries of given category ID 
    1896      - comment_id: (integer) Get comment with given ID 
     1896     - comment_id: (integer or array) Get comment with given ID (or IDs) 
    18971897     - comment_site: (string) Get comments with given comment_site 
    18981898     - comment_status: (integer) Get comments with given comment_status 
     
    19841984 
    19851985          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']); 
    19871992          } 
    19881993 
  • inc/core/class.dc.namespace.php

    r2505 r2567  
    399399 
    400400} 
    401 ?> 
  • inc/core/class.dc.namespace.php

    r2566 r2567  
    125125 
    126126     /** 
     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     /** 
    127157     Magic __get method. 
    128158     @copydoc ::get 
  • inc/core/class.dc.themes.php

    r2566 r2567  
    5959          # Themes specifics properties 
    6060          $properties = array_merge( 
    61                array('parent' => null), 
     61               array('parent' => null, 'tplset' => 'legacy'), 
    6262               $properties, 
    6363               array('permissions' => 'admin') // force themes perms 
  • inc/prepend.php

    r2557 r2567  
    310310     } 
    311311} 
    312 ?> 
  • inc/prepend.php

    r2566 r2567  
    135135# Constants 
    136136define('DC_ROOT',path::real(dirname(__FILE__).'/..')); 
    137 define('DC_VERSION','2.6.1'); 
     137define('DC_VERSION','2.7-dev'); 
    138138define('DC_DIGESTS',dirname(__FILE__).'/digests'); 
    139139define('DC_L10N_ROOT',dirname(__FILE__).'/../locales'); 
  • inc/public/default-templates/legacy/404.html

    r2541 r2567  
    55  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    66  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" /> 
    7    
     7 
    88  <title>{{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}}</title> 
    99  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    1010  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    11    
     11 
    1212  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    1313  <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}}" /> 
     
    1717  <meta name="dc.type" content="text" /> 
    1818  <meta name="dc.format" content="text/html" /> 
    19    
     19 
    2020  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
    2121  <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" /> 
    2222  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 
    23    
     23 
    2424  {{tpl:include src="_head.html"}} 
    2525</head> 
     
    3333<div id="main"> 
    3434  <div id="content"> 
    35    
     35 
    3636  <div id="content-info"> 
    3737    <h2>{{tpl:lang Document not found}}</h2> 
    3838  </div> 
    39    
     39 
    4040  <div class="content-inner"> 
    4141    <p>{{tpl:lang The document you are looking for does not exist.}}</p> 
    4242  </div> 
    43    
     43 
    4444  </div> 
    4545</div> 
     
    4949    {{tpl:Widgets type="nav"}} 
    5050  </div> <!-- End #blognav --> 
    51    
     51 
    5252  <div id="blogextra"> 
    5353    {{tpl:Widgets type="extra"}} 
  • inc/public/default-templates/legacy/_top.html

    r2541 r2567  
    11<div id="top"> 
    22  <h1><span><a href="{{tpl:BlogURL}}">{{tpl:BlogName encode_html="1"}}</a></span></h1> 
    3    
     3 
    44  <!-- # --BEHAVIOR-- publicTopAfterContent --> 
    55  {{tpl:SysBehavior behavior="publicTopAfterContent"}} 
  • inc/public/default-templates/legacy/archive.html

    r2541 r2567  
    55  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    66  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 
    7    
     7 
    88  <title>{{tpl:lang Archives}} - {{tpl:BlogName encode_html="1"}}</title> 
    99  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    1010  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    1111  <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    12    
     12 
    1313  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    1414  <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Archives}} - {{tpl:BlogName encode_html="1"}}" /> 
     
    1919  <meta name="dc.type" content="text" /> 
    2020  <meta name="dc.format" content="text/html" /> 
    21    
     21 
    2222  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
    23    
     23 
    2424  <tpl:Archives> 
    2525    <link rel="chapter" href="{{tpl:ArchiveURL}}" title="{{tpl:ArchiveDate encode_html="1"}}" /> 
    2626  </tpl:Archives> 
    27    
     27 
    2828  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 
    29    
     29 
    3030  {{tpl:include src="_head.html"}} 
    3131</head> 
     
    3939<div id="main"> 
    4040  <div id="content"> 
    41    
     41 
    4242  <div id="content-info"> 
    4343    <h2>{{tpl:lang Archives}}</h2> 
    4444  </div> 
    45    
     45 
    4646  <div class="content-inner"> 
    4747  <tpl:Archives> 
     
    5858  </tpl:Archives> 
    5959  </div> 
    60    
     60 
    6161  </div> 
    6262</div> <!-- End #main --> 
     
    6666    {{tpl:Widgets type="nav"}} 
    6767  </div> <!-- End #blognav --> 
    68    
     68 
    6969  <div id="blogextra"> 
    7070    {{tpl:Widgets type="extra"}} 
  • inc/public/default-templates/legacy/archive_month.html

    r2541 r2567  
    55  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    66  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" /> 
    7    
     7 
    88  <title>{{tpl:lang Archives}} - {{tpl:ArchiveDate}} - {{tpl:BlogName encode_html="1"}}</title> 
    99  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    1010  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    1111  <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    12    
     12 
    1313  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    1414  <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Archives}} - {{tpl:ArchiveDate}} - {{tpl:BlogName encode_html="1"}}" /> 
     
    1919  <meta name="dc.type" content="text" /> 
    2020  <meta name="dc.format" content="text/html" /> 
    21    
     21 
    2222  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
    2323  <link rel="up" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 
    2424  <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 
    25    
    26    
     25 
     26 
    2727  <tpl:ArchiveNext><link rel="next" href="{{tpl:ArchiveURL}}" 
    2828  title="{{tpl:ArchiveDate encode_html="1"}}" /></tpl:ArchiveNext> 
    2929  <tpl:ArchivePrevious><link rel="prev" href="{{tpl:ArchiveURL}}" 
    3030  title="{{tpl:ArchiveDate encode_html="1"}}" /></tpl:ArchivePrevious> 
    31    
     31 
    3232  <tpl:Entries no_content="1"> 
    3333  <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /> 
    3434  </tpl:Entries> 
    35    
     35 
    3636  {{tpl:include src="_head.html"}} 
    3737</head> 
     
    4545<div id="main"> 
    4646  <div id="content"> 
    47    
     47 
    4848  <p id="navlinks"> 
    4949  <tpl:ArchivePrevious><a href="{{tpl:ArchiveURL}}" class="prev">&#171; {{tpl:ArchiveDate encode_html="1"}}</a> 
     
    5252  <tpl:ArchiveNext> - <a href="{{tpl:ArchiveURL}}" class="next">{{tpl:ArchiveDate encode_html="1"}} &#187;</a></tpl:ArchiveNext> 
    5353  </p> 
    54    
     54 
    5555  <div id="content-info"> 
    5656    <h2>{{tpl:ArchiveDate}}</h2> 
    5757  </div> 
    58    
     58 
    5959  <div class="content-inner"> 
    6060  <tpl:Entries no_content="1"> 
    6161    <!-- # New day date --> 
    6262    <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 
    63      
     63 
    6464    <h2 id="p{{tpl:EntryID}}" class="post-title" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}"><a 
    6565    href="{{tpl:EntryURL}}" title="{{tpl:lang Read}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 
    66      
     66 
    6767    <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} 
    6868    <tpl:EntryIf show_comments="1"> 
     
    8383    {{tpl:Widgets type="nav"}} 
    8484  </div> <!-- End #blognav --> 
    85    
     85 
    8686  <div id="blogextra"> 
    8787    {{tpl:Widgets type="extra"}} 
  • inc/public/default-templates/legacy/atom-comments.xml

    r2541 r2567  
    11<?xml version="1.0" encoding="utf-8"?> 
    22<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{tpl:BlogLanguage}}"> 
    3    
     3 
    44  <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}} 
    55  - {{tpl:lang Comments}}</title> 
     
    1414  <id>{{tpl:BlogFeedID}}</id> 
    1515  <generator uri="http://www.dotclear.org/">Dotclear</generator> 
    16    
     16 
    1717  <tpl:Comments order="desc" with_pings="1"> 
    18    
     18 
    1919  <tpl:CommentIf is_ping="1"> 
    2020  <entry> 
     
    2828    <content type="html">&lt;p&gt;&lt;a href="{{tpl:PingAuthorURL encode_xml="1"}}"&gt;{{tpl:PingTitle encode_xml="1"}}&lt;/a&gt;&lt;/p&gt; {{tpl:PingContent encode_xml="1"}}</content> 
    2929  </entry> 
    30    
     30 
    3131  </tpl:CommentIf> 
    32    
     32 
    3333  <tpl:CommentIf is_ping="0"> 
    3434  <entry> 
     
    4444  </tpl:CommentIf> 
    4545  </tpl:Comments> 
    46    
     46 
    4747</feed> 
  • inc/public/default-templates/legacy/atom.xml

    r2541 r2567  
    44  xmlns:wfw="http://wellformedweb.org/CommentAPI/" 
    55  xml:lang="{{tpl:BlogLanguage}}"> 
    6    
     6 
    77  <title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title> 
    88  <subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle> 
     
    1616  <id>{{tpl:BlogFeedID}}</id> 
    1717  <generator uri="http://www.dotclear.org/">Dotclear</generator> 
    18    
     18 
    1919  <tpl:Entries> 
    20    
     20 
    2121  <entry> 
    2222    <title>{{tpl:EntryTitle encode_xml="1"}}</title> 
     
    3636    </tpl:EntryIf> 
    3737    <tpl:EntryTags><dc:subject>{{tpl:TagID}}</dc:subject></tpl:EntryTags> 
    38      
     38 
    3939    <content type="html">{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} 
    4040    {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</content> 
    41      
     41 
    4242    <tpl:Attachments> 
    4343      <link rel="enclosure" href="{{tpl:AttachmentURL}}" 
     
    4545    </tpl:Attachments> 
    4646 
    47      
     47 
    4848    <tpl:EntryIf comments_active="1"> 
    4949      <wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment> 
  • inc/public/default-templates/legacy/category.html

    r2541 r2567  
    55  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    66  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" /> 
    7    
     7 
    88  <title>{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title> 
    99  <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription cut_string="180" remove_html="1"}}" /> 
     
    1111  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    1212  <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    13    
     13 
    1414  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    1515  <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>" /> 
     
    2121  <meta name="dc.type" content="text" /> 
    2222  <meta name="dc.format" content="text/html" /> 
    23    
     23 
    2424  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
    2525  <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 
    26    
     26 
    2727  <tpl:Entries no_content="1"> 
    2828    <tpl:EntriesHeader> 
     
    3131        <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" /> 
    3232        </tpl:PaginationIf> 
    33          
     33 
    3434        <tpl:PaginationIf start="0"> 
    3535        <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" /> 
     
    3737      </tpl:Pagination> 
    3838    </tpl:EntriesHeader> 
    39      
     39 
    4040    <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /> 
    4141  </tpl:Entries> 
    42    
     42 
    4343  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:CategoryFeedURL type="atom"}}" /> 
    44    
     44 
    4545  {{tpl:include src="_head.html"}} 
    4646</head> 
     
    5959    {{tpl:CategoryTitle encode_html="1"}}</h2> 
    6060    {{tpl:CategoryDescription}} 
    61      
     61 
    6262    <tpl:CategoryIf has_entries="1"> 
    6363      <p><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}" 
    6464      title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a> 
    65        
     65 
    6666      <tpl:SysIf operator="or" comments_active="1" pings_active="1"> 
    6767      - <a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments" 
     
    7171    </tpl:CategoryIf> 
    7272  </div> 
    73    
     73 
    7474  <tpl:CategoryFirstChildren> 
    7575    <tpl:CategoriesHeader> 
     
    8484    </tpl:CategoriesFooter> 
    8585  </tpl:CategoryFirstChildren> 
    86    
     86 
    8787  <tpl:Entries> 
    8888    <div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}"> 
    8989    <!-- # New day date --> 
    9090    <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 
    91      
     91 
    9292    <h2 class="post-title"><a 
    9393    href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 
    94      
     94 
    9595    <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} 
    9696    {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}}</p> 
    97      
     97 
    9898    <tpl:EntryTags> 
    9999    <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader> 
     
    101101    <tpl:TagsFooter></ul></tpl:TagsFooter> 
    102102    </tpl:EntryTags> 
    103      
     103 
    104104    <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 
    105105    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 
    106      
     106 
    107107    <!-- # Entry with an excerpt --> 
    108108    <tpl:EntryIf extended="1"> 
     
    112112      reading}}</a>...</p> 
    113113    </tpl:EntryIf> 
    114      
     114 
    115115    <!-- # Entry without excerpt --> 
    116116    <tpl:EntryIf extended="0"> 
    117117      <div class="post-content">{{tpl:EntryContent}}</div> 
    118118    </tpl:EntryIf> 
    119      
     119 
    120120    <!-- # --BEHAVIOR-- publicEntryAfterContent --> 
    121121    {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 
    122      
     122 
    123123    <!-- # Number of comments, trackbacks and attachments --> 
    124124    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> 
     
    136136    </tpl:EntryIf> 
    137137    </div> 
    138      
     138 
    139139    <tpl:EntriesFooter> 
    140140      <tpl:Pagination> 
     
    154154    {{tpl:Widgets type="nav"}} 
    155155  </div> <!-- End #blognav --> 
    156    
     156 
    157157  <div id="blogextra"> 
    158158    {{tpl:Widgets type="extra"}} 
  • inc/public/default-templates/legacy/home.html

    r2541 r2567  
    55  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    66  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 
    7    
     7 
    88  <title>{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title> 
    99  <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>" /> 
     
    1111  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    1212  <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    13    
     13 
    1414  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    1515  <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" /> 
     
    2121  <meta name="dc.type" content="text" /> 
    2222  <meta name="dc.format" content="text/html" /> 
    23    
     23 
    2424  <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" /> 
    2525  <tpl:Categories> 
    2626  <link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" /> 
    2727  </tpl:Categories> 
    28    
     28 
    2929  <tpl:Entries no_content="1"> 
    3030    <tpl:EntriesHeader> 
     
    3333        <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" /> 
    3434        </tpl:PaginationIf> 
    35          
     35 
    3636        <tpl:PaginationIf start="0"> 
    3737        <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" /> 
     
    3939      </tpl:Pagination> 
    4040    </tpl:EntriesHeader> 
    41      
     41 
    4242    <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /> 
    4343  </tpl:Entries> 
    44    
     44 
    4545  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 
    4646  <link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" /> 
    4747  <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" /> 
    48    
     48 
    4949  {{tpl:include src="_head.html"}} 
    5050</head> 
     
    6262    <!-- # New day date --> 
    6363    <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 
    64      
     64 
    6565    <h2 class="post-title"><a 
    6666    href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 
    67      
     67 
    6868    <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} 
    6969    {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}} 
     
    7272    </tpl:EntryIf> 
    7373    </p> 
    74      
     74 
    7575    <tpl:EntryTags> 
    7676    <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader> 
     
    7878    <tpl:TagsFooter></ul></tpl:TagsFooter> 
    7979    </tpl:EntryTags> 
    80      
     80 
    8181    <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 
    8282    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 
    83      
     83 
    8484    <!-- # Entry with an excerpt --> 
    8585    <tpl:EntryIf extended="1"> 
     
    8989      reading}}</a>...</p> 
    9090    </tpl:EntryIf> 
    91      
     91 
    9292    <!-- # Entry without excerpt --> 
    9393    <tpl:EntryIf extended="0"> 
    9494      <div class="post-content">{{tpl:EntryContent}}</div> 
    9595    </tpl:EntryIf> 
    96      
     96 
    9797    <!-- # --BEHAVIOR-- publicEntryAfterContent --> 
    9898    {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 
    99      
     99 
    100100    <!-- # Number of comments, trackbacks and attachments --> 
    101101    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> 
     
    113113    </tpl:EntryIf> 
    114114    </div> 
    115      
     115 
    116116    <tpl:EntriesFooter> 
    117117      <tpl:Pagination> 
     
    131131    {{tpl:Widgets type="nav"}} 
    132132  </div> <!-- End #blognav --> 
    133    
     133 
    134134  <div id="blogextra"> 
    135135    {{tpl:Widgets type="extra"}} 
  • inc/public/default-templates/legacy/password-form.html

    r2541 r2567  
    66  <meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" /> 
    77  <title>{{tpl:lang Password needed}} - {{tpl:BlogName encode_html="1"}}</title> 
    8    
     8 
    99  <style type="text/css"> 
    1010  body { 
    1111  font: 0.8em Verdana,Arial,Geneva,sans-serif; 
    1212  } 
    13    
     13 
    1414  form { 
    1515  display : block; 
     
    1919  background : #eee; 
    2020  } 
    21    
     21 
    2222  h2 { font : 140% Arial,Helvetica,sans-serif; margin : 0; } 
    23    
     23 
    2424  label { font-weight : bold; } 
    25    
     25 
    2626  input { border-width : 1px; } 
    2727  </style> 
  • inc/public/default-templates/legacy/post.html

    r2541 r2567  
    55  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    66  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" /> 
    7    
     7 
    88  <title>{{tpl:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title> 
    99  <meta name="description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" /> 
     
    1111  <meta name="author" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" /> 
    1212  <meta name="date" scheme="W3CDTF" content="{{tpl:EntryDate iso8601="1"}}" /> 
    13    
     13 
    1414  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    1515  <meta name="dc.title" content="{{tpl:EntryTitle encode_html="1"}}" /> 
     
    2222  <meta name="dc.type" content="text" /> 
    2323  <meta name="dc.format" content="text/html" /> 
    24    
     24 
    2525  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
    2626  <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 
    2727  <tpl:EntryIf pings_active="1"><link rel="pingback" href="{{tpl:BlogXMLRPCURL}}" /></tpl:EntryIf> 
    28    
     28 
    2929  <tpl:EntryNext><link rel="next" href="{{tpl:EntryURL}}" 
    3030  title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryNext> 
    31    
     31 
    3232  <tpl:EntryPrevious><link rel="prev" href="{{tpl:EntryURL}}" 
    3333  title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryPrevious> 
    34    
     34 
    3535  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" /> 
    36    
     36 
    3737  {{tpl:include src="_head.html"}} 
    38    
     38 
    3939  <script type="text/javascript" src="{{tpl:BlogThemeURL}}/../default/js/post.js"></script> 
    4040  <script type="text/javascript"> 
     
    5555<div id="main"> 
    5656  <div id="content"> 
    57    
     57 
    5858  <p id="navlinks"> 
    5959  <tpl:EntryPrevious><a href="{{tpl:EntryURL}}" 
     
    6464  cut_string="50"}} &#187;</a></tpl:EntryNext> 
    6565  </p> 
    66    
     66 
    6767  <div id="p{{tpl:EntryID}}" class="post"> 
    6868    <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2> 
    69      
     69 
    7070    <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} 
    7171    {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}} 
     
    7575    - <a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a> 
    7676    </p> 
    77      
     77 
    7878    <tpl:EntryTags> 
    7979    <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader> 
     
    8181    <tpl:TagsFooter></ul></tpl:TagsFooter> 
    8282    </tpl:EntryTags> 
    83      
     83 
    8484    <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 
    8585    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 
    86      
     86 
    8787    <!-- # Entry with an excerpt --> 
    8888    <tpl:EntryIf extended="1"> 
    8989      <div class="post-excerpt">{{tpl:EntryExcerpt}}</div> 
    9090    </tpl:EntryIf> 
    91      
     91 
    9292    <div class="post-content">{{tpl:EntryContent}}</div> 
    93      
     93 
    9494    <!-- # --BEHAVIOR-- publicEntryAfterContent --> 
    9595    {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 
    9696  </div> 
    97    
     97 
    9898  <!-- # Attachments --> 
    9999  <tpl:Attachments> 
     
    105105      <li class="{{tpl:AttachmentType}}"> 
    106106        <tpl:AttachmentIf is_mp3="1"> 
    107           {{tpl:include src="_mp3_player.html"/}} -  
     107          {{tpl:include src="_mp3_player.html"/}} - 
    108108        </tpl:AttachmentIf> 
    109109        <tpl:AttachmentIf is_flv="1"> 
     
    120120    </tpl:AttachmentsFooter> 
    121121  </tpl:Attachments> 
    122   
     122 
    123123  <!-- # Comments --> 
    124124  <tpl:EntryIf show_comments="1"> 
     
    133133      {{tpl:lang On}} {{tpl:CommentDate}}, {{tpl:CommentTime}} 
    134134      {{tpl:lang by}} {{tpl:CommentAuthorLink}}</dt> 
    135        
     135 
    136136      <dd class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"> 
    137137      <!-- # --BEHAVIOR-- publicCommentBeforeContent --> 
    138138      {{tpl:SysBehavior behavior="publicCommentBeforeContent"}} 
    139        
     139 
    140140      {{tpl:CommentContent}} 
    141        
     141 
    142142      <!-- # --BEHAVIOR-- publicCommentAfterContent --> 
    143143      {{tpl:SysBehavior behavior="publicCommentAfterContent"}} 
     
    149149    </tpl:Comments> 
    150150  </tpl:EntryIf> 
    151    
    152   <tpl:EntryIf comments_active="1">     
     151 
     152  <tpl:EntryIf comments_active="1"> 
    153153    <tpl:SysIfFormError> 
    154154      <p class="error" id="pr">{{tpl:SysFormError}}</p> 
    155155    </tpl:SysIfFormError> 
    156      
     156 
    157157    <tpl:SysIfCommentPublished> 
    158158      <p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p> 
    159159    </tpl:SysIfCommentPublished> 
    160      
     160 
    161161    <tpl:SysIfCommentPending> 
    162162      <p class="message" id="pr">{{tpl:lang Your comment has been submitted and 
    163163      will be reviewed for publication.}}</p> 
    164164    </tpl:SysIfCommentPending> 
    165      
     165 
    166166    <!-- # Comment form --> 
    167167    <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form"> 
     
    175175        </div> 
    176176      </tpl:IfCommentPreview> 
    177        
     177 
    178178      <h3>{{tpl:lang Add a comment}}</h3> 
    179179      <fieldset> 
    180180        <!-- # --BEHAVIOR-- publicCommentFormBeforeContent --> 
    181181        {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}} 
    182          
     182 
    183183        <p class="field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label> 
    184184        <input name="c_name" id="c_name" type="text" size="30" maxlength="255" 
    185185        value="{{tpl:CommentPreviewName encode_html="1"}}" /> 
    186186        </p> 
    187          
     187 
    188188        <p class="field"><label for="c_mail">{{tpl:lang Email address}}&nbsp;:</label> 
    189189        <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255" 
    190190        value="{{tpl:CommentPreviewEmail encode_html="1"}}" /> 
    191191        </p> 
    192          
     192 
    193193        <p class="field"><label for="c_site">{{tpl:lang Website}} ({{tpl:lang optional}})&nbsp;:</label> 
    194194        <input name="c_site" id="c_site" type="text" size="30" maxlength="255" 
    195195        value="{{tpl:CommentPreviewSite encode_html="1"}}" /> 
    196196        </p> 
    197          
     197 
    198198        <p style="display:none"><input name="f_mail" type="text" size="30" 
    199199        maxlength="255" value="" /></p> 
    200          
     200 
    201201        <p class="field"><label for="c_content">{{tpl:lang Comment}}&nbsp;:</label> 
    202202        <textarea name="c_content" id="c_content" cols="35" 
     
    204204        </p> 
    205205        <p class="form-help">{{tpl:CommentHelp}}</p> 
    206          
     206 
    207207        <!-- # --BEHAVIOR-- publicCommentFormAfterContent --> 
    208208        {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}} 
    209209      </fieldset> 
    210        
     210 
    211211      <fieldset> 
    212212        <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" /> 
     
    215215    </form> 
    216216  </tpl:EntryIf> 
    217    
     217 
    218218  <!-- # Trackbacks --> 
    219219  <tpl:EntryIf show_pings="1"> 
     
    228228        {{tpl:lang On}} {{tpl:PingDate}}, {{tpl:PingTime}} 
    229229        {{tpl:lang by}} {{tpl:PingBlogName encode_html="1"}}</dt> 
    230          
     230 
    231231        <dd class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}"> 
    232232        <!-- # --BEHAVIOR-- publicPingBeforeContent --> 
    233233        {{tpl:SysBehavior behavior="publicPingBeforeContent"}} 
    234          
     234 
    235235        <p><a href="{{tpl:PingAuthorURL}}" 
    236236        {{tpl:PingNoFollow}}>{{tpl:PingTitle encode_html="1"}}</a></p> 
    237237        {{tpl:PingContent}} 
    238          
     238 
    239239        <!-- # --BEHAVIOR-- publicPingAfterContent --> 
    240240        {{tpl:SysBehavior behavior="publicPingAfterContent"}} 
     
    246246    </div> 
    247247  </tpl:EntryIf> 
    248    
     248 
    249249  <tpl:EntryIf pings_active="1"> 
    250250    <p id="ping-url">{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryPingLink}}</p> 
    251251  </tpl:EntryIf> 
    252    
     252 
    253253  <tpl:EntryIf operator="or" comments_active="1" pings_active="1"> 
    254254  <p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" 
     
    262262    {{tpl:Widgets type="nav"}} 
    263263  </div> <!-- End #blognav --> 
    264    
     264 
    265265  <div id="blogextra"> 
    266266    {{tpl:Widgets type="extra"}} 
  • inc/public/default-templates/legacy/rss2-comments.xml

    r2541 r2567  
    1616  <docs>http://blogs.law.harvard.edu/tech/rss</docs> 
    1717  <generator>Dotclear</generator> 
    18    
     18 
    1919  <tpl:Comments order="desc" with_pings="1"> 
    20    
     20 
    2121  <tpl:CommentIf is_ping="1"> 
    2222  <item> 
     
    2626    <pubDate>{{tpl:PingDate rfc822="1"}}</pubDate> 
    2727    <dc:creator>{{tpl:PingBlogName encode_xml="1"}}</dc:creator> 
    28      
     28 
    2929    <description>&lt;p&gt;&lt;a href="{{tpl:PingAuthorURL encode_xml="1"}}"&gt;{{tpl:PingTitle encode_xml="1"}}&lt;/a&gt;&lt;/p&gt; 
    3030    {{tpl:PingContent encode_xml="1"}}</description> 
    3131  </item> 
    3232  </tpl:CommentIf> 
    33    
     33 
    3434  <tpl:CommentIf is_ping="0"> 
    3535  <item> 
     
    3939    <pubDate>{{tpl:CommentDate rfc822="1"}}</pubDate> 
    4040    <dc:creator>{{tpl:CommentAuthor encode_xml="1"}}</dc:creator> 
    41      
     41 
    4242    <description>{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</description> 
    4343  </item> 
    4444  </tpl:CommentIf> 
    4545  </tpl:Comments> 
    46    
     46 
    4747</channel> 
    4848</rss> 
  • inc/public/default-templates/legacy/rss2.xml

    r2541 r2567  
    1616  <docs>http://blogs.law.harvard.edu/tech/rss</docs> 
    1717  <generator>Dotclear</generator> 
    18    
     18 
    1919  <tpl:Entries> 
    20    
     20 
    2121  <item> 
    2222    <title>{{tpl:EntryTitle encode_xml="1"}}</title> 
     
    2929    </tpl:EntryIf> 
    3030    <tpl:EntryTags><category>{{tpl:TagID}}</category></tpl:EntryTags> 
    31      
     31 
    3232    <description>{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} 
    3333    {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</description> 
    34      
     34 
    3535    <tpl:Attachments> 
    3636      <enclosure url="{{tpl:AttachmentURL}}" 
    3737      length="{{tpl:AttachmentSize full="1"}}" type="{{tpl:AttachmentMimeType}}" /> 
    3838    </tpl:Attachments> 
    39      
     39 
    4040    <tpl:EntryIf comments_active="1"> 
    4141      <comments>{{tpl:EntryURL}}#comment-form</comments> 
     
    4545  </item> 
    4646  </tpl:Entries> 
    47    
     47 
    4848</channel> 
    4949</rss> 
  • inc/public/default-templates/legacy/rss2.xsl

    r2541 r2567  
    6262    window.onload = function() { 
    6363      document.getElementById('feedurl').value = window.location.href; 
    64        
     64 
    6565      // Ugly but works ;) 
    6666      var c = document.getElementsByTagName('div'); 
     
    7575            t = ''; 
    7676          } 
    77            
     77 
    7878          if (t) { c[i].innerHTML = t; } 
    7979        } 
  • inc/public/default-templates/legacy/search.html

    r2541 r2567  
    55  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    66  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" /> 
    7    
     7 
    88  <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> 
    99  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" /> 
    1010  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" /> 
    1111  <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" /> 
    12    
     12 
    1313  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" /> 
    1414  <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>" /> 
     
    1919  <meta name="dc.type" content="text" /> 
    2020  <meta name="dc.format" content="text/html" /> 
    21    
     21 
    2222  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" /> 
    2323  <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" /> 
    24    
     24 
    2525  <tpl:Entries no_content="1"> 
    2626    <tpl:EntriesHeader> 
     
    2929        <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" /> 
    3030        </tpl:PaginationIf> 
    31          
     31 
    3232        <tpl:PaginationIf start="0"> 
    3333        <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" /> 
     
    3535      </tpl:Pagination> 
    3636    </tpl:EntriesHeader> 
    37      
     37 
    3838    <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /> 
    3939  </tpl:Entries> 
    40    
     40 
    4141  <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" /> 
    42    
     42 
    4343  {{tpl:include src="_head.html"}} 
    4444</head> 
     
    5252<div id="main"> 
    5353  <div id="content"> 
    54    
     54 
    5555  <div id="content-info"> 
    5656    <h2>{{tpl:lang Search}}</h2> 
     
    6565    </tpl:SysIf> 
    6666  </div> 
    67    
     67 
    6868  <tpl:Entries> 
    6969    <div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}"> 
    7070    <!-- # New day date --> 
    7171    <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader> 
    72      
     72 
    7373    <h2 class="post-title"><a 
    7474    href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2> 
    75      
     75 
    7676    <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} 
    7777    {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}} 
     
    8080    </tpl:EntryIf> 
    8181    </p> 
    82      
     82 
    8383    <tpl:EntryTags> 
    8484    <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader> 
     
    8686    <tpl:TagsFooter></ul></tpl:TagsFooter> 
    8787    </tpl:EntryTags> 
    88      
     88 
    8989    <!-- # --BEHAVIOR-- publicEntryBeforeContent --> 
    9090    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} 
    91      
     91 
    9292    <!-- # Entry with an excerpt --> 
    9393    <tpl:EntryIf extended="1"> 
     
    9797      reading}}</a>...</p> 
    9898    </tpl:EntryIf> 
    99      
     99 
    100100    <!-- # Entry without excerpt --> 
    101101    <tpl:EntryIf extended="0"> 
    102102      <div class="post-content">{{tpl:EntryContent}}</div> 
    103103    </tpl:EntryIf> 
    104      
     104 
    105105    <!-- # --BEHAVIOR-- publicEntryAfterContent --> 
    106106    {{tpl:SysBehavior behavior="publicEntryAfterContent"}} 
    107      
     107 
    108108    <!-- # Number of comments, trackbacks and attachments --> 
    109109    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1"> 
     
    121121    </tpl:EntryIf> 
    122122    </div> 
    123      
     123 
    124124    <tpl:EntriesFooter> 
    125125      <tpl:Pagination> 
     
    139139    {{tpl:Widgets type="nav"}} 
    140140  </div> <!-- End #blognav --> 
    141    
     141 
    142142  <div id="blogextra"> 
    143143    {{tpl:Widgets type="extra"}} 
  • inc/public/prepend.php

    r2541 r2567  
    160160          ,660); 
    161161} 
    162  
  • inc/public/prepend.php

    r2566 r2567  
    134134     $__theme_tpl_path[] = $core->blog->themes_path.'/'.$__parent_theme.'/tpl'; 
    135135} 
    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'); 
     137if (!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} 
    142147$core->url->mode = $core->blog->settings->system->url_scan; 
    143148 
  • plugins/antispam/filters/class.dc.filter.linkslookup.php

    r2524 r2567  
    7474     } 
    7575} 
    76 ?> 
  • plugins/antispam/filters/class.dc.filter.linkslookup.php

    r2566 r2567  
    4848 
    4949               $i = count($domain_elem) - 1; 
     50               if ($i == 0) { 
     51                    // "domain" is 1 word long, don't check it 
     52                    return null; 
     53               } 
    5054               $host = $domain_elem[$i]; 
    5155               do 
  • plugins/antispam/index.php

    r2566 r2567  
    117117     echo 
    118118          dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 
     119          dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'). 
    119120          dcPage::jsLoad('index.php?pf=antispam/antispam.js'); 
    120121  } 
  • plugins/blogroll/index.php

    r2566 r2567  
    177177     echo 
    178178          dcPage::jsLoad('js/jquery/jquery-ui.custom.js'). 
     179          dcPage::jsLoad('js/jquery/jquery.ui.touch-punch.js'). 
    179180          dcPage::jsLoad('index.php?pf=blogroll/blogroll.js'); 
    180181     } 
  • plugins/pages/list.php

    r2566 r2567  
    5555  <title><?php echo __('Pages'); ?></title> 
    5656  <?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'). 
    5860          dcPage::jsLoad('index.php?pf=pages/list.js'). 
    5961          '<script type="text/javascript">'. 
  • themes/ductile/_prepend.php

    r2495 r2567  
    5656     } 
    5757} 
    58 ?> 
  • themes/ductile/_prepend.php

    r2566 r2567  
    2626          if (!$core->auth->user_prefs->accessibility->nodragdrop) { 
    2727               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'); 
    2930                    echo <<<EOT 
    3031<script type="text/javascript"> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map