[Projeler-commits] r441 - in zangetsu: static/admin/media/tinymce templates templates/comments

projeler-commits at pardus.org.tr projeler-commits at pardus.org.tr
27 Kas 2007 Sal 10:15:59 EET


Author: caglar
Date: Tue Nov 27 10:15:58 2007
New Revision: 441

Removed:
   zangetsu/static/admin/media/tinymce/remaining_chars.js
Modified:
   zangetsu/static/admin/media/tinymce/textareas-comments.js
   zangetsu/templates/base.html
   zangetsu/templates/comments/freeform.html
Log:
remaining_chars acayip acayip hatalar veriyor (hem ie7 hem de firefox ile), çözülene kadar attım gitti, hahahah. Ayrıca Gökmen ömrümü yedi comment formu diye

Modified: zangetsu/static/admin/media/tinymce/textareas-comments.js
=================================================================
--- zangetsu/static/admin/media/tinymce/textareas-comments.js	(original)
+++ zangetsu/static/admin/media/tinymce/textareas-comments.js	Tue Nov 27 10:15:58 2007
@@ -1,9 +1,8 @@
 tinyMCE.init({
     mode : "textareas",
     theme : "advanced",
-    textarea_trigger : "tinyMCE_this",
-    theme_advanced_buttons1 : "copy,paste,undo,redo,charmap,search,replace,|,link,unlink,image,|,code",
-    theme_advanced_buttons2 : "formatselect,fontsizeselect,bold,italic,underline,strikethrough,sub,sup,|,justifyleft,justifycenter,justifyright,justifyfull,outdent,indent,|,bullist,numlist,|,forecolor,backcolor,removeformat",
+    theme_advanced_buttons1 : "bold,italic,underline,strikethrough,link,unlink,image",
+    theme_advanced_buttons2 : "",
     theme_advanced_buttons3 : "",
     theme_advanced_toolbar_location : "top",
     theme_advanced_toolbar_align : "left",
@@ -17,7 +16,4 @@
     extended_valid_elements : "a[name|href|target|title],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
     advimage_update_dimensions_onchange: true,
     plugins : "advimage,advlink,searchreplace,autosave,fullscreen",
-    handle_event_callback : "myHandleEvent",
-    onchange_callback : "myCustomOnChangeHandler",
-    oninit : "myCustomOnInit"
 });

Modified: zangetsu/templates/base.html
=================================================================
--- zangetsu/templates/base.html	(original)
+++ zangetsu/templates/base.html	Tue Nov 27 10:15:58 2007
@@ -23,7 +23,6 @@
 <!-- Enable tinyMCE for all textarea widgets -->
 <script type="text/javascript" src="{{ blog_url }}/../static/admin/media/tinymce/tiny_mce.js"></script>
 <script type="text/javascript" src="{{ blog_url }}/../static/admin/media/tinymce/textareas-comments.js"></script>
-<script type="text/javascript" src="{{ blog_url }}/../static/admin/media/tinymce/remaining_chars.js"></script>
 
 </head>
 <body>
@@ -52,9 +51,9 @@
         {% build_month_list %}
         <select class="dropdownselect" onchange="if (this.value != '') {location=this.value;}">
             <option value="">{% trans "Archives" %}</option>
-        {% for month in blog_months %}
-            <option value="{{ blog_url }}/{{ month|date:"Y/m"|lower }}/">{{ month|date:"F Y" }}</option>
-        {% endfor %}
+            {% for month in blog_months %}
+                <option value="{{ blog_url }}/{{ month|date:"Y/m"|lower }}/">{{ month|date:"F Y" }}</option>
+            {% endfor %}
         </select>
         </center>
 

Modified: zangetsu/templates/comments/freeform.html
=================================================================
--- zangetsu/templates/comments/freeform.html	(original)
+++ zangetsu/templates/comments/freeform.html	Tue Nov 27 10:15:58 2007
@@ -8,9 +8,6 @@
         {% trans "Comment:" %}
         <textarea class="dropdown" name="comment" id="id_comment" rows="10" cols="100" tinyMCE_this="true"></textarea>
 
-        <div>{% trans "Number of remaining characters: " %} <b><span id="msgCounter"></span></b></div>
-        <br/>
-
         <input type="hidden" name="options" value="{{ options }}" />
         <input type="hidden" name="target" value="{{ target }}" />
         <input type="hidden" name="gonzo" value="{{ hash }}" />


Projeler-commits mesaj listesiyle ilgili daha fazla bilgi