ispman/ispman-web/cgi-bin/tmpl/domains/edit header.tmpl,1.11,1.11.4.1 homedirectory.tmpl,1.5,1.5.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/edit
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29520/ispman-web/cgi-bin/tmpl/domains/edit

Modified Files:
      Tag: dev_1_3-bigcleanup
	header.tmpl homedirectory.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: header.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/edit/header.tmpl,v
retrieving revision 1.11
retrieving revision 1.11.4.1
diff -u -d -r1.11 -r1.11.4.1
--- header.tmpl	6 Feb 2004 22:08:52 -0000	1.11
+++ header.tmpl	10 Aug 2004 20:54:35 -0000	1.11.4.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">
 <script>
    function deleteDomain(){
         domain="<perl>$r->param('ispmanDomain')</perl>";
@@ -8,7 +8,7 @@
    }
 </script>
 
-<form action="<perl>$ispman->getConfig('ispmanUrlPrefix')</perl>/admin/index.cgi" method="POST">
+<form action="<perl>ISPMan::Config->get('ispmanUrlPrefix')</perl>/admin/index.cgi" method="POST">
 
 <table border="0" cellpadding="2" cellspacing="1" >
 

Index: homedirectory.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/edit/homedirectory.tmpl,v
retrieving revision 1.5
retrieving revision 1.5.6.1
diff -u -d -r1.5 -r1.5.6.1
--- homedirectory.tmpl	8 Jan 2004 00:08:26 -0000	1.5
+++ homedirectory.tmpl	10 Aug 2004 20:54:35 -0000	1.5.6.1
@@ -2,7 +2,7 @@
     <td><perl>_("Home Directory")</perl></td>
     <td>
         <input size=35 type=hidden name=homeDirectory value="<perl>$ispman->{'domain'}{'homeDirectory'}</perl>">
-        <perl>$ispman->{'domain'}{$ispman->getSchemaAttr('homeDirectory')}</perl>
+        <perl>$ispman->{'domain'}{'homeDirectory'}</perl>
         
     </td>
 </tr>



-------------------------------------------------------
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.