flatpress/fp-plugins/blockparser/tpls/admin.plugin.blockparser.tpl
real_nowhereman 7414932235 This is obviously a BIG commit.
It involves how widgets work. 

Now widgets must always be *registered* to work, even blockparser's.

Blockparser has got then a nice GUI to select which pages should be available as widgets; once the page has been enabled it is then available in the main widget panels

This solves the non-editable input things with non-firefox browsers: this way you just won't have the editbox anymore :P

I hope you'll like the changes.

There are many additions in lang files, so be careful to update (otherwise you'll get blank lines)!
2008-02-29 16:10:33 +00:00

61 lines
1.1 KiB
Smarty

<h2>{$plang.head}</h2>
<p>{$plang.description}</p>
{include file=shared:errorlist.tpl}
{static_block}
<form method="post"
action="{$smarty.const.BLOG_BASEURL}admin.php?p=entry"
enctype="multipart/form-data">
<table class="entrylist">
<thead>
<tr>
<th>{$plang.id}</th>
<th>{$panelstrings.title}</th>
<th>{$panelstrings.action}</th></tr></thead>
<tbody>
{static}
{assign var=inarr value=$id|in_array:$enabledlist}
<tr{if $inarr} class="enabled" {/if}>
<td> {$id} </td>
<td class="main-cell"> {$subject} </td>
<td>
<a
class="link-general"
href="{"?p=static"|action_link:write}&amp;page={$id}">
{$panelstrings.edit}
</a>
{if $inarr}
<a class="link-disable"
href="{$action_url|cmd_link:disable:$id}">
{$panelstrings.disable}
</a>
{else}
<a class="link-enable"
href="{$action_url|cmd_link:enable:$id}">
{$panelstrings.enable}
</a>
{/if}
</td>
</tr>
{*** <tr>
<td>
<a href="admin.php?p=static&amp;page={$id}&amp;action=write">{$subject|truncate:70}</a>
</td>
<td>enable/disable</td>
</tr>
***}
{/static}
</tbody></table>
</form>
{/static_block}