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().
19 lines
1.2 KiB
Smarty
19 lines
1.2 KiB
Smarty
{if $adminAction == "save"}
|
|
{if $not_authorized}
|
|
<div class="serendipityAdminMsgError msg_error"><img class="img_error" src="{serendipity_getFile file="admin/img/admin_msg_error.png"}" alt="" />{$CONST.CREATE_NOT_AUTHORIZED_USERLEVEL}</div>
|
|
{elseif $empty_username}
|
|
<div class="serendipityAdminMsgError msg_error"><img class="img_error" src="{serendipity_getFile file="admin/img/admin_msg_error.png"}" alt="" />{$CONST.USERCONF_CHECK_USERNAME_ERROR}</div>
|
|
{elseif $password_check_fail}
|
|
<div class="serendipityAdminMsgError msg_error"><img class="img_error" src="{serendipity_getFile file="admin/img/admin_msg_error.png"}" alt="" />{$CONST.USERCONF_CHECK_PASSWORD_ERROR}</div>
|
|
{else}
|
|
<div class="serendipityAdminMsgSuccess msg_success"><img class="img_error" src="{serendipity_getFile file="admin/img/admin_msg_success.png"}" alt="" />{$CONST.MODIFIED_USER|sprintf:"{$realname|escape:"html"}"} ?></div>
|
|
{/if}
|
|
{/if}
|
|
|
|
|
|
<form action="?serendipity[adminModule]=personal&serendipity[adminAction]=save" method="post">
|
|
{$formToken}
|
|
{$config}
|
|
<div align="right">
|
|
<input class="serendipityPrettyButton input_button" type="submit" name="SAVE" value="{$CONST.SAVE}" /></div>
|
|
</form> |