📄 block.user_cannot_override.php
字号:
<?php/** * Function used in the admin interface as a shorthand to check whether the user has the given permission * * @param key */function smarty_block_user_cannot_override($params, $content, &$smarty) { if( isset( $content )) { // fetch the user if( isset( $params["key"])) $key = $params["key"]; else { $smarty->trigger_error( "user_cannot_override: missing 'key' parameter!" ); } if( GlobalPluginConfig::canOverride( $key ) == PLUGIN_SETTINGS_USER_CANNOT_OVERRIDE ) return( $content ); else return ""; }}?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -