/
index.php
106 lines (98 loc) · 6.02 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?
$index = true;
$title['en'] = $h1['en'] = 'The Greatest tool for sorting CSS properties in specific order';
$title['ru'] = $h1['ru'] = 'Инструмент для сортировки CSS-свойств в нужном порядке';
require_once'common/header.php';
?>
<div class="splash">
<a
href="https://twitter.com/share"
class="twitter-share-button"
data-lang="<?=$lang?>"
data-related="CSScomb"
data-url="http://csscomb.<?=($lang === 'en' ? 'com' : 'ru')?>"
data-size="large"><?=$loc['tweet']?></a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
<div class="versions">
<h2><?=$loc['versions']?></h2>
<ul>
<li><a href="/online/">CSScomb Online</a></li>
<li>CSScomb <?=$loc['for']?> Sublime Text 2</a> <?=$loc['sublime']?></li>
<li><a href="https://github.com/csscomb/CSScomb/releases/2.14/2392/csscomb_for_textmate_2-14-1307080853.zip">CSScomb <?=$loc['for']?> Textmate</a></li>
<li><a href="https://github.com/csscomb/CSScomb/releases/2.14/2389/csscomb_for_coda-2_2-14-1307080853.zip">CSScomb <?=$loc['for']?> Coda 2</a></li>
<li><a href="https://github.com/csscomb/CSScomb/releases/2.14/2388/csscomb_for_coda_2-14-1307080853.zip">CSScomb <?=$loc['for']?> Coda</a></li>
<li><a href="https://github.com/csscomb/CSScomb/releases/2.14/2390/csscomb_for_espresso-2_2-14-1307080853.zip">CSScomb <?=$loc['for']?> Espresso 2</a></li>
<li><a href="https://github.com/csscomb/CSScomb/releases/2.14/2394/csscomb_for_webstorm-pycharm-idea_2-14-1307080853.zip">CSScomb <?=$loc['for']?> IntelliJIDEA/WebStorm/PyCharm</a></li>
<li><a href="https://github.com/csscomb/CSScomb/releases/2.14/2391/csscomb_for_notepad-plus-plus_2-14-1307080853.zip">CSScomb <?=$loc['for']?> Notepad++</a></li>
<li><a href="https://github.com/csscomb/CSScomb-for-Vim/">CSScomb <?=$loc['for']?> Vim</a></li>
<li><a href="https://github.com/csscomb/csscomb.chocmixin">CSScomb <?=$loc['for']?> Chocolat</a></li>
<li><a href="https://github.com/csscomb/CSScomb/releases/2.14/2393/csscomb-cli_2-14-1307080853.zip">CSScomb CLI version</a></li>
</ul>
<p><?=$loc['help-us']?></p>
</div>
<div class="feature">
<h2><?=$loc['feature']?></h2>
<ul class="about-block">
<li>
<strong><?=$loc['index1']?></strong>
<span><?=$loc['index11']?></span>
</li>
<li>
<strong><?=$loc['index2']?></strong>
<span><?=$loc['index22']?></span>
</li>
<li>
<strong><?=$loc['index3']?></strong>
<span><?=$loc['index33']?></span>
</li>
<li>
<strong><?=$loc['index4']?></strong>
<span><?=$loc['index44']?></span>
</li>
<li>
<strong><?=$loc['index5']?></strong>
<span><?=$loc['index55']?></span>
</li>
<li>
<strong><?=$loc['index6']?></strong>
<span><?=$loc['index66']?></span>
</li>
</ul>
</div>
<div class="updates">
<h2><?=$loc['updates']?></h2>
<ul>
<?/*
$tweets = json_decode(file_get_contents("http://api.twitter.com/1/statuses/user_timeline/csscomb.json?include_rts=true&count=30"));
$i = 0;
foreach ($tweets as $tweet) {
if ($tweet->in_reply_to_user_id === NULL) {
$date = preg_replace('/(\w{3})\s(\w{3})\s(\d*)\s(\d\d(:\d\d){2})\s\+(?:\d{4})\s(\d{4})/','$3 $2 $6',$tweet->created_at);
$tweet->text = preg_replace('/http\:\/\/([\w.\/]+)/', '<a href="http://${1}">${1}</a>', $tweet->text);
$tweet->text = preg_replace('/\@(\w+)/', '<a href="http://twitter.com/${1}">@${1}</a>', $tweet->text);
echo '
<li>
<time><a target="_blank" href="http://twitter.com/csscomb/statuses/'.$tweet->id_str.'">'.$date.'</a></time>
<span>'.$tweet->text.'</span>
</li>';
$i++;
if ($i >= 4) {
break;
}
}
}*/
?>
<li>2.13 is out, with some fixes for SASS/LESS users. Update your plugins and read <a href="https://github.com/csscomb/CSScomb/blob/master/CHANGELOG.md#213-12062013">changelog</a>.</li>
<li>We moved to <a href="https://github.com/csscomb/">https://github.com/csscomb/</a></li>
<li>Somebody interested in use Eclipse or Aptana plugin? <a href="https://t.co/ApqlMkn0">https://github.com/csscomb/CSScomb/issues/34</a></li>
<li>CSScomb <a href="https://github.com/csscomb/csscomb.chocmixin">mixin for Chocolat</a>. Many thanks to <a href="https://github.com/drudge">Nicholas Penree</a>!</li>
<li>Our article on <a href="http://coding.smashingmagazine.com/2012/10/02/csscomb-tool-sort-css-properties/">Smashing Magazine</a> is out!</li>
</ul>
</div>
<div class="video">
<h2><?=$loc['presentation']?></h2>
<iframe src="http://player.vimeo.com/video/22799313?title=0&byline=0&portrait=0" width="640" height="360" style="width:310px;height:174px;" frameborder="0"></iframe>
</div>
<div class="clear"></div>
<?require_once'common/footer.php'?>