Revision: 6532 http://care2002.svn.sourceforge.net/care2002/?rev=6532&view=rev Author: mizuko Date: 2010-06-30 16:35:54 +0000 (Wed, 30 Jun 2010)
Log Message: ----------- see #54 Modified Paths: -------------- care2x/branches/gettext/installer/db/sql/mysql_dump.sql care2x/branches/gettext/main/edv.php care2x/branches/gettext/modules/dept_admin/dept_manage_pass.php care2x/branches/gettext/modules/system_admin/admin_datenbank-pass.php care2x/branches/gettext/modules/system_admin/admin_datenbank.php care2x/branches/gettext/modules/system_admin/admin_main-pass.php care2x/branches/gettext/modules/system_admin/admin_system-admi-menu.php care2x/branches/gettext/modules/system_admin/admin_system-admi-welcome.php care2x/branches/gettext/modules/system_admin/admin_user_access_delete.php care2x/branches/gettext/modules/system_admin/admin_user_access_lock.php care2x/branches/gettext/modules/system_admin/admin_user_access_pass.php care2x/branches/gettext/modules/system_admin/admin_user_access_search.php care2x/branches/gettext/modules/system_admin/admin_user_access_update.php care2x/branches/gettext/modules/system_admin/admin_user_role_delete.php care2x/branches/gettext/modules/system_admin/admin_user_role_search.php care2x/branches/gettext/plugins/system_new_module/edv_modul_neu.php Added Paths: ----------- care2x/branches/gettext/modules/system_admin/admin.php Removed Paths: ------------- care2x/branches/gettext/modules/system_admin/edv.php care2x/branches/gettext/modules/system_admin/phpmyadmin-start.php Modified: care2x/branches/gettext/installer/db/sql/mysql_dump.sql =================================================================== --- care2x/branches/gettext/installer/db/sql/mysql_dump.sql 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/installer/db/sql/mysql_dump.sql 2010-06-30 16:35:54 UTC (rev 6532) @@ -4897,7 +4897,7 @@ INSERT INTO care_menu_main VALUES ('12', '60', 'Medical Depot', '', 'LDMedDepot', 'modules/medstock/medstock.php ', '1', '', '', 20030922232015, 00000000000000); INSERT INTO care_menu_main VALUES ('13', '65', 'Directory', '', 'LDDirectory', 'modules/phone_directory/phone.php', '1', '', '', 20030922232015, 00000000000000); INSERT INTO care_menu_main VALUES ('14', '70', 'Tech Support', '', 'LDTechSupport', 'modules/tech/tech.php', '1', '', '', 20030922232015, 00000000000000); -INSERT INTO care_menu_main VALUES ('15', '72', 'System Admin', '', 'LDEDP', 'modules/system_admin/edv.php', '1', '', '', 20030922232015, 00000000000000); +INSERT INTO care_menu_main VALUES ('15', '72', 'System Admin', '', 'LDEDP', 'modules/system_admin/admin.php', '1', '', '', 20030922232015, 00000000000000); INSERT INTO care_menu_main VALUES ('16', '75', 'Intranet Email', '', 'LDIntraEmail', 'modules/intranet_email/intra-email-pass.php', '1', '', '', 20030922232015, 00000000000000); INSERT INTO care_menu_main VALUES ('18', '85', 'Special Tools', '', 'LDSpecials', 'main/spediens.php', '1', '', '', 20030922232015, 00000000000000); INSERT INTO care_menu_main VALUES ('19', '90', 'Login', '', 'LDLogin', 'main/login.php', '1', '', '', 20030922232015, 00000000000000); @@ -4968,12 +4968,12 @@ INSERT INTO care_registry VALUES ('radiology', 'modules/radiology/radiolog.php', 'modules/news/newscolumns.php', '', '', '', '', '', '', 00000000000000, '', 00000000000000); INSERT INTO care_registry VALUES ('doctors', 'modules/doctors/doctors.php', 'modules/news/newscolumns.php', '', '', '', '', '', '', 00000000000000, '', 00000000000000); INSERT INTO care_registry VALUES ('nursing', 'modules/nursing/pflege.php', 'modules/news/newscolumns.php', '', '', '', '', '', '', 00000000000000, '', 00000000000000); -INSERT INTO care_registry VALUES ('edp', 'modules/admin/edv.php', 'modules/news/newscolumns.php', '', '', '', '', '', '', 00000000000000, '', 00000000000000); +INSERT INTO care_registry VALUES ('edp', 'modules/admin/admin.php', 'modules/news/newscolumns.php', '', '', '', '', '', '', 00000000000000, '', 00000000000000); INSERT INTO care_registry VALUES ('pharmacy', 'modules/pharmacy/pharmacy.php', 'modules/news/newscolumns.php', '', '', '', '', '', '', 00000000000000, '', 00000000000000); INSERT INTO care_registry VALUES ('pr', 'modules/news/start_page.php', 'modules/news/start_page.php', 'modules/news/headline-edit.php', 'modules/news/headline-read.php', 'modules/news/editor-pass.php', '', '', '', 00000000000000, '', 00000000000000); INSERT INTO care_registry VALUES ('cafe', 'modules/cafeteria/cafenews.php', 'modules/cafeteria/cafenews.php', 'modules/cafenews/cafenews-edit.php', 'modules/cafenews/cafenews-read.php', 'modules/cafenews/cafenews-edit-pass.php', '', '', '', 00000000000000, '', 00000000000000); INSERT INTO care_registry VALUES ('main_start', 'modules/news/start_page.php', 'modules/news/start_page.php', 'modules/news/headline-edit-select-art.php', 'modules/news/headline-read.php', '', '', '', '', 00000000000000, '', 00000000000000); -INSERT INTO care_registry VALUES ('it', 'modules/system_admin/edv.php', 'modules/news/newscolumns.php', 'modules/news/editor-4plus1-select-art.php', 'modules/news/editor-4plus1-read.php', '', '', '', '', 00000000000000, '', 00000000000000); +INSERT INTO care_registry VALUES ('it', 'modules/system_admin/admin.php', 'modules/news/newscolumns.php', 'modules/news/editor-4plus1-select-art.php', 'modules/news/editor-4plus1-read.php', '', '', '', '', 00000000000000, '', 00000000000000); INSERT INTO care_registry VALUES ('admission_module', 'modules/admission/admission_start.php', '', '', '', 'modules/admission/admission_pass.php', '', '', '', 00000000000000, '', 00000000000000); -- Modified: care2x/branches/gettext/main/edv.php =================================================================== --- care2x/branches/gettext/main/edv.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/main/edv.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -4,6 +4,6 @@ require($root_path.'include/helpers/inc_environment_global.php'); require_once($root_path.'include/helpers/inc_environment_global.php'); -header('Location:'.$root_path.'modules/system_admin/edv.php?sid='.$sid.'&lang='.$lang); +header('Location:'.$root_path.'modules/system_admin/admin.php?sid='.$sid.'&lang='.$lang); exit; ?> Modified: care2x/branches/gettext/modules/dept_admin/dept_manage_pass.php =================================================================== --- care2x/branches/gettext/modules/dept_admin/dept_manage_pass.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/dept_admin/dept_manage_pass.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -12,7 +12,7 @@ $fileforward="dept_manage.php?sid=".$sid."&lang=".$lang; $thisfile=basename(__FILE__); -$breakfile="edv.php?sid=".$sid."&lang=".$lang; +$breakfile="admin.php?sid=".$sid."&lang=".$lang; $lognote="$LDNursingManage ok"; Copied: care2x/branches/gettext/modules/system_admin/admin.php (from rev 6530, care2x/branches/gettext/modules/system_admin/edv.php) =================================================================== --- care2x/branches/gettext/modules/system_admin/admin.php (rev 0) +++ care2x/branches/gettext/modules/system_admin/admin.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -0,0 +1,103 @@ +<?php +error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR); +require('./roots.php'); +require($root_path.'include/helpers/inc_environment_global.php'); +/** +* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02 +* GNU General Public License +* Copyright 2002,2003,2004,2005 Elpidio Latorilla +* elpi...@care2x.org, +* +* See the file "copy_notice.txt" for the licence notice +*/ +define('LANG_FILE','edp.php'); +define('NO_2LEVEL_CHK',1); +require_once($root_path.'include/helpers/inc_front_chain_lang.php'); + +require($root_path.'include/helpers/inc_2level_reset.php'); + +$breakfile=$root_path.'main/startframe.php'.URL_APPEND; + +if(!isset($_SESSION['sess_path_referer'])) $_SESSION['sess_path_referer'] = ""; + +$returnfile=$root_path.$_SESSION['sess_path_referer'].URL_APPEND; + +$_SESSION['sess_file_return']=basename(__FILE__); +$_SESSION['sess_user_origin']='it'; +/* Set this file as the referer */ +$_SESSION['sess_path_referer']=$top_dir.basename(__FILE__); + +# Start Smarty templating here + /** + * LOAD Smarty + */ + + # Note: it is advisable to load this after the inc_front_chain_lang.php so + # that the smarty script can use the user configured template theme + + require_once($root_path.'gui/smarty_template/smarty_care.class.php'); + $smarty = new smarty_care('common'); + + # Create a helper smarty object without reinitializing the GUI + $smarty2 = new smarty_care('common', FALSE); + + # Title in the title bar + $smarty->assign('sToolbarTitle',$LDEDP); + + # href for the back button +// $smarty->assign('pbBack',$returnfile); + + # href for the help button + $smarty->assign('pbHelp',"javascript:gethelp('submenu1.php','$LDEDP')"); + + # href for the close button + $smarty->assign('breakfile',$breakfile); + + # Window bar title + $smarty->assign('title',$LDEDP); + + # Prepare the submenu icons + + $aSubMenuIcon=array(createComIcon($root_path,'lockfolder.gif','0'), + createComIcon($root_path,'bubble.gif','0') + ); + +# Prepare the submenu item descriptions + +$aSubMenuText=array($LDSysOpLoginTxt, + $LDNewsTxt + ); + +# Prepare the submenu item links indexed by their template tags + +$aSubMenuItem=array('LDQViewTxt' => '<a href="admin_main-pass.php'.URL_APPEND.'&target=adminlogin">'.$LDManageAccess.'</a>', + 'LDNewsTxt' => '<a href="'.$root_path.'modules/news/newscolumns.php'.URL_APPEND.'&dept_nr=27">'.$LDNews.'</a>', + ); + +# Create the submenu rows + +$iRunner = 0; + +while(list($x,$v)=each($aSubMenuItem)){ + $sTemp=''; + ob_start(); + if($cfg['icons'] != 'no_icon') $smarty2->assign('sIconImg','<img '.$aSubMenuIcon[$iRunner].'>'); + $smarty2->assign('sSubMenuItem',$v); + $smarty2->assign('sSubMenuText',$aSubMenuText[$iRunner]); + $smarty2->display('common/submenu_row.tpl'); + $sTemp = ob_get_contents(); + ob_end_clean(); + $iRunner++; + $smarty->assign($x,$sTemp); +} + +# Assign the submenu to the mainframe center block + + $smarty->assign('sMainBlockIncludeFile','system_admin/submenu_edv.tpl'); + + /** + * show Template + */ + $smarty->display('common/mainframe.tpl'); + +?> Modified: care2x/branches/gettext/modules/system_admin/admin_datenbank-pass.php =================================================================== --- care2x/branches/gettext/modules/system_admin/admin_datenbank-pass.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/system_admin/admin_datenbank-pass.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -13,7 +13,7 @@ $fileforward="admin_datenbank.php"; $thisfile="admin_datenbank-pass.php"; -$breakfile="edv.php"; +$breakfile="admin.php"; if($_COOKIE['ck_login_logged'.$sid]&&$_COOKIE['ck_login_userid'.$sid]) { Modified: care2x/branches/gettext/modules/system_admin/admin_datenbank.php =================================================================== --- care2x/branches/gettext/modules/system_admin/admin_datenbank.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/system_admin/admin_datenbank.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -25,7 +25,7 @@ <!-- function closewin() { - location.href='edv.php?sid=<?php echo $$ck_sid_buffer.'&uid='.$r;?>'; + location.href='admin.php?sid=<?php echo $$ck_sid_buffer.'&uid='.$r;?>'; } // --> </script> Modified: care2x/branches/gettext/modules/system_admin/admin_main-pass.php =================================================================== --- care2x/branches/gettext/modules/system_admin/admin_main-pass.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/system_admin/admin_main-pass.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -17,7 +17,7 @@ require_once($root_path.'global_conf/areas_allow.php'); $allowedarea=&$allow_area['edp']; -$breakfile='edv.php?sid='.$sid.'&lang='.$lang; +$breakfile='admin.php?sid='.$sid.'&lang='.$lang; switch($target) { Modified: care2x/branches/gettext/modules/system_admin/admin_system-admi-menu.php =================================================================== --- care2x/branches/gettext/modules/system_admin/admin_system-admi-menu.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/system_admin/admin_system-admi-menu.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -15,7 +15,7 @@ $local_user='ck_admin_user'; require_once($root_path.'include/helpers/inc_front_chain_lang.php'); if(isset($ck_admin_admin_user)) setcookie('ck_edvzugang_user',$ck_admin_admin_user); -$breakfile='edv.php'.URL_APPEND; +$breakfile='admin.php'.URL_APPEND; # Set the db manager app here switch($dbtype){ Modified: care2x/branches/gettext/modules/system_admin/admin_system-admi-welcome.php =================================================================== --- care2x/branches/gettext/modules/system_admin/admin_system-admi-welcome.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/system_admin/admin_system-admi-welcome.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -15,7 +15,7 @@ $local_user='ck_admin_user'; require_once($root_path.'include/helpers/inc_front_chain_lang.php'); if(isset($ck_admin_admin_user)) setcookie('ck_edvzugang_user',$ck_admin_admin_user); -$breakfile='edv.php'.URL_APPEND; +$breakfile='admin.php'.URL_APPEND; $_SESSION['sess_file_return']=basename(__FILE__); # Start Smarty templating here Modified: care2x/branches/gettext/modules/system_admin/admin_user_access_delete.php =================================================================== --- care2x/branches/gettext/modules/system_admin/admin_user_access_delete.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/system_admin/admin_user_access_delete.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -16,7 +16,7 @@ $breakfile='admin_system-admi-welcome.php'.URL_APPEND; $returnfile='admin_user_access_list.php'.URL_APPEND; -//$_SESSION['sess_file_return']='edv.php'; +//$_SESSION['sess_file_return']='admin.php'; require_once($root_path.'include/core/class_access.php'); $user = & new Access($itemname); Modified: care2x/branches/gettext/modules/system_admin/admin_user_access_lock.php =================================================================== --- care2x/branches/gettext/modules/system_admin/admin_user_access_lock.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/system_admin/admin_user_access_lock.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -21,7 +21,7 @@ //$updatereturn='admin_user_access_list.php'; $returnfile=$_SESSION['sess_file_return'].URL_APPEND; //$db->debug=true; -//$_SESSION['sess_file_return']='edv.php'; +//$_SESSION['sess_file_return']='admin.php'; require_once($root_path.'include/core/class_access.php'); $user = & new Access($itemname); Modified: care2x/branches/gettext/modules/system_admin/admin_user_access_pass.php =================================================================== --- care2x/branches/gettext/modules/system_admin/admin_user_access_pass.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/system_admin/admin_user_access_pass.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -42,7 +42,7 @@ } $thisfile='admin_user_access_pass.php'; -$breakfile='edv.php?sid='.$sid.'&lang='.$lang; +$breakfile='admin.php?sid='.$sid.'&lang='.$lang; $lognote="$title ok"; Modified: care2x/branches/gettext/modules/system_admin/admin_user_access_search.php =================================================================== --- care2x/branches/gettext/modules/system_admin/admin_user_access_search.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/system_admin/admin_user_access_search.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -21,7 +21,7 @@ require_once($root_path.'include/helpers/inc_config_color.php'); -$breakfile='edv.php?sid='.$sid.'&lang='.$lang; +$breakfile='admin.php?sid='.$sid.'&lang='.$lang; $returnfile=$_SESSION['sess_file_return'].URL_APPEND; $_SESSION['sess_file_return']=basename(__FILE__); Modified: care2x/branches/gettext/modules/system_admin/admin_user_access_update.php =================================================================== --- care2x/branches/gettext/modules/system_admin/admin_user_access_update.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/system_admin/admin_user_access_update.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -12,7 +12,7 @@ */ require($root_path.'include/helpers/inc_accessplan_areas_functions.php'); -$breakfile="edv.php?sid=".$sid."&lang=".$lang; +$breakfile="admin.php?sid=".$sid."&lang=".$lang; ?> Modified: care2x/branches/gettext/modules/system_admin/admin_user_role_delete.php =================================================================== --- care2x/branches/gettext/modules/system_admin/admin_user_role_delete.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/system_admin/admin_user_role_delete.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -19,7 +19,7 @@ $breakfile='admin_system-admi-welcome.php'.URL_APPEND; $returnfile='admin_user_role_list.php'.URL_APPEND; -//$_SESSION['sess_file_return']='edv.php'; +//$_SESSION['sess_file_return']='admin.php'; require_once($root_path.'include/core/class_access.php'); $role = & new Access(); Modified: care2x/branches/gettext/modules/system_admin/admin_user_role_search.php =================================================================== --- care2x/branches/gettext/modules/system_admin/admin_user_role_search.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/system_admin/admin_user_role_search.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -23,7 +23,7 @@ require_once($root_path.'include/helpers/inc_config_color.php'); -$breakfile='edv.php?sid='.$sid.'&lang='.$lang; +$breakfile='admin.php?sid='.$sid.'&lang='.$lang; $returnfile=$_SESSION['sess_file_return'].URL_APPEND; $_SESSION['sess_file_return']=basename(__FILE__); Deleted: care2x/branches/gettext/modules/system_admin/edv.php =================================================================== --- care2x/branches/gettext/modules/system_admin/edv.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/system_admin/edv.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -1,103 +0,0 @@ -<?php -error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR); -require('./roots.php'); -require($root_path.'include/helpers/inc_environment_global.php'); -/** -* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02 -* GNU General Public License -* Copyright 2002,2003,2004,2005 Elpidio Latorilla -* elpi...@care2x.org, -* -* See the file "copy_notice.txt" for the licence notice -*/ -define('LANG_FILE','edp.php'); -define('NO_2LEVEL_CHK',1); -require_once($root_path.'include/helpers/inc_front_chain_lang.php'); - -require($root_path.'include/helpers/inc_2level_reset.php'); - -$breakfile=$root_path.'main/startframe.php'.URL_APPEND; - -if(!isset($_SESSION['sess_path_referer'])) $_SESSION['sess_path_referer'] = ""; - -$returnfile=$root_path.$_SESSION['sess_path_referer'].URL_APPEND; - -$_SESSION['sess_file_return']=basename(__FILE__); -$_SESSION['sess_user_origin']='it'; -/* Set this file as the referer */ -$_SESSION['sess_path_referer']=$top_dir.basename(__FILE__); - -# Start Smarty templating here - /** - * LOAD Smarty - */ - - # Note: it is advisable to load this after the inc_front_chain_lang.php so - # that the smarty script can use the user configured template theme - - require_once($root_path.'gui/smarty_template/smarty_care.class.php'); - $smarty = new smarty_care('common'); - - # Create a helper smarty object without reinitializing the GUI - $smarty2 = new smarty_care('common', FALSE); - - # Title in the title bar - $smarty->assign('sToolbarTitle',$LDEDP); - - # href for the back button -// $smarty->assign('pbBack',$returnfile); - - # href for the help button - $smarty->assign('pbHelp',"javascript:gethelp('submenu1.php','$LDEDP')"); - - # href for the close button - $smarty->assign('breakfile',$breakfile); - - # Window bar title - $smarty->assign('title',$LDEDP); - - # Prepare the submenu icons - - $aSubMenuIcon=array(createComIcon($root_path,'lockfolder.gif','0'), - createComIcon($root_path,'bubble.gif','0') - ); - -# Prepare the submenu item descriptions - -$aSubMenuText=array($LDSysOpLoginTxt, - $LDNewsTxt - ); - -# Prepare the submenu item links indexed by their template tags - -$aSubMenuItem=array('LDQViewTxt' => '<a href="admin_main-pass.php'.URL_APPEND.'&target=adminlogin">'.$LDManageAccess.'</a>', - 'LDNewsTxt' => '<a href="'.$root_path.'modules/news/newscolumns.php'.URL_APPEND.'&dept_nr=27">'.$LDNews.'</a>', - ); - -# Create the submenu rows - -$iRunner = 0; - -while(list($x,$v)=each($aSubMenuItem)){ - $sTemp=''; - ob_start(); - if($cfg['icons'] != 'no_icon') $smarty2->assign('sIconImg','<img '.$aSubMenuIcon[$iRunner].'>'); - $smarty2->assign('sSubMenuItem',$v); - $smarty2->assign('sSubMenuText',$aSubMenuText[$iRunner]); - $smarty2->display('common/submenu_row.tpl'); - $sTemp = ob_get_contents(); - ob_end_clean(); - $iRunner++; - $smarty->assign($x,$sTemp); -} - -# Assign the submenu to the mainframe center block - - $smarty->assign('sMainBlockIncludeFile','system_admin/submenu_edv.tpl'); - - /** - * show Template - */ - $smarty->display('common/mainframe.tpl'); - -?> Deleted: care2x/branches/gettext/modules/system_admin/phpmyadmin-start.php =================================================================== --- care2x/branches/gettext/modules/system_admin/phpmyadmin-start.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/modules/system_admin/phpmyadmin-start.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -1,54 +0,0 @@ -<?php -error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR); -require('./roots.php'); -require($root_path.'include/helpers/inc_environment_global.php'); -/** -* CARE2X Integrated Hospital Information System Deployment 2.1 - 2004-10-02 -* GNU General Public License -* Copyright 2002,2003,2004,2005 Elpidio Latorilla -* elpi...@care2x.org, -* -* See the file "copy_notice.txt" for the licence notice -*/ -define('LANG_FILE','edp.php'); -$local_user='ck_admin_user'; -require_once($root_path.'include/helpers/inc_front_chain_lang.php'); - -switch($dbtype){ - case 'mysql' : - $sPrompt = $LDMySQLManage; - $sAction = $root_path.'modules/phpmyadmin/index.php'; - break; - case 'postgre': - case 'postgres7': - $sPrompt = str_ireplace('mysql','Pg',$LDMySQLManage); - $sAction = $root_path.'modules/phppgadmin/index.php'; - break; -} -?> -<?php html_rtl($lang); ?> - <head> - <?php echo setCharSet(); ?> - <title></title> - <?php require($root_path.'include/helpers/inc_css_a_hilitebu.php'); ?> - </head> - <body> - - <p></p> - <font class="prompt"> - <center> - <img <?php echo createMascot($root_path,'mascot1_r.gif','0','bottom') ?> align="absmiddle"><b><?php echo $sPrompt ?></b><p> - <form action="<?php echo $sAction; ?>" method="post"> - <input type="hidden" name="lang" value="<?php echo $lang ?>"> - <input type="hidden" name="sid" value="<?php echo $sid; ?>"> - <input type="submit" value="<?php echo $LDContinue ?>"> - </form><p> - <form action="edv.php" method="post"> - <input type="hidden" name="lang" value="<?php echo $lang ?>"> - <input type="hidden" name="sid" value="<?php echo $sid; ?>"> - <input type="hidden" name="target" value="sqldb"> - <input type="submit" value="<?php echo $LDCancel ?>"> - </form> - </font> - </body> -</html> Modified: care2x/branches/gettext/plugins/system_new_module/edv_modul_neu.php =================================================================== --- care2x/branches/gettext/plugins/system_new_module/edv_modul_neu.php 2010-06-30 16:33:30 UTC (rev 6531) +++ care2x/branches/gettext/plugins/system_new_module/edv_modul_neu.php 2010-06-30 16:35:54 UTC (rev 6532) @@ -24,7 +24,7 @@ ?> <!-- Java Script f\xFCr Entscheidung ob das Modul so angelegt werden soll oder nicht. -FAlls ja, admin_modul_neu_2 php ausf\xFChren, falls nein, eine Seite zur\xFCck zu edv.php +FAlls ja, admin_modul_neu_2 php ausf\xFChren, falls nein, eine Seite zur\xFCck zu admin.php return false ist n\xF6tig damit die action - Anweisung in der FORM nicht ausgef\xFChrt wird. Die Action muss vorhanden sein, falls ein Browser Java nicht aktiviert hat. --> <script language="JavaScript" type="text/javascript"> @@ -35,7 +35,7 @@ return false; } function submitnein(){ - //document.ModulNeu.action="../system_admin/edv.php"; + //document.ModulNeu.action="../system_admin/admin.php"; document.ModulNeu.action="../system_admin/sub_modul_neu.php"; document.ModulNeu.submit(); return false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Care2002-developers mailing list Care2002-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/care2002-developers