ispman/ispman-web/cgi-bin/tmpl/domains selectDomainType.tmpl,1.8,1.8.2.1 summary.tmpl,1.8,1.8.4.1 view_Domain.tmpl,1.7,1.7.6.1

Joerg Delker <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29520/ispman-web/cgi-bin/tmpl/domains

Modified Files:
      Tag: dev_1_3-bigcleanup
	selectDomainType.tmpl summary.tmpl view_Domain.tmpl 
Log Message:
first cleanup changes
aims:
- have nice, clean, independant Config.pm to manage *all* ISPMan configs
- remove "name space pollution" (with using objects more strictly there is no need to export everything, code is better readable/understandable)
- separating libs for backend and UI

Index: selectDomainType.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/selectDomainType.tmpl,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -u -d -r1.8 -r1.8.2.1
--- selectDomainType.tmpl	16 Jul 2004 05:55:20 -0000	1.8
+++ selectDomainType.tmpl	10 Aug 2004 20:54:34 -0000	1.8.2.1
@@ -1,8 +1,8 @@
-<LINK HREF="<perl>$ispman->getConfig('ispmanUrlPrefix')</perl>/ispman.css" REL="stylesheet" TYPE="text/css">
-<script src="<perl>$ispman->getConfig('ispmanUrlPrefix')</perl>/js/ispman.js"></script>
+<LINK HREF="<perl>ISPMan::Config->get('ispmanUrlPrefix')</perl>/ispman.css" REL="stylesheet" TYPE="text/css">
+<script src="<perl>ISPMan::Config->get('ispmanUrlPrefix')</perl>/js/ispman.js"></script>
  <P>
 <table border=0>
-<form action="<perl>$ispman->getConfig('ispmanUrlPrefix')</perl>/admin/index.cgi" method="POST" onsubmit="return CheckDomainForm(this)">
+<form action="<perl>ISPMan::Config->get('ispmanUrlPrefix')</perl>/admin/index.cgi" method="POST" onsubmit="return CheckDomainForm(this)">
 
 <tr>
     <td colspan=2>Please Select the Domain Type that you want to add</td>
@@ -65,7 +65,7 @@
     <td>
         <SELECT MULTIPLE name=ispmanDomainServices>
         <perl>
-        #my $services=$ispman->getConf("ispmanDomainServices");
+        #my $services=ISPMan::Config->get("ispmanDomainServices");
         my $services=$ispman->getDomainServices();
         my $text="";
         for (keys %$services){

Index: view_Domain.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/view_Domain.tmpl,v
retrieving revision 1.7
retrieving revision 1.7.6.1
diff -u -d -r1.7 -r1.7.6.1
--- view_Domain.tmpl	4 Jan 2004 18:56:14 -0000	1.7
+++ view_Domain.tmpl	10 Aug 2004 20:54:34 -0000	1.7.6.1
@@ -1,4 +1,4 @@
-<LINK HREF="<perl>$ispman->getConfig('ispmanUrlPrefix')</perl>/ispman.css" REL="stylesheet" TYPE="text/css">
+<LINK HREF="<perl>ISPMan::Config->get('ispmanUrlPrefix')</perl>/ispman.css" REL="stylesheet" TYPE="text/css">
    
 
    

Index: summary.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/summary.tmpl,v
retrieving revision 1.8
retrieving revision 1.8.4.1
diff -u -d -r1.8 -r1.8.4.1
--- summary.tmpl	6 Feb 2004 17:03:34 -0000	1.8
+++ summary.tmpl	10 Aug 2004 20:54:34 -0000	1.8.4.1
@@ -2,7 +2,7 @@
 <HTML>
 <HEAD>
 <TITLE>ISPMan summary</TITLE>
-<LINK HREF="<perl>$ispman->getConfig('ispmanUrlPrefix')</perl>/ispman.css" REL="stylesheet" TYPE="text/css">
+<LINK HREF="<perl>ISPMan::Config->get('ispmanUrlPrefix')</perl>/ispman.css" REL="stylesheet" TYPE="text/css">
 
 
 </HEAD>



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.