• R/O
  • SSH
  • HTTPS

y2pukiwiki: Commit


Commit MetaInfo

Revision123 (tree)
Time2010-04-19 00:56:48
Authory2katayama

Log Message

段落折りたたみを専用セレクタ化

Change Summary

Incremental Difference

--- pukiwiki-1.4.7_notb_utf8/plugin/paraedit.inc.php (revision 122)
+++ pukiwiki-1.4.7_notb_utf8/plugin/paraedit.inc.php (revision 123)
@@ -53,7 +53,10 @@
5353
5454 // 編集リンクの文字列・スタイルを指定
5555 // %s に URL が入る
56-define(_EDIT_LINK, ' <a class="paraedit" href="%s">[EDIT]</a> <a class="jumpmenu" href="#navigator">[TOP]</a>');
56+$paraedit = '<a class="paraedit" href="%s"><img width="9px" height="9px" src="skin/jquery/pen.png"></a> ';
57+$jumpmenu = '<a class="jumpmenu" href="#navigator"><img width="9px" height="9px" src="skin/jquery/top.png"></a> ';
58+$slidetoggle = '<a class="slidetoggle"><img width="9px" height="9px" src="skin/jquery/close.png" style="cursor:pointer;"></a>';
59+define(_EDIT_LINK, $paraedit . $jumpmenu . $slidetoggle);
5760
5861 // 編集リンクの挿入箇所を指定
5962 // <h2>header</h2> の時、$1:<h2>, $2:header, $3:</h2> となるので $link を好きな場所に移動
--- pukiwiki-1.4.7_notb_utf8/ja.lng.php (revision 122)
+++ pukiwiki-1.4.7_notb_utf8/ja.lng.php (revision 123)
@@ -59,7 +59,7 @@
5959
6060 ///////////////////////////////////////
6161 // Symbols
62-$_symbol_anchor = '[ANCHOR]';
62+$_symbol_anchor = '&dagger;';
6363 $_symbol_noexists = '?';
6464
6565 ///////////////////////////////////////
--- pukiwiki-1.4.7_notb_utf8/skin/jquery/function.js (revision 122)
+++ pukiwiki-1.4.7_notb_utf8/skin/jquery/function.js (revision 123)
@@ -1,7 +1,7 @@
11 $(function(){
2-$(':header', '#contents').click(
2+$('a.slidetoggle', '#contents').click(
33 function(){
4- var obj = $(this).next();
4+ var obj = $(this).parent().next();
55 var dom = obj.get(0);
66 var len = -1;
77 while(dom.tagName.match(/H\d/) == null && len != 0 ) {
--- pukiwiki-1.4.7_notb_utf8/skin/pukiwiki_gs2.css.php (revision 122)
+++ pukiwiki-1.4.7_notb_utf8/skin/pukiwiki_gs2.css.php (revision 123)
@@ -680,13 +680,7 @@
680680 /* aname.inc.php */
681681 .anchor {}
682682 .anchor_super {
683-<?php if ($media == 'print') { ?>
684683 display:none;
685-<?php } else { ?>
686- font-size:9px;
687- vertical-align:super;
688- font-weight:normal;
689-<?php } ?>
690684 }
691685
692686 /* br.inc.php */
@@ -859,7 +853,7 @@
859853 }
860854
861855 /* paraedit.inc.php */
862-.jumpmenu, .paraedit {
856+.jumpmenu, .paraedit, .slidetoggle {
863857 <?php if ($media == 'print') { ?>
864858 display:none;
865859 <?php } else { ?>
Show on old repository browser