Changeset 302

Show
Ignore:
Timestamp:
01/09/06 21:41:43 (3 years ago)
Author:
root
Message:

NewHackMacro:

  • For some reason the Wiki edit bar was ending up tot he left of the textarea. Reverted it.
  • Fixed reference to macro rather than hack.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • newhackmacro/0.9/NewHack.py

    r298 r302  
    201201        <label for="description"><strong>Description</strong></label> 
    202202        <br/> 
    203         <textarea id="description" name="description" cols="80" rows="8" title="Comprehensive description of your hack">%(description)s</textarea> 
     203        <textarea class="wikitext" id="description" name="description" cols="80" rows="8" title="Comprehensive description of your hack">%(description)s</textarea> 
    204204    </div> 
    205205</fieldset> 
     
    210210        <label for="type" title="Type of hack"><strong>Type</strong></label> 
    211211        <br/> 
    212         The type that best describes your macro. The title-cased version of the type will be appended to your page name. 
     212        The type that best describes your hack. The title-cased version of the type will be appended to your page name. 
    213213        <br/> 
    214214""" % { 
     
    257257    <br/>One or more examples illustrating how to use your hack, if appropriate. 
    258258    <br/> 
    259     <textarea id="example" name="example" cols="80" rows="8" title="Example of your hack in 'action'">%(example)s</textarea> 
     259    <textarea class="wikitext" id="example" name="example" cols="80" rows="8" title="Example of your hack in 'action'">%(example)s</textarea> 
    260260</div> 
    261261</fieldset> 
     
    265265 <input type="submit" name="cancel" value="Cancel" /> 
    266266</div> 
    267 <script type="text/javascript" src="/trac/js/wikitoolbar.js"></script> 
    268 <script type='text/javascript'> 
    269 addWikiFormattingToolbar(document.getElementById('description')); 
    270 addWikiFormattingToolbar(document.getElementById('example')); 
    271 </script> 
     267<!--<script type="text/javascript" src="/trac/js/wikitoolbar.js"></script> --> 
    272268</form> 
    273269    """ % {