XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
old_theme_functions.php
Go to the documentation of this file.
1 <?php
20 // These are needed when viewing old modules (that don't use Smarty template files) when a theme that use Smarty templates are selected.
21 // function_exists check is needed for inclusion from the admin side
22 if (! function_exists('opentable')) {
23  function OpenTable($width = '100%')
24  {
25  $GLOBALS['xoopsLogger']->addDeprecated("Function '" . __FUNCTION__ . "' in '" . __FILE__ . "' is deprecated, should not be used any more");
26  echo '<table width="' . $width . '" cellspacing="0" class="outer"><tr><td class="even">';
27  }
28 }
29 
30 if (! function_exists('closetable')) {
31  function CloseTable()
32  {
33  $GLOBALS['xoopsLogger']->addDeprecated("Function '" . __FUNCTION__ . "' in '" . __FILE__ . "' is deprecated, should not be used any more");
34  echo '</td></tr></table>';
35  }
36 }
37 
38 if (! function_exists('themecenterposts')) {
40  {
41  $GLOBALS['xoopsLogger']->addDeprecated("Function '" . __FUNCTION__ . "' in '" . __FILE__ . "' is deprecated, should not be used any more");
42  echo '<table cellpadding="4" cellspacing="1" width="98%" class="outer"><tr><td class="head">' . $title . '</td></tr><tr><td><br />' . $content . '<br /></td></tr></table>';
43  }
44 }
45 ?>