edit_head.tx 574 B

12345678
  1. <: if ( !$embed ) { :><br /><: } :>
  2. : if ( !!$post.addpost ) {
  3. <a style="cursor:pointer" <: if ( $embed ) { :>class="hidon"<: } :> onclick="switchMenu('submissions')">[Add Post]</a><: if ( !$embed ) { :><hr /><: } :>
  4. <div id="submissions" style="display:none;" class="posteditor">
  5. : } else {
  6. <a <: if ( $embed ) { :>class="hidon"<: } else { :>style="display: inline-block;cursor:pointer;"<: } :> onclick="switchMenu('<: $post.id :>-<: $post.version :>');">[Edit]</a>
  7. <div id="<: $post.id :>-<: $post.version :>" style="display:none;" class="posteditor">
  8. : }