[freeside-commits] freeside/httemplate autohandler, 1.3, 1.4 index.html, 1.98, 1.99

Ivan,,, ivan at wavetail.420.am
Sun May 14 09:47:32 PDT 2006


Update of /home/cvs/cvsroot/freeside/httemplate
In directory wavetail:/tmp/cvs-serv14201/httemplate

Modified Files:
	autohandler index.html 
Log Message:
first part of ACL and re-skinning work and some other small stuff

Index: autohandler
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/autohandler,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- autohandler	8 Sep 2005 06:52:37 -0000	1.3
+++ autohandler	14 May 2006 16:47:29 -0000	1.4
@@ -9,7 +9,15 @@
 
   if ( lc($r->content_type) eq 'text/html' ) {
 
-    $profile = '<PRE>'. encode_entities(dbh->sprintProfile()).
+    # barely worth it, just in case someone tries to use profiling on a
+    # non-RT install
+    eval "use Text::Wrapper;";
+    die $@ if $@;
+
+    my $wrapper = new Text::Wrapper( columns => 80 );
+
+    $profile = '<PRE>'.
+               encode_entities( $wrapper->wrap( dbh->sprintProfile() ) ).
                #"\n\n". &sprintAutoProfile(). '</PRE>';
                "\n\n".                        '</PRE>';
   } 

Index: index.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/index.html,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- index.html	8 May 2006 10:01:54 -0000	1.98
+++ index.html	14 May 2006 16:47:30 -0000	1.99
@@ -168,7 +168,7 @@
     <TR><TD>
       <BR>
       <!-- <BR>View active NAS ports: 
-        <A HREF="browse/nas.cgi">session server</A>
+        <A HREF="browse/nas.cgi">session server</A> -->
         <!-- or <A HREF="browse/nas-sqlradius.cgi">RADIUS</A>
       <BR> -->
       <A HREF="search/queue.html">View pending job queue</A>
@@ -177,7 +177,15 @@
       <BR><A HREF="misc/dump.cgi">Download database dump</A>
       <BR><BR><CENTER><HR WIDTH="94%" NOSHADE></CENTER><BR>
       <A NAME="config" HREF="config/config-view.cgi">Configuration</a><!-- - <font size="+2" color="#ff0000">start here</font> -->
-      <BR><BR><A NAME="admin">Provisioning, services and packages</a>
+      <BR><BR>
+      <A NAME="employees">Employees</A>
+        <UL>
+          <LI><A HREF="browse/access_user.html">View/Edit employees</A>
+            - Setup internal users
+          <LI><A HREF="browse/access_group.html">View/Edit employee groups</A>
+            - Employee groups allow you to control access to the backend
+        </UL>
+      <A NAME="admin">Provisioning, services and packages</a>
         <ul>
           <LI><A HREF="browse/part_export.cgi">View/Edit exports</A>
             - Provisioning services to external machines, databases and APIs.



More information about the freeside-commits mailing list