You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by op...@codespot.com on 2013/02/12 15:25:07 UTC

[openmeetings-joomla-plugin] r3 committed - [OPENMEETINGS-528] Joomla plugin is updated to be compatible with Joom...

Revision: 3
Author:   solomax666@gmail.com
Date:     Tue Feb 12 06:23:38 2013
Log:      [OPENMEETINGS-528] Joomla plugin is updated to be compatible with  
Joomla 2.5 (everything seems to work as expected except for recordings)
http://code.google.com/a/apache-extras.org/p/openmeetings-joomla-plugin/source/detail?r=3

Added:
  /trunk/com_openmeetings
  /trunk/com_openmeetings/admin/access.xml
  /trunk/com_openmeetings/admin/css
  /trunk/com_openmeetings/admin/css/index.html
  /trunk/com_openmeetings/admin/css/style.css
  /trunk/com_openmeetings/admin/language
  /trunk/com_openmeetings/admin/language/en-GB
  /trunk/com_openmeetings/admin/language/en-GB/en-GB.com_openmeetings.ini
  /trunk/com_openmeetings/admin/language/en-GB/en-GB.com_openmeetings.sys.ini
  /trunk/com_openmeetings/admin/language/en-GB/index.html
  /trunk/com_openmeetings/admin/language/index.html
  /trunk/com_openmeetings/admin/language/ru-RU
  /trunk/com_openmeetings/admin/language/ru-RU/index.html
  /trunk/com_openmeetings/admin/language/ru-RU/ru-RU.com_openmeetings.ini
  /trunk/com_openmeetings/admin/language/ru-RU/ru-RU.com_openmeetings.sys.ini
  /trunk/com_openmeetings/admin/models/fields
  /trunk/com_openmeetings/admin/models/fields/index.html
  /trunk/com_openmeetings/admin/models/fields/sqlcheckboxes.php
  /trunk/com_openmeetings/admin/models/fields/sqlradio.php
  /trunk/com_openmeetings/admin/models/forms
  /trunk/com_openmeetings/admin/models/forms/omroom.xml
  /trunk/com_openmeetings/admin/models/omroom.php
  /trunk/com_openmeetings/admin/models/omrooms.php
  /trunk/com_openmeetings/admin/openmeetings.php
  /trunk/com_openmeetings/admin/sql
  /trunk/com_openmeetings/admin/sql/index.html
  /trunk/com_openmeetings/admin/sql/install.mysql.utf8.sql
  /trunk/com_openmeetings/admin/sql/uninstall.mysql.utf8.sql
  /trunk/com_openmeetings/admin/sql/updates
  /trunk/com_openmeetings/admin/sql/updates/index.html
  /trunk/com_openmeetings/admin/sql/updates/mysql
  /trunk/com_openmeetings/admin/sql/updates/mysql/1.1.0.sql
  /trunk/com_openmeetings/admin/sql/updates/mysql/index.html
  /trunk/com_openmeetings/admin/views/om/index.html
  /trunk/com_openmeetings/admin/views/omroom
  /trunk/com_openmeetings/admin/views/omroom/index.html
  /trunk/com_openmeetings/admin/views/omroom/tmpl
  /trunk/com_openmeetings/admin/views/omroom/tmpl/default.php
  /trunk/com_openmeetings/admin/views/omroom/tmpl/index.html
  /trunk/com_openmeetings/admin/views/omroom/view.html.php
  /trunk/com_openmeetings/admin/views/omrooms
  /trunk/com_openmeetings/admin/views/omrooms/index.html
  /trunk/com_openmeetings/admin/views/omrooms/tmpl
  /trunk/com_openmeetings/admin/views/omrooms/tmpl/default.php
  /trunk/com_openmeetings/admin/views/omrooms/tmpl/index.html
  /trunk/com_openmeetings/admin/views/omrooms/view.html.php
  /trunk/com_openmeetings/language
  /trunk/com_openmeetings/language/en-GB
  /trunk/com_openmeetings/language/en-GB/en-GB.com_openmeetings.ini
  /trunk/com_openmeetings/language/en-GB/index.html
  /trunk/com_openmeetings/language/index.html
  /trunk/com_openmeetings/language/ru-RU
  /trunk/com_openmeetings/language/ru-RU/index.html
  /trunk/com_openmeetings/language/ru-RU/ru-RU.com_openmeetings.ini
  /trunk/com_openmeetings/media
  /trunk/com_openmeetings/media/images
  /trunk/com_openmeetings/media/images/Webcam_16.png
  /trunk/com_openmeetings/media/images/index.html
  /trunk/com_openmeetings/media/images/process-stop.png
  /trunk/com_openmeetings/media/images/user_people.png
  /trunk/com_openmeetings/media/index.html
  /trunk/com_openmeetings/openmeetings.xml
  /trunk/com_openmeetings/site
  /trunk/com_openmeetings/site/controller.php
  /trunk/com_openmeetings/site/controllers
  /trunk/com_openmeetings/site/controllers/index.html
  /trunk/com_openmeetings/site/controllers/rec.php
  /trunk/com_openmeetings/site/index.html
  /trunk/com_openmeetings/site/libs
  /trunk/com_openmeetings/site/libs/index.html
  /trunk/com_openmeetings/site/models
  /trunk/com_openmeetings/site/models/flash.php
  /trunk/com_openmeetings/site/models/index.html
  /trunk/com_openmeetings/site/openmeetings.php
  /trunk/com_openmeetings/site/uploads
  /trunk/com_openmeetings/site/uploads/index.html
  /trunk/com_openmeetings/site/views
  /trunk/com_openmeetings/site/views/delrec
  /trunk/com_openmeetings/site/views/delrec/index.html
  /trunk/com_openmeetings/site/views/delrec/metadata.xml
  /trunk/com_openmeetings/site/views/delrec/tmpl
  /trunk/com_openmeetings/site/views/delrec/tmpl/default.php
  /trunk/com_openmeetings/site/views/delrec/tmpl/default.xml
  /trunk/com_openmeetings/site/views/delrec/tmpl/index.html
  /trunk/com_openmeetings/site/views/delrec/view.delrec.php
  /trunk/com_openmeetings/site/views/index.html
  /trunk/com_openmeetings/site/views/om
  /trunk/com_openmeetings/site/views/om/index.html
  /trunk/com_openmeetings/site/views/om/metadata.xml
  /trunk/com_openmeetings/site/views/om/tmpl
  /trunk/com_openmeetings/site/views/om/tmpl/default.php
  /trunk/com_openmeetings/site/views/om/tmpl/default.xml
  /trunk/com_openmeetings/site/views/om/tmpl/index.html
  /trunk/com_openmeetings/site/views/om/view.raw.php
  /trunk/com_openmeetings/site/views/rec
  /trunk/com_openmeetings/site/views/rec/index.html
  /trunk/com_openmeetings/site/views/rec/tmpl
  /trunk/com_openmeetings/site/views/rec/tmpl/default.php
  /trunk/com_openmeetings/site/views/rec/tmpl/index.html
  /trunk/com_openmeetings/site/views/rec/view.html.php
  /trunk/com_openmeetings/site/views/rec/view.rec.php
  /trunk/com_openmeetings/site/views/rec_link
  /trunk/com_openmeetings/site/views/rec_link/index.html
  /trunk/com_openmeetings/site/views/rec_link/metadata.xml
  /trunk/com_openmeetings/site/views/rec_link/tmpl
  /trunk/com_openmeetings/site/views/rec_link/tmpl/default.php
  /trunk/com_openmeetings/site/views/rec_link/tmpl/default.xml
  /trunk/com_openmeetings/site/views/rec_link/tmpl/index.html
  /trunk/com_openmeetings/site/views/rec_link/view.rec_link.php
  /trunk/mod_openmeetings
  /trunk/mod_openmeetings/mod_openmeetings.php
  /trunk/mod_openmeetings/mod_openmeetings.xml
Deleted:
  /trunk/DISCLAIMER
  /trunk/com_openmeetings/admin/admin.openmeetings_conference.php
  /trunk/com_openmeetings/admin/controllers
  /trunk/com_openmeetings/admin/install.sql
  /trunk/com_openmeetings/admin/models/room.php
  /trunk/com_openmeetings/admin/models/rooms.php
  /trunk/com_openmeetings/admin/tables
  /trunk/com_openmeetings/admin/toolbar.openmeetings_conference.html.php
  /trunk/com_openmeetings/admin/toolbar.openmeetings_conference.php
  /trunk/com_openmeetings/admin/uninstall.sql
  /trunk/com_openmeetings/admin/views/room
  /trunk/com_openmeetings/admin/views/rooms
  /trunk/com_openmeetings/controller.php
  /trunk/com_openmeetings/controllers
  /trunk/com_openmeetings/models
  /trunk/com_openmeetings/openmeetings_conference.php
  /trunk/com_openmeetings/openmeetings_conference.xml
  /trunk/com_openmeetings/templates
  /trunk/com_openmeetings/views
  /trunk/com_openmeetings_conference
  /trunk/mod_openmeetings/mod_openmeetings_conference.php
  /trunk/mod_openmeetings/mod_openmeetings_conference.xml
  /trunk/mod_openmeetings_conference
Modified:
  /trunk/.project
  /trunk/CHANGELOG
  /trunk/README.txt
  /trunk/build.xml
  /trunk/com_openmeetings/admin/config.xml
  /trunk/com_openmeetings/admin/controller.php
  /trunk/com_openmeetings/admin/index.html
  /trunk/com_openmeetings/admin/models/index.html
  /trunk/com_openmeetings/admin/om_gateway/lib/openmeetings_rest_service.php
   
/trunk/com_openmeetings/admin/om_gateway/openmeetingsRecordingManagament.php
  /trunk/com_openmeetings/admin/om_gateway/openmeetingsRoomManagament.php
  /trunk/com_openmeetings/admin/om_gateway/openmeetings_gateway.php
  /trunk/com_openmeetings/admin/views/index.html
  /trunk/com_openmeetings/admin/views/om/metadata.xml
  /trunk/com_openmeetings/admin/views/om/tmpl/default.php
  /trunk/com_openmeetings/admin/views/om/tmpl/default.xml
  /trunk/com_openmeetings/admin/views/om/view.raw.php
  /trunk/com_openmeetings/admin/views/rec/index.html
  /trunk/com_openmeetings/admin/views/rec/tmpl/default.php
  /trunk/com_openmeetings/admin/views/rec/tmpl/index.html
  /trunk/com_openmeetings/admin/views/rec/view.html.php
  /trunk/com_openmeetings/index.html
  /trunk/ivy.xml
  /trunk/ivysettings.xml
  /trunk/mod_openmeetings/index.html

=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/access.xml	Tue Feb 12 06:23:38 2013
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!-- Licensed under the Apache License, Version 2.0 (the "License"); you
+	may not use this file except in compliance with the License. You may  
obtain
+	a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+	required by applicable law or agreed to in writing, software distributed
+	under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
+	OR CONDITIONS OF ANY KIND, either express or implied. See the License for
+	the specific language governing permissions and limitations under the  
License. -->
+<access component="com_openmeetings">
+	<section name="component">
+		<action name="core.admin" title="JACTION_ADMIN"  
description="JACTION_ADMIN_COMPONENT_DESC" />
+		<action name="core.manage" title="JACTION_MANAGE"
+			description="JACTION_MANAGE_COMPONENT_DESC" />
+		<action name="core.create" title="JACTION_CREATE"
+			description="JACTION_CREATE_COMPONENT_DESC" />
+		<action name="core.delete" title="JACTION_DELETE"
+			description="JACTION_DELETE_COMPONENT_DESC" />
+	</section>
+</access>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/css/index.html	Tue Feb 12 06:23:38 2013
@@ -0,0 +1,16 @@
+<!--
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/css/style.css	Tue Feb 12 06:23:38 2013
@@ -0,0 +1,18 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License") +  you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/language/en-GB/en-GB.com_openmeetings.ini	 
Tue Feb 12 06:23:38 2013
@@ -0,0 +1,58 @@
+; Licensed to the Apache Software Foundation (ASF) under one
+; or more contributor license agreements.  See the NOTICE file
+; distributed with this work for additional information
+; regarding copyright ownership.  The ASF licenses this file
+; to you under the Apache License, Version 2.0 (the
+; "License") +  you may not use this file except in compliance
+; with the License.  You may obtain a copy of the License at
+;
+;   http://www.apache.org/licenses/LICENSE-2.0
+;
+; Unless required by applicable law or agreed to in writing,
+; software distributed under the License is distributed on an
+; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+; KIND, either express or implied.  See the License for the
+; specific language governing permissions and limitations
+; under the License.
+COM_OPENMEETINGS_CONFIGURATION		= "Settings"
+COM_OPENMEETINGS_CONF_BASIC			= "General settings"
+COM_OPENMEETINGS					= "OpenMeetings"
+CANCELLED							= "Cancelled"
+CID_MISSING							= "Id is missing"
+OMROOM_SAVED						= "Room is saved"
+OMROOMS_DELETED						= "Room(s) deleted"
+SHOW_ROOM							= "Show room"
+CREATE								= "Create"
+OMROOMS								= "Room management"
+ID									= ""
+ROOM_NAME							= "Room name"
+ROOM_LINK							= ""
+COM_OPENMEETINGS_ADMIN_ADD_OMROOM	= "Add room"
+ROOM_NAME							= "Name"
+ROOM_TYPE							= "Type"
+CONFERENCE_MAX_20_USERS				= "Conference (max. 20 users)"
+RESTRICTED_MAX_150_USERS			= "Restricted (max. 150 users)"
+INTERVIEW_MAX_2_USERS				= "Interview (only 2 users)"
+COMMENT								= "Comment"
+NUMBER_OF_PARTICIPANTS				= "Number of participants"
+IS_PUBLIC							= "Public"
+APPOINTMENT							= "Appointment"
+IS_MODERATED_ROOM					= "Moderated"
+OWNER								= "Owner"
+ROOM_USERS							= "Room Users"
+ROOM_VALIDITY						= "Room validity"
+ROOM_VALIDITY_DESC					= "Static rooms are always visible on the front  
end. Dynamic rooms are visible only in a time period."
+STATIC								= "Static"
+DYNAMIC								= "Dynamic"
+DATE_TYPE							= "Date"
+DATE_TYPE_DESC						= "Date for dynamic rooms. On this date the room will  
appear in front end."
+TIME_TYPE							= "Tyme:"
+TIME_TYPE_DESC						= "Time for dynamic rooms. The room will appear in  
front end until this time."
+DURATION							= "Duration"
+DURATION_DESC						= "Room will be available during this period."
+REPEAT_TYPE							= "Repeat"
+REPEAT_TYPE_DESC					= "Repeat type"
+WEEKDAY_TYPE						= "Week day"
+WEEKDAY_TYPE_DESC					= "Select the weekday on which the room should  
appear in front end."
+SELECT_WEEKDAY						= " - - - - "
+INSERT_RECORDING					= "Insert recording"
=======================================
--- /dev/null
+++  
/trunk/com_openmeetings/admin/language/en-GB/en-GB.com_openmeetings.sys.ini	 
Tue Feb 12 06:23:38 2013
@@ -0,0 +1,19 @@
+; Licensed to the Apache Software Foundation (ASF) under one
+; or more contributor license agreements.  See the NOTICE file
+; distributed with this work for additional information
+; regarding copyright ownership.  The ASF licenses this file
+; to you under the Apache License, Version 2.0 (the
+; "License") +  you may not use this file except in compliance
+; with the License.  You may obtain a copy of the License at
+;
+;   http://www.apache.org/licenses/LICENSE-2.0
+;
+; Unless required by applicable law or agreed to in writing,
+; software distributed under the License is distributed on an
+; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+; KIND, either express or implied.  See the License for the
+; specific language governing permissions and limitations
+; under the License.
+COM_OPENMEETINGS					= "OpenMeetings"
+COM_OPENMEETINGS_DESC				= "Openmeetings Video Conference Integration (for  
Joomla): Joomla Component providing multiple ways video chat (video  
conference), file sharing, private messaging, text formatting, emoticons.  
After installation make sure you install the RTMP application and fill the  
application address in component parameters. More details on  
http://openmeetings.apache.org."
+VIDEO_CONFERENCE					= "Video conference"
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/language/en-GB/index.html	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,16 @@
+<!--
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/language/index.html	Tue Feb 12 06:23:38  
2013
@@ -0,0 +1,16 @@
+<!--
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/language/ru-RU/index.html	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,16 @@
+<!--
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/language/ru-RU/ru-RU.com_openmeetings.ini	 
Tue Feb 12 06:23:38 2013
@@ -0,0 +1,58 @@
+; Licensed to the Apache Software Foundation (ASF) under one
+; or more contributor license agreements.  See the NOTICE file
+; distributed with this work for additional information
+; regarding copyright ownership.  The ASF licenses this file
+; to you under the Apache License, Version 2.0 (the
+; "License") +  you may not use this file except in compliance
+; with the License.  You may obtain a copy of the License at
+;
+;   http://www.apache.org/licenses/LICENSE-2.0
+;
+; Unless required by applicable law or agreed to in writing,
+; software distributed under the License is distributed on an
+; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+; KIND, either express or implied.  See the License for the
+; specific language governing permissions and limitations
+; under the License.
+COM_OPENMEETINGS_CONFIGURATION		= "Настройки"
+COM_OPENMEETINGS_CONF_BASIC			= "Основные настройки"
+COM_OPENMEETINGS					= "OpenMeetings"
+CANCELLED							= "Отменено"
+CID_MISSING							= "Отсутствует ID"
+OMROOM_SAVED						= "Данные сохранены"
+OMROOMS_DELETED						= "Данные удалены"
+SHOW_ROOM							= "Показать"
+CREATE								= "Добавить"
+OMROOMS								= "Управление комнатами"
+ID									= ""
+ROOM_NAME							= "Наименование комнаты"
+ROOM_LINK							= ""
+COM_OPENMEETINGS_ADMIN_ADD_OMROOM	= "Добавить комнату"
+ROOM_NAME							= "Наименование"
+ROOM_TYPE							= "Тип комнаты"
+CONFERENCE_MAX_20_USERS				= "Конференция (до 20 участников, без  
модерирования)"
+RESTRICTED_MAX_150_USERS			= "Ограниченная (до 150 участников, с  
модерацией)"
+INTERVIEW_MAX_2_USERS				= "Комната для интервью (2 участника, без доски,  
записывается и видео и аудио, модерируется)"
+COMMENT								= "Комментарий"
+NUMBER_OF_PARTICIPANTS				= "Кол-во участников"
+IS_PUBLIC							= "Общедоступная"
+APPOINTMENT							= "Комната доступна по расписанию"
+IS_MODERATED_ROOM					= "Модерируется"
+OWNER								= "Владелец"
+ROOM_USERS							= "Пользователи комнаты"
+ROOM_VALIDITY						= "Доступность комнаты"
+ROOM_VALIDITY_DESC					= "Static rooms are always visible on the front  
end. Dynamic rooms are visible only in a time period."
+STATIC								= "Доступна всегда"
+DYNAMIC								= "Доступна по расписанию"
+DATE_TYPE							= "Комната доступна"
+DATE_TYPE_DESC						= "Date for dynamic rooms. On this date the room will  
appear in front end."
+TIME_TYPE							= "Комната доступна до:"
+TIME_TYPE_DESC						= "Time for dynamic rooms. The room will appear in  
front end until this time."
+DURATION							= "Период доступности"
+DURATION_DESC						= "Комната будет доступна в течении этого времени."
+REPEAT_TYPE							= "Многоразовая комната"
+REPEAT_TYPE_DESC					= "Repeat type"
+WEEKDAY_TYPE						= "День недели"
+WEEKDAY_TYPE_DESC					= "Select the weekday on which the room should  
appear in front end."
+SELECT_WEEKDAY						= " - - - - "
+INSERT_RECORDING					= "Добавить запись"
=======================================
--- /dev/null
+++  
/trunk/com_openmeetings/admin/language/ru-RU/ru-RU.com_openmeetings.sys.ini	 
Tue Feb 12 06:23:38 2013
@@ -0,0 +1,19 @@
+; Licensed to the Apache Software Foundation (ASF) under one
+; or more contributor license agreements.  See the NOTICE file
+; distributed with this work for additional information
+; regarding copyright ownership.  The ASF licenses this file
+; to you under the Apache License, Version 2.0 (the
+; "License") +  you may not use this file except in compliance
+; with the License.  You may obtain a copy of the License at
+;
+;   http://www.apache.org/licenses/LICENSE-2.0
+;
+; Unless required by applicable law or agreed to in writing,
+; software distributed under the License is distributed on an
+; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+; KIND, either express or implied.  See the License for the
+; specific language governing permissions and limitations
+; under the License.
+COM_OPENMEETINGS					= "OpenMeetings"
+COM_OPENMEETINGS_DESC				= "Openmeetings Video Conference Integration (for  
Joomla): Joomla Component providing multiple ways video chat (video  
conference), file sharing, private messaging, text formatting, emoticons.  
After installation make sure you install the RTMP application and fill the  
application address in component parameters. More details on  
http://openmeetings.apache.org."
+VIDEO_CONFERENCE					= "Видео конференция"
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/models/fields/index.html	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,16 @@
+<!--
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/models/fields/sqlcheckboxes.php	Tue Feb  
12 06:23:38 2013
@@ -0,0 +1,144 @@
+<?php
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+		* "License") +  you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*   http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+/**
+ * @package     Joomla.Platform
+ * @subpackage  Form
+ *
+ * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All  
rights reserved.
+ * @license     GNU General Public License version 2 or later; see LICENSE
+*/
+
+defined('JPATH_PLATFORM') or die;
+jimport('joomla.form.formfield');
+JFormHelper::loadFieldClass('checkboxes');
+
+/**
+ * Supports an custom SQL select list
+ *
+ * @package     Joomla.Platform
+ * @subpackage  Form
+ * @since       11.1
+*/
+class JFormFieldsqlcheckboxes extends JFormField
+{
+	/**
+	 * The form field type.
+	 *
+	 * @var    string
+	 * @since  11.1
+	 */
+	public $type = 'sqlcheckboxes';
+
+	protected $forceMultiple = true;
+
+	/**
+	 * Method to get the custom field options.
+	 * Use the query attribute to supply a query to generate the list.
+	 *
+	 * @return  array  The field option objects.
+	 *
+	 * @since   11.1
+	 */
+	protected function getInput()
+	{
+		// Initialize variables.
+		$html = array();
+
+		// Initialize some field attributes.
+		$class = $this->element['class'] ? ' class="checkboxes ' . (string)  
$this->element['class'] . '"' : ' class="checkboxes"';
+
+		// Start the checkbox field output.
+		$html[] = '<fieldset id="' . $this->id . '"' . $class . '>';
+
+		// Get the field options.
+		$options = $this->getOptions();
+
+		// Build the checkbox field output.
+		$html[] = '<ul>';
+		foreach ($options as $i => $option)
+		{
+
+			// Initialize some option attributes.
+			$checked = (in_array((string) $option->value, (array) $this->value) ? '  
checked="checked"' : '');
+			$class = !empty($option->class) ? ' class="' .  
$option->class . '"' : '';
+			$disabled = !empty($option->disable) ? ' disabled="disabled"' : '';
+
+			// Initialize some JavaScript option attributes.
+			$onclick = !empty($option->onclick) ? ' onclick="' .  
$option->onclick . '"' : '';
+
+			$html[] = '<li>';
+			$html[] = '<input type="checkbox" id="' . $this->id . $i . '" name="' .  
$this->name . '"' . ' value="'
+					. htmlspecialchars($option->value, ENT_COMPAT, 'UTF-8') . '"' .  
$checked . $class . $onclick . $disabled . '/>';
+
+			$html[] = '<label for="' . $this->id . $i . '"' . $class . '>' .  
JText::_($option->text) . '</label>';
+			$html[] = '</li>';
+		}
+		$html[] = '</ul>';
+
+		// End the checkbox field output.
+		$html[] = '</fieldset>';
+
+		return implode($html);
+	}
+
+	protected function getOptions()
+	{
+		// Initialize variables.
+		$options = array();
+
+		// Initialize some field attributes.
+		$key = $this->element['key_field'] ? (string)  
$this->element['key_field'] : 'value';
+		$value = $this->element['value_field'] ? (string)  
$this->element['value_field'] : (string) $this->element['name'];
+		$translate = $this->element['translate'] ? (string)  
$this->element['translate'] : false;
+		$query = (string) $this->element['query'];
+
+		// Get the database object.
+		$db = JFactory::getDBO();
+
+		// Set the query and get the result list.
+		$db->setQuery($query);
+		$items = $db->loadObjectlist();
+
+		// Check for an error.
+		if ($db->getErrorNum())
+		{
+			JError::raiseWarning(500, $db->getErrorMsg());
+			return $options;
+		}
+
+		// Build the field options.
+		if (!empty($items))
+		{
+			foreach ($items as $item)
+			{
+				if ($translate == true)
+				{
+					$options[] = JHtml::_('select.option', $item->$key,  
JText::_($item->$value));
+				}
+				else
+				{
+					$options[] = JHtml::_('select.option', $item->$key, $item->$value);
+				}
+			}
+		}
+
+		return $options;
+	}
+}
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/models/fields/sqlradio.php	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,145 @@
+<?php
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+		* "License") +  you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*   http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+/**
+ * @package     Joomla.Platform
+ * @subpackage  Form
+ *
+ * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All  
rights reserved.
+ * @license     GNU General Public License version 2 or later; see LICENSE
+*/
+
+defined('JPATH_PLATFORM') or die;
+
+
+/**
+ * Supports an custom SQL select list
+ *
+ * @package     Joomla.Platform
+ * @subpackage  Form
+ * @since       11.1
+ */
+class JFormFieldsqlradio extends JFormField
+{
+	/**
+	 * The form field type.
+	 *
+	 * @var    string
+	 * @since  11.1
+	 */
+	public $type = 'sqlradio';
+
+	/**
+	 * Method to get the radio button field input markup.
+	 *
+	 * @return  string  The field input markup.
+	 *
+	 * @since   11.1
+	 */
+	protected function getInput()
+	{
+		// Initialize variables.
+		$html = array();
+
+		// Initialize some field attributes.
+		$class = $this->element['class'] ? ' class="radio ' . (string)  
$this->element['class'] . '"' : ' class="radio"';
+
+		// Start the radio field output.
+		$html[] = '<fieldset id="' . $this->id . '"' . $class . '>';
+
+		// Get the field options.
+		$options = $this->getOptions();
+
+		// Build the radio field output.
+		foreach ($options as $i => $option)
+		{
+
+			// Initialize some option attributes.
+			$checked = ((string) $option->value == (string) $this->value) ? '  
checked="checked"' : '';
+			$class = !empty($option->class) ? ' class="' .  
$option->class . '"' : '';
+			$disabled = !empty($option->disable) ? ' disabled="disabled"' : '';
+
+			// Initialize some JavaScript option attributes.
+			$onclick = !empty($option->onclick) ? ' onclick="' .  
$option->onclick . '"' : '';
+
+			$html[] = '<input type="radio" id="' . $this->id . $i . '" name="' .  
$this->name . '"' . ' value="'
+					. htmlspecialchars($option->value, ENT_COMPAT, 'UTF-8') . '"' .  
$checked . $class . $onclick . $disabled . '/>';
+
+			$html[] = '<label for="' . $this->id . $i . '"' . $class . '>'
+					. JText::alt($option->text, preg_replace('/[^a-zA-Z0-9_\-]/', '_',  
$this->fieldname)) . '</label>';
+		}
+
+		// End the radio field output.
+		$html[] = '</fieldset>';
+
+		return implode($html);
+	}
+
+	/**
+	 * Method to get the custom field options.
+	 * Use the query attribute to supply a query to generate the list.
+	 *
+	 * @return  array  The field option objects.
+	 *
+	 * @since   11.1
+	 */
+	protected function getOptions()
+	{
+		// Initialize variables.
+		$options = array();
+
+		// Initialize some field attributes.
+		$key = $this->element['key_field'] ? (string)  
$this->element['key_field'] : 'value';
+		$value = $this->element['value_field'] ? (string)  
$this->element['value_field'] : (string) $this->element['name'];
+		$translate = $this->element['translate'] ? (string)  
$this->element['translate'] : false;
+		$query = (string) $this->element['query'];
+
+		// Get the database object.
+		$db = JFactory::getDBO();
+
+		// Set the query and get the result list.
+		$db->setQuery($query);
+		$items = $db->loadObjectlist();
+
+		// Check for an error.
+		if ($db->getErrorNum())
+		{
+			JError::raiseWarning(500, $db->getErrorMsg());
+			return $options;
+		}
+
+		// Build the field options.
+		if (!empty($items))
+		{
+			foreach ($items as $item)
+			{
+				if ($translate == true)
+				{
+					$options[] = JHtml::_('select.option', $item->$key,  
JText::_($item->$value));
+				}
+				else
+				{
+					$options[] = JHtml::_('select.option', $item->$key, $item->$value);
+				}
+			}
+		}
+
+		return $options;
+	}
+}
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/models/forms/omroom.xml	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Licensed under the Apache License, Version 2.0 (the "License"); you
+	may not use this file except in compliance with the License. You may  
obtain
+	a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+	required by applicable law or agreed to in writing, software distributed
+	under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
+	OR CONDITIONS OF ANY KIND, either express or implied. See the License for
+	the specific language governing permissions and limitations under the  
License. -->
+<form>
+	<field name="name" type="text" size="20" maxLength="64" label="ROOM_NAME"  
/>
+	<field name="roomtype_id" type="list" label="ROOM_TYPE" default="1">
+		<option value="1">CONFERENCE_MAX_20_USERS</option>
+		<option value="3">RESTRICTED_MAX_150_USERS</option>
+		<option value="4">INTERVIEW_MAX_2_USERS</option>
+		<option value="5">SIMPLE_MAX_2_USERS</option>
+	</field>
+
+	<field type="textarea" name="comment" label="COMMENT" rows="10"
+		cols="64" maxLength="250" />
+	<field name="number_of_participants" type="list"  
label="NUMBER_OF_PARTICIPANTS">
+		<option value="2">2</option>
+		<option value="4">4</option>
+		<option value="6">6</option>
+		<option value="8">8</option>
+		<option value="10">10</option>
+		<option value="12">12</option>
+		<option value="14">14</option>
+		<option value="16">16</option>
+		<option value="25">25</option>
+		<option value="32">32</option>
+		<option value="50">50</option>
+		<option value="100">100</option>
+		<option value="150">150</option>
+	</field>
+	<field name="is_public" type="list" label="IS_PUBLIC" default="True">
+		<option value="True">JYES</option>
+		<option value="False">JNO</option>
+	</field>
+
+	<field name="appointment" type="list" label="APPOINTMENT"
+		default="0">
+		<option value="1">JYES</option>
+		<option value="0">JNO</option>
+	</field>
+
+	<field name="is_moderated_room" type="list" label="IS_MODERATED_ROOM"
+		default="1">
+		<option value="1">JYES</option>
+		<option value="0">JNO</option>
+	</field>
+
+	<field name="owner" type="sql" label="OWNER"
+		query="SELECT id as value, name as owner FROM #__users" />
+
+	<field name="owners" type="sql" label="ROOM_USERS"
+		query="SELECT id as value, name as owners FROM #__users"  
multiple="multiple" />
+
+	<field name="room_validity" type="list" label="ROOM_VALIDITY"
+		default="0" description="ROOM_VALIDITY_DESC">
+		<option value="0">STATIC</option>
+		<option value="1">DYNAMIC</option>
+	</field>
+
+	<field type="calendar" name="date_type" label="DATE_TYPE"
+		description="DATE_TYPE_DESC" />
+	<field name="time_type" type="text" size="20" maxLength="8"
+		label="TIME_TYPE" description="TIME_TYPE_DESC" default="00:00:00" />
+
+	<field name="duration" type="list" label="DURATION" default="1"
+		description="DURATION_DESC">
+		<option value="30">30MIN</option>
+		<option value="60">60MIN</option>
+		<option value="120">120MIN</option>
+		<option value="180">180MIN</option>
+		<option value="240">240MIN</option>
+		<option value="300">300MIN</option>
+		<option value="360">360MIN</option>
+		<option value="420">420MIN</option>
+		<option value="480">480MIN</option>
+		<option value="540">540MIN</option>
+		<option value="600">600MIN</option>
+		<option value="720">720MIN</option>
+		<option value="1440">1440MIN</option>
+		<option value="2160">2160MIN</option>
+		<option value="2880">2880MIN</option>
+	</field>
+
+	<field name="repeat_type" type="checkbox" multiple="no"  
label="REPEAT_TYPE"
+		default="1" value="1" description="REPEAT_TYPE_DESC" />
+
+	<field name="weekday_type" type="list" label="WEEKDAY_TYPE"
+		default="0" description="WEEKDAY_TYPE_DESC">
+		<option value="0">SELECT_WEEKDAY</option>
+		<option value="2">MONDAY</option>
+		<option value="3">TUESDAY</option>
+		<option value="4">WEDNESDAY</option>
+		<option value="5">THURSDAY</option>
+		<option value="6">FRIDAY</option>
+		<option value="7">SATURDAY</option>
+		<option value="1">SUNDAY</option>
+	</field>
+
+
+	<field name="room_id" type="hidden" default="" />
+
+</form>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/models/omroom.php	Tue Feb 12 06:23:38 2013
@@ -0,0 +1,202 @@
+<?php
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+		* "License") +  you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*   http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+/**
+ * OpenMeetings Administrator OMRoom model
+ *
+ * @package com_openmeetings
+ * @subpackage components
+ */
+
+// no direct access
+defined( '_JEXEC' ) or die( 'Restricted access' );
+// Import the JModel class
+jimport('joomla.application.component.modeladmin');
+jimport( 'joomla.application.component.modelform' );
+jimport('joomla.event.dispatcher');
+
+
+require_once(JPATH_COMPONENT_ADMINISTRATOR.DS.'om_gateway'.DS.'openmeetingsRoomManagament.php');
+require_once(JPATH_COMPONENT_ADMINISTRATOR.DS.'om_gateway'.DS.'openmeetings_gateway.php');
+
+class OpenMeetingsModelOMRoom extends JModelForm {
+	public $xml_form_name;
+
+	public function getForm($data = array(), $loadData = true) {
+
+		$form_name = 'omroom';
+
+		$this->xml_form_name = $form_name;
+
+
+		// Get the form.
+		$form = $this->loadForm('com_openmeetings.'.$form_name, $form_name,  
array('control' => 'jform', 'load_data' => $loadData));
+		if (empty($form)) {
+			return false;
+		}
+
+		return $form;
+	}
+
+	protected function loadFormData() {
+		$form_name = $this->xml_form_name;
+
+		$data =  
JFactory::getApplication()->getUserState('com_openmeetings.edit.'.$form_name.'.data',  
array());
+		if (empty($data))
+			$data = $this->getData();
+
+		return $data;
+
+	}
+
+	public function getData() {
+		$form_name = $this->xml_form_name;
+
+		$id = JRequest::getVar('cid', 0);
+
+		$db = $this->getDBO();
+
+		$table = $db->nameQuote( '#__om_rooms' );
+		$key = $db->nameQuote( 'id' );
+		$query = " SELECT * FROM " . $table
+		. " WHERE " . $key . " = " . $db->quote( $id[0]);
+		$db->setQuery($query);
+		$params = $db->loadAssoc();
+		$params['is_public'] = (( $params['is_public'] ) ? 'True' : 'False') ;
+
+		if ( $id[0] ) {
+			$query = " SELECT user_id FROM #__om_rooms_users WHERE om_room_id = " .  
$db->quote( $params['room_id']);
+			$db->setQuery($query);
+			$params['owners'] = $db->loadResultArray();
+		}
+
+		foreach ($params as $key => $param) {
+			$tmp = json_decode($param);
+			if (!is_array($tmp)) {
+				$this->data[$key] = $param;
+			} else {
+				$this->data[$key] = $tmp;
+			}
+			$tmp = array();
+		}
+
+		$dispatcher	= JDispatcher::getInstance();
+		$results = $dispatcher->trigger('onContentPrepareData',  
array('com_openmeetings.'.$form_name, $this->data));
+
+
+		// Return the row data
+		return $this->data;
+	}
+
+	function store() {
+		$db = $this->getDBO();
+		$table = $db->nameQuote('#__om_rooms');
+
+		JRequest::checkToken() or jexit( 'Invalid Token' );
+
+		$cid = JRequest::getVar('id', 0, 'post');
+
+		$requestData = JRequest::getVar('jform', array(), 'post');
+		if (!is_numeric($requestData["number_of_participants"])) {
+			$requestData["number_of_participants"] = 0;
+		}
+
+		$data = $requestData;
+		if ( $requestData["is_public"] == 'True' ) {
+			$requestData["is_public"] = 1;
+		} else {
+			$requestData["is_public"] = 0;
+		}
+
+
+		if ($cid) {
+			/* Обновляем данные */
+			$sql = 'UPDATE '. $table .' SET '.
+					$db->nameQuote('name') .' = '. $db->quote($requestData['name']) .', '.
+					$db->nameQuote('roomtype_id') .' = '.  
$db->quote($requestData['roomtype_id']) .', '.
+					$db->nameQuote('comment') .' = '.  
$db->quote($requestData['comment']) .', '.
+					$db->nameQuote('number_of_participants') .' = '.  
$db->quote($requestData['number_of_participants']) .', '.
+					$db->nameQuote('is_public') .' = '.  
$db->quote($requestData['is_public']) .', '.
+					$db->nameQuote('appointment') .' = '.  
$db->quote($requestData['appointment']) .', '.
+					$db->nameQuote('is_moderated_room') .' = '.  
$db->quote($requestData['is_moderated_room']) .', '.
+					$db->nameQuote('room_validity') .' = '.  
$db->quote($requestData['room_validity']) .', '.
+					$db->nameQuote('date_type') .' = '.  
$db->quote($requestData['date_type']) .', '.
+					$db->nameQuote('time_type') .' = '.  
$db->quote($requestData['time_type']) .', '.
+					$db->nameQuote('duration') .' = '.  
$db->quote($requestData['duration']) .', '.
+					$db->nameQuote('repeat_type') .' = '.  
$db->quote($requestData['repeat_type']) .', '.
+					$db->nameQuote('weekday_type') .' = '.  
$db->quote($requestData['weekday_type']) .' '.
+					'WHERE '. $db->nameQuote('id') .' = '. $db->quote($cid);
+
+
+			$omRoomManagament = 	new openmeetingsRoomManagament();
+			$room_id = $omRoomManagament-> updateRoomWithModeration($data);
+
+			//Make sure the Openmeetings Room was succsefully created
+			if($room_id < 1){
+				throw new Exception('Could not login User to OpenMeetings, check your  
OpenMeetings Module Configuration');
+				return false;
+			}
+
+		} else {
+			/* Создаем новую запись */
+			$omRoomManagament = 	new openmeetingsRoomManagament();
+			$room_id = $omRoomManagament-> createRoomWithModeration($data);
+			//$data['room_id'] = $room_id;
+			$data->room_id = $room_id;
+
+			//Make sure the Openmeetings Room was succsefully created
+			if($room_id < 1){
+				throw new Exception('Could not login User to OpenMeetings, check your  
OpenMeetings Module Configuration');
+				return false;
+			}
+
+			$sql = 'INSERT INTO '. $table .'
+					(`id`, `name`, `room_id`, `owner`, `roomtype_id`, `comment`,  
`number_of_participants`, `is_public`, `appointment`,
+					`is_moderated_room`, `room_validity`, `date_type`, `time_type`,  
`duration`, `repeat_type`, `weekday_type`) VALUES ('.
+					'0, '. $db->quote($requestData['name']) .', '.   
$db->quote($room_id) .', '. $db->quote($requestData['owner']) .', '.
+					$db->quote($requestData['roomtype_id']) .', '.   
$db->quote($requestData['comment']) .', '.  
$db->quote($requestData['number_of_participants']) .', '.
+					$db->quote($requestData['is_public']) .', '.   
$db->quote($requestData['appointment']) .', '.  
$db->quote($requestData['is_moderated_room']) .', '.
+					$db->quote($requestData['room_validity']) .', '.   
$db->quote($requestData['date_type']) .', '.  
$db->quote($requestData['time_type']) .', '.
+					$db->quote($requestData['duration']) .', '.   
$db->quote($requestData['repeat_type']) .', '.  
$db->quote($requestData['weekday_type']) .')';
+		}
+
+		$db->setQuery($sql);
+		if (!$db->query()) {
+			throw new Exception($db->getErrorMsg());
+		}
+
+		$db->setQuery('DELETE FROM #__om_rooms_users WHERE `om_room_id` = '.  
$db->quote( $room_id ));
+		if (!$db->query()) {
+			throw new Exception($db->getErrorMsg());
+		}
+
+		foreach ($requestData['owners'] as $value ) {
+			$tuples[] = '('. $db->quote( $room_id ).", ".$db->quote( $value ) .')';
+		}
+
+		if ( count($tuples) ) {
+			$db->setQuery('INSERT INTO #__om_rooms_users VALUES '.implode(', ',  
$tuples));
+			if (!$db->query()) {
+				throw new Exception($db->getErrorMsg());
+			}
+		}
+
+	}
+}
+?>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/models/omrooms.php	Tue Feb 12 06:23:38  
2013
@@ -0,0 +1,118 @@
+<?php
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+		* "License") +  you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*   http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+/**
+ * OpenMeetings Administrator Rooms model
+ *
+ * @package com_openmeetings
+ * @subpackage components
+ */
+
+// no direct access
+defined('_JEXEC') or die();
+
+jimport( 'joomla.application.component.model' );
+
+class OpenMeetingsModelOMRooms extends JModel
+{
+
+	function __construct()
+	{
+		parent::__construct();
+
+		$mainframe = JFactory::getApplication();
+
+		// Get pagination request variables
+		$limit =  
$mainframe->getUserStateFromRequest('global.list.limit', 'limit',  
$mainframe->getCfg('list_limit'), 'int');
+		$limitstart = JRequest::getVar('limitstart', 0, '', 'int');
+
+		// In case limit has been changed, adjust it
+		$limitstart = ($limit != 0 ? (floor($limitstart / $limit) * $limit) : 0);
+
+		$this->setState('limit', $limit);
+		$this->setState('limitstart', $limitstart);
+	}
+
+	function _buildQuery()
+	{
+
+		$query = ' SELECT * FROM #__om_rooms ';
+		return $query;
+	}
+
+
+	function getData()
+	{
+		// if data hasn't already been obtained, load it
+		if (empty($this->_data)) {
+			$query = $this->_buildQuery();
+			$this->_data = $this->_getList($query, $this->getState('limitstart'),  
$this->getState('limit'));
+		}
+		return $this->_data;
+	}
+
+	function getTotal()
+	{
+		// Load the content if it doesn't already exist
+		if (empty($this->_total)) {
+			$query = $this->_buildQuery();
+			$this->_total = $this->_getListCount($query);
+		}
+		return $this->_total;
+	}
+
+	function getPagination()
+	{
+		// Load the content if it doesn't already exist
+		if (empty($this->_pagination)) {
+			jimport('joomla.html.pagination');
+			$this->_pagination = new JPagination($this->getTotal(),  
$this->getState('limitstart'), $this->getState('limit') );
+		}
+		return $this->_pagination;
+	}
+
+
+
+
+
+
+
+
+
+
+	function delete( $cids )
+	{
+		$db = $this->getDBO();
+		$table = $db->nameQuote('#__om_rooms');
+
+		$query = 'DELETE FROM ' . $table
+		. ' WHERE `id`'
+				. ' IN (' . implode( ',', $cids ) . ') ';
+		$db->setQuery( $query );
+
+		if( !$db->query() )
+		{
+			$errorMessage = $this->getDBO()->getErrorMsg();
+			JError::raiseError(500, 'Error deleting analytics data: ' .  
$errorMessage );
+		}
+	}
+
+
+
+}
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/openmeetings.php	Tue Feb 12 06:23:38 2013
@@ -0,0 +1,38 @@
+<?php
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+		* "License") +  you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*   http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+// Access check: is this user allowed to access the backend of this  
component?
+if (!JFactory::getUser()->authorise('core.manage', 'com_openmeetings')) {
+	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
+}
+
+// Set some global property
+$document = JFactory::getDocument();
+$document->addStyleSheet("./components/com_openmeetings/css/style.css");
+
+jimport('joomla.application.component.controller');
+
+$controller = JController::getInstance('OpenMeetings');
+
+$controller->execute(JRequest::getCmd('task'));
+
+$controller->redirect();
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/sql/index.html	Tue Feb 12 06:23:38 2013
@@ -0,0 +1,16 @@
+<!--
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/sql/install.mysql.utf8.sql	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,45 @@
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements.  See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership.  The ASF licenses this file
+-- to you under the Apache License, Version 2.0 (the
+-- "License") +  you may not use this file except in compliance
+-- with the License.  You may obtain a copy of the License at
+--
+--   http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing,
+-- software distributed under the License is distributed on an
+-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+-- KIND, either express or implied.  See the License for the
+-- specific language governing permissions and limitations
+-- under the License.
+
+CREATE TABLE `#__om_rooms` (
+  `id` int(10) unsigned NOT NULL auto_increment,
+  `name` varchar(100) NOT NULL,
+  `room_id` int(10) NOT NULL,
+  `owner` int(10) NOT NULL,
+  `roomtype_id` int(10) NOT NULL,
+  `comment` varchar(100) NOT NULL,
+  `number_of_participants` int(10) NULL,
+  `is_public` tinyint(3) NOT NULL default '0',
+  `appointment` tinyint(3) NOT NULL default '0',
+  `is_moderated_room` tinyint(3) NOT NULL default '1',
+
+  `room_validity` int(10) NOT NULL default '0',
+  `date_type` date NOT NULL default 0,
+  `time_type` time NOT NULL default 0,
+  `duration` int(10) NOT NULL default '0',
+  `repeat_type` tinyint(3) NOT NULL default '0',
+  `weekday_type` int(10) NOT NULL default '0',
+
+  PRIMARY KEY  (`id`)
+) ENGINE=InnoDB  DEFAULT CHARSET=utf8 COMMENT='Openmeetings: Conference  
Rooms' AUTO_INCREMENT=5 ;
+
+CREATE TABLE IF NOT EXISTS `#__om_rooms_users` (
+  `om_room_id` int(10) NOT NULL,
+  `user_id` int(10) NOT NULL,
+
+  UNIQUE KEY `idx_room_id_user_id` (`om_room_id`,`user_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ;
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/sql/uninstall.mysql.utf8.sql	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,19 @@
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements.  See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership.  The ASF licenses this file
+-- to you under the Apache License, Version 2.0 (the
+-- "License") +  you may not use this file except in compliance
+-- with the License.  You may obtain a copy of the License at
+--
+--   http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing,
+-- software distributed under the License is distributed on an
+-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+-- KIND, either express or implied.  See the License for the
+-- specific language governing permissions and limitations
+-- under the License.
+
+DROP TABLE IF EXISTS `#__om_rooms`;
+DROP TABLE IF EXISTS `#__om_rooms_users`;
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/sql/updates/index.html	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,14 @@
+<!--
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+<html><body bgcolor="#FFFFFF"></body></html>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/sql/updates/mysql/1.1.0.sql	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,17 @@
+
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements.  See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership.  The ASF licenses this file
+-- to you under the Apache License, Version 2.0 (the
+-- "License") +  you may not use this file except in compliance
+-- with the License.  You may obtain a copy of the License at
+--
+--   http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing,
+-- software distributed under the License is distributed on an
+-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+-- KIND, either express or implied.  See the License for the
+-- specific language governing permissions and limitations
+-- under the License.
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/sql/updates/mysql/index.html	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,14 @@
+<!--
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+<html><body bgcolor="#FFFFFF"></body></html>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/views/om/index.html	Tue Feb 12 06:23:38  
2013
@@ -0,0 +1,16 @@
+<!--
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/views/omroom/index.html	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,16 @@
+<!--
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/views/omroom/tmpl/default.php	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,67 @@
+<?php
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+		* "License") +  you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*   http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+defined('_JEXEC') or die;
+
+?>
+
+<form action="<?php echo JRoute::_('index.php'); ?>" method="post"
+	name="adminForm" id="adminForm">
+	<div class="width-60 fltlft">
+		<fieldset class="panelform">
+			<legend>
+				<?php echo JText::_('COM_OPENMEETINGS_ADMIN_ADD_OMROOM'); ?>
+			</legend>
+			<!-- Fields go here -->
+			<dl>
+				<?php
+				// Iterate through the fields and display them.
+				foreach($this->form->getFieldset($fieldset->name) as $field) {
+				// If the field is hidden, only use the input.
+					if ($field->hidden) {
+						echo $field->input;
+					} else {
+				?>
+				<dt>
+					<?php echo $field->label; ?>
+				</dt>
+				<dd
+				<?php echo ($field->type == 'Editor' || $field->type  
== 'Textarea') ? ' style="clear: both; margin: 0;"' : ''?>>
+					<?php echo $field->input ?>
+				</dd>
+				<?php
+					}
+				}
+				?>
+
+			</dl>
+
+		</fieldset>
+	</div>
+	<input type="hidden" name="task" value="" />
+	<?php echo JHtml::_('form.token'); ?>
+
+	<div class="clr"></div>
+	<input type="hidden" name="option"
+		value="<?php echo JRequest::getVar( 'option' ); ?>" /> <input
+		type="hidden" name="id"
+		value="<?php $cid = JRequest::getVar( 'cid', 0 ); if (!$cid) { echo 0; }  
else { echo $cid[0]; } ?>" />
+
+</form>
+
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/views/omroom/tmpl/index.html	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,16 @@
+<!--
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/views/omroom/view.html.php	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,57 @@
+<?php
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+		* "License") +  you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*   http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+// No direct access
+defined( '_JEXEC' ) or die( 'Restricted access' );
+jimport( 'joomla.application.component.view' );
+
+class OpenMeetingsViewOMRoom extends JView {
+	protected $form;
+	protected $data;
+	protected $state;
+	protected $defaults;
+
+	function edit($id) {
+		// Build the toolbar for the edit function
+		JToolBarHelper::title(JText::_('Edit Row') . ': [<small>Edit</small>]');
+		JToolBarHelper::save('omroom_save');
+		JToolBarHelper::cancel('omroom_cancel');
+
+		// Get the row
+		$this->form = $this->get("Form");
+		$this->item = $this->get("Data");
+		$this->state = $this->get("State");
+
+
+
+		parent::display();
+	}
+
+	function add() {
+		// Build the toolbar for the add function
+		JToolBarHelper::title( JText::_('Add Row') . ': [<small>Add</small>]' );
+		JToolBarHelper::save('omroom_save');
+		JToolBarHelper::cancel('omroom_cancel');
+
+		$this->form		= $this->get('Form');
+
+		parent::display();
+	}
+}
+?>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/views/omrooms/index.html	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,16 @@
+<!--
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/views/omrooms/tmpl/default.php	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,73 @@
+<?php
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+		* "License") +  you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*   http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+// No direct access
+defined('_JEXEC') or die('Restricted access');
+
+JHTML::_('behavior.tooltip');
+?>
+
+<form action="index.php" method="post" name="adminForm">
+	<table class="adminlist">
+		<thead>
+			<tr>
+				<th width="10"><?php echo JText::_( 'ID' ); ?></th>
+				<th width="10"><input type="checkbox" name="toggle" value=""
+					onclick="checkAll(
+	    <?php echo count( $this->items ); ?>);" />
+				</th>
+				<th><?php echo JText::_('ROOM_NAME'); ?></th>
+				<th><?php echo JText::_('ROOM_LINK'); ?></th>
+			</tr>
+		</thead>
+		<tbody>
+			<?php
+			$k = 0;
+			$i = 0;
+			foreach( $this->items as $row )
+			{
+				$checked = JHTML::_('grid.id', $i, $row->id );
+				$link = JRoute::_('index.php?option=' . JRequest::getVar( 'option'  
) . '&task=omroom_edit&cid[]='. $row->id . '&hidemainmenu=1' );
+
+				$participantlink=JRoute::_( 'index.php?option=' .  
JRequest::getVar( 'option' ) . '&view=om&format=raw&room='.  
urlencode($row->room_id));
+				?>
+			<tr class="<?php echo "row$k"; ?>">
+				<td><?php echo $row->id; ?></td>
+				<td><?php echo $checked; ?></td>
+				<td><a href="<?php echo $link; ?>"><?php echo $row->name; ?> </a></td>
+				<td><a href="<?php echo $participantlink; ?>" target="_blank"><?php  
echo JText::_('SHOW_ROOM'); ?>
+				</a></td>
+			</tr>
+			<?php
+			$k = 1 - $k;
+			$i++;
+	    } ?>
+		</tbody>
+		<tfoot>
+			<tr>
+				<td colspan="6"><?php echo $this->pagination->getListFooter(); ?></td>
+			</tr>
+		</tfoot>
+	</table>
+
+	<input type="hidden" name="option"
+		value="<?php echo JRequest::getVar( 'option' ); ?>" /> <input
+		type="hidden" name="task" value="omrooms" /> <input type="hidden"
+		name="boxchecked" value="0" />
+</form>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/views/omrooms/tmpl/index.html	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,16 @@
+<!--
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/admin/views/omrooms/view.html.php	Tue Feb 12  
06:23:38 2013
@@ -0,0 +1,58 @@
+<?php
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+		* "License") +  you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*   http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied.  See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+// import Joomla view library
+jimport('joomla.application.component.view');
+
+/**
+ * OMRooms View
+*/
+class OpenMeetingsViewOMRooms extends JView
+{
+	/**
+	 * OpenMeetings OMRooms view display method
+	 * @return void
+	 */
+	function display($tpl = null)
+	{
+		$user = JFactory::getUser();
+		$bar=& JToolBar::getInstance( 'toolbar' );
+		if ( $user->authorise('core.admin', 'com_openmeetings') ) :  
JToolBarHelper::title(JText::_('OMROOMS'), 'omrooms'); endif;
+
+		if ( $user->authorise('core.create', 'com_openmeetings') ) :  
JToolBarHelper::addNew('omroom_add', 'CREATE'); endif;
+		if ( $user->authorise('core.delete', 'com_openmeetings') ) :  
JToolBarHelper::deleteList('', 'omrooms_delete'); endif;
+
+
+		JToolBarHelper::preferences( 'com_openmeetings' );
+
+		// Get data from the model
+		$items = &$this->get('Data');
+		$pagination = &$this->get('Pagination');
+
+		// push data into the template
+		$this->assignRef('items', $items);
+		$this->assignRef('pagination', $pagination);
+
+
+		parent::display($tpl);
+	}
+}
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/language/en-GB/en-GB.com_openmeetings.ini	Tue  
Feb 12 06:23:38 2013
@@ -0,0 +1,16 @@
+; Licensed to the Apache Software Foundation (ASF) under one
+; or more contributor license agreements.  See the NOTICE file
+; distributed with this work for additional information
+; regarding copyright ownership.  The ASF licenses this file
+; to you under the Apache License, Version 2.0 (the
+; "License") +  you may not use this file except in compliance
+; with the License.  You may obtain a copy of the License at
+;
+;   http://www.apache.org/licenses/LICENSE-2.0
+;
+; Unless required by applicable law or agreed to in writing,
+; software distributed under the License is distributed on an
+; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+; KIND, either express or implied.  See the License for the
+; specific language governing permissions and limitations
+; under the License.
=======================================
--- /dev/null
+++ /trunk/com_openmeetings/language/en-GB/index.html	Tue Feb 12 06:23:38  
2013
@@ -0,0 +1,16 @@
+<!--
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ -->
+<html>
+<body bgcolor="#FFFFFF"></body>
+</html>
=======================================
***Additional files exist in this changeset.***