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

f2e824
f2e824
f2e824
f2e824
f2e824
 

Wiki Navigation

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

    Delete

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

    Are you sure you want to

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

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

    Changes

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

    Legend:

    f2e824
        
    f2e824
         
    Unmodified
    f2e824
         
    Added
    f2e824
         
    Removed
    f2e824
         
    Modified
    f2e824
        
    f2e824
       
    f2e824
       
      f2e824
          
    • f2e824
           

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

      Change History of

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

      Editing ""

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

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

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

      Attachments

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