[ Index ] |
PHP Cross Reference of phpwcms V1.4.3 _r380 (23.11.09) |
[Summary view] [Print] [Text view]
1 <?php 2 // MOD Title: phpwcms Graphical Text MOD 3 // MOD Author: Jerome < spam@jerome-gamez.de > (Jerome Gamez) http://jerome-gamez.de/ 4 // MOD Description: Adds the possibilty to create dynamic graphical text 5 // with replacement tags 6 // 7 // MOD Version: 2.0 8 9 // ---------------------------------------------------------------- 10 // obligate check for phpwcms constants 11 if (!defined('PHPWCMS_ROOT')) { 12 die("You Cannot Access This Script Directly, Have a Nice Day."); 13 } 14 // ---------------------------------------------------------------- 15 16 17 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_lib/functions.general.inc.php'); 18 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_front/gt.func.inc.php'); 19 // Jetzt kommt das company mod-menü. Soll auf jeder Seite angezeigt werden. 20 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_tmpl/gt.menu.tmpl.php'); 21 22 $gt_mod_s = empty($_GET["s"]) ? false : $_GET["s"]; 23 $gt_mod_t = empty($_GET["t"]) ? false : $_GET["t"]; 24 25 switch($gt_mod_s) 26 { 27 28 case "fonts": // Schriftarten 29 switch($gt_mod_t) 30 { 31 case "add": // Schriftart, die im Ordner ist, in die Datenbank übernehmen 32 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_tmpl/gt.font.update.tmpl.php'); 33 break; 34 35 case "update": // Schriftart-Daten bearbeiten 36 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_tmpl/gt.font.update.tmpl.php'); 37 break; 38 39 default: // Schriftartenliste 40 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_tmpl/gt.fonts.tmpl.php'); 41 break; 42 } 43 break; 44 45 case "colors": // Farben 46 switch($gt_mod_t) 47 { 48 case "add": // Farbe hinzufügen 49 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_tmpl/gt.color.update.tmpl.php'); 50 break; 51 52 case "update": // Farbdaten bearbeiten 53 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_tmpl/gt.color.update.tmpl.php'); 54 break; 55 56 case "delete": // Farbdaten löschen 57 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_lib/gt.color.delete.inc.php'); 58 break; 59 60 default: // Farbliste 61 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_tmpl/gt.colors.tmpl.php'); 62 break; 63 } 64 break; 65 66 case "styles": // Styles 67 switch($gt_mod_t) 68 { 69 case "add": // Stil hinzufügen 70 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_tmpl/gt.style.update.tmpl.php'); 71 break; 72 73 case "update": // Stil bearbeiten 74 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_tmpl/gt.style.update.tmpl.php'); 75 break; 76 77 case "delete": // Stil löschen 78 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_lib/gt.style.delete.inc.php'); 79 break; 80 81 default: // Styles-Liste 82 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_tmpl/gt.styles.tmpl.php'); 83 break; 84 } 85 break; 86 87 default: // Graphischer Text MOD-Startseite 88 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_tmpl/gt.index.tmpl.php'); 89 break; 90 } 91 92 include_once (PHPWCMS_ROOT.'/include/inc_module/mod_graphical_text/inc_tmpl/gt.footer.tmpl.php'); 93 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Dec 30 05:55:15 2009 | Cross-referenced by PHPXref 0.7 |