- $o = replace_macros(get_markup_template('delegate.tpl'),array(
- '$header' => t('Delegate Page Management'),
- '$base' => App::get_baseurl(),
- '$desc' => t('Delegates are able to manage all aspects of this account/page except for basic account settings. Please do not delegate your personal account to anybody that you do not trust completely.'),
- '$head_managers' => t('Existing Page Managers'),
- '$managers' => $full_managers,
- '$head_delegates' => t('Existing Page Delegates'),
+ $o = Renderer::replaceMacros(Renderer::getMarkupTemplate('delegate.tpl'), [
+ '$form_security_token' => BaseModule::getFormSecurityToken('delegate'),
+ '$parent_header' => L10n::t('Parent User'),
+ '$parent_user' => $parent_user,
+ '$parent_password' => $parent_password,
+ '$parent_desc' => L10n::t('Parent users have total control about this account, including the account settings. Please double check whom you give this access.'),
+ '$submit' => L10n::t('Save Settings'),
+ '$header' => L10n::t('Delegate Page Management'),
+ '$delegates_header' => L10n::t('Delegates'),
+ '$base' => System::baseUrl(),
+ '$desc' => L10n::t('Delegates are able to manage all aspects of this account/page except for basic account settings. Please do not delegate your personal account to anybody that you do not trust completely.'),
+ '$head_delegates' => L10n::t('Existing Page Delegates'),