Index: openacs-4/packages/static-portlet/www/element-delete.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/static-portlet/www/element-delete.tcl,v diff -u -r1.7 -r1.7.22.1 --- openacs-4/packages/static-portlet/www/element-delete.tcl 9 Aug 2002 18:39:33 -0000 1.7 +++ openacs-4/packages/static-portlet/www/element-delete.tcl 19 Aug 2014 17:09:31 -0000 1.7.22.1 @@ -20,9 +20,9 @@ @author arjun (arjun@openforce) @cvs_id $Id$ } -query { - {content_id:integer,notnull} + {content_id:naturalnum,notnull} {referer:notnull} - portal_id:integer,notnull + portal_id:naturalnum,notnull } -properties { title:onevalue } Index: openacs-4/packages/static-portlet/www/element.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/static-portlet/www/element.tcl,v diff -u -r1.17.2.1 -r1.17.2.2 --- openacs-4/packages/static-portlet/www/element.tcl 19 Aug 2014 17:08:06 -0000 1.17.2.1 +++ openacs-4/packages/static-portlet/www/element.tcl 19 Aug 2014 17:09:31 -0000 1.17.2.2 @@ -20,9 +20,9 @@ @author arjun (arjun@openforce) @cvs_id $Id$ } -query { - {content_id:optional ""} + {content_id:naturalnum,optional ""} referer:notnull - portal_id:integer,notnull + portal_id:naturalnum,notnull {package_id:integer ""} } -properties { title:onevalue Index: openacs-4/packages/static-portlet/www/static-admin-portlet.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/static-portlet/www/static-admin-portlet.tcl,v diff -u -r1.20.6.1 -r1.20.6.2 --- openacs-4/packages/static-portlet/www/static-admin-portlet.tcl 19 Aug 2014 17:08:06 -0000 1.20.6.1 +++ openacs-4/packages/static-portlet/www/static-admin-portlet.tcl 19 Aug 2014 17:09:31 -0000 1.20.6.2 @@ -21,8 +21,8 @@ @author Ben Adida (ben@openforce) @cvs_id $Id$ } { - {package_id:optional ""} - {template_portal_id:optional ""} + {package_id:naturalnum,optional ""} + {template_portal_id:naturalnum,optional ""} {referer:optional ""} {return_url:optional ""} }