/**
  * Retreives the admin interface of this object. Anything that overrides
  * this method should call the parent method with it's output at the END of
  * processing.
  * @param string $subclass_admin_interface HTML content of the interface
  * element of a children.
  * @param string $type_interface SIMPLE pour éditer un seul champ, COMPLETE
  *                               pour voir toutes les chaînes, LARGE pour
  *                               avoir un textarea.
  * @return string The HTML fragment for this interface.
  */
 public function getAdminUI($subclass_admin_interface = null, $title = null, $type_interface = "LARGE")
 {
     // Init values.
     $html = '';
     $html .= $subclass_admin_interface;
     $html .= "<div class='admin_section_hint'>" . sprintf(_("To list the available Smarty variables, put %s in the input field, save and then click preview"), "{debug output='html'}") . "</div>\n";
     $html .= "<div class='admin_section_hint'>" . sprintf(_("There are also a few custom Smarty modifiers available: %s"), "urlencode, remove_accents, fsize_format") . "</div>\n";
     return parent::getAdminUI($html, $title, $type_interface);
 }
Exemple #2
0
 /**
  * Retreives the admin interface of this object. Anything that overrides
  * this method should call the parent method with it's output at the END of
  * processing.
  * @param string $subclass_admin_interface HTML content of the interface
  * element of a children.
  * @return string The HTML fragment for this interface.
  */
 public function getAdminUI($subclass_admin_interface = null, $title = null)
 {
     $html = "<div class='admin_section_hint'>" . _("Hints:  Note that the order in which Stylesheets are assigned relative to other content doesn't matter (except relative to other Stylesheets).  Stylesheets will be linked to the page in the order they are assigned, but always after the base stylesheet and network theme pack (if applicable).  They must be written as patches to those stylesheets.") . "</div>";
     $html .= $subclass_admin_interface;
     return parent::getAdminUI($html, $title);
 }