[Feed-collector-svn] SF.net SVN: feed-collector: [125] trunk/styles/default
Status: Beta
Brought to you by:
c167
From: <C1...@us...> - 2007-06-06 10:30:12
|
Revision: 125 http://feed-collector.svn.sourceforge.net/feed-collector/?rev=125&view=rev Author: C167 Date: 2007-06-06 03:30:11 -0700 (Wed, 06 Jun 2007) Log Message: ----------- add_tag works... html-code generated by {foreach} doesn't look nice, need to check that Modified Paths: -------------- trunk/styles/default/page_add_new_feed.tpl trunk/styles/default/page_add_tag.tpl Modified: trunk/styles/default/page_add_new_feed.tpl =================================================================== --- trunk/styles/default/page_add_new_feed.tpl 2007-06-06 09:27:22 UTC (rev 124) +++ trunk/styles/default/page_add_new_feed.tpl 2007-06-06 10:30:11 UTC (rev 125) @@ -1,31 +1,36 @@ - <body> - <!-- For non-visual user agents: --> - <div id="top"><a href="#main-copy" class="doNotDisplay doNotPrint">Skip to main content.</a></div> - <!-- ##### Header ##### --> + <!-- ##### Main Copy ##### --> - <div id="header"> - <div class="superHeader"> -<!-- related sites --> + <div id="main-copy"> +{if $has_tags} + <div id="tags"> + <div id="tags_title">{$tags_title}</div> +$tags = $tag_manager->getTags($_GET['feed']); + {foreach from=$tags_list item=i name="tags_list"} + <a href="./page_show_feed_tag.php?tag={$i}">{$i}</a> + {if !$smarty.foreach.tags_list.last} +, + {/else} + {/foreach} </div> - <div class="midHeader"> -<!-- midHeader title left --> - - <br class="doNotDisplay doNotPrint" /> - - <div class="headerLogin"> -<!-- midHeader title right --> - </div> +{else} + <p>{$no_tags_message}</p> +{/if} + <div id=\"addTags_form\">\n" . + <form action='{$smarty.server.PHP_SELF}?feed="{$smarty.get.feed}"' method="post" accept-charset="UTF-8"> + <table summary="{$table_summary|default:""}"> + <tr> + <td colspan=2 id="formtitle">{$formtitle}</td> + </tr> + <tr> + <td class="formElem">{$tag_name}</td> + <td class="formField"><input type="text" name="tag" size="30" maxlength="30" /></td> + </tr> + <tr> + <td colspan=2 id="formButtons"><input type="submit" value="{$submit}" name="submit" /></td> + </tr> + </table> + </form> </div> - - <div class="subHeader"> -<!-- navigation --> - </div> </div> - - <!-- ##### Main Copy ##### --> - - <div id="main-copy"> -<!-- main --> - </div> Modified: trunk/styles/default/page_add_tag.tpl =================================================================== --- trunk/styles/default/page_add_tag.tpl 2007-06-06 09:27:22 UTC (rev 124) +++ trunk/styles/default/page_add_tag.tpl 2007-06-06 10:30:11 UTC (rev 125) @@ -1,31 +1,39 @@ - <body> - <!-- For non-visual user agents: --> - <div id="top"><a href="#main-copy" class="doNotDisplay doNotPrint">Skip to main content.</a></div> +{include file="html_header.tpl"} +{include file="page_header.tpl"} - <!-- ##### Header ##### --> + <!-- ##### Main Copy ##### --> - <div id="header"> - <div class="superHeader"> -<!-- related sites --> + <div id="main-copy"> +{if $has_tags} + <div id="tags"> + <div id="tags_title">{$tags_title}</div> + {foreach from=$tags_list item=i name="tags_list"} +<a href="./page_show_feed_tag.php?tag={$i|escape:"url"}">{$i}</a> + {if !$smarty.foreach.tags_list.last} +, + {/if} + {/foreach} </div> - <div class="midHeader"> -<!-- midHeader title left --> - - <br class="doNotDisplay doNotPrint" /> - - <div class="headerLogin"> -<!-- midHeader title right --> - </div> +{else} + <p>{$no_tags_message}</p> +{/if} + <div id="addTags_form"> + <form action='{$smarty.server.PHP_SELF}?feed="{$smarty.get.feed}"' method="post" accept-charset="UTF-8"> + <table summary="{$table_summary|default:""}"> + <tr> + <td colspan=2 id="formtitle">{$formtitle}</td> + </tr> + <tr> + <td class="formElem">{$tag_name}</td> + <td class="formField"><input type="text" name="tag" size="30" maxlength="30" /></td> + </tr> + <tr> + <td colspan=2 id="formButtons"><input type="submit" value="{$submit}" name="submit" /></td> + </tr> + </table> + </form> </div> - - <div class="subHeader"> -<!-- navigation --> - </div> </div> - <!-- ##### Main Copy ##### --> - - <div id="main-copy"> -<!-- main --> - </div> +{include file="page_footer.tpl"} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |