Permalink
Browse files

The extension files

  • Loading branch information...
1 parent c6a37a8 commit f1806b86260fe73123778bbbcc59d721dedba1fa @alejofonseca committed Feb 2, 2012
Showing with 31 additions and 1 deletion.
  1. +5 −0 .buildpath
  2. +22 −0 .project
  3. +3 −0 .settings/org.eclipse.php.core.prefs
  4. +1 −1 GPlusoneButton.php
View
5 .buildpath
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<buildpath>
+ <buildpathentry kind="src" path=""/>
+ <buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
+</buildpath>
View
22 .project
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>yii-google-plusone</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.dltk.core.scriptbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.php.core.PHPNature</nature>
+ </natures>
+</projectDescription>
View
3 .settings/org.eclipse.php.core.prefs
@@ -0,0 +1,3 @@
+#Thu Feb 02 08:56:24 COT 2012
+eclipse.preferences.version=1
+include_path=0;/yii-google-plusone
View
2 GPlusoneButton.php
@@ -51,7 +51,7 @@ public function run()
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();";
- Yii::app()->getClientScript()->registerScript('fb-async-callback', $script, CClientScript::POS_END);
+ Yii::app()->getClientScript()->registerScript('gplusone', $script, CClientScript::POS_END);
}
}
?>

0 comments on commit f1806b8

Please sign in to comment.