The smartified code as forked from master to 2.0 being outsourced, now is to find in /include/admin/tplold, which will still be used as the default backend template dir. To switch to the new version, please paste the dirs and files of s9y-admin-tpl as adviced in the readme and reload, but also add a ```php // End of Serendipity configuration file // You can place your own special variables after here: define('SWITCH_TEMPLATE_VERSION', 'true'); ``` to the end of your serendipity_config_local.inc.php. To switch back to the old smartified files, just set a // to the define().
23 lines
738 B
Smarty
23 lines
738 B
Smarty
{* functions_plugins_admin.inc.php::function ownership() *}
|
|
|
|
{if $show_ownership}
|
|
{if $is_plugin_owner}
|
|
<select name="serendipity[ownership][{$name}]">
|
|
<option value="0">{$CONST.ALL_AUTHORS}</option>
|
|
{/if}
|
|
|
|
{foreach $users AS $user}
|
|
{if (!$is_plugin_owner && ($user['authorid'] == $authorid))}
|
|
{assign var="realname" value="{$user['realname']|escape}"}
|
|
{elseif $is_plugin_owner}
|
|
<option value="{$user['authorid']}"{($user['authorid'] == $authorid) ? ' selected="selected"' : ''}>{$user['realname']|escape}</option>
|
|
{/if}
|
|
{/foreach}
|
|
|
|
{if $is_plugin_owner}
|
|
</select>
|
|
{else}
|
|
{(empty($realname)) ? $CONST.ALL_AUTHORS : $realname}
|
|
{/if}
|
|
{/if}
|