ispman/ispman-web/cgi-bin/tmpl/vhosts edit_acls.tmpl,1.7,1.8 edit_aliases.tmpl,1.7,1.8 edit_redirects.tmpl,1.3,1.4

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

Modified Files:
	edit_acls.tmpl edit_aliases.tmpl edit_redirects.tmpl 
Log Message:
added ispmanUrlPrefix patches
(thanks to Mads Kiilerich)

Index: edit_aliases.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/vhosts/edit_aliases.tmpl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- edit_aliases.tmpl	12 Jun 2004 00:00:53 -0000	1.7
+++ edit_aliases.tmpl	20 Jun 2004 11:47:55 -0000	1.8
@@ -82,9 +82,9 @@
         
 <td>
 <a href="javascript: modifyAlias(document.local$i)" alt="@{[_("Apply")]}" title="@{[_("Apply")]}">
-<img src="/gfx/apply.gif" border="0"></a>
+<img src="@{[$ispman->getConfig('ispmanUrlPrefix')]}/gfx/apply.gif" border="0"></a>
 <a href="javascript: deleteAlias(document.local$i)" alt="@{[_("Delete")]}" title="@{[_("Delete")]}">
-<img src="/gfx/delete.gif" border="0"></a>
+<img src="@{[$ispman->getConfig('ispmanUrlPrefix')]}/gfx/delete.gif" border="0"></a>
 </td>
 </form>
 </tr>
@@ -120,9 +120,9 @@
         
 <td>
 <a href="javascript: modifyAlias(document.other$i)" alt="@{[_("Apply")]}" title="@{[_("Apply")]}">
-<img src="/gfx/apply.gif" border="0"></a>
+<img src="@{[$ispman->getConfig('ispmanUrlPrefix')]}/gfx/apply.gif" border="0"></a>
 <a href="javascript: deleteAlias(document.other$i)" alt="@{[_("Delete")]}" title="@{[_("Delete")]}">
-<img src="/gfx/delete.gif" border="0"></a>
+<img src="@{[$ispman->getConfig('ispmanUrlPrefix')]}/gfx/delete.gif" border="0"></a>
 </td>
 </form>
 </tr>

Index: edit_redirects.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/vhosts/edit_redirects.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- edit_redirects.tmpl	12 Jun 2004 00:14:15 -0000	1.3
+++ edit_redirects.tmpl	20 Jun 2004 11:47:55 -0000	1.4
@@ -66,9 +66,9 @@
 <td><input type=text name="ispmanVhostRedirectLocation" value="$location"></td>
 <td>
 <a href="javascript: modifyRedirection(document.redirection$i)" alt="@{[_("Apply")]}" title="@{[_("Apply")]}">
-<img src="/gfx/apply.gif" border="0"></a>
+<img src="@{[$ispman->getConfig('ispmanUrlPrefix')]}/gfx/apply.gif" border="0"></a>
 <a href="javascript: deleteRedirection(document.redirection$i)" alt="@{[_("Delete")]}" title="@{[_("Delete")]}">
-<img src="/gfx/delete.gif" border="0"></a>
+<img src="@{[$ispman->getConfig('ispmanUrlPrefix')]}/gfx/delete.gif" border="0"></a>
 </td>
 </form>
 </tr>

Index: edit_acls.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/vhosts/edit_acls.tmpl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- edit_acls.tmpl	12 Jun 2004 00:06:13 -0000	1.7
+++ edit_acls.tmpl	20 Jun 2004 11:47:55 -0000	1.8
@@ -139,7 +139,7 @@
 <input type=hidden name=ispmanVhostName value="@{[$r->param('ispmanVhostName')]}">
 <input type=hidden name=mode value="updateVhostAcl">
 <td><a href="javascript: document.aci$i.submit()" alt="@{[_("Apply")]}" title="@{[_("Apply")]}">
-<img src="/gfx/apply.gif" border="0"></a>
+<img src="@{[$ispman->getConfig('ispmanUrlPrefix')]}/gfx/apply.gif" border="0"></a>
 |;
         } else {
             # not edited
@@ -152,13 +152,13 @@
 </td>
 <td>
 <a href="javascript: editACL(document.aci$i)" alt="@{[_("Edit")]}" title="@{[_("Edit")]}">
-<img src="/gfx/modify.gif" border="0"></a>
+<img src="@{[$ispman->getConfig('ispmanUrlPrefix')]}/gfx/modify.gif" border="0"></a>
 |;
         }
 
         $text.=qq|
 <a href="javascript: deleteACL(document.aci$i)" alt="@{[_("Delete")]}" title="@{[_("Delete")]}">
-<img src="/gfx/delete.gif" border="0"></a>
+<img src="@{[$ispman->getConfig('ispmanUrlPrefix')]}/gfx/delete.gif" border="0"></a>
 </td>
 </form>
 </tr>



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
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.