Changeset 16711 for lang/actionscript/todoshare/index.cgi
- Timestamp:
- 07/27/08 18:21:58 (6 months ago)
- Files:
-
- 1 modified
-
lang/actionscript/todoshare/index.cgi (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/actionscript/todoshare/index.cgi
r16697 r16711 10 10 use Tmpl; 11 11 use Obj; 12 use JSON2; 12 13 header; 13 14 my $id=$ENV{"QUERY_STRING"}; … … 44 45 sub disp { 45 46 &Tmpl::page({title=>$id},[span, 46 [ h2,"Infomation about$id"],47 [table ,sub {47 [strong,img(src=>"img/obj.png"),"$id"], 48 [table(id=>$id),sub { 48 49 my $p=shift; 49 50 my $res=&Obj::exe(["FINDREL",$id,any,any]); 50 51 for (@$res) { 51 $p->p([&tr, 52 my $action=["PROGN", 53 ["DELREL", $_->{obj},$_->{name},$_->{val}], 54 ["RMELEM", $_->{t} ] 55 ]; 56 $p->p([&tr(id=>$_->{t}), 52 57 [td,$_->{name}] , 53 [td,&Tmpl::link2obj($_->{val})] 58 [td,&Tmpl::link2obj($_->{val})], 59 [td, 60 [button(id=>, 61 onClick=>qq(alert(this.id)) 62 ) ,"Forget"] 63 ] 54 64 ]); 55 65 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)