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
# create partial file list for checksums.txt | |
cd textpattern/vendors/Textpattern && find .. -type f -name \*.php|cut -b 3-|sed "s/.*/\\0: .123456789.123456789.123456789.1/" | |
# do copy & paste | |
# later... create checksums | |
php -f ../../textpattern-toolbelt/release/checksums.php . > checksums.new.txt && mv checksums.new.txt checksums.txt |
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
@media tty { | |
foo {bar: baz;} | |
foo {bar: baz;} | |
foo {bar: baz;} | |
foo {bar: baz;} | |
foo {bar: baz;} | |
foo {bar: baz;} | |
foo {bar: baz;} | |
foo {bar: baz;} | |
foo {bar: baz;} |
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
git clone https://github.com/gocom/textpattern.git textpattern && cd textpattern && git checkout master && git diff master..4x-doc-up |
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
<txp:if_section name="default"><txp:variable name="s" value="home" /><txp:else /><txp:variable name="s" value='<txp:section />' /></txp:if_section> | |
<txp:article_custom section='<txp:variable name="s" />' limit="1"> | |
<meta name="description" content="<txp:title />: <txp:rss_auto_excerpt words="30" striptags="1" showlinkwithexcerpt="0" stripbreakstabs="1" excerptwraptag="" ending="…" />" /> | |
</txp:article_custom> |
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
<!-- somewhere in your template, forms, --> | |
<txp:php> | |
function wet_if_comment_submitted($attr, $thing) | |
{ | |
return parse(EvalElse($thing, isset($_GET['commented']))); | |
} | |
</txp:php> | |
<!-- in your comment form: --> | |
<txp:wet_if_comment_submitted> |
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
Index: textpattern/publish.php | |
=================================================================== | |
--- textpattern/publish.php (revision 3429) | |
+++ textpattern/publish.php (working copy) | |
@@ -109,7 +109,7 @@ | |
$txp_user = NULL; | |
//i18n: $textarray = load_lang('en-gb'); | |
- $textarray = load_lang(LANG); | |
+ $textarray = (txpinterface == 'css') ? array() : load_lang(LANG); |