Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. in /vendor/craftcms/cms/src/templates/settings/general/_index.html at line 30
- {{ actionInput('system-settings/save-general-settings') }}
- {{ redirectInput('settings') }}
- {{ forms.autosuggestField({
- first: true,
- label: "System Name"|t('app'),
- id: 'name',
- suggestEnvVars: true,
- name: 'name',
- value: system.name
- }) }}
- {{ forms.lightswitchField({
- label: "System Status"|t('app'),
- warning: (craft.app.config.general.isSystemLive is same as(true) or craft.app.config.general.isSystemLive is same as(false) ? configWarning('isSystemLive')),
- id: 'live',
- name: 'live',
- onLabel: 'Online'|t('app'),
- offLabel: 'Offline'|t('app'),
- 2. in /vendor/craftcms/cms/src/helpers/Template.php at line 106– twig_get_attribute(craft\web\twig\Environment, Twig\Source, null, 'name', ...)
- // Add deprecated support for the old DateTime methods
- if ($object instanceof \DateTime && ($value = self::_dateTimeAttribute($object, $item, $type)) !== false) {
- return $value;
- }
- try {
- return \twig_get_attribute($env, $source, $object, $item, $arguments, $type, $isDefinedTest, $ignoreStrictCheck);
- } catch (UnknownMethodException $e) {
- // Copy twig_get_attribute()'s BadMethodCallException handling
- if ($ignoreStrictCheck || !$env->isStrictVariables()) {
- return null;
- }
- throw new RuntimeError($e->getMessage(), -1, $source);
- 3. in /vendor/craftcms/cms/src/templates/settings/general/_index.html at line 30– craft\helpers\Template::attribute(craft\web\twig\Environment, Twig\Source, null, 'name', ...)
- {{ forms.autosuggestField({
- first: true,
- label: "System Name"|t('app'),
- id: 'name',
- suggestEnvVars: true,
- name: 'name',
- value: system.name
- }) }}
- {{ forms.lightswitchField({
- label: "System Status"|t('app'),
- warning: (craft.app.config.general.isSystemLive is same as(true) or craft.app.config.general.isSystemLive is same as(false) ? configWarning('isSystemLive')),
- id: 'live',
Advertisement
Add Comment
Please, Sign In to add comment