XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
tpl_functions.php File Reference

Go to the source code of this file.

Functions

 redirectMsg ($url, $msg='', $level=5, $icon='')
 
 rmc_server_var ($from, $key, $default='')
 
 showMessage ($msg, $level=0)
 
 tpl_cycle ($values, $delimiter= ',', $reset=false)
 
 xoops_cp_location ($location)
 

Function Documentation

redirectMsg (   $url,
  $msg = '',
  $level = 5,
  $icon = '' 
)

FunciĆ³n para mostrar un mensaje de error en determinadas pginas

Parameters
string$urlPgina en la que se mostrar el error
string$msgMensaje de Error
int$levelIndicates the level of the message (error, info, warn, etc.) You can use the constants RMMSG_INFO, RMMSG_WARN... or you can specify your own level number
string$iconURL for an icon to show in message. This value is used by templates.

Definition at line 56 of file tpl_functions.php.

References $i, and $url.

Referenced by activate_rm_plugin(), activate_users(), category_status(), configure_rm_plugin(), delete_blocks(), delete_category(), delete_comments(), delete_image(), delete_positions(), delete_users(), edit_comment(), edit_image(), RmcommonCorePreload\eventCoreIncludeFunctionsRedirectheader(), get_file_now(), install_rm_plugin(), module_disable_now(), module_install(), module_install_now(), module_uninstall_now(), module_update_now(), new_category(), rm_change_theme(), save_category(), save_comment(), save_data(), save_position(), save_settings_rm_plugin(), send_mail(), set_comments_status(), show_images(), toggle_visibility(), uninstall_rm_plugin(), update_image(), update_rm_plugin(), and user_form().

Here is the caller graph for this function:

rmc_server_var (   $from,
  $key,
  $default = '' 
)
showMessage (   $msg,
  $level = 0 
)

Definition at line 76 of file tpl_functions.php.

Referenced by RMHtaccess\checkHealth(), images_form(), save_block_order(), and show_rm_blocks().

Here is the caller graph for this function:

tpl_cycle (   $values,
  $delimiter = ',',
  $reset = false 
)

This file contains a set of useful functions for template designers

Definition at line 14 of file tpl_functions.php.

xoops_cp_location (   $location)

Create location for modules

Definition at line 45 of file tpl_functions.php.

References RMTemplate\get().

Referenced by show_mailer(), show_rm_blocks(), show_users(), and user_form().

Here is the call graph for this function:

Here is the caller graph for this function: