christiansalazar avatar christiansalazar committed 9b16978

readme add beauty

Comments (0)

Files changed (1)

 Coco! Multi file Uploader Widget
 ================================
 
-by: Christian Salazar. christiansalazarh@gmail.com	@yiienespanol, oct. 2012.
+by:
+Christian Salazar. christiansalazarh@gmail.com	@yiienespanol, oct. 2012.
+[http://trucosdeprogramacionmovil.blogspot.com/](http://trucosdeprogramacionmovil.blogspot.com/ "http://trucosdeprogramacionmovil.blogspot.com/")
 
-[BSD Licence](http://opensource.org/licenses/bsd-license.php)"http://opensource.org/licenses/bsd-license.php"
+[http://opensource.org/licenses/bsd-license.php](http://opensource.org/licenses/bsd-license.php "http://opensource.org/licenses/bsd-license.php")
+
+[Go to Coco Repository at Bit Bucket !](https://bitbucket.org/christiansalazarh/coco/ "Go to Coco Repository at Bit Bucket !")
+------------------------------------------------------------------------------------------------------------------------------
 
 (Español & English)
 
 4.	[ES] Usa el widget en cualquier form.
 	[EN] Use the widget in your form.
 
-		<?php
-			$this->widget('ext.coco.CocoWidget'
-				,array(
-					'id'=>'cocowidget1',
 
-					'onCompleted'=>'function(id,filename,jsoninfo){  }',
-					'onCancelled'=>'function(id,filename){ alert("cancelled "+filename); }',
-					'onMessage'=>'function(m){ alert(m); }',
 
-					'allowedExtensions'=>array('jpeg','jpg','gif','png'),
-					'sizeLimit'=>2000000,
-					'uploadDir' => 'assets/',
-				)
-			);
-		?>
+~~~
+[php]
+<?php
+	$this->widget('ext.coco.CocoWidget'
+		,array(
+			'id'=>'cocowidget1',
+			'onCompleted'=>'function(id,filename,jsoninfo){  }',
+			'onCancelled'=>'function(id,filename){ alert("cancelled"); }',
+			'onMessage'=>'function(m){ alert(m); }',
+			'allowedExtensions'=>array('jpeg','jpg','gif','png'),
+			'sizeLimit'=>2000000,
+			'uploadDir' => 'assets/',
+		));
+	?>
+~~~
+
 
 
 Extra Options
 -------------
 
-		'buttonText'=>'Find & Upload',
-		'dropFilesText'=>'Drop Files Here !',
-		'htmlOptions'=>array('style'=>'width: 300px; float: left; margin-right: 10px;'),
-		'defaultControllerName'=>'site',
-		'defaultActionName'=>'coco',
-
+~~~
+[php]
+'buttonText'=>'Find & Upload',
+'dropFilesText'=>'Drop Files Here !',
+'htmlOptions'=>array('style'=>'width: 300px;'),
+'defaultControllerName'=>'site',
+'defaultActionName'=>'coco',
+~~~
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.