[pLog-svn] r1463 - in plugins/trunk/templateeditor/js/editor: . images images/smarty

mark at devel.plogworld.net mark at devel.plogworld.net
Sun Mar 13 16:19:53 GMT 2005


Author: mark
Date: 2005-03-13 16:19:52 +0000 (Sun, 13 Mar 2005)
New Revision: 1463

Added:
   plugins/trunk/templateeditor/js/editor/images/
   plugins/trunk/templateeditor/js/editor/images/ed_align_center.gif
   plugins/trunk/templateeditor/js/editor/images/ed_align_justify.gif
   plugins/trunk/templateeditor/js/editor/images/ed_align_left.gif
   plugins/trunk/templateeditor/js/editor/images/ed_align_right.gif
   plugins/trunk/templateeditor/js/editor/images/ed_format_bold.gif
   plugins/trunk/templateeditor/js/editor/images/ed_format_italic.gif
   plugins/trunk/templateeditor/js/editor/images/ed_format_strike.gif
   plugins/trunk/templateeditor/js/editor/images/ed_format_underline.gif
   plugins/trunk/templateeditor/js/editor/images/ed_image.gif
   plugins/trunk/templateeditor/js/editor/images/ed_link.gif
   plugins/trunk/templateeditor/js/editor/images/ed_list_bullet.gif
   plugins/trunk/templateeditor/js/editor/images/ed_list_num.gif
   plugins/trunk/templateeditor/js/editor/images/smarty/
   plugins/trunk/templateeditor/js/editor/images/smarty/smarty_assign.txt
   plugins/trunk/templateeditor/js/editor/images/smarty/smarty_capture.txt
   plugins/trunk/templateeditor/js/editor/images/smarty/smarty_comment.txt
   plugins/trunk/templateeditor/js/editor/images/smarty/smarty_config_load.txt
   plugins/trunk/templateeditor/js/editor/images/smarty/smarty_delimiter.txt
   plugins/trunk/templateeditor/js/editor/images/smarty/smarty_foreach.txt
   plugins/trunk/templateeditor/js/editor/images/smarty/smarty_if.txt
   plugins/trunk/templateeditor/js/editor/images/smarty/smarty_include.txt
   plugins/trunk/templateeditor/js/editor/images/smarty/smarty_includephp.txt
   plugins/trunk/templateeditor/js/editor/images/smarty/smarty_insert.txt
   plugins/trunk/templateeditor/js/editor/images/smarty/smarty_literal.txt
   plugins/trunk/templateeditor/js/editor/images/smarty/smarty_php.txt
   plugins/trunk/templateeditor/js/editor/images/smarty/smarty_section.txt
   plugins/trunk/templateeditor/js/editor/images/smarty/smarty_strip.txt
   plugins/trunk/templateeditor/js/editor/images/smarty_assign.gif
   plugins/trunk/templateeditor/js/editor/images/smarty_capture.gif
   plugins/trunk/templateeditor/js/editor/images/smarty_comment.gif
   plugins/trunk/templateeditor/js/editor/images/smarty_config_load.gif
   plugins/trunk/templateeditor/js/editor/images/smarty_delimiter.gif
   plugins/trunk/templateeditor/js/editor/images/smarty_foreach.gif
   plugins/trunk/templateeditor/js/editor/images/smarty_if.gif
   plugins/trunk/templateeditor/js/editor/images/smarty_include.gif
   plugins/trunk/templateeditor/js/editor/images/smarty_includephp.gif
   plugins/trunk/templateeditor/js/editor/images/smarty_insert.gif
   plugins/trunk/templateeditor/js/editor/images/smarty_literal.gif
   plugins/trunk/templateeditor/js/editor/images/smarty_php.gif
   plugins/trunk/templateeditor/js/editor/images/smarty_section.gif
   plugins/trunk/templateeditor/js/editor/images/smarty_strip.gif
Modified:
   plugins/trunk/templateeditor/js/editor/smartyeditor.js
Log:
Add smarty tag to template editor. These icons are borrowred from dreamweaver smarty extension.

Added: plugins/trunk/templateeditor/js/editor/images/ed_align_center.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/ed_align_center.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/ed_align_justify.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/ed_align_justify.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/ed_align_left.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/ed_align_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/ed_align_right.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/ed_align_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/ed_format_bold.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/ed_format_bold.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/ed_format_italic.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/ed_format_italic.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/ed_format_strike.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/ed_format_strike.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/ed_format_underline.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/ed_format_underline.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/ed_image.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/ed_image.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/ed_link.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/ed_link.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/ed_list_bullet.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/ed_list_bullet.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/ed_list_num.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/ed_list_num.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/smarty/smarty_assign.txt
===================================================================
--- plugins/trunk/templateeditor/js/editor/images/smarty/smarty_assign.txt	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/images/smarty/smarty_assign.txt	2005-03-13 16:19:52 UTC (rev 1463)
@@ -0,0 +1 @@
+{assign var="" value=""}
\ No newline at end of file

Added: plugins/trunk/templateeditor/js/editor/images/smarty/smarty_capture.txt
===================================================================
--- plugins/trunk/templateeditor/js/editor/images/smarty/smarty_capture.txt	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/images/smarty/smarty_capture.txt	2005-03-13 16:19:52 UTC (rev 1463)
@@ -0,0 +1 @@
+{capture name=""}{/capture}
\ No newline at end of file

Added: plugins/trunk/templateeditor/js/editor/images/smarty/smarty_comment.txt
===================================================================
--- plugins/trunk/templateeditor/js/editor/images/smarty/smarty_comment.txt	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/images/smarty/smarty_comment.txt	2005-03-13 16:19:52 UTC (rev 1463)
@@ -0,0 +1 @@
+{*  *}
\ No newline at end of file

Added: plugins/trunk/templateeditor/js/editor/images/smarty/smarty_config_load.txt
===================================================================
--- plugins/trunk/templateeditor/js/editor/images/smarty/smarty_config_load.txt	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/images/smarty/smarty_config_load.txt	2005-03-13 16:19:52 UTC (rev 1463)
@@ -0,0 +1 @@
+{config_load file="" section="" scope=""}

Added: plugins/trunk/templateeditor/js/editor/images/smarty/smarty_delimiter.txt
===================================================================
--- plugins/trunk/templateeditor/js/editor/images/smarty/smarty_delimiter.txt	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/images/smarty/smarty_delimiter.txt	2005-03-13 16:19:52 UTC (rev 1463)
@@ -0,0 +1 @@
+{ }
\ No newline at end of file

Added: plugins/trunk/templateeditor/js/editor/images/smarty/smarty_foreach.txt
===================================================================
--- plugins/trunk/templateeditor/js/editor/images/smarty/smarty_foreach.txt	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/images/smarty/smarty_foreach.txt	2005-03-13 16:19:52 UTC (rev 1463)
@@ -0,0 +1,3 @@
+{foreach from= item= name= key=}
+{foreachelse}
+{/foreach}
\ No newline at end of file

Added: plugins/trunk/templateeditor/js/editor/images/smarty/smarty_if.txt
===================================================================
--- plugins/trunk/templateeditor/js/editor/images/smarty/smarty_if.txt	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/images/smarty/smarty_if.txt	2005-03-13 16:19:52 UTC (rev 1463)
@@ -0,0 +1,7 @@
+{if }
+
+{elseif }
+
+{else}
+
+{/if}
\ No newline at end of file

Added: plugins/trunk/templateeditor/js/editor/images/smarty/smarty_include.txt
===================================================================
--- plugins/trunk/templateeditor/js/editor/images/smarty/smarty_include.txt	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/images/smarty/smarty_include.txt	2005-03-13 16:19:52 UTC (rev 1463)
@@ -0,0 +1 @@
+{include file=""}

Added: plugins/trunk/templateeditor/js/editor/images/smarty/smarty_includephp.txt
===================================================================
--- plugins/trunk/templateeditor/js/editor/images/smarty/smarty_includephp.txt	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/images/smarty/smarty_includephp.txt	2005-03-13 16:19:52 UTC (rev 1463)
@@ -0,0 +1 @@
+{include_php file=""}

Added: plugins/trunk/templateeditor/js/editor/images/smarty/smarty_insert.txt
===================================================================
--- plugins/trunk/templateeditor/js/editor/images/smarty/smarty_insert.txt	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/images/smarty/smarty_insert.txt	2005-03-13 16:19:52 UTC (rev 1463)
@@ -0,0 +1 @@
+{insert name=""}
\ No newline at end of file

Added: plugins/trunk/templateeditor/js/editor/images/smarty/smarty_literal.txt
===================================================================
--- plugins/trunk/templateeditor/js/editor/images/smarty/smarty_literal.txt	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/images/smarty/smarty_literal.txt	2005-03-13 16:19:52 UTC (rev 1463)
@@ -0,0 +1,3 @@
+{literal}
+
+{/literal}
\ No newline at end of file

Added: plugins/trunk/templateeditor/js/editor/images/smarty/smarty_php.txt
===================================================================
--- plugins/trunk/templateeditor/js/editor/images/smarty/smarty_php.txt	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/images/smarty/smarty_php.txt	2005-03-13 16:19:52 UTC (rev 1463)
@@ -0,0 +1,2 @@
+{php}
+{/php}
\ No newline at end of file

Added: plugins/trunk/templateeditor/js/editor/images/smarty/smarty_section.txt
===================================================================
--- plugins/trunk/templateeditor/js/editor/images/smarty/smarty_section.txt	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/images/smarty/smarty_section.txt	2005-03-13 16:19:52 UTC (rev 1463)
@@ -0,0 +1,5 @@
+{section name="" loop=}
+
+{sectionelse}
+
+{/section}
\ No newline at end of file

Added: plugins/trunk/templateeditor/js/editor/images/smarty/smarty_strip.txt
===================================================================
--- plugins/trunk/templateeditor/js/editor/images/smarty/smarty_strip.txt	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/images/smarty/smarty_strip.txt	2005-03-13 16:19:52 UTC (rev 1463)
@@ -0,0 +1,2 @@
+{strip}
+{/strip}
\ No newline at end of file

Added: plugins/trunk/templateeditor/js/editor/images/smarty_assign.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/smarty_assign.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/smarty_capture.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/smarty_capture.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/smarty_comment.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/smarty_comment.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/smarty_config_load.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/smarty_config_load.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/smarty_delimiter.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/smarty_delimiter.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/smarty_foreach.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/smarty_foreach.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/smarty_if.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/smarty_if.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/smarty_include.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/smarty_include.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/smarty_includephp.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/smarty_includephp.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/smarty_insert.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/smarty_insert.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/smarty_literal.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/smarty_literal.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/smarty_php.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/smarty_php.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/smarty_section.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/smarty_section.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: plugins/trunk/templateeditor/js/editor/images/smarty_strip.gif
===================================================================
(Binary files differ)


Property changes on: plugins/trunk/templateeditor/js/editor/images/smarty_strip.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: plugins/trunk/templateeditor/js/editor/smartyeditor.js
===================================================================
--- plugins/trunk/templateeditor/js/editor/smartyeditor.js	2005-03-13 11:49:49 UTC (rev 1462)
+++ plugins/trunk/templateeditor/js/editor/smartyeditor.js	2005-03-13 16:19:52 UTC (rev 1463)
@@ -51,7 +51,7 @@
 /**
  * please change this if your icons are somewhere else!
  */
-var baseImageFolder = 'js/htmlarea/images/';
+var baseImageFolder = 'plugins/templateeditor/js/editor/images';
 
 /**
  * represents a button from our toolbar
@@ -527,6 +527,23 @@
   this.toolBar['but_unordered_list'] = new edButton( 'but_unordered_list', 'unordered list', '<ul><li></li></ul>', '', 'ed_list_bullet.gif', -1 );  
   this.toolBar['5_but_a']  = new edButtonLink( '5_but_a', 'anchor', 'ed_link.gif' );
   this.toolBar['6_but_img']= new edButtonImage( '6_but_img', 'image', 'ed_image.gif' );
+
+  this.toolBar['but_sep3'] =  new edButtonSeparator();
+  this.toolBar['but_smarty_assign'] = new edButton( 'but_smarty_assign', 'assign', '{assign var="" value=""}', '', 'smarty_assign.gif', -1 );
+  this.toolBar['but_smarty_capture'] = new edButton( 'but_smarty_capture', 'capture', '{capture name=""}', '{/capture}', 'smarty_capture.gif' );
+  this.toolBar['but_smarty_comment'] = new edButton( 'but_smarty_comment', 'comment', '{* *}', '', 'smarty_comment.gif', -1 );
+  this.toolBar['but_smarty_config_load'] = new edButton( 'but_smarty_config_load', 'config_load', '{config_load file="" section="" scope=""}', '', 'smarty_config_load.gif', -1 );
+  this.toolBar['but_smarty_delimiter'] = new edButton( 'but_smarty_delimiter', 'delimiter', '{ }', '', 'smarty_delimiter.gif', -1 );  
+  this.toolBar['but_smarty_foreach'] = new edButton( 'but_smarty_foreach', 'foreach', '{foreach from= item= name= key=}', '{/foreach}', 'smarty_foreach.gif' );  
+  this.toolBar['but_smarty_if'] = new edButton( 'but_smarty_if', 'if', '{if }', '{/if}', 'smarty_if.gif' );  
+  this.toolBar['but_smarty_include'] = new edButton( 'but_smarty_include', 'include', '{include file=""}', '', 'smarty_include.gif', -1 );  
+  // this.toolBar['but_smarty_includephp'] = new edButton( 'but_smarty_includephp', 'includephp', '{include_php file=""}', '', 'smarty_includephp.gif', -1 );  
+  this.toolBar['but_smarty_insert'] = new edButton( 'but_smarty_insert', 'insert', '{insert name=""}', '', 'smarty_insert.gif', -1 );  
+  this.toolBar['but_smarty_literal'] = new edButton( 'but_smarty_literal', 'literal', '{literal}', '{/literal}', 'smarty_literal.gif' );  
+  // this.toolBar['but_smarty_php'] = new edButton( 'but_smarty_php', 'php', '{php}', '{/php}', 'smarty_php.gif' );  
+  this.toolBar['but_smarty_section'] = new edButton( 'but_smarty_section', 'section', '{section name="" loop=}', '{/section}', 'smarty_section.gif' );  
+  this.toolBar['but_smarty_strip'] = new edButton( 'but_smarty_strip', 'strip', '{strip}', '{/strip}', 'smarty_strip.gif' );  
+
   
   /**
    * returns whether our browser supports the features that we are going




More information about the pLog-svn mailing list