Changeset 336 for templates

Show
Ignore:
Timestamp:
03/31/11 14:52:35 (1 year ago)
Author:
Nafania
Message:

Мелкие баг-фиксы. Поддержка сфинкса (корявая) в поиске торрентов. sphinxapi.php надо использовать свой - тот что лежит, только для примера.
Список файлов показывается напрямую из торрент файла, а не из базы, но таблицы пока оставлены - на всякий случай.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • templates/main/bbcode.html

    r299 r336  
    1313<!-- BEGIN spoiler_header_open --> 
    1414 
    15 <div class="quotetitle"> 
    16         <a href="javascript:;" onclick="$(this).parents('div:first').next('div').toggle('slow');">{TEXT}:</a> 
    17 </div> 
     15<div class="spoilertitle hand" onclick="$(this).next('div').toggle('slow');">{TEXT}</div> 
    1816 
    1917<div class="quotecontent" style="display:none;"> 
     
    2321<!-- BEGIN spoiler_open --> 
    2422 
    25 <div class="quotetitle"> 
    26         <a href="javascript:;" onclick="$(this).parents('div:first').next('div').toggle('slow');">{L_SPOILER}:</a> 
    27 </div> 
     23<div class="spoilertitle hand" onclick="$(this).next('div').toggle('slow');">{L_SPOILER}:</div> 
    2824 
    2925<div class="quotecontent" style="display:none"> 
  • templates/main/main.css

    r335 r336  
    13261326} 
    13271327 
     1328.spoilertitle { 
     1329    background-color: #DEE3E7 !important; 
     1330} 
     1331 
    13281332.quotecontent,.spoilercontent { 
    13291333font-weight:400; 
     
    16571661.magnet-icon { 
    16581662background: url(images/torrent_icons.png) no-repeat scroll 0 0; 
     1663} 
     1664.bookmark-icon-active { 
     1665background: url(images/torrent_icons.png) no-repeat scroll 0 -64px; 
    16591666} 
    16601667.icon-32 { 
     
    17591766                top:10px; 
    17601767        } 
     1768 
     1769.hand { 
     1770cursor: pointer; 
     1771} 
  • templates/main/textbbcode.html

    r269 r336  
    5757// Define the bbCode tags 
    5858bbcode = new Array(); 
    59 bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[pre]','[/pre]','[*]','[*]','[*]','[*]','[img]','[/img]','[url]','[/url]','[mod={EDITOR_NAME}]','[/mod]','[spoiler]','[/spoiler]'); 
     59bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[pre]','[/pre]','[list][*]','[/list]','[list][*]','[/list]','[img]','[/img]','[url]','[/url]','[mod={EDITOR_NAME}]','[/mod]','[spoiler]','[/spoiler]'); 
    6060imageTag = false; 
    6161