gustafn
committed
on 10 Sep 15
- add editor hints
openacs-4/.../xotcl-core/lib/revisions.tcl (+7 -1)
80 80     set content_size_pretty "[lc_numeric [format %.2f [expr {$content_size/1024.0}]]] [_ file-storage.kb]"
81 81   }
82 82  
83 83   if {$name eq ""} {set name [_ file-storage.untitled]}
84 84   set live_revision_link [export_vars -base make-live-revision \
85 85                               {page_id name {revision_id $version_id}}]
86 86   set version_delete_link [export_vars -base delete-revision \
87 87                                {page_id name {revision_id $version_id}}]
88 88   set version_link [export_vars -base view {{revision_id $version_id} {item_id $page_id}}]
89 89   if {$version_id != $live_revision_id} {
90 90     set live_revision "Make this Revision Current"
91 91     set live_revision_icon /resources/acs-subsite/radio.gif
92 92   } else {
93 93     set live_revision "Current Live Revision"
94 94     set live_revision_icon /resources/acs-subsite/radiochecked.gif
95 95   }
96 96   set version_delete [_ file-storage.Delete_Version]
97 97   set author_link [acs_community_member_link -user_id $author_id -label $author]
98 98 }
99 99
  100
  101 # Local variables:
  102 #    mode: tcl
  103 #    tcl-indent-level: 2
  104 #    indent-tabs-mode: nil
  105 # End: