Changeset 1018694
- Timestamp:
- 11/03/2014 12:06:19 PM (11 years ago)
- Location:
- txt2img/trunk
- Files:
-
- 2 edited
-
txt2img.php (modified) (1 diff)
-
txt2img_generater.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
txt2img/trunk/txt2img.php
r1018690 r1018694 203 203 var share = function(e) { 204 204 var post_url = document.getElementById('view-post-btn').getElementsByTagName('a')[0].href; 205 window.open("http://service.weibo.com/share/share.php?url=" + post_url + "&appkey=&title=" + post_title.value + "%20(山寨长微博 工具%20by%20@米粽粽)&pic=" + txt2img_url + "&ralateUid=&language=zh_cn", "txt2img", "width=615,height=505");205 window.open("http://service.weibo.com/share/share.php?url=" + post_url + "&appkey=&title=" + post_title.value + "%20(山寨长微博%20by%20@米粽粽)&pic=" + txt2img_url + "&ralateUid=&language=zh_cn", "txt2img", "width=615,height=505"); 206 206 if(e && e.preventDefault) { 207 207 e.preventDefault(); -
txt2img/trunk/txt2img_generater.php
r750440 r1018694 4 4 $pid = $_POST['txt2img_pid']; 5 5 $content = $_POST['txt2img_content']; 6 $input = str_replace("\r", "", stripcslashes($content)) . "\n" . str_repeat('-', 65) . "\n" . "山寨长微博插件 http ://forcefront.com/txt2img-plugin/" . "\n \n \n";6 $input = str_replace("\r", "", stripcslashes($content)) . "\n" . str_repeat('-', 65) . "\n" . "山寨长微博插件 https://github.com/myst729/txt2img" . "\n \n \n"; 7 7 $title = explode("\n\n", $input); 8 8 $ary = imagettfbbox (12, 0, $font, $input);
Note: See TracChangeset
for help on using the changeset viewer.