-
Notifications
You must be signed in to change notification settings - Fork 5
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
0 parents
commit eac5731
Showing
13 changed files
with
979 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,22 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# Custom for Visual Studio | ||
*.cs diff=csharp | ||
*.sln merge=union | ||
*.csproj merge=union | ||
*.vbproj merge=union | ||
*.fsproj merge=union | ||
*.dbproj merge=union | ||
|
||
# Standard to msysgit | ||
*.doc diff=astextplain | ||
*.DOC diff=astextplain | ||
*.docx diff=astextplain | ||
*.DOCX diff=astextplain | ||
*.dot diff=astextplain | ||
*.DOT diff=astextplain | ||
*.pdf diff=astextplain | ||
*.PDF diff=astextplain | ||
*.rtf diff=astextplain | ||
*.RTF diff=astextplain |
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,215 @@ | ||
################# | ||
## Eclipse | ||
################# | ||
|
||
*.pydevproject | ||
.project | ||
.metadata | ||
bin/ | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.classpath | ||
.settings/ | ||
.loadpath | ||
|
||
# External tool builders | ||
.externalToolBuilders/ | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# CDT-specific | ||
.cproject | ||
|
||
# PDT-specific | ||
.buildpath | ||
|
||
|
||
################# | ||
## Visual Studio | ||
################# | ||
|
||
## Ignore Visual Studio temporary files, build results, and | ||
## files generated by popular Visual Studio add-ons. | ||
|
||
# User-specific files | ||
*.suo | ||
*.user | ||
*.sln.docstates | ||
|
||
# Build results | ||
|
||
[Dd]ebug/ | ||
[Rr]elease/ | ||
x64/ | ||
build/ | ||
[Bb]in/ | ||
[Oo]bj/ | ||
|
||
# MSTest test Results | ||
[Tt]est[Rr]esult*/ | ||
[Bb]uild[Ll]og.* | ||
|
||
*_i.c | ||
*_p.c | ||
*.ilk | ||
*.meta | ||
*.obj | ||
*.pch | ||
*.pdb | ||
*.pgc | ||
*.pgd | ||
*.rsp | ||
*.sbr | ||
*.tlb | ||
*.tli | ||
*.tlh | ||
*.tmp | ||
*.tmp_proj | ||
*.log | ||
*.vspscc | ||
*.vssscc | ||
.builds | ||
*.pidb | ||
*.log | ||
*.scc | ||
|
||
# Visual C++ cache files | ||
ipch/ | ||
*.aps | ||
*.ncb | ||
*.opensdf | ||
*.sdf | ||
*.cachefile | ||
|
||
# Visual Studio profiler | ||
*.psess | ||
*.vsp | ||
*.vspx | ||
|
||
# Guidance Automation Toolkit | ||
*.gpState | ||
|
||
# ReSharper is a .NET coding add-in | ||
_ReSharper*/ | ||
*.[Rr]e[Ss]harper | ||
|
||
# TeamCity is a build add-in | ||
_TeamCity* | ||
|
||
# DotCover is a Code Coverage Tool | ||
*.dotCover | ||
|
||
# NCrunch | ||
*.ncrunch* | ||
.*crunch*.local.xml | ||
|
||
# Installshield output folder | ||
[Ee]xpress/ | ||
|
||
# DocProject is a documentation generator add-in | ||
DocProject/buildhelp/ | ||
DocProject/Help/*.HxT | ||
DocProject/Help/*.HxC | ||
DocProject/Help/*.hhc | ||
DocProject/Help/*.hhk | ||
DocProject/Help/*.hhp | ||
DocProject/Help/Html2 | ||
DocProject/Help/html | ||
|
||
# Click-Once directory | ||
publish/ | ||
|
||
# Publish Web Output | ||
*.Publish.xml | ||
*.pubxml | ||
|
||
# NuGet Packages Directory | ||
## TODO: If you have NuGet Package Restore enabled, uncomment the next line | ||
#packages/ | ||
|
||
# Windows Azure Build Output | ||
csx | ||
*.build.csdef | ||
|
||
# Windows Store app package directory | ||
AppPackages/ | ||
|
||
# Others | ||
sql/ | ||
*.Cache | ||
ClientBin/ | ||
[Ss]tyle[Cc]op.* | ||
~$* | ||
*~ | ||
*.dbmdl | ||
*.[Pp]ublish.xml | ||
*.pfx | ||
*.publishsettings | ||
|
||
# RIA/Silverlight projects | ||
Generated_Code/ | ||
|
||
# Backup & report files from converting an old project file to a newer | ||
# Visual Studio version. Backup files are not needed, because we have git ;-) | ||
_UpgradeReport_Files/ | ||
Backup*/ | ||
UpgradeLog*.XML | ||
UpgradeLog*.htm | ||
|
||
# SQL Server files | ||
App_Data/*.mdf | ||
App_Data/*.ldf | ||
|
||
############# | ||
## Windows detritus | ||
############# | ||
|
||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Mac crap | ||
.DS_Store | ||
|
||
|
||
############# | ||
## Python | ||
############# | ||
|
||
*.py[co] | ||
|
||
# Packages | ||
*.egg | ||
*.egg-info | ||
dist/ | ||
build/ | ||
eggs/ | ||
parts/ | ||
var/ | ||
sdist/ | ||
develop-eggs/ | ||
.installed.cfg | ||
|
||
# Installer logs | ||
pip-log.txt | ||
|
||
# Unit test / coverage reports | ||
.coverage | ||
.tox | ||
|
||
#Translations | ||
*.mo | ||
|
||
#Mr Developer | ||
.mr.developer.cfg |
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,72 @@ | ||
<?php if ( post_password_required() ) return; ?> | ||
|
||
<div id="cmt" class="cmt"> | ||
|
||
<?php if ( have_comments() ) : ?> | ||
|
||
<ol class="cmt_list"> | ||
<?php wp_list_comments( array( 'callback' => 'tt_comment', 'style' => 'ol' ) ); ?> | ||
</ol> | ||
|
||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?> | ||
<nav id="cmt-nav" class="navigation" role="navigation"> | ||
<div class="cmt-nav-prev"><?php previous_comments_link( __('← 更旧的吐槽') ); ?></div> | ||
<div class="cmt-nav-next"><?php next_comments_link( __('更新的吐槽 →') ); ?></div> | ||
</nav> | ||
<?php endif; ?> | ||
|
||
<?php if ( ! comments_open() && get_comments_number() ) : ?> | ||
<p class="nocomments"><?php _e('要和谐,不要吐槽~'); ?></p> | ||
<?php endif; ?> | ||
|
||
<?php endif; ?> | ||
|
||
<?php $comments_args = array( | ||
'id_form' => 'cmt_form', | ||
'id_submit' => 'cmt_submit', | ||
'title_reply' => '', | ||
'title_reply_to' => __('吐槽 %s'), | ||
'cancel_reply_link' => __('放弃治疗'), | ||
'label_submit' => __('发射'), | ||
|
||
'comment_field' => '<p class="comment-form-comment"><textarea id="comment" name="comment" cols="45" rows="8" required aria-required="true">' . | ||
'</textarea></p>', | ||
|
||
'must_log_in' => '<p class="must-log-in">' . | ||
sprintf( | ||
__( '你必须 <a href="%s">登录</a> 后吐槽。' ), | ||
wp_login_url( apply_filters( 'the_permalink', get_permalink() ) ) | ||
) . '</p>', | ||
|
||
'logged_in_as' => '<p class="logged-in-as">' . | ||
sprintf( | ||
__('以 <a href="%1$s">%2$s</a> 登录。 <a href="%3$s" title="Log out of this account">退出</a>'), | ||
admin_url( 'profile.php' ), | ||
$user_identity, | ||
wp_logout_url( apply_filters( 'the_permalink', get_permalink( ) ) ) | ||
) . '</p>', | ||
|
||
'comment_notes_before' => '', | ||
|
||
'comment_notes_after' => '', | ||
|
||
'fields' => apply_filters( 'comment_form_default_fields', array( | ||
|
||
'author' => | ||
'<div id="cmt_form_meta"><input placeholder="'.__('称呼').'" id="author" name="author" type="text" required="required" value="' . esc_attr( $commenter['comment_author'] ) . | ||
'" />', | ||
|
||
'email' => | ||
'<input placeholder="'.__('邮箱').'" id="email" name="email" type="email" required="required" value="' . esc_attr( $commenter['comment_author_email'] ) . | ||
'" />', | ||
|
||
'url' => | ||
'<input placeholder="'.__('站点').'" id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . | ||
'" /></div>' | ||
) | ||
), | ||
); ?> | ||
|
||
<?php comment_form($comments_args); ?> | ||
|
||
</div> |
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,18 @@ | ||
<article class="p_article"> | ||
|
||
<hgroup class="p_h_ctn"> | ||
<header class="p_h"> | ||
<div id="p_l"> | ||
<a href="<?php comments_link(); ?>" ><?php comments_number( __('无回复','knamida') , __('落单的回复','knamida') , __('% 回复','knamida') ); ?></a> | ||
<?php echo edit_post_link( __('編集','knamida') ); ?> | ||
</div> | ||
<h2 class="p_h_h"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> | ||
<?php the_category(' ') ?> | ||
<a href="<?php the_author_link(); ?>"><?php the_author(); ?></a> | ||
<?php the_tags('',',',''); ?> | ||
</header> | ||
</hgroup> | ||
|
||
<div class="p_t"><?php the_content('继续阅读'); ?></div> | ||
|
||
</article> |
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,9 @@ | ||
</div> | ||
|
||
<footer id="footer" role="contentinfo"> | ||
<?php wp_footer(); ?> | ||
</footer> | ||
|
||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.