-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
505 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.DS_Store | ||
.cache | ||
Syntaxes/Dle.tmLanguage.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>name</key> | ||
<string>Comments</string> | ||
<key>scope</key> | ||
<string>text.html.dle</string> | ||
<key>settings</key> | ||
<dict> | ||
<key>shellVariables</key> | ||
<array> | ||
<dict> | ||
<key>name</key> | ||
<string>TM_COMMENT_START</string> | ||
<key>value</key> | ||
<string>{* </string> | ||
</dict> | ||
<dict> | ||
<key>name</key> | ||
<string>TM_COMMENT_END</string> | ||
<key>value</key> | ||
<string> *}</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,232 @@ | ||
|
||
{custom id="1,2,5-8" category="2,3,5-8" author="x" days="x" template="custom" available="global" navigation="no" from="0" limit="10" fixed="yes" order="date" sort="desc" cache="yes"} | ||
|
||
{include file="/templates/mytemplate/my_block.tpl"} | ||
|
||
|
||
{* ------------------------------------ *} | ||
{* ------------------------------------ *} | ||
{* Главна страница *} | ||
{* ------------------------------------ *} | ||
{* ------------------------------------ *} | ||
|
||
{headers} | ||
{jsfiles} | ||
{THEME} | ||
{login} | ||
{vote} | ||
{changeskin} | ||
{calendar} | ||
{topnews} | ||
{archives} | ||
{info} | ||
{content} | ||
{custom} | ||
[available=раздел]текст[/available] | ||
{AJAX} | ||
[group=X]текст[/group] | ||
[category=X]текст[/category] | ||
{banner_имя} | ||
{inform_имя} | ||
[not-category=X]текст[/not-category] | ||
[not-group=X]текст[/not-group] | ||
[page-count=1,2,3] текст [/page-count] | ||
[not-page-count=1,2,3] текст [/not-page-count] | ||
[news=1,2,3] текст [/news] | ||
[not-news=1,2,3] текст [/not-news] | ||
[tags=тег1,тег2,тег3] текст [/tags] | ||
[not-tags=тег1,тег2,тег3] текст [/not-tags] | ||
[related-news] {related-news} | ||
[/related-news] | ||
[vk] текст [/vk] | ||
{vk_url} | ||
[odnoklassniki] текст [/odnoklassniki] | ||
{odnoklassniki_url} | ||
[facebook] текст [/facebook] | ||
{facebook_url} | ||
[google] текст [/google] | ||
{google_url} | ||
[mailru][/mailru] | ||
|
||
{mailru_url} | ||
[yandex] текст [/yandex] | ||
{yandex_url} | ||
[xfvalue_X] | ||
[xfgiven_X] текст [/xfgiven_X] | ||
[xfnotgiven_X] текст [/xfnotgiven_X] | ||
[ifxfvalue tagname="tagvalue"] Текст [/ifxfvalue] | ||
[ifxfvalue tagname!="tagvalue"] Текст [/ifxfvalue] | ||
{catmenu} | ||
{catnewscount id="X"} | ||
{category-id} | ||
{category-title} | ||
{category-description} | ||
{page-title} | ||
{page-description} | ||
[page-title] текст [/page-title] | ||
[not-page-title] текст [/not-page-title] | ||
[page-description] текст [/page-description] | ||
[not-page-description] текст [/not-page-description] | ||
|
||
|
||
{* ------------------------------------ *} | ||
{* ------------------------------------ *} | ||
{* Авторизация *} | ||
{* ------------------------------------ *} | ||
{* ------------------------------------ *} | ||
|
||
|
||
{registration-link} | ||
{lostpassword-link} | ||
{logout-link} | ||
{admin-link} | ||
{pm-link} | ||
{new-pm} | ||
{all-pm} | ||
{favorite-count} | ||
{foto} | ||
[admin-link] и [/admin-link] | ||
{profile-link} | ||
{stats-link} | ||
{addnews-link} | ||
{favorites-link} | ||
{newposts-link} | ||
{group-icon} | ||
{login-method} | ||
[vk] текст [/vk] | ||
{vk_url} | ||
[odnoklassniki] текст [/odnoklassniki] | ||
{odnoklassniki_url} | ||
[facebook] текст [/facebook] | ||
{facebook_url} | ||
[google] текст [/google] | ||
{google_url} | ||
[mailru] текст [/mailru] | ||
{mailru_url} | ||
[yandex] текст [/yandex] | ||
{yandex_url} | ||
[xfgiven_x] | ||
[xfvalue_x] | ||
[/xfgiven_x] | ||
[xfnotgiven_x] | ||
текст | ||
[/xfnotgiven_x] | ||
[xfvalue_x] | ||
{group} | ||
|
||
|
||
|
||
{* ------------------------------------ *} | ||
{* ------------------------------------ *} | ||
{* Полная новость *} | ||
{* ------------------------------------ *} | ||
{* ------------------------------------ *} | ||
|
||
{title} | ||
{title limit="x"} | ||
{full-story} | ||
{short-story} | ||
{full-story limit="x"} | ||
{author} | ||
{date} | ||
{pages} | ||
[pages] текст [/pages] | ||
{link-category} | ||
{rating} | ||
[rating] текст [/rating] | ||
[rating-type-1] текст [/rating-type-1] | ||
[rating-type-2] текст [/rating-type-2] | ||
[rating-type-3] текст [/rating-type-3] | ||
[rating-type-4] текст [/rating-type-4] | ||
[rating-minus] текст [/rating-minus] | ||
[rating-plus] текст [/rating-plus] | ||
{likes} | ||
{dislikes} | ||
{vote-num} | ||
{comments-num} | ||
{category} | ||
{category-url} | ||
{category-icon} | ||
{views} | ||
{favorites} | ||
[add-favorites] текст [/add-favorites] | ||
[del-favorites] текст [/del-favorites] | ||
[edit] текст [/edit] | ||
[print-link] и [/print-link] | ||
[com-link] и [/com-link] | ||
[xfvalue_x] | ||
[xfvalue_X limit="X2"] | ||
[xfgiven_x] [xfvalue_x] [/xfgiven_x] | ||
[xfnotgiven_X] [/xfnotgiven_X] | ||
[ifxfvalue tagname="tagvalue"] Текст [/ifxfvalue] | ||
[ifxfvalue tagname!="tagvalue"] Текст [/ifxfvalue] | ||
[xfvalue_thumb_url_X] | ||
[xfvalue_image_url_X] | ||
[xfvalue_X image="Nr"] | ||
[group=X]текст[/group] | ||
{related-news} | ||
[catlist=1,2....] текст [/catlist] | ||
[not-catlist=1,2....] текст [/not-catlist] | ||
[tags] текст [/tags] | ||
{tags} | ||
{full-link} | ||
[edit-date] текст [/edit-date] | ||
{edit-date} | ||
{editor} | ||
[edit-reason] текст [/edit-reason] | ||
{edit-reason} | ||
{poll} | ||
{date=формат даты} | ||
[fixed] текст [/fixed] | ||
[not-fixed] текст [/not-fixed] | ||
[day-news] текст [/day-news] | ||
{comments} | ||
{addcomments} | ||
{navigation} | ||
{login} | ||
[related-news] | ||
текст | ||
[/related-news] | ||
[poll] текст [/poll] | ||
[not-poll] текст [/not-poll] | ||
[profile] текст [/profile] | ||
[complaint] | ||
текст | ||
[/complaint] | ||
{custom} | ||
[comments] | ||
текст | ||
[/comments] | ||
[not-comments] | ||
текст | ||
[/not-comments] | ||
{image-x} | ||
[image-x] текст [/image-x] | ||
{fullimage-x} | ||
[fullimage-x] текст [/fullimage-x] | ||
[news=1,2,3] текст [/news] | ||
[not-news=1,2,3] текст [/not-news] | ||
|
||
[declination=X] текст [/declination] | ||
{banner_x} | ||
[vk] текст [/vk] | ||
{vk_url} | ||
[odnoklassniki] текст [/odnoklassniki] | ||
{odnoklassniki_url} | ||
[facebook] текст [/facebook] | ||
{facebook_url} | ||
[google] текст [/google] | ||
{google_url} | ||
[mailru] текст [/mailru] | ||
{mailru_url} | ||
[yandex] текст [/yandex] | ||
{yandex_url} | ||
[comments-subscribe] | ||
текст | ||
[/comments-subscribe] | ||
[next-url] Текст [/next-url] | ||
{next-title} | ||
{prev-title} | ||
[prev-url] Текст [/prev-url] | ||
{prev-url} | ||
{prev-title} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Sublime Text Dle Syntax | ||
|
||
Syntax definition for working with Data Life Engine templates. Compatible with Sublime Text 2 and 3. | ||
|
||
## Installation | ||
Preferred method: use package control | ||
|
||
Alternatively, you can clone this repository into the Sublime Text "Packages" directory, which is located wherever the "Preferences" -> "Browse Packages" option in sublime takes you. A restart of Sublime may be necessary. | ||
|
||
## Usage | ||
Set syntax of your file to be `Dle`. | ||
|
Oops, something went wrong.