@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phosweb011 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
Current Path :
/
homepage
/
v-mt
/
tmpl
/
cms
/
Path :
Upload File :
New :
File
Dir
//homepage/v-mt/tmpl/cms/cfg_system_general.tmpl
<mt:setvar name="page_title" value="<__trans phrase="System: General Settings">"> <$mt:setvar name="position_actions_bottom" value="1"$> <mt:setvar name="system-general-settings" value="1"> <MTSetVarBlock name="system_msg"> <mt:if name="error"> <mtapp:statusmsg id="generic-error" class="error"> <mt:var name="error"> </mtapp:statusmsg> </mt:if> <mt:if name="saved"> <mtapp:statusmsg id="saved" class="success"> <__trans phrase="Your settings have been saved."> </mtapp:statusmsg> </mt:if> </MTSetVarBlock> <MTSetVarBlock name="content_nav"> <mt:include name="include/cfg_system_content_nav.tmpl"> </MTSetVarBlock> <mt:include name="include/header.tmpl"> <script type="text/javascript"> <!-- function clearWeblogCloneSource() { var el_name = getByID("new_user_template_blog_name"); var el_id = getByID("new_user_template_blog_id"); if (el_name && el_id) { el_id.value = ""; el_name.innerHTML = "<__trans phrase="(No blog selected)">"; } var el_id_link = getByID("select-blog-link"); if (el_id_link) { el_id_link.innerHTML = "<__trans phrase="Select blog">"; } } function validate (f) { if (f.default_site_url.value && !is_valid_url(f.default_site_url.value)){ alert('<__trans phrase="You must set a valid Default Site URL." escape="singlequotes">'); return false; } else if (f.default_site_root.value && !is_valid_path(f.default_site_root.value)) { alert('<__trans phrase="You must set a valid Default Site Root." escape="singlequotes">'); return false; } return true; } function is_valid_url(url_){ return url_.match( /^https?:\/\/[A-Za-z0-9!$%()=_.:,;@~-]+/ ); } function is_valid_path(path_){ for(i = 0; i < path_.length; i++){ var buf = escape(path_.substr(i, 1)); if (buf.match(/^%u.*/)){ return false; } if (buf.match(/(%.{2}){2}?/)){ return false; } } return true; } --> </script> <form action="<mt:var name="script_url">" method="post" onsubmit="return validate(this);"> <input type="hidden" name="__mode" value="save_cfg_system_general" /> <input type="hidden" name="return_args" value="<mt:var name="return_args" escape="html">" /> <input type="hidden" name="magic_token" value="<mt:var name="magic_token">" /> <fieldset> <mtapp:setting id="system_email_address" label="<__trans phrase="System Email">" hint="<__trans phrase="The email address used in the From: header of each email sent from the system. The address is used in password recovery, commenter registration, comment, trackback notification and a few other minor events.">" show_hint="1"> <div class="textarea-wrapper"> <input id="system_email_address" name="system_email_address"<mt:if name="system_email_address"> value="<mt:var name="system_email_address">"</mt:if> /> </div> </mt:app:setting> </fieldset> <mt:setvarblock name="action_buttons"> <button type="submit" accesskey="s" title="<__trans phrase="Save changes to these settings (s)">" class="primary-button" ><__trans phrase="Save Changes"></button> </mt:setvarblock> <mt:include name="include/actions_bar.tmpl" bar_position="bottom" hide_pager="1" settings_bar="1"> </form> <mt:include name="include/footer.tmpl">