Exemplo n.º 1
0
/**
 * Wrapper function for the get_module_title function, which is mostly used for pre-MVC modules.
 * 
 * @deprecated use EditView2.php EditView::getModuleTitle() for MVC modules
 *
 * @param  $module       string  to next to the title.  Typically used for form buttons.
 * @param  $module_title string  to display as the module title
 * @param  $show_help    boolean which determines if the print and help links are shown.
 * @return string HTML
 */
function get_module_title($module, $module_title, $show_help)
{
    $ev = new EditView();
    return $ev->getModuleTitle($module, $module_title, $show_help);
}
Exemplo n.º 2
0
/**
 * function to retrieve webtolead image and title. path to help file
 * refactored to use EditView::getModuleTitle()
 *
 * @deprecated use EditView::getModuleTitle() instead
 *
 * @param  $module       string  not used, only for backward compatibility
 * @param  $image_name   string  image name
 * @param  $module_title string  to display as the module title
 * @param  $show_help    boolean which determines if the print and help links are shown.
 * @return string HTML
 */
function get_webtolead_title($module, $image_name, $module_title, $show_help)
{
    $ev = new EditView();
    return $ev->getModuleTitle($image_name, $module_title, $show_help);
}