# author.rb: 登録者プラグイン # Copyright (C) 2004 Morita Keisuke # Distributed under the Ruby's # #登録者コンボボックス作成 def author_name_list s = '' authors = [$author_name] + @options['edit.author'] #登録者名を取得 begin author = @db.get_attribute(@page,:author) rescue Exception author='' end #登録者をセットして、コンボボックスを作成 authors.each{|x| if x==author then s << "