Author: dpillot
Date: Tue May 22 16:12:27 2007
New Revision: 669

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D669&repname=
=3Dcorporate_portal_templates_v2
Log:
TEMPLATES-224

Modified:
    branches/JAHIA-5-0-SP-BRANCH/src/jsp/box/lastNews.inc

Modified: branches/JAHIA-5-0-SP-BRANCH/src/jsp/box/lastNews.inc
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/src/jsp/box/lastNews.inc&rev=3D669&repname=3Dcorporate_portal_templ=
ates_v2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/src/jsp/box/lastNews.inc (original)
+++ branches/JAHIA-5-0-SP-BRANCH/src/jsp/box/lastNews.inc Tue May 22 16:12:=
27 2007
@@ -15,6 +15,8 @@
 See the License for the specific language governing permissions and
 limitations under the License.
 --%><%
+String categoriespackage=3D"org.jahia.actions.server.admin.categories.Mana=
geCategories";
+boolean licenseEnabled =3D LicenseActionChecker.isAuthorizedByLicense(cate=
goriespackage, 0);
 String windowSize =3D "10";
 JahiaContainerList maxContainerList =3D boxContainer.getContainerList( "ne=
wsCl" );
 Enumeration newsEnumeration =3D maxContainerList.getContainers();
@@ -35,6 +37,7 @@
             }
         }
     }
+    if(licenseEnabled){
     %><br/><content:resourceBundle resourceBundle=3D"jahiatemplates.Corpor=
ate_portal_templates_v2"
             resourceName=3D"blog.categories"/>: <%=3DdisplayNewsFromCatego=
ries.toString()%>
     <%
@@ -44,6 +47,7 @@
             resourceName=3D"message.addCategory"/>
     <%
     }
+    }
 }
 // create the filter
 Vector filtersVector =3D new Vector();

_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to