Typo. Hashtag,
authorhiroto
Wed, 04 Sep 2013 11:55:46 +0900
changeset 37 98fc2a3c3519
parent 36 39fea9365f31
child 38 fa983cc0e405
Typo. Hashtag,
autotweet-php/src/Org/W3/AutotweetBundle/Controller/DefaultController.php
example_slidy/index.html
--- a/autotweet-php/src/Org/W3/AutotweetBundle/Controller/DefaultController.php	Wed Sep 04 11:51:35 2013 +0900
+++ b/autotweet-php/src/Org/W3/AutotweetBundle/Controller/DefaultController.php	Wed Sep 04 11:55:46 2013 +0900
@@ -95,7 +95,7 @@
             		echo 'Post:' . count($post);
 	        	if(0==count($post)){
             		$newpost = $this->getDoctrine()->getRepository('OrgW3AutotweetBundle:Post')->addnew($talk,$msg);
-                        $msg_out=$this->splitPost($msg,140, $hashdag);
+                        $msg_out=$this->splitPost($msg,140, $hashtag);
                 	$this->tweet($msg_out);
             		}
             }
@@ -137,7 +137,7 @@
 //close connection
         curl_close($ch);
     }
-    private function splitPost($post,$length, $hashdag=null)
+    private function splitPost($post,$length, $hashtag=null)
     {
         //分割文字数を計算
         //分割文字数=制限-フッタ文字数
@@ -165,7 +165,7 @@
         if(null==$hashtag){
             return $post;
         }else{
-            return $post . ' ' . $hashdag;
+            return $post . ' ' . $hashtag;
         }
     }
 }
--- a/example_slidy/index.html	Wed Sep 04 11:51:35 2013 +0900
+++ b/example_slidy/index.html	Wed Sep 04 11:55:46 2013 +0900
@@ -265,7 +265,7 @@
 </ul>
 </div>
 
-<div class="slide" data-note="Also possible to use it offline">
+<div class="slide" data-note="Also possible to use it offline :-)">
 <h1>To use it off-line</h1>
 
 <ul>