diff --git a/htdocs/css/author.css b/htdocs/css/author.css index 461f6e9d..30b3b1b5 100644 --- a/htdocs/css/author.css +++ b/htdocs/css/author.css @@ -71,6 +71,9 @@ .helplist ul li h1{font-size:16px;font-weight:bold;line-height:26px;} .helplist ul li .content p{line-height:24px;} - - +#archives_view{} +#archives_view .title{font-size:16px;font-weight:bold;text-align:center;margin:10px 0px;} +#archives_view .info{font-size:11px;text-align:center;} +#archives_view .content{font-size:14px;margin-top:15px;margin-bottom:15px;} +#archives_view .content p{line-height:24px;} diff --git a/htdocs/static/css/kindskin/common/anchor.gif b/htdocs/static/css/kindskin/common/anchor.gif new file mode 100644 index 00000000..61145ea7 Binary files /dev/null and b/htdocs/static/css/kindskin/common/anchor.gif differ diff --git a/htdocs/static/css/kindskin/default/default.png b/htdocs/static/css/kindskin/default/default.png new file mode 100644 index 00000000..f3e7d46a Binary files /dev/null and b/htdocs/static/css/kindskin/default/default.png differ diff --git a/htdocs/static/js/plugins/anchor/anchor.js b/htdocs/static/js/plugins/anchor/anchor.js new file mode 100644 index 00000000..3edab9f7 --- /dev/null +++ b/htdocs/static/js/plugins/anchor/anchor.js @@ -0,0 +1,46 @@ +/******************************************************************************* +* KindEditor - WYSIWYG HTML Editor for Internet +* Copyright (C) 2006-2011 kindsoft.net +* +* @author Roddy +* @site http://www.kindsoft.net/ +* @licence http://www.kindsoft.net/license.php +*******************************************************************************/ + +KindEditor.plugin('anchor', function(K) { + var self = this, name = 'anchor', lang = self.lang(name + '.'); + self.plugin.anchor = { + edit : function() { + var html = ['
', + '
', + '', + '', + '
', + '
'].join(''); + var dialog = self.createDialog({ + name : name, + width : 300, + title : self.lang(name), + body : html, + yesBtn : { + name : self.lang('yes'), + click : function(e) { + self.insertHtml('').hideDialog().focus(); + } + } + }); + var div = dialog.div, + nameBox = K('input[name="name"]', div); + var img = self.plugin.getSelectedAnchor(); + if (img) { + nameBox.val(unescape(img.attr('data-ke-name'))); + } + nameBox[0].focus(); + nameBox[0].select(); + }, + 'delete' : function() { + self.plugin.getSelectedAnchor().remove(); + } + }; + self.clickToolbar(name, self.plugin.anchor.edit); +});