Commit e9d7bc82 authored by changi67's avatar changi67

~indent~ No changes

parent 1a5c6dfc
......@@ -31,11 +31,11 @@
</div>
{tabset name='tabs_articletypes'}
{tab name="{tr}List of article types{/tr}"}
<form enctype="multipart/form-data" action="tiki-article_types.php" method="post">
{tab name="{tr}List of article types{/tr}"}
<form enctype="multipart/form-data" action="tiki-article_types.php" method="post">
{section name=user loop=$types}
<h3>{tr}{$types[user].type|escape}{/tr}</h3>
<a class="link" href="tiki-view_articles.php?type={$types[user].type|escape:url}">{tr}view articles with this type{/tr}</a>
<h3>{tr}{$types[user].type|escape}{/tr}</h3>
<a class="link" href="tiki-view_articles.php?type={$types[user].type|escape:url}">{tr}view articles with this type{/tr}</a>
<table class="normal">
<tr>
<th>{tr}Articles{/tr}</th>
......@@ -49,10 +49,8 @@
<th>{tr}Show avatar{/tr}</th>
<th>{tr}Show author{/tr}</th>
<th>{tr}Show publish date{/tr}</th>
</tr>
{cycle print=false values="even,odd"}
<input type="hidden" name="type_array[{$types[user].type|escape}]" />
<tr class="{cycle}">
{*get_strings {tr}Article{/tr}{tr}Review{/tr}{tr}Event{/tr}{tr}Classified{/tr} *}
......@@ -87,9 +85,7 @@
<td>
<input type="checkbox" name="show_pubdate[{$types[user].type|escape}]" {if $types[user].show_pubdate eq 'y'}checked="checked"{/if} />
</td>
</tr>
<tr>
<th>{tr}Show expire date{/tr}</th>
<th>{tr}Show reads{/tr}</th>
......@@ -103,7 +99,6 @@
<th colspan="2">{tr}Action{/tr}</th>
</tr>
<tr class="{cycle}">
<td>
<input type="checkbox" name="show_expdate[{$types[user].type|escape}]" {if $types[user].show_expdate eq 'y'}checked="checked"{/if} />
</td>
......@@ -140,7 +135,6 @@
{/if}
</center>
</td>
</tr>
</table>
{if $prefs.article_custom_attributes eq 'y'}
......@@ -153,7 +147,11 @@
{foreach from=$types[user].attributes item=att key=attname}
<tr class="{cycle}">
<td>{$attname|escape}</td>
<td><a class="link" href="tiki-article_types.php?att_type={$types[user].type|escape:url}&att_remove={$att.relationId|escape:url}">{icon _id='cross' alt="{tr}Remove{/tr}"}</a></td>
<td>
<a class="link" href="tiki-article_types.php?att_type={$types[user].type|escape:url}&att_remove={$att.relationId|escape:url}">
{icon _id='cross' alt="{tr}Remove{/tr}"}
</a>
</td>
</tr>
{/foreach}
<tr>
......@@ -171,5 +169,5 @@
<h3>{tr}Create a new type{/tr}</h3>
<input type="text" name="new_type" /><input type="submit" name="add_type" value="{tr}Create a new type{/tr}" />
{/tab}
{/tabset}
</form>
</form>
{/tabset}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment