Changeset 4690


Ignore:
Timestamp:
08/20/09 10:06:42 (4 years ago)
Author:
OliverKrueger
Message:

Item1918: renamed templates too fast

Location:
trunk/TagsPlugin/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/TagsPlugin/templates/tagsplugin2.tmpl

    r4686 r4690  
    11 
    22 
    3 %TMPL:DEF{tagsplugin:tagentry}% <form class='foswikiTagsPlugin' type='post' action='%SCRIPTURL{rest}%/TagsPlugin/tag' id='foswikiTagsPluginEntryForm'> 
     3%TMPL:DEF{tagsplugin2:tagentry}% <form class='foswikiTagsPlugin' type='post' action='%SCRIPTURL{rest}%/TagsPlugin/tag' id='foswikiTagsPluginEntryForm'> 
    44    <input id="foswikiTagInput" type='text' name='tag' value='enter new tag' onclick="if(this.value=='enter new tag'){this.value='';}"/> 
    55    <input type='hidden' name='item' value='%BASEWEB%.%BASETOPIC%' /> 
     
    77    <input type='hidden' name='redirectto' value='%SCRIPTURL{view}%/%BASEWEB%.%BASETOPIC%' /> 
    88</form> %TMPL:END% 
    9  
    10 %{ TAGLIST }% 
    11 %TMPL:DEF{tagsplugin:taglist:header}%<span class="tagList">%TMPL:END% 
    12 %TMPL:DEF{tagsplugin:taglist:format}%<a class="foswikiTag" href="$tagurl">$tag</a>%TMPL:END% 
    13 %TMPL:DEF{tagsplugin:taglist:separator}%, %TMPL:END% 
    14 %TMPL:DEF{tagsplugin:taglist:footer}%</span>%TMPL:END% 
    15  
    16 %{ TAGCLOUD }% 
    17 %TMPL:DEF{tagsplugin:tagcloud:css}% 
    18 <!-- from http://24ways.org/2006/marking-up-a-tag-cloud --> 
    19     <style type='text/css'> 
    20         .tag-cloud {padding:0px 60px;} 
    21         /* display the individual items next to each other, not one-per-line */ 
    22         .tag-cloud LI { display: inline; padding-right:10px;} 
    23         /* hide the extra context from CSS-enabled browsers, but not screenreaders */ 
    24         .tag-cloud SPAN { position: absolute; left: -999px; width: 990px; } 
    25         /* size is purely presentational, based upon the class */ 
    26         .tag-cloud .not-popular { font-size: 1em; } 
    27         .tag-cloud .not-very-popular { font-size: 1.3em; } 
    28         .tag-cloud .somewhat-popular { font-size: 1.6em; } 
    29         .tag-cloud .popular { font-size: 1.9em; } 
    30         .tag-cloud .very-popular { font-size: 2.2em; } 
    31         .tag-cloud .ultra-popular { font-size: 2.5em; } 
    32         /* no underlines */ 
    33         .tag-cloud a { text-decoration:none; background-color:#fbfeff;border-bottom:1px solid #e5edff;font-weight:normal; } 
    34         .tag-cloud .foswikiTagCount {font-size:0.5em;} 
    35     </style>%TMPL:END% 
    36 %TMPL:DEF{tagsplugin:tagcloud:header}%%TMPL:P{tagsplugin:tagcloud:css}%<ol class='tag-cloud'>%TMPL:END% 
    37 %TMPL:DEF{tagsplugin:tagcloud:format}%<li class="$tagrange"><span>$count items are tagged with </span><a href='$tagurl' class='foswikiTag'>$tag <font class="foswikiTagCount">($count)</font></a></li>%TMPL:END% 
    38 %TMPL:DEF{tagsplugin:tagcloud:separator}% 
    39 %TMPL:END% 
    40 %TMPL:DEF{tagsplugin:tagcloud:footer}%</ol>%TMPL:END% 
  • trunk/TagsPlugin/templates/view.tagsplugin2.tmpl

    r4686 r4690  
    1414        (function($){  
    1515          $(function(){ 
    16             $("#foswikiTagsPluginEntryForm").submit(function(event) { 
    17                 x = $("#foswikiTagInput").val(); 
    18                 alert(x); 
    19                 event.preventDefault(); 
    20             }); 
     16            // $("#foswikiTagsPluginEntryForm").submit(function(event) { 
     17            //    x = $("#foswikiTagInput").val(); 
     18            //    alert(x); 
     19            //    event.preventDefault(); 
     20            //}); 
    2121            $("#foswikiTagInput").autocomplete("%SCRIPTURL{view}%/%SYSTEMWEB%/TagsPluginTagEntrySearch", { 
    2222                extraParams: { skin:"text", cover:"text" }, 
Note: See TracChangeset for help on using the changeset viewer.