ispman/ispman-web/cgi-bin/tmpl/domains/add header.tmpl,1.5,1.5.4.1 homedirectory.tmpl,1.7,1.7.4.1 maxaccounts.tmpl,1.5,1.5.4.1 maxvhosts.tmpl,1.5,1.5.4.1 quota.tmpl,1.6,1.6.4.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/add
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29520/ispman-web/cgi-bin/tmpl/domains/add
Modified Files:
Tag: dev_1_3-bigcleanup
header.tmpl homedirectory.tmpl maxaccounts.tmpl maxvhosts.tmpl
quota.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: quota.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/add/quota.tmpl,v
retrieving revision 1.6
retrieving revision 1.6.4.1
diff -u -d -r1.6 -r1.6.4.1
--- quota.tmpl 26 Jan 2004 20:45:42 -0000 1.6
+++ quota.tmpl 10 Aug 2004 20:54:34 -0000 1.6.4.1
@@ -1,7 +1,7 @@
<tr>
<td><perl>_("Max Storage Space (in MB)")</perl> </td>
<td>
- <input size=4 type=text name=FTPQuotaMBytes value="<perl>$ispman->getConf('defaultDomainFtpQuota')</perl>">
+ <input size=4 type=text name=FTPQuotaMBytes value="<perl>ISPMan::Config->get('defaultDomainFtpQuota')</perl>">
</td>
</tr>
Index: header.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/add/header.tmpl,v
retrieving revision 1.5
retrieving revision 1.5.4.1
diff -u -d -r1.5 -r1.5.4.1
--- header.tmpl 6 Feb 2004 22:05:07 -0000 1.5
+++ header.tmpl 10 Aug 2004 20:54:34 -0000 1.5.4.1
@@ -1,9 +1,9 @@
-<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">
<P>
<table border=0>
-<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">
Index: maxaccounts.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/add/maxaccounts.tmpl,v
retrieving revision 1.5
retrieving revision 1.5.4.1
diff -u -d -r1.5 -r1.5.4.1
--- maxaccounts.tmpl 26 Jan 2004 20:45:42 -0000 1.5
+++ maxaccounts.tmpl 10 Aug 2004 20:54:34 -0000 1.5.4.1
@@ -1,7 +1,7 @@
<tr>
<td><perl>_("Max Email accounts")</perl> </td>
<td>
- <input size=4 type=text name=ispmanMaxAccounts value="<perl>$ispman->getConf('defaultMaxAccounts')</perl>">
+ <input size=4 type=text name=ispmanMaxAccounts value="<perl>ISPMan::Config->get('defaultMaxAccounts')</perl>">
</td>
</tr>
Index: maxvhosts.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/add/maxvhosts.tmpl,v
retrieving revision 1.5
retrieving revision 1.5.4.1
diff -u -d -r1.5 -r1.5.4.1
--- maxvhosts.tmpl 26 Jan 2004 20:45:42 -0000 1.5
+++ maxvhosts.tmpl 10 Aug 2004 20:54:34 -0000 1.5.4.1
@@ -1,7 +1,7 @@
<tr>
<td><perl>_("Max Virtual Hosts")</perl> </td>
<td>
- <input size=4 type=text name=ispmanMaxVhosts value="<perl>$ispman->getConf('defaultMaxVhosts')</perl>">
+ <input size=4 type=text name=ispmanMaxVhosts value="<perl>ISPMan::Config->get('defaultMaxVhosts')</perl>">
</td>
</tr>
Index: homedirectory.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/add/homedirectory.tmpl,v
retrieving revision 1.7
retrieving revision 1.7.4.1
diff -u -d -r1.7 -r1.7.4.1
--- homedirectory.tmpl 18 Feb 2004 21:44:09 -0000 1.7
+++ homedirectory.tmpl 10 Aug 2004 20:54:34 -0000 1.7.4.1
@@ -2,7 +2,7 @@
<tr>
<td><perl>_("Home Directory")</perl></td>
<td>
- <input size=35 type=text name=homeDirectory value="<perl>join '/', ($ispman->getConf("defaultHomeDirectoryPath"), lc($r->param("ispmanDomain")))</perl>">
+ <input size=35 type=text name=homeDirectory value="<perl>join '/', (ISPMan::Config->get("defaultHomeDirectoryPath"), lc($r->param("ispmanDomain")))</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