Elgg  Version 1.9
Go to the documentation of this file.
1 <?php
6 if ('/' !== parse_url(elgg_get_site_url(), PHP_URL_PATH)) {
7  $warning = elgg_echo('admin:robots.txt:subdir');
8  echo "<div class=\"elgg-admin-notices\"><p>$warning</p></div>";
9 }
11 echo elgg_view_form('admin/site/set_robots');
elgg parse_url
Parse a URL into its parts.
Definition: elgglib.js:432
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg echo
Translates a string.
Definition: languages.js:43
Get the URL for the current (or specified) site.
elgg_view_form($action, $form_vars=array(), $body_vars=array())
Definition: views.php:1280