[ Index ] |
PHP Cross Reference of phpwcms V1.4.7 _r403 (01.11.10) |
[Summary view] [Print] [Text view]
1 <?php 2 3 // ---------------------------------------------------------------- 4 // obligate check for phpwcms constants 5 if (!defined('PHPWCMS_ROOT')) { 6 die("You Cannot Access This Script Directly, Have a Nice Day."); 7 } 8 // ---------------------------------------------------------------- 9 10 11 function get_submenustatus($m) 12 { 13 $gt_mod_s = empty($_GET["s"]) ? false : $_GET["s"]; 14 if ($m == $gt_mod_s) { 15 return "class=\"active\""; 16 } else { 17 return ""; 18 } 19 } 20 21 22 $BE['HEADER']['gt_mod'] = ' 23 <style type="text/css"> 24 <!-- 25 .submenu 26 { 27 padding: 5px; 28 background: #FEE3CF; 29 color: #000000; 30 border: 1px solid #888888; 31 } 32 33 .submenu a, .submenu a:link, .submenu a:visited 34 { 35 font-weight: normal; 36 text-decoration: none; 37 color: #000000; 38 } 39 40 .submenu a:hover 41 { 42 font-weight: normal; 43 text-decoration: none; 44 border-bottom: 1px solid #FF0000; 45 color: #000000; 46 } 47 48 .submenu a.active 49 { 50 text-decoration: none; 51 font-weight: bold; 52 color: #FF0000; 53 } 54 55 .submenu .inactive 56 { 57 color: #666666; 58 font-style: italic; 59 } 60 61 .hidden 62 { 63 visibility: hidden; 64 display: none; 65 } 66 67 .visible 68 { 69 visibility: visible; 70 display: inline; 71 } 72 .jeromefooter 73 { 74 border: 1px solid #444444; 75 background: #F5F5F5; 76 color: #333333; 77 text-align: right; 78 padding: 2px 5px 2px 5px; 79 margin: 5px 0px 0px 0px; 80 } 81 //--> 82 </style> 83 <script type="text/javascript"> 84 <!-- 85 function toggletransparency() 86 { 87 format = document.forms["gt_styles"].elements["format"].value; 88 89 if (format == "jpg") 90 { 91 document.getElementById("fgt").className = "hidden"; 92 document.getElementById("bgt").className = "hidden"; 93 } 94 else 95 { 96 document.getElementById("fgt").className = "visible"; 97 document.getElementById("bgt").className = "visible"; 98 } 99 } 100 //--> 101 </script> 102 '; 103 ?> 104 <div class="submenu"> 105 <a href="phpwcms.php?do=modules&p=2" <?php echo get_submenustatus(""); ?>><?php echo $BL['be_gt_submenu_home']; ?></a> | 106 <a href="phpwcms.php?do=modules&p=2&s=fonts" <?php echo get_submenustatus("fonts"); ?>><?php echo $BL['be_gt_submenu_fonts']; ?></a> | 107 <a href="phpwcms.php?do=modules&p=2&s=colors" <?php echo get_submenustatus("colors"); ?>><?php echo $BL['be_gt_submenu_colors']; ?></a> | 108 <a href="phpwcms.php?do=modules&p=2&s=styles" <?php echo get_submenustatus("styles"); ?>><?php echo $BL['be_gt_submenu_styles']; ?></a></div>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Nov 16 22:51:00 2010 | Cross-referenced by PHPXref 0.7 |