Blame Identity/Webenv/Trac/templates/wiki.cs

ef5584
ef5584
ef5584
ef5584
ef5584
 

Wiki Navigation

ef5584
 
    ef5584
      if:wiki.action == "diff" ?>
    ef5584
       
  • ef5584
         if:len(chrome.links.prev) ?> ←
    ef5584
          
    ef5584
           var:chrome.links.prev.0.title ?>">Previous Change
    ef5584
         else ?>
    ef5584
          ← Previous Change
    ef5584
         /if ?>
    ef5584
       
    ef5584
       
  • Page History
  • ef5584
       
  • ef5584
         if:len(chrome.links.next) ?>
    ef5584
          
    ef5584
           var:chrome.links.next.0.title ?>">Next Change → 
    ef5584
         else ?>
    ef5584
          Next Change →
    ef5584
         /if ?>
    ef5584
       
    ef5584
      elif:wiki.action == "history" ?>
    ef5584
       
  • View Latest Version
  • ef5584
      else ?>
    ef5584
       
  • Start Page
  • ef5584
       
  • Index by Title
  • ef5584
       
  • Index by Date
  • ef5584
       
  • Last Change
  • ef5584
      /if ?>
    ef5584
     
    ef5584
     
    ef5584
    ef5584
    ef5584
    ef5584
    ef5584
     
    ef5584
      if:wiki.version - wiki.old_version > 1 ?>
    ef5584
       set:first_version = wiki.old_version + 1 ?>
    ef5584
       set:version_range = "versions "+first_version+" to "+wiki.version+" of " ?>
    ef5584
       set:delete_what = "those versions" ?>
    ef5584
      elif:wiki.version ?>
    ef5584
       set:version_range = "version "+wiki.version+" of " ?>
    ef5584
       set:delete_what = "this version" ?>
    ef5584
      else ?>
    ef5584
       set:version_range = "" ?>
    ef5584
       set:delete_what = "page" ?>
    ef5584
      /if ?>
    ef5584
      

    Delete

    ef5584
        var:wiki.current_href ?>">
    ef5584
      <form action="<?cs var:wiki.current_href ?>" method="post">
    ef5584
       <input type="hidden" name="action" value="delete" />
    ef5584
       

    Are you sure you want to

    ef5584
        if:!?wiki.version ?>completely 
    ef5584
        /if ?>delete this page?
    ef5584
       if:wiki.only_version ?>
    ef5584
        This is the only version the page, so the page will be removed
    ef5584
        completely!
    ef5584
       /if ?>
    ef5584
       if:?wiki.version ?>
    ef5584
        <input type="hidden" name="version" value="<?cs var:wiki.version ?>" />
    ef5584
       /if ?>
    ef5584
       if:wiki.old_version ?>
    ef5584
        <input type="hidden" name="old_version" value="<?cs var:wiki.old_version ?>" />
    ef5584
       /if ?>
    ef5584
       This is an irreversible operation.

    ef5584
       
    ef5584
        <input type="submit" name="cancel" value="Cancel" />
    ef5584
        <input type="submit" value="Delete <?cs var:delete_what ?>" />
    ef5584
       
    ef5584
      </form>
    ef5584
    ef5584
     
    ef5584
      

    Changes

    ef5584
        if:wiki.old_version ?>between
    ef5584
         Version  and 
    ef5584
        else ?>from 
    ef5584
        /if ?>
    ef5584
        Version  of
    ef5584
        
    ef5584
      <form method="post" id="prefs" action="<?cs var:wiki.current_href ?>">
    ef5584
       
    ef5584
        <input type="hidden" name="action" value="diff" />
    ef5584
        <input type="hidden" name="version" value="<?cs var:wiki.version ?>" />
    ef5584
        <input type="hidden" name="old_version" value="<?cs var:wiki.old_version ?>" />
    ef5584
        <label>View differences <select name="style">
    ef5584
         
    ef5584
           if:diff.style == 'inline' ?> selected="selected"
    ef5584
           /if ?>>inline</option>
    ef5584
         
    ef5584
           if:diff.style == 'sidebyside' ?> selected="selected"
    ef5584
           /if ?>>side by side</option>
    ef5584
        </select></label>
    ef5584
        
    ef5584
         Show 
    ef5584
           maxlength="3" value="" />
    ef5584
         <label for="contextlines">lines around each change</label>
    ef5584
        
    ef5584
        <fieldset id="ignore">
    ef5584
         <legend>Ignore:</legend>
    ef5584
         
    ef5584
          
    ef5584
            if:diff.options.ignoreblanklines ?> checked="checked" />
    ef5584
          <label for="blanklines">Blank lines</label>
    ef5584
         
    ef5584
         
    ef5584
          
    ef5584
            if:diff.options.ignorecase ?> checked="checked" />
    ef5584
          <label for="case">Case changes</label>
    ef5584
         
    ef5584
         
    ef5584
          
    ef5584
            if:diff.options.ignorewhitespace ?> checked="checked" />
    ef5584
          <label for="whitespace">White space changes</label>
    ef5584
         
    ef5584
        </fieldset>
    ef5584
        
    ef5584
         <input type="submit" name="update" value="Update" />
    ef5584
        
    ef5584
       
    ef5584
      </form>
    ef5584
      
    ef5584
       
    Author:
    ef5584
       
    ef5584
        if:wiki.num_changes > 1 ?>(multiple changes)
    ef5584
        else ?> (IP: 
    ef5584
         var:wiki.ipnr ?>)
    ef5584
        /if ?>
    ef5584
       
    Timestamp:
    ef5584
       
    ef5584
        if:wiki.num_changes > 1 ?>(multiple changes)
    ef5584
        elif:wiki.time ?> ( ago)
    ef5584
        else ?>--
    ef5584
        /if ?>
    ef5584
       
    Comment:
    ef5584
       
    ef5584
        if:wiki.num_changes > 1 ?>(multiple changes)
    ef5584
        else ?>
    ef5584
      
    ef5584
      
    ef5584
       
    ef5584
        

    Legend:

    ef5584
        
    ef5584
         
    Unmodified
    ef5584
         
    Added
    ef5584
         
    Removed
    ef5584
         
    Modified
    ef5584
        
    ef5584
       
    ef5584
       
      ef5584
          
    • ef5584
           

      ef5584
            if:diff.style == 'sidebyside' ?>
      ef5584
            
      ef5584
             
      ef5584
             
      ef5584
             
      ef5584
              Version 
      ef5584
              Version 
      ef5584
             
      ef5584
             each:change = wiki.diff ?>
      ef5584
              call:diff_display(change, diff.style) ?>
      ef5584
             /each ?>
      ef5584
            
      ef5584
           else ?>
      ef5584
            
      ef5584
             
      ef5584
             
      ef5584
              v
      ef5584
                alt:wiki.old_version ?>0
      ef5584
              v
      ef5584
                var:wiki.version ?>
      ef5584
               
      ef5584
             
      ef5584
             each:change = wiki.diff ?>
      ef5584
              call:diff_display(change, diff.style) ?>
      ef5584
             /each ?>
      ef5584
            
      ef5584
           /if ?>
      ef5584
          
      ef5584
         
      ef5584
         if:trac.acl.WIKI_DELETE &&
      ef5584
          (len(wiki.diff) == 0 || wiki.version == wiki.latest_version) ?>
      ef5584
          <form method="get" action="<?cs var:wiki.current_href ?>">
      ef5584
           <input type="hidden" name="action" value="delete" />
      ef5584
           <input type="hidden" name="version" value="<?cs var:wiki.version ?>" />
      ef5584
           <input type="hidden" name="old_version" value="<?cs var:wiki.old_version ?>" />
      ef5584
           
      ef5584
           if:wiki.version - wiki.old_version > 1 ?> version 
      ef5584
            var:wiki.old_version+1 ?> to 
      ef5584
           /if ?>version " />
      ef5584
          </form>
      ef5584
         /if ?>
      ef5584
        
      ef5584
      ef5584
       
      ef5584
        

      Change History of

      ef5584
          var:wiki.page_name ?>
      ef5584
        <form class="printableform" method="get" action="">
      ef5584
         <input type="hidden" name="action" value="diff" />
      ef5584
         
      ef5584
          <input type="submit" value="View changes" />
      ef5584
         
      ef5584
         
      ef5584
          
      ef5584
           
      ef5584
           Version
      ef5584
           Date
      ef5584
           Author
      ef5584
           Comment
      ef5584
          
      ef5584
          
      ef5584
           
      ef5584
            
      ef5584
              var:item.version ?>"
      ef5584
              if:name(item) == 1 ?> checked="checked"
      ef5584
              /if ?> /> 
      ef5584
              var:item.version ?>"
      ef5584
              if:name(item) == 0 ?> checked="checked"
      ef5584
              /if ?> />
      ef5584
            
      ef5584
              var:item.url ?>" title="View this version">
      ef5584
              var:item.version ?>
      ef5584
            
      ef5584
            
      ef5584
              var:item.author ?>
      ef5584
            
      ef5584
           
      ef5584
          
      ef5584
         
      ef5584
         if:len(wiki.history) > #10 ?>
      ef5584
          
      ef5584
           <input type="submit" value="View changes" />
      ef5584
          
      ef5584
         /if ?>
      ef5584
        </form>
      ef5584
      ef5584
       
      ef5584
        
      ef5584
         

      Editing ""

      ef5584
          if wiki.action == "preview" ?>
      ef5584
           
      ef5584
             
      ef5584
              Preview of future version  (modified by )
      ef5584
             
      ef5584
             
      ef5584
            
      ef5584
           
      ef5584
           <fieldset id="preview">
      ef5584
            <legend>Preview (skip)</legend>
      ef5584
              
      ef5584
           </fieldset>
      ef5584
           elif wiki.action =="collision"?>
      ef5584
           
      ef5584
             Sorry, this page has been modified by somebody else since you started
      ef5584
             editing. Your changes cannot be saved.
      ef5584
           
      ef5584
          /if ?>
      ef5584
         <form id="edit" action="<?cs var:wiki.current_href ?>" method="post">
      ef5584
          <fieldset class="iefix">
      ef5584
           <input type="hidden" name="action" value="edit" />
      ef5584
           <input type="hidden" name="version" value="<?cs var:wiki.version ?>" />
      ef5584
           
      ef5584
             var:wiki.scroll_bar_pos ?>" />
      ef5584
           
      ef5584
            <label for="editrows">Adjust edit area height:</label>
      ef5584
            
      ef5584
              onchange="resizeTextArea('text', this.options[selectedIndex].value)">
      ef5584
             loop:rows = 8, 42, 4 ?>
      ef5584
              
      ef5584
                if:rows == wiki.edit_rows ?> selected="selected">
      ef5584
                var:rows ?></option>
      ef5584
             /loop ?>
      ef5584
            </select>
      ef5584
           
      ef5584
           

      ef5584
             var:wiki.edit_rows ?>">
      ef5584
      </textarea>

      ef5584
           <script type="text/javascript">
      ef5584
             var scrollBarPos = document.getElementById("scroll_bar_pos");
      ef5584
             var text = document.getElementById("text");
      ef5584
             addEvent(window, "load", function() {
      ef5584
               if (scrollBarPos.value) text.scrollTop = scrollBarPos.value;
      ef5584
             });
      ef5584
             addEvent(text, "blur", function() { scrollBarPos.value = text.scrollTop });
      ef5584
           </script>
      ef5584
          </fieldset>
      ef5584
          
      ef5584
           Note: See 
      ef5584
      ?>/WikiFormatting">WikiFormatting and 
      ef5584
      ?>/TracWiki">TracWiki for help on editing wiki content.
      ef5584
          
      ef5584
          <fieldset id="changeinfo">
      ef5584
           <legend>Change information</legend>
      ef5584
           
      ef5584
            
      ef5584
             <label>Your email or username:
      ef5584
             
      ef5584
               var:wiki.author ?>" /></label>
      ef5584
            
      ef5584
           
      ef5584
           
      ef5584
            <label>Comment about this change (optional):
      ef5584
            
      ef5584
              var:wiki.comment?>" /></label>
      ef5584
           
      ef5584
           
      ef5584
            
      ef5584
             <label>
      ef5584
               if wiki.readonly == "1"?>checked="checked" />
      ef5584
             Page is read-only</label>
      ef5584
            
      ef5584
           
      ef5584
          </fieldset>
      ef5584
          
      ef5584
           if wiki.action == "collision" ?>
      ef5584
            <input type="submit" name="preview" value="Preview" disabled="disabled" /> 
      ef5584
            <input type="submit" name="save" value="Submit changes" disabled="disabled" /> 
      ef5584
           
      ef5584
            <input type="submit" name="preview" value="Preview" accesskey="r" /> 
      ef5584
            <input type="submit" name="save" value="Submit changes" /> 
      ef5584
           
      ef5584
           <input type="submit" name="cancel" value="Cancel" />
      ef5584
          
      ef5584
          
      ef5584
            var:htdocs_location ?>js/wikitoolbar.js"></script>
      ef5584
         </form>
      ef5584
        
      ef5584
        
      ef5584
         
      ef5584
          
      ef5584
            
      ef5584
             Version  (modified by ,  ago)
      ef5584
            
      ef5584
            
      ef5584
           
      ef5584
          
      ef5584
         
      ef5584
         
      ef5584
          
      ef5584
         
      ef5584
         
      ef5584
          

      Attachments

      ef5584
          
        ef5584
             each:attachment = wiki.attachments ?>
      • ef5584
              var:attachment.href ?>">
        ef5584
              var:attachment.filename ?> () -
        ef5584
              if:attachment.description ?><q></q>,
        ef5584
              /if ?> added by  on 
        ef5584
              var:attachment.time ?>.
        ef5584
             /each ?>
        ef5584
            
        ef5584
          
        ef5584
          
        ef5584
              && (wiki.readonly == "0" || trac.acl.WIKI_ADMIN) ?>
        ef5584
           
        ef5584
            if:trac.acl.WIKI_MODIFY ?>
        ef5584
             <form method="get" action="<?cs var:wiki.current_href ?>">
        ef5584
              <input type="hidden" name="action" value="edit" />
        ef5584
              
        ef5584
                else ?>Create this page" accesskey="e" />
        ef5584
             </form>
        ef5584
             if:wiki.exists ?>
        ef5584
              <form method="get" action="<?cs var:wiki.attach_href ?>">
        ef5584
               <input type="hidden" name="action" value="new" />
        ef5584
               <input type="submit" value="Attach file" />
        ef5584
              </form>
        ef5584
             /if ?>
        ef5584
            /if ?>
        ef5584
            if:wiki.exists && trac.acl.WIKI_DELETE ?>
        ef5584
             <form method="get" action="<?cs var:wiki.current_href ?>">
        ef5584
              <input type="hidden" name="action" value="delete" />
        ef5584
              <input type="hidden" name="version" value="<?cs var:wiki.version ?>" />
        ef5584
              if:wiki.version == wiki.latest_version ?>
        ef5584
               <input type="submit" name="delete_version" value="Delete this version" />
        ef5584
              /if ?>
        ef5584
              <input type="submit" value="Delete page" />
        ef5584
             </form>
        ef5584
            
        ef5584
           
        ef5584
          
        ef5584
          <script type="text/javascript">
        ef5584
           addHeadingLinks(document.getElementById("searchable"), "Link to this section");
        ef5584
          </script>
        ef5584
         
        ef5584
         
        ef5584
        ef5584
        ef5584