<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -34,23 +34,22 @@ more on textile:
 
 */
 
-document.write('&lt;script src=&quot;textile-editor-config.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;');
+document.write('&lt;script src=&quot;/javascripts/textile-editor-config.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;');
 
-// initiliaze the quicktags													
-function initQuicktags(canvasi) {
-	for (var i = 0; i &lt; canvasi.length; i++) {
-		edToolbar(document.getElementById(canvasi[i]),canvasi[i]);
-	}
-}
+// // initiliaze the quicktags													
+// function initQuicktags(canvasi) {
+// 	for (var i = 0; i &lt; canvasi.length; i++) {
+// 		edToolbar(document.getElementById(canvasi[i]),canvasi[i]);
+// 	}
+// }
 
 // draw the toolbar
-function edToolbar(canvas,canvas_name) {
-	var view = '';
-	if (canvas_name.match(/^s\_/)) {
-		view = 's';
-	}
+function edToolbar(canvas, view) {
 	var toolbar = document.createElement(&quot;div&quot;);
-	toolbar.id = &quot;toolbar&quot;;
+	toolbar.id = &quot;textile-toolbar-&quot; + canvas;
+	toolbar.className = 'textile-toolbar';
+	canvas = document.getElementById(canvas);
+	
 	canvas.parentNode.insertBefore(toolbar, canvas);
 	// Create the local Button array by assigning theButtons array to edButtons
 	var edButtons = new Array();</diff>
      <filename>assets/javascripts/textile-editor.js</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 button {
-  width: 18px;
-	height: 18px;
+  width: 24px;
+	height: 24px;
 	margin-right: 2px;
 	background-color: #f0f0ee;
 	background-repeat: no-repeat;
@@ -10,7 +10,7 @@ button {
 }
 
 button:hover, button.unselected:hover {
-	border: 1px solid #000;
+	border: 1px solid #999;
 }
 
 button.selected {
@@ -33,83 +33,28 @@ button.publish {
 	width: 400px;
 }
 */
-/*#toolbar {
-	width: 400px;
+
+div.textile-toolbar {
 	background-color: #f0f0ee;
 	padding: 3px;
 	margin-bottom: 4px;
 }
-*/
-
-#ed_strong {
-	background-image: url(/images/textile-editor/bold.png);
-}
-	
-#ed_emphasis {
-	background-image: url(/images/textile-editor/italic.png);
-}
-	
-#ed_underline {
-	background-image: url(/images/textile-editor/underline.png);
-}
-	
-#ed_strike {
-	background-image: url(/images/textile-editor/strikethrough.png);
-}	
 
-#ed_ul {
-	background-image: url(/images/textile-editor/list_bullets.png);
-}
-	
-#ed_ol {
-	background-image: url(/images/textile-editor/list_numbers.png);
-}
-
-#ed_p {
-	background-image: url(/images/textile-editor/paragraph.png);
-}
-
-#ed_h1 {
-	background-image: url(/images/textile-editor/h1.png);
-}
-
-#ed_h2 {
-	background-image: url(/images/textile-editor/h2.png);
-}
-
-#ed_h3 {
-	background-image: url(/images/textile-editor/h3.png);
-}
-
-#ed_h4 {
-	background-image: url(/images/textile-editor/h4.png);
-}
-
-
-#ed_indent {
-	background-image: url(/images/textile-editor/indent.png);
-}
-
-#ed_outdent {
-	background-image: url(/images/textile-editor/outdent.png);
-}
-
-#ed_justifyl {
-	background-image: url(/images/textile-editor/left.png);
-}
-
-#ed_justifyc {
-	background-image: url(/images/textile-editor/center.png);
-}
-	
-#ed_justifyr {
-	background-image: url(/images/textile-editor/right.png);
-}
-	
-#ed_justify {
-	background-image: url(/images/textile-editor/justify.png);
-}
-	
-#ed_block {
-	background-image: url(/images/textile-editor/blockquote.png);
-}
\ No newline at end of file
+#ed_strong    { background: url(/images/textile-editor/bold.png) no-repeat center center; }
+#ed_emphasis  {	background: url(/images/textile-editor/italic.png) no-repeat center center; }
+#ed_underline {	background: url(/images/textile-editor/underline.png) no-repeat center center; }
+#ed_strike    {	background: url(/images/textile-editor/strikethrough.png) no-repeat center center; }
+#ed_ul        {	background: url(/images/textile-editor/list_bullets.png) no-repeat center center; }
+#ed_ol        {	background: url(/images/textile-editor/list_numbers.png) no-repeat center center; }
+#ed_p         {	background: url(/images/textile-editor/paragraph.png) no-repeat center center; }
+#ed_h1        { background: url(/images/textile-editor/h1.png) no-repeat center center; }
+#ed_h2        {	background: url(/images/textile-editor/h2.png) no-repeat center center; }
+#ed_h3        {	background: url(/images/textile-editor/h3.png) no-repeat center center; }
+#ed_h4        { background: url(/images/textile-editor/h4.png) no-repeat center center; }
+#ed_indent    { background: url(/images/textile-editor/indent.png) no-repeat center center; }
+#ed_outdent   {	background: url(/images/textile-editor/outdent.png) no-repeat center center; }
+#ed_justifyl  {	background: url(/images/textile-editor/left.png) no-repeat center center; }
+#ed_justifyc  {	background: url(/images/textile-editor/center.png) no-repeat center center; }
+#ed_justifyr  {	background: url(/images/textile-editor/right.png) no-repeat center center; }
+#ed_justify   { background: url(/images/textile-editor/justify.png) no-repeat center center; }
+#ed_block     { background: url(/images/textile-editor/blockquote.png) no-repeat center center; }
\ No newline at end of file</diff>
      <filename>assets/stylesheets/textile-editor.css</filename>
    </modified>
    <modified>
      <diff>@@ -4,16 +4,23 @@ namespace :textile_editor_helper do
   
   desc 'Installs required assets'
   task :install do
+    #ENV['FORCE'] = true
+    #Rake::Task[:update].invoke
+    #force = ENV['FORCE'] || false
     verbose = true
     ASSET_FILES.each do |file|
       path = File.dirname(file) + '/'
       path.gsub!(PLUGIN_ROOT, RAILS_ROOT)
       path.gsub!('assets', 'public')
-
-      puts &quot; * Copying %-50s to %s&quot; % [file.gsub(PLUGIN_ROOT, ''), path.gsub(RAILS_ROOT, '')] if verbose
+      destination = File.join(path, File.basename(file))
+      puts &quot; * Copying %-50s to %s&quot; % [file.gsub(PLUGIN_ROOT, ''), destination.gsub(RAILS_ROOT, '')] if verbose
       FileUtils.mkpath(path) unless File.directory?(path)
+      
+      #puts File.mtime(file), File.mtime(destination)
+      #if force || !FileUtils.identical?(file, destination)
       FileUtils.cp [file], path
-    end  
+      #end  
+    end    
   end
   
   desc 'Removes assets for the plugin'</diff>
      <filename>tasks/textile_editor_helper_tasks.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>584fbfaa7ab1b45f3162c9c571cac8bea2641262</id>
    </parent>
  </parents>
  <author>
    <name>cbscharf</name>
    <email>cbscharf@6731b596-9f2e-9c42-8d5b-c76208a4698c</email>
  </author>
  <url>http://github.com/felttippin/textile-editor-helper/commit/03b023081b6221a56a7ea9142d65a3bfd5ab8bfc</url>
  <id>03b023081b6221a56a7ea9142d65a3bfd5ab8bfc</id>
  <committed-date>2007-03-20T14:39:12-07:00</committed-date>
  <authored-date>2007-03-20T14:39:12-07:00</authored-date>
  <message>Updated toolbar button styles

git-svn-id: http://svn.webtest.wvu.edu/repos/rails/plugins/textile_editor_helper@70 6731b596-9f2e-9c42-8d5b-c76208a4698c</message>
  <tree>529d3c8c38a749f254e959f45706737384300689</tree>
  <committer>
    <name>cbscharf</name>
    <email>cbscharf@6731b596-9f2e-9c42-8d5b-c76208a4698c</email>
  </committer>
</commit>
