rapc-commit Mailing List for Road Advertisement Panel Control (Page 3)
Brought to you by:
maher_karim,
sdteffen
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
(23) |
Dec
(28) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(14) |
Feb
(38) |
Mar
(6) |
Apr
|
May
(2) |
Jun
(2) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <mah...@us...> - 2007-01-17 05:26:16
|
Revision: 38
http://svn.sourceforge.net/rapc/?rev=38&view=rev
Author: maher_karim
Date: 2007-01-16 21:26:11 -0800 (Tue, 16 Jan 2007)
Log Message:
-----------
2007-01-17 Maher Abdel karim <mah...@do...>
* address_confirmation.php:Adjust the page headers, and localization.
* ar/LC_MESSAGES/ac.po
* ar/LC_MESSAGES/ac.mo:Added more translation.
* conf/dccssconfig.php:adjust the textdomain variable.
Modified Paths:
--------------
trunk/ac/include/i18n.php
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2007-01-17 05:26:15
|
Revision: 38
http://svn.sourceforge.net/rapc/?rev=38&view=rev
Author: maher_karim
Date: 2007-01-16 21:26:11 -0800 (Tue, 16 Jan 2007)
Log Message:
-----------
2007-01-17 Maher Abdel karim <mah...@do...>
* address_confirmation.php:Adjust the page headers, and localization.
* ar/LC_MESSAGES/ac.po
* ar/LC_MESSAGES/ac.mo:Added more translation.
* conf/dccssconfig.php:adjust the textdomain variable.
Modified Paths:
--------------
trunk/ac/include/i18n.php
Modified: trunk/ac/include/i18n.php
===================================================================
--- trunk/ac/include/i18n.php 2007-01-17 05:16:13 UTC (rev 37)
+++ trunk/ac/include/i18n.php 2007-01-17 05:26:11 UTC (rev 38)
@@ -1,9 +1,9 @@
<?php
- /* CSS -- Road Advertisement Panel Control
- *
+ /* RAPC -- Road Advertisement Panel Control
+ * AC -- Land Aquisition
* i18n.php - messages for translation
*
- * Copyright (C) 2005 DORSCH Consult
+ * Copyright (C) 2006,2007 DORSCH Consult
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -77,7 +77,16 @@
_("Zarqa");
_("Companyname");
_("Jan");
-
+_("Welcome to the MPWH Land Acquisition.");
+_("MPWH Land Acquisition");
+_("Village No.:");
+_("Block No.:");
+_("Sector No.:");
+_("Numbering type::");
+_("Plot No.:");
+_("Address Confirmation");
+_("Nothing Processed");
+_("Village No.:");
?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2007-01-17 05:16:18
|
Revision: 37
http://svn.sourceforge.net/rapc/?rev=37&view=rev
Author: maher_karim
Date: 2007-01-16 21:16:13 -0800 (Tue, 16 Jan 2007)
Log Message:
-----------
2007-01-17 Maher Abdel karim <mah...@do...>
* address_confirmation.php:Adjust the page headers, and localization.
* ar/LC_MESSAGES/ac.po
* ar/LC_MESSAGES/ac.mo:Added more translation.
* conf/dccssconfig.php:adjust the textdomain variable.
Modified Paths:
--------------
trunk/ac/address_confirmation.php
trunk/ac/changelog
trunk/ac/conf/dccssconfig.php
trunk/ac/locale/ar/LC_MESSAGES/ac.mo
trunk/ac/locale/ar/LC_MESSAGES/ac.po
Modified: trunk/ac/address_confirmation.php
===================================================================
--- trunk/ac/address_confirmation.php 2007-01-15 13:18:15 UTC (rev 36)
+++ trunk/ac/address_confirmation.php 2007-01-17 05:16:13 UTC (rev 37)
@@ -1,10 +1,10 @@
<?php
-/* rapc -- DC Road Advertisement Panel Control
+/* AC -- MPWH Land Aquisition Address confirmation
*
* Query.php - Query database
*
- * Copyright (C) 2006 DORSCH Consult
- *
+ * Copyright (C) 2006,2007 DORSCH Consult
+ * address_confirmation.php
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -26,14 +26,13 @@
// Required for quick form building.
require_once('HTML/QuickForm.php');
-$RolPage = new RolPage('Address Confirmation');
+$RolPage = new RolPage(_('Address Confirmation'));
$Queryform = new HTML_QuickForm('ACForm');
$Queryform->addElement('header', null, _('Address Confirmation'));
$Queryform->addElement('text','village',_('Village No.:'));
$Queryform->addElement('text','block',_('Block No.:'));
$Queryform->addElement('text','sector',_('Sector No.:'));
-$arrNumber = array('plot_no'=>_('DLS'),'plot_css'=>
-_('Comprehensive subscriber survey numbering'),'plot_jva'=>_('JVA'),'plot_hudd'=>_('HUDD'));
+$arrNumber = array('plot_no'=>_('DLS'),'plot_css'=>_('Comprehensive subscriber survey numbering'),'plot_jva'=>_('JVA'),'plot_hudd'=>_('HUDD'));
$Queryform->addElement('select','numbering',_('Numbering type::'),$arrNumber);
$Queryform->addElement('text','plot',_('Plot No.:'));
$Queryform->addElement('submit',_('Submit'),_('Submit'));
Modified: trunk/ac/changelog
===================================================================
--- trunk/ac/changelog 2007-01-15 13:18:15 UTC (rev 36)
+++ trunk/ac/changelog 2007-01-17 05:16:13 UTC (rev 37)
@@ -1,3 +1,10 @@
+2007-01-17 Maher Abdel karim <mah...@do...>
+
+ * address_confirmation.php:Adjust the page headers, and localization.
+ * ar/LC_MESSAGES/ac.po
+ * ar/LC_MESSAGES/ac.mo:Added more translation.
+ * conf/dccssconfig.php:adjust the textdomain variable.
+
2007-01-15 Maher Abdel karim <mah...@do...>
* Doc/*.*:Added documentation.
\ No newline at end of file
Modified: trunk/ac/conf/dccssconfig.php
===================================================================
--- trunk/ac/conf/dccssconfig.php 2007-01-15 13:18:15 UTC (rev 36)
+++ trunk/ac/conf/dccssconfig.php 2007-01-17 05:16:13 UTC (rev 37)
@@ -118,7 +118,7 @@
/**
* set textdomain
**/
-$_SESSION['textdomain']='rapc';
+$_SESSION['textdomain']='ac';
//Directory to save loaded images
$_SESSION['imagedir']="c:/program files/mpwh/rapc/data/plugin/";
Modified: trunk/ac/locale/ar/LC_MESSAGES/ac.mo
===================================================================
--- trunk/ac/locale/ar/LC_MESSAGES/ac.mo 2007-01-15 13:18:15 UTC (rev 36)
+++ trunk/ac/locale/ar/LC_MESSAGES/ac.mo 2007-01-17 05:16:13 UTC (rev 37)
@@ -0,0 +1,77 @@
+\xDE\x95 |
|
From: <mah...@us...> - 2007-01-17 05:16:17
|
Revision: 37
http://svn.sourceforge.net/rapc/?rev=37&view=rev
Author: maher_karim
Date: 2007-01-16 21:16:13 -0800 (Tue, 16 Jan 2007)
Log Message:
-----------
2007-01-17 Maher Abdel karim <mah...@do...>
* address_confirmation.php:Adjust the page headers, and localization.
* ar/LC_MESSAGES/ac.po
* ar/LC_MESSAGES/ac.mo:Added more translation.
* conf/dccssconfig.php:adjust the textdomain variable.
Modified Paths:
--------------
trunk/ac/address_confirmation.php
trunk/ac/changelog
trunk/ac/conf/dccssconfig.php
trunk/ac/locale/ar/LC_MESSAGES/ac.mo
trunk/ac/locale/ar/LC_MESSAGES/ac.po
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2007-01-15 13:18:17
|
Revision: 36
http://svn.sourceforge.net/rapc/?rev=36&view=rev
Author: maher_karim
Date: 2007-01-15 05:18:15 -0800 (Mon, 15 Jan 2007)
Log Message:
-----------
2007-01-15 Maher Abdel karim <mah...@do...>
* Doc/*.*:Added documentation.
Modified Paths:
--------------
trunk/ac/COPYING
trunk/ac/doc/user/en/ac_user_guide.xml
Modified: trunk/ac/COPYING
===================================================================
--- trunk/ac/COPYING 2007-01-15 13:10:17 UTC (rev 35)
+++ trunk/ac/COPYING 2007-01-15 13:18:15 UTC (rev 36)
@@ -1 +1,3 @@
-
+Copyrights are granted to Ministry of Public Works and Housing
+Dorsch Consult
+2007
Modified: trunk/ac/doc/user/en/ac_user_guide.xml
===================================================================
--- trunk/ac/doc/user/en/ac_user_guide.xml 2007-01-15 13:10:17 UTC (rev 35)
+++ trunk/ac/doc/user/en/ac_user_guide.xml 2007-01-15 13:18:15 UTC (rev 36)
@@ -394,11 +394,11 @@
<para>Contact your AC administrator if you have any problems.</para>
</sect2>
-<!--
+
<sect2 id="mailing_list">
- <title>RAPC Devel Mailing List</title>
+ <title>AC Devel Mailing List</title>
- <para>The <citetitle>RAPC</citetitle> devel mailing list may provide
+ <para>The <citetitle>AC</citetitle> devel mailing list may provide
help to solve problems by sending an email to
<email>Mah...@do...</email>.</para>
@@ -416,9 +416,9 @@
<para>There are a few parameters that should always be included when
submitting a bug report or support request: <itemizedlist>
<listitem>
- <para>The RAPC version. The version number can be found in the
+ <para>The AC version. The version number can be found in the
top line of the application, along with the main menu link.
- Example: RAPC 0.0.1</para>
+ Example: AC 0.0.1</para>
</listitem>
<listitem>
@@ -442,8 +442,7 @@
</itemizedlist></para>
</sect2>
</sect1>
--->
-</sect1>
+
<sect1 id="feedback">
<title>Feedback</title>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2007-01-15 13:18:17
|
Revision: 36
http://svn.sourceforge.net/rapc/?rev=36&view=rev
Author: maher_karim
Date: 2007-01-15 05:18:15 -0800 (Mon, 15 Jan 2007)
Log Message:
-----------
2007-01-15 Maher Abdel karim <mah...@do...>
* Doc/*.*:Added documentation.
Modified Paths:
--------------
trunk/ac/COPYING
trunk/ac/doc/user/en/ac_user_guide.xml
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2007-01-15 13:10:20
|
Revision: 35
http://svn.sourceforge.net/rapc/?rev=35&view=rev
Author: maher_karim
Date: 2007-01-15 05:10:17 -0800 (Mon, 15 Jan 2007)
Log Message:
-----------
2007-01-15 Maher Abdel karim <mah...@do...>
* Doc/*.*:Added documentation.
Added Paths:
-----------
trunk/ac/data/
trunk/ac/data/readme.txt
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2007-01-15 13:10:20
|
Revision: 35
http://svn.sourceforge.net/rapc/?rev=35&view=rev
Author: maher_karim
Date: 2007-01-15 05:10:17 -0800 (Mon, 15 Jan 2007)
Log Message:
-----------
2007-01-15 Maher Abdel karim <mah...@do...>
* Doc/*.*:Added documentation.
Added Paths:
-----------
trunk/ac/data/
trunk/ac/data/readme.txt
Added: trunk/ac/data/readme.txt
===================================================================
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2007-01-15 13:08:24
|
Revision: 34
http://svn.sourceforge.net/rapc/?rev=34&view=rev
Author: maher_karim
Date: 2007-01-15 05:08:10 -0800 (Mon, 15 Jan 2007)
Log Message:
-----------
2007-01-15 Maher Abdel karim <mah...@do...>
* Doc/*.*:Added documentation.
Modified Paths:
--------------
trunk/ac/changelog
Added Paths:
-----------
trunk/ac/doc/
trunk/ac/doc/ac_docbook_html.xsl
trunk/ac/doc/ac_docbook_htmlhelp.xsl
trunk/ac/doc/ac_docbook_pdf.xsl
trunk/ac/doc/administration/
trunk/ac/doc/administration/figure/
trunk/ac/doc/administration/figure/Thumbs.db
trunk/ac/doc/administration/figure/administrative_tools_icon.png
trunk/ac/doc/administration/figure/apache_information.png
trunk/ac/doc/administration/figure/apache_install.png
trunk/ac/doc/administration/figure/apache_license.png
trunk/ac/doc/administration/figure/apache_location.png
trunk/ac/doc/administration/figure/apache_readme.png
trunk/ac/doc/administration/figure/apache_setup_type.png
trunk/ac/doc/administration/figure/apache_wizard.png
trunk/ac/doc/administration/figure/client_server_deployment.BMP
trunk/ac/doc/administration/figure/client_server_deployment.png
trunk/ac/doc/administration/figure/client_server_deployment.svg
trunk/ac/doc/administration/figure/control_panel.png
trunk/ac/doc/administration/figure/dccss_components.PNG
trunk/ac/doc/administration/figure/dccss_database_connection.png
trunk/ac/doc/administration/figure/dccss_license.png
trunk/ac/doc/administration/figure/dccss_location.png
trunk/ac/doc/administration/figure/dccss_uml.png
trunk/ac/doc/administration/figure/dccss_uml.vsd
trunk/ac/doc/administration/figure/gis_data_review.png
trunk/ac/doc/administration/figure/internet_deployment.png
trunk/ac/doc/administration/figure/internet_deployment.svg
trunk/ac/doc/administration/figure/php_components.png
trunk/ac/doc/administration/figure/php_license.png
trunk/ac/doc/administration/figure/php_location.png
trunk/ac/doc/administration/figure/poedit_php_parser.png
trunk/ac/doc/administration/figure/poedit_php_path.png
trunk/ac/doc/administration/figure/postgis_components.png
trunk/ac/doc/administration/figure/postgis_database_connection.png
trunk/ac/doc/administration/figure/postgis_installation_complete.png
trunk/ac/doc/administration/figure/postgis_license.png
trunk/ac/doc/administration/figure/postgis_location.png
trunk/ac/doc/administration/figure/postgis_patience.png
trunk/ac/doc/administration/figure/postgis_reboot.png
trunk/ac/doc/administration/figure/postgresql_account_error.png
trunk/ac/doc/administration/figure/postgresql_contrib_modules.png
trunk/ac/doc/administration/figure/postgresql_database_cluster.png
trunk/ac/doc/administration/figure/postgresql_enable_postgis.png
trunk/ac/doc/administration/figure/postgresql_installation_complete.png
trunk/ac/doc/administration/figure/postgresql_installation_notes.png
trunk/ac/doc/administration/figure/postgresql_installation_options.png
trunk/ac/doc/administration/figure/postgresql_installation_ready.png
trunk/ac/doc/administration/figure/postgresql_language_selection.png
trunk/ac/doc/administration/figure/postgresql_log_on_as_service.png
trunk/ac/doc/administration/figure/postgresql_password.png
trunk/ac/doc/administration/figure/postgresql_procedural_languages.png
trunk/ac/doc/administration/figure/postgresql_service_configuration.png
trunk/ac/doc/administration/figure/postgresql_users.png
trunk/ac/doc/administration/figure/postgresql_welcome.png
trunk/ac/doc/administration/figure/postmaster_service.png
trunk/ac/doc/administration/figure/postmaster_service_logon.png
trunk/ac/doc/administration/figure/postmaster_service_properties.png
trunk/ac/doc/administration/figure/rapc_components.PNG
trunk/ac/doc/administration/figure/rapc_database_connection.png
trunk/ac/doc/administration/figure/rapc_location.png
trunk/ac/doc/administration/figure/service_start.png
trunk/ac/doc/administration/figure/service_stop.png
trunk/ac/doc/administration/figure/services_context_menu.png
trunk/ac/doc/administration/figure/services_icon.png
trunk/ac/doc/administration/figure/standalone_deployment.png
trunk/ac/doc/administration/figure/standalone_deployment.svg
trunk/ac/doc/administration/figure/uml_legend.png
trunk/ac/doc/administration/figure/windows_users.png
trunk/ac/doc/administration/figure/windows_users.svg
trunk/ac/doc/administration/images/
trunk/ac/doc/administration/images/Thumbs.db
trunk/ac/doc/administration/images/blank.png
trunk/ac/doc/administration/images/callouts/
trunk/ac/doc/administration/images/callouts/1.png
trunk/ac/doc/administration/images/callouts/10.png
trunk/ac/doc/administration/images/callouts/11.png
trunk/ac/doc/administration/images/callouts/12.png
trunk/ac/doc/administration/images/callouts/13.png
trunk/ac/doc/administration/images/callouts/14.png
trunk/ac/doc/administration/images/callouts/15.png
trunk/ac/doc/administration/images/callouts/2.png
trunk/ac/doc/administration/images/callouts/3.png
trunk/ac/doc/administration/images/callouts/4.png
trunk/ac/doc/administration/images/callouts/5.png
trunk/ac/doc/administration/images/callouts/6.png
trunk/ac/doc/administration/images/callouts/7.png
trunk/ac/doc/administration/images/callouts/8.png
trunk/ac/doc/administration/images/callouts/9.png
trunk/ac/doc/administration/images/caution.png
trunk/ac/doc/administration/images/caution.svg
trunk/ac/doc/administration/images/draft.png
trunk/ac/doc/administration/images/example.png
trunk/ac/doc/administration/images/home.png
trunk/ac/doc/administration/images/home.svg
trunk/ac/doc/administration/images/important.png
trunk/ac/doc/administration/images/important.svg
trunk/ac/doc/administration/images/next.png
trunk/ac/doc/administration/images/next.svg
trunk/ac/doc/administration/images/note.png
trunk/ac/doc/administration/images/note.svg
trunk/ac/doc/administration/images/prev.png
trunk/ac/doc/administration/images/prev.svg
trunk/ac/doc/administration/images/tip.png
trunk/ac/doc/administration/images/tip.svg
trunk/ac/doc/administration/images/toc-blank.png
trunk/ac/doc/administration/images/toc-minus.png
trunk/ac/doc/administration/images/toc-plus.png
trunk/ac/doc/administration/images/up.png
trunk/ac/doc/administration/images/up.svg
trunk/ac/doc/administration/images/warning.png
trunk/ac/doc/administration/images/warning.svg
trunk/ac/doc/administration/rapc_administration_guide.xml
trunk/ac/doc/build.xml
trunk/ac/doc/dccss_docbook_html.xsl
trunk/ac/doc/dccss_docbook_htmlhelp.xsl
trunk/ac/doc/dccss_docbook_pdf.xsl
trunk/ac/doc/dcmms.xsl
trunk/ac/doc/development/
trunk/ac/doc/docbook.css
trunk/ac/doc/user/
trunk/ac/doc/user/ar/
trunk/ac/doc/user/en/
trunk/ac/doc/user/en/ac_user_guide.xml
trunk/ac/doc/user/en/figure/
trunk/ac/doc/user/en/figure/error_page_cannot_be_displayed.png
trunk/ac/doc/user/en/figure/stock-tool-move.png
trunk/ac/doc/user/en/figure/stock_extended-help.png
trunk/ac/doc/user/en/figure/stock_zoom-in.png
trunk/ac/doc/user/en/figure/stock_zoom-out.png
trunk/ac/doc/user/en/images/
trunk/ac/doc/user/en/images/blank.png
trunk/ac/doc/user/en/images/callouts/
trunk/ac/doc/user/en/images/callouts/1.png
trunk/ac/doc/user/en/images/callouts/10.png
trunk/ac/doc/user/en/images/callouts/11.png
trunk/ac/doc/user/en/images/callouts/12.png
trunk/ac/doc/user/en/images/callouts/13.png
trunk/ac/doc/user/en/images/callouts/14.png
trunk/ac/doc/user/en/images/callouts/15.png
trunk/ac/doc/user/en/images/callouts/2.png
trunk/ac/doc/user/en/images/callouts/3.png
trunk/ac/doc/user/en/images/callouts/4.png
trunk/ac/doc/user/en/images/callouts/5.png
trunk/ac/doc/user/en/images/callouts/6.png
trunk/ac/doc/user/en/images/callouts/7.png
trunk/ac/doc/user/en/images/callouts/8.png
trunk/ac/doc/user/en/images/callouts/9.png
trunk/ac/doc/user/en/images/caution.png
trunk/ac/doc/user/en/images/caution.svg
trunk/ac/doc/user/en/images/draft.png
trunk/ac/doc/user/en/images/example.png
trunk/ac/doc/user/en/images/home.png
trunk/ac/doc/user/en/images/home.svg
trunk/ac/doc/user/en/images/important.png
trunk/ac/doc/user/en/images/important.svg
trunk/ac/doc/user/en/images/next.png
trunk/ac/doc/user/en/images/next.svg
trunk/ac/doc/user/en/images/note.png
trunk/ac/doc/user/en/images/note.svg
trunk/ac/doc/user/en/images/prev.png
trunk/ac/doc/user/en/images/prev.svg
trunk/ac/doc/user/en/images/tip.png
trunk/ac/doc/user/en/images/tip.svg
trunk/ac/doc/user/en/images/toc-blank.png
trunk/ac/doc/user/en/images/toc-minus.png
trunk/ac/doc/user/en/images/toc-plus.png
trunk/ac/doc/user/en/images/up.png
trunk/ac/doc/user/en/images/up.svg
trunk/ac/doc/user/en/images/warning.png
trunk/ac/doc/user/en/images/warning.svg
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2007-01-15 13:08:23
|
Revision: 34
http://svn.sourceforge.net/rapc/?rev=34&view=rev
Author: maher_karim
Date: 2007-01-15 05:08:10 -0800 (Mon, 15 Jan 2007)
Log Message:
-----------
2007-01-15 Maher Abdel karim <mah...@do...>
* Doc/*.*:Added documentation.
Modified Paths:
--------------
trunk/ac/changelog
Added Paths:
-----------
trunk/ac/doc/
trunk/ac/doc/ac_docbook_html.xsl
trunk/ac/doc/ac_docbook_htmlhelp.xsl
trunk/ac/doc/ac_docbook_pdf.xsl
trunk/ac/doc/administration/
trunk/ac/doc/administration/figure/
trunk/ac/doc/administration/figure/Thumbs.db
trunk/ac/doc/administration/figure/administrative_tools_icon.png
trunk/ac/doc/administration/figure/apache_information.png
trunk/ac/doc/administration/figure/apache_install.png
trunk/ac/doc/administration/figure/apache_license.png
trunk/ac/doc/administration/figure/apache_location.png
trunk/ac/doc/administration/figure/apache_readme.png
trunk/ac/doc/administration/figure/apache_setup_type.png
trunk/ac/doc/administration/figure/apache_wizard.png
trunk/ac/doc/administration/figure/client_server_deployment.BMP
trunk/ac/doc/administration/figure/client_server_deployment.png
trunk/ac/doc/administration/figure/client_server_deployment.svg
trunk/ac/doc/administration/figure/control_panel.png
trunk/ac/doc/administration/figure/dccss_components.PNG
trunk/ac/doc/administration/figure/dccss_database_connection.png
trunk/ac/doc/administration/figure/dccss_license.png
trunk/ac/doc/administration/figure/dccss_location.png
trunk/ac/doc/administration/figure/dccss_uml.png
trunk/ac/doc/administration/figure/dccss_uml.vsd
trunk/ac/doc/administration/figure/gis_data_review.png
trunk/ac/doc/administration/figure/internet_deployment.png
trunk/ac/doc/administration/figure/internet_deployment.svg
trunk/ac/doc/administration/figure/php_components.png
trunk/ac/doc/administration/figure/php_license.png
trunk/ac/doc/administration/figure/php_location.png
trunk/ac/doc/administration/figure/poedit_php_parser.png
trunk/ac/doc/administration/figure/poedit_php_path.png
trunk/ac/doc/administration/figure/postgis_components.png
trunk/ac/doc/administration/figure/postgis_database_connection.png
trunk/ac/doc/administration/figure/postgis_installation_complete.png
trunk/ac/doc/administration/figure/postgis_license.png
trunk/ac/doc/administration/figure/postgis_location.png
trunk/ac/doc/administration/figure/postgis_patience.png
trunk/ac/doc/administration/figure/postgis_reboot.png
trunk/ac/doc/administration/figure/postgresql_account_error.png
trunk/ac/doc/administration/figure/postgresql_contrib_modules.png
trunk/ac/doc/administration/figure/postgresql_database_cluster.png
trunk/ac/doc/administration/figure/postgresql_enable_postgis.png
trunk/ac/doc/administration/figure/postgresql_installation_complete.png
trunk/ac/doc/administration/figure/postgresql_installation_notes.png
trunk/ac/doc/administration/figure/postgresql_installation_options.png
trunk/ac/doc/administration/figure/postgresql_installation_ready.png
trunk/ac/doc/administration/figure/postgresql_language_selection.png
trunk/ac/doc/administration/figure/postgresql_log_on_as_service.png
trunk/ac/doc/administration/figure/postgresql_password.png
trunk/ac/doc/administration/figure/postgresql_procedural_languages.png
trunk/ac/doc/administration/figure/postgresql_service_configuration.png
trunk/ac/doc/administration/figure/postgresql_users.png
trunk/ac/doc/administration/figure/postgresql_welcome.png
trunk/ac/doc/administration/figure/postmaster_service.png
trunk/ac/doc/administration/figure/postmaster_service_logon.png
trunk/ac/doc/administration/figure/postmaster_service_properties.png
trunk/ac/doc/administration/figure/rapc_components.PNG
trunk/ac/doc/administration/figure/rapc_database_connection.png
trunk/ac/doc/administration/figure/rapc_location.png
trunk/ac/doc/administration/figure/service_start.png
trunk/ac/doc/administration/figure/service_stop.png
trunk/ac/doc/administration/figure/services_context_menu.png
trunk/ac/doc/administration/figure/services_icon.png
trunk/ac/doc/administration/figure/standalone_deployment.png
trunk/ac/doc/administration/figure/standalone_deployment.svg
trunk/ac/doc/administration/figure/uml_legend.png
trunk/ac/doc/administration/figure/windows_users.png
trunk/ac/doc/administration/figure/windows_users.svg
trunk/ac/doc/administration/images/
trunk/ac/doc/administration/images/Thumbs.db
trunk/ac/doc/administration/images/blank.png
trunk/ac/doc/administration/images/callouts/
trunk/ac/doc/administration/images/callouts/1.png
trunk/ac/doc/administration/images/callouts/10.png
trunk/ac/doc/administration/images/callouts/11.png
trunk/ac/doc/administration/images/callouts/12.png
trunk/ac/doc/administration/images/callouts/13.png
trunk/ac/doc/administration/images/callouts/14.png
trunk/ac/doc/administration/images/callouts/15.png
trunk/ac/doc/administration/images/callouts/2.png
trunk/ac/doc/administration/images/callouts/3.png
trunk/ac/doc/administration/images/callouts/4.png
trunk/ac/doc/administration/images/callouts/5.png
trunk/ac/doc/administration/images/callouts/6.png
trunk/ac/doc/administration/images/callouts/7.png
trunk/ac/doc/administration/images/callouts/8.png
trunk/ac/doc/administration/images/callouts/9.png
trunk/ac/doc/administration/images/caution.png
trunk/ac/doc/administration/images/caution.svg
trunk/ac/doc/administration/images/draft.png
trunk/ac/doc/administration/images/example.png
trunk/ac/doc/administration/images/home.png
trunk/ac/doc/administration/images/home.svg
trunk/ac/doc/administration/images/important.png
trunk/ac/doc/administration/images/important.svg
trunk/ac/doc/administration/images/next.png
trunk/ac/doc/administration/images/next.svg
trunk/ac/doc/administration/images/note.png
trunk/ac/doc/administration/images/note.svg
trunk/ac/doc/administration/images/prev.png
trunk/ac/doc/administration/images/prev.svg
trunk/ac/doc/administration/images/tip.png
trunk/ac/doc/administration/images/tip.svg
trunk/ac/doc/administration/images/toc-blank.png
trunk/ac/doc/administration/images/toc-minus.png
trunk/ac/doc/administration/images/toc-plus.png
trunk/ac/doc/administration/images/up.png
trunk/ac/doc/administration/images/up.svg
trunk/ac/doc/administration/images/warning.png
trunk/ac/doc/administration/images/warning.svg
trunk/ac/doc/administration/rapc_administration_guide.xml
trunk/ac/doc/build.xml
trunk/ac/doc/dccss_docbook_html.xsl
trunk/ac/doc/dccss_docbook_htmlhelp.xsl
trunk/ac/doc/dccss_docbook_pdf.xsl
trunk/ac/doc/dcmms.xsl
trunk/ac/doc/development/
trunk/ac/doc/docbook.css
trunk/ac/doc/user/
trunk/ac/doc/user/ar/
trunk/ac/doc/user/en/
trunk/ac/doc/user/en/ac_user_guide.xml
trunk/ac/doc/user/en/figure/
trunk/ac/doc/user/en/figure/error_page_cannot_be_displayed.png
trunk/ac/doc/user/en/figure/stock-tool-move.png
trunk/ac/doc/user/en/figure/stock_extended-help.png
trunk/ac/doc/user/en/figure/stock_zoom-in.png
trunk/ac/doc/user/en/figure/stock_zoom-out.png
trunk/ac/doc/user/en/images/
trunk/ac/doc/user/en/images/blank.png
trunk/ac/doc/user/en/images/callouts/
trunk/ac/doc/user/en/images/callouts/1.png
trunk/ac/doc/user/en/images/callouts/10.png
trunk/ac/doc/user/en/images/callouts/11.png
trunk/ac/doc/user/en/images/callouts/12.png
trunk/ac/doc/user/en/images/callouts/13.png
trunk/ac/doc/user/en/images/callouts/14.png
trunk/ac/doc/user/en/images/callouts/15.png
trunk/ac/doc/user/en/images/callouts/2.png
trunk/ac/doc/user/en/images/callouts/3.png
trunk/ac/doc/user/en/images/callouts/4.png
trunk/ac/doc/user/en/images/callouts/5.png
trunk/ac/doc/user/en/images/callouts/6.png
trunk/ac/doc/user/en/images/callouts/7.png
trunk/ac/doc/user/en/images/callouts/8.png
trunk/ac/doc/user/en/images/callouts/9.png
trunk/ac/doc/user/en/images/caution.png
trunk/ac/doc/user/en/images/caution.svg
trunk/ac/doc/user/en/images/draft.png
trunk/ac/doc/user/en/images/example.png
trunk/ac/doc/user/en/images/home.png
trunk/ac/doc/user/en/images/home.svg
trunk/ac/doc/user/en/images/important.png
trunk/ac/doc/user/en/images/important.svg
trunk/ac/doc/user/en/images/next.png
trunk/ac/doc/user/en/images/next.svg
trunk/ac/doc/user/en/images/note.png
trunk/ac/doc/user/en/images/note.svg
trunk/ac/doc/user/en/images/prev.png
trunk/ac/doc/user/en/images/prev.svg
trunk/ac/doc/user/en/images/tip.png
trunk/ac/doc/user/en/images/tip.svg
trunk/ac/doc/user/en/images/toc-blank.png
trunk/ac/doc/user/en/images/toc-minus.png
trunk/ac/doc/user/en/images/toc-plus.png
trunk/ac/doc/user/en/images/up.png
trunk/ac/doc/user/en/images/up.svg
trunk/ac/doc/user/en/images/warning.png
trunk/ac/doc/user/en/images/warning.svg
Modified: trunk/ac/changelog
===================================================================
--- trunk/ac/changelog 2007-01-11 11:51:13 UTC (rev 33)
+++ trunk/ac/changelog 2007-01-15 13:08:10 UTC (rev 34)
@@ -0,0 +1,3 @@
+2007-01-15 Maher Abdel karim <mah...@do...>
+
+ * Doc/*.*:Added documentation.
\ No newline at end of file
Added: trunk/ac/doc/ac_docbook_html.xsl
===================================================================
--- trunk/ac/doc/ac_docbook_html.xsl (rev 0)
+++ trunk/ac/doc/ac_docbook_html.xsl 2007-01-15 13:08:10 UTC (rev 34)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:import href=
+ "file:///c:/program files/docbook-xsl/html/profile-docbook.xsl"/>
+ <xsl:import href="dcmms.xsl"/>
+ <xsl:param name="admon.graphics">1</xsl:param>
+</xsl:stylesheet>
Added: trunk/ac/doc/ac_docbook_htmlhelp.xsl
===================================================================
--- trunk/ac/doc/ac_docbook_htmlhelp.xsl (rev 0)
+++ trunk/ac/doc/ac_docbook_htmlhelp.xsl 2007-01-15 13:08:10 UTC (rev 34)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:import href=
+ "file:///c:/program files/docbook-xsl/htmlhelp/profile-htmlhelp.xsl"/>
+ <xsl:import href="dcmms.xsl"/>
+ <xsl:param name="admon.graphics">1</xsl:param>
+</xsl:stylesheet>
Added: trunk/ac/doc/ac_docbook_pdf.xsl
===================================================================
--- trunk/ac/doc/ac_docbook_pdf.xsl (rev 0)
+++ trunk/ac/doc/ac_docbook_pdf.xsl 2007-01-15 13:08:10 UTC (rev 34)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:import href="file:///c:/program%20files/docbook-xsl/fo/profile-docbook.xsl"/>
+ <xsl:import href="dcmms.xsl"/>
+ <xsl:param name="admon.graphics">1</xsl:param>
+ <xsl:param name="admon.graphics.extension">.svg</xsl:param>
+</xsl:stylesheet>
Added: trunk/ac/doc/administration/figure/Thumbs.db
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/Thumbs.db
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/administrative_tools_icon.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/administrative_tools_icon.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/apache_information.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/apache_information.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/apache_install.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/apache_install.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/apache_license.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/apache_license.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/apache_location.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/apache_location.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/apache_readme.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/apache_readme.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/apache_setup_type.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/apache_setup_type.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/apache_wizard.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/apache_wizard.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/client_server_deployment.BMP
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/client_server_deployment.BMP
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/client_server_deployment.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/client_server_deployment.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/client_server_deployment.svg
===================================================================
--- trunk/ac/doc/administration/figure/client_server_deployment.svg (rev 0)
+++ trunk/ac/doc/administration/figure/client_server_deployment.svg 2007-01-15 13:08:10 UTC (rev 34)
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="2.35042in"
+ height="1.75667in" viewBox="0 0 169.23 126.48" xml:space="preserve" color-interpolation-filters="sRGB" class="st7">
+ <title>uml</title>
+ <style type="text/css">
+ <![CDATA[
+ .st1 {fill:#c0c0c0;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.24}
+ .st2 {fill:#ffffff;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.24}
+ .st3 {fill:#000000;font-family:Arial;font-size:0.666664em;font-weight:bold}
+ .st4 {fill:none;stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.72}
+ .st5 {fill:#000000;font-family:Arial;font-size:0.666664em}
+ .st6 {stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.48}
+ .st7 {fill:none;fill-rule:evenodd;font-size:12;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
+ ]]>
+ </style>
+ <g >
+ <title>Stand-alone deployment</title>
+ <g id="group1-1" transform="translate(0.24,-0.24)" >
+ <title>Node</title>
+ <g id="shape2-2" transform="translate(159.75,1.42109E-014)">
+ <title>Sheet.2</title>
+ <path d="M0 126.48 L9 117.48 L9 0.48 L0 9.48 L0 126.48 Z" class="st1"/>
+ </g>
+ <g id="shape3-4" transform="translate(0,-117)">
+ <title>Sheet.3</title>
+ <path d="M0 126.48 L159.75 126.48 L168.75 117.48 L9 117.48 L0 126.48 Z" class="st1"/>
+ </g>
+ <g id="shape4-6" >
+ <title>Name</title>
+ <desc>DCMMS PC</desc>
+ <rect x="0" y="9.48" width="159.75" height="117" class="st2"/>
+ <text x="4" y="20.68" class="st3" >DCMMS PC</text> </g>
+ </g>
+ <g id="group5-9" transform="translate(14.7265,-58.74)" >
+ <title>Component</title>
+ <g id="shape6-10" transform="translate(12.6,1.42109E-014)">
+ <title>Sheet.6</title>
+ <rect x="0" y="90.48" width="80.9271" height="36" class="st2"/>
+ </g>
+ <g id="shape7-12" transform="translate(0,-22.5)">
+ <title>Sheet.7</title>
+ <rect x="0" y="117.48" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape8-14" transform="translate(0,-4.5)">
+ <title>Sheet.8</title>
+ <rect x="0" y="117.48" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape9-16" transform="translate(25.2,1.42109E-014)">
+ <title>Name</title>
+ <desc>DCMMS Server</desc>
+ <rect x="0" y="90.48" width="68.3271" height="36" class="st4"/>
+ <text x="5.5" y="110.88" class="st3" >DCMMS Server</text> </g>
+ </g>
+ <g id="group10-19" transform="translate(17.3416,-9.24)" >
+ <title>Component.10</title>
+ <g id="shape11-20" transform="translate(12.6,1.42109E-014)">
+ <title>Sheet.11</title>
+ <rect x="0" y="90.48" width="74.6967" height="36" class="st2"/>
+ </g>
+ <g id="shape12-22" transform="translate(0,-22.5)">
+ <title>Sheet.12</title>
+ <rect x="0" y="117.48" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape13-24" transform="translate(0,-4.5)">
+ <title>Sheet.13</title>
+ <rect x="0" y="117.48" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape14-26" transform="translate(25.2,1.42109E-014)">
+ <title>Name</title>
+ <desc>Web Browser</desc>
+ <rect x="0" y="90.48" width="62.0967" height="36" class="st4"/>
+ <text x="5.49" y="110.88" class="st3" >Web Browser</text> </g>
+ </g>
+ <g id="group15-29" transform="translate(113.533,-76.74)" >
+ <title>Communicates</title>
+ <g id="shape16-30" transform="translate(3.43255,-5.09117)">
+ <title>end1_name</title>
+ </g>
+ <g id="shape17-32" transform="translate(3.43255,22.6947)">
+ <title>end1_mp</title>
+ <desc>1</desc>
+ <text x="5.5" y="120.08" class="st5" >1</text> </g>
+ <g id="shape18-35" transform="translate(-0.00744535,72.1912)">
+ <title>end2_name</title>
+ </g>
+ <g id="shape19-37" transform="translate(-0.00744535,44.4088)">
+ <title>end2_mp</title>
+ <desc>1</desc>
+ <text x="5.5" y="120.08" class="st5" >1</text> </g>
+ <g id="shape15-40" >
+ <path d="M-5.28 126.48 L-5.37 126.48 L29.96 126.48 L29.96 175.98 L-8.81 175.98 L-8.89 175.98" class="st6"/>
+ </g>
+ </g>
+ </g>
+</svg>
Added: trunk/ac/doc/administration/figure/control_panel.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/control_panel.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/dccss_components.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/dccss_components.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/dccss_database_connection.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/dccss_database_connection.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/dccss_license.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/dccss_license.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/dccss_location.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/dccss_location.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/dccss_uml.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/dccss_uml.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/dccss_uml.vsd
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/dccss_uml.vsd
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/gis_data_review.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/gis_data_review.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/internet_deployment.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/internet_deployment.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/internet_deployment.svg
===================================================================
--- trunk/ac/doc/administration/figure/internet_deployment.svg (rev 0)
+++ trunk/ac/doc/administration/figure/internet_deployment.svg 2007-01-15 13:08:10 UTC (rev 34)
@@ -0,0 +1,209 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<!-- Generated by Microsoft Visio 11.0, SVG Export, v1.0 internet_deployment.svg Internet Deployment -->
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="5.38167in"
+ height="2.66292in" viewBox="0 0 387.48 191.73" xml:space="preserve" color-interpolation-filters="sRGB" class="st7">
+ <title>uml</title>
+ <style type="text/css">
+ <![CDATA[
+ .st1 {fill:#c0c0c0;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.24}
+ .st2 {fill:#ffffff;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.24}
+ .st3 {fill:#000000;font-family:Arial;font-size:0.666664em;font-weight:bold}
+ .st4 {fill:none;stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.72}
+ .st5 {fill:#000000;font-family:Arial;font-size:0.666664em}
+ .st6 {stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.48}
+ .st7 {fill:none;fill-rule:evenodd;font-size:12;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
+ ]]>
+ </style>
+ <g >
+ <title>Internet Deployment</title>
+ <g id="group24-1" transform="translate(180.24,-72.24)" >
+ <title>Node.24</title>
+ <g id="shape25-2" transform="translate(198,0)">
+ <title>Sheet.25</title>
+ <path d="M0 191.73 L9 182.73 L9 74.73 L0 83.73 L0 191.73 Z" class="st1"/>
+ </g>
+ <g id="shape26-4" transform="translate(0,-108)">
+ <title>Sheet.26</title>
+ <path d="M0 191.73 L198 191.73 L207 182.73 L9 182.73 L0 191.73 Z" class="st1"/>
+ </g>
+ <g id="shape27-6" >
+ <title>Name</title>
+ <desc>VPN Server</desc>
+ <rect x="0" y="83.73" width="198" height="108" class="st2"/>
+ <text x="4" y="94.93" class="st3" >VPN Server</text> </g>
+ </g>
+ <g id="group1-9" transform="translate(0.24,-0.24)" >
+ <title>Node.20</title>
+ <g id="shape2-10" transform="translate(162,0)">
+ <title>Sheet.2</title>
+ <path d="M0 191.73 L9 182.73 L9 119.73 L0 128.73 L0 191.73 Z" class="st1"/>
+ </g>
+ <g id="shape3-12" transform="translate(0,-63)">
+ <title>Sheet.3</title>
+ <path d="M0 191.73 L162 191.73 L171 182.73 L9 182.73 L0 191.73 Z" class="st1"/>
+ </g>
+ <g id="shape4-14" >
+ <title>Name</title>
+ <desc>DCMMS Client</desc>
+ <rect x="0" y="128.73" width="162" height="63" class="st2"/>
+ <text x="4" y="139.93" class="st3" >DCMMS Client</text> </g>
+ </g>
+ <g id="group5-17" transform="translate(1.365,-90.24)" >
+ <title>Node</title>
+ <g id="shape6-18" transform="translate(159.75,0)">
+ <title>Sheet.6</title>
+ <path d="M0 191.73 L9 182.73 L9 90.48 L0 99.48 L0 191.73 Z" class="st1"/>
+ </g>
+ <g id="shape7-20" transform="translate(0,-92.25)">
+ <title>Sheet.7</title>
+ <path d="M0 191.73 L159.75 191.73 L168.75 182.73 L9 182.73 L0 191.73 Z" class="st1"/>
+ </g>
+ <g id="shape8-22" >
+ <title>Name</title>
+ <desc>DCMMS Server</desc>
+ <rect x="0" y="99.48" width="159.75" height="92.25" class="st2"/>
+ <text x="4" y="110.68" class="st3" >DCMMS Server</text> </g>
+ </g>
+ <g id="group9-25" transform="translate(16.9765,-99.24)" >
+ <title>Component</title>
+ <g id="shape10-26" transform="translate(12.6,0)">
+ <title>Sheet.10</title>
+ <rect x="0" y="155.73" width="80.9271" height="36" class="st2"/>
+ </g>
+ <g id="shape11-28" transform="translate(0,-22.5)">
+ <title>Sheet.11</title>
+ <rect x="0" y="182.73" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape12-30" transform="translate(0,-4.5)">
+ <title>Sheet.12</title>
+ <rect x="0" y="182.73" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape13-32" transform="translate(25.2,0)">
+ <title>Name</title>
+ <desc>DCMMS Server</desc>
+ <rect x="0" y="155.73" width="68.3271" height="36" class="st4"/>
+ <text x="5.5" y="176.13" class="st3" >DCMMS Server</text> </g>
+ </g>
+ <g id="group14-35" transform="translate(16.9716,-9.24)" >
+ <title>Component.10</title>
+ <g id="shape15-36" transform="translate(12.6,0)">
+ <title>Sheet.15</title>
+ <rect x="0" y="155.73" width="74.6967" height="36" class="st2"/>
+ </g>
+ <g id="shape16-38" transform="translate(0,-22.5)">
+ <title>Sheet.16</title>
+ <rect x="0" y="182.73" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape17-40" transform="translate(0,-4.5)">
+ <title>Sheet.17</title>
+ <rect x="0" y="182.73" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape18-42" transform="translate(25.2,0)">
+ <title>Name</title>
+ <desc>Web Browser</desc>
+ <rect x="0" y="155.73" width="62.0967" height="36" class="st4"/>
+ <text x="5.49" y="176.13" class="st3" >Web Browser</text> </g>
+ </g>
+ <g id="group19-45" transform="translate(348.222,-126.24)" >
+ <title>Communicates</title>
+ <g id="shape20-46" transform="translate(16.1847,-5.09117)">
+ <title>end1_name</title>
+ </g>
+ <g id="shape21-48" transform="translate(16.1847,22.6947)">
+ <title>end1_mp</title>
+ <desc>1</desc>
+ <text x="5.5" y="185.33" class="st5" >1</text> </g>
+ <g id="shape22-51" transform="translate(-227.769,121.691)">
+ <title>end2_name</title>
+ </g>
+ <g id="shape23-53" transform="translate(-227.769,93.9088)">
+ <title>end2_mp</title>
+ <desc>*</desc>
+ <text x="5.49" y="185.33" class="st5" >*</text> </g>
+ <g id="shape19-56" >
+ <path d="M0 191.73 L13.42 191.73 L13.42 290.73 L-243.95 290.73" class="st6"/>
+ </g>
+ </g>
+ <g id="group28-59" transform="translate(282.258,-108.24)" >
+ <title>Component.28</title>
+ <g id="shape29-60" transform="translate(12.6,0)">
+ <title>Sheet.29</title>
+ <rect x="0" y="155.73" width="53.3646" height="36" class="st2"/>
+ </g>
+ <g id="shape30-62" transform="translate(0,-22.5)">
+ <title>Sheet.30</title>
+ <rect x="0" y="182.73" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape31-64" transform="translate(0,-4.5)">
+ <title>Sheet.31</title>
+ <rect x="0" y="182.73" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape32-66" transform="translate(25.2,0)">
+ <title>Name</title>
+ <desc>Firewall</desc>
+ <rect x="0" y="155.73" width="40.7646" height="36" class="st4"/>
+ <text x="5.48" y="176.13" class="st3" >Firewall</text> </g>
+ </g>
+ <g id="group33-69" transform="translate(191.881,-108.24)" >
+ <title>Component.33</title>
+ <g id="shape34-70" transform="translate(12.6,0)">
+ <title>Sheet.34</title>
+ <rect x="0" y="155.73" width="67.1573" height="36" class="st2"/>
+ </g>
+ <g id="shape35-72" transform="translate(0,-22.5)">
+ <title>Sheet.35</title>
+ <rect x="0" y="182.73" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape36-74" transform="translate(0,-4.5)">
+ <title>Sheet.36</title>
+ <rect x="0" y="182.73" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape37-76" transform="translate(25.2,0)">
+ <title>Name</title>
+ <desc>VPN Server</desc>
+ <rect x="0" y="155.73" width="54.5573" height="36" class="st4"/>
+ <text x="5.48" y="176.13" class="st3" >VPN Server</text> </g>
+ </g>
+ <g id="group38-79" transform="translate(315.24,-99.24)" >
+ <title>Dynamic Connector</title>
+ <g id="shape39-80" transform="translate(5.09117,17.8156)">
+ <title>end1_name</title>
+ </g>
+ <g id="shape40-82" transform="translate(-20.5163,17.8191)">
+ <title>end1_mp</title>
+ <desc>1</desc>
+ <text x="5.5" y="185.33" class="st5" >1</text> </g>
+ <g id="shape41-85" transform="translate(-96.5712,17.8156)">
+ <title>end2_name</title>
+ </g>
+ <g id="shape42-87" transform="translate(-78.3888,17.8191)">
+ <title>end2_mp</title>
+ <desc>1</desc>
+ <text x="5.5" y="185.33" class="st5" >1</text> </g>
+ <g id="shape38-90" >
+ <path d="M0 182.73 L0 209.73 L-83.48 209.73 L-83.48 182.73" class="st6"/>
+ </g>
+ </g>
+ <g id="group43-93" transform="translate(231.76,-148.74)" >
+ <title>Dynamic Connector.43</title>
+ <g id="shape44-94" transform="translate(-13.0912,-6.71177)">
+ <title>end1_name</title>
+ </g>
+ <g id="shape45-96" transform="translate(5.09117,-6.71177)">
+ <title>end1_mp</title>
+ <desc>1</desc>
+ <text x="5.5" y="185.33" class="st5" >1</text> </g>
+ <g id="shape46-99" transform="translate(-162.929,2.28823)">
+ <title>end2_name</title>
+ </g>
+ <g id="shape47-101" transform="translate(-188.536,2.28823)">
+ <title>end2_mp</title>
+ <desc>1</desc>
+ <text x="5.5" y="185.33" class="st5" >1</text> </g>
+ <g id="shape43-104" >
+ <path d="M0 196.23 L0 182.73 L-168.02 182.73 L-168.02 205.23" class="st6"/>
+ </g>
+ </g>
+ </g>
+</svg>
Added: trunk/ac/doc/administration/figure/php_components.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/php_components.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/php_license.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/php_license.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/php_location.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/php_location.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/poedit_php_parser.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/poedit_php_parser.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/poedit_php_path.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/poedit_php_path.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgis_components.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgis_components.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgis_database_connection.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgis_database_connection.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgis_installation_complete.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgis_installation_complete.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgis_license.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgis_license.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgis_location.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgis_location.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgis_patience.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgis_patience.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgis_reboot.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgis_reboot.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_account_error.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_account_error.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_contrib_modules.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_contrib_modules.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_database_cluster.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_database_cluster.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_enable_postgis.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_enable_postgis.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_installation_complete.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_installation_complete.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_installation_notes.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_installation_notes.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_installation_options.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_installation_options.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_installation_ready.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_installation_ready.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_language_selection.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_language_selection.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_log_on_as_service.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_log_on_as_service.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_password.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_password.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_procedural_languages.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_procedural_languages.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_service_configuration.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_service_configuration.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_users.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_users.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postgresql_welcome.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postgresql_welcome.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postmaster_service.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postmaster_service.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postmaster_service_logon.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postmaster_service_logon.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/postmaster_service_properties.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/postmaster_service_properties.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/rapc_components.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/rapc_components.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/rapc_database_connection.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/rapc_database_connection.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/rapc_location.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/rapc_location.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/service_start.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/service_start.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/service_stop.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/service_stop.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/services_context_menu.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/services_context_menu.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/services_icon.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/services_icon.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/standalone_deployment.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/standalone_deployment.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/standalone_deployment.svg
===================================================================
--- trunk/ac/doc/administration/figure/standalone_deployment.svg (rev 0)
+++ trunk/ac/doc/administration/figure/standalone_deployment.svg 2007-01-15 13:08:10 UTC (rev 34)
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<!-- Generated by Microsoft Visio 11.0, SVG Export, v1.0 standalone_deployment.svg Static Structure-1 -->
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="2.35042in"
+ height="1.75667in" viewBox="0 0 169.23 126.48" xml:space="preserve" color-interpolation-filters="sRGB" class="st7">
+ <title>uml</title>
+ <v:documentProperties v:langID="1031" v:metric="true" v:viewMarkup="false"/>
+
+ <style type="text/css">
+ <![CDATA[
+ .st1 {fill:#c0c0c0;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.24}
+ .st2 {fill:#ffffff;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.24}
+ .st3 {fill:#000000;font-family:Arial;font-size:0.666664em;font-weight:bold}
+ .st4 {fill:none;stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.72}
+ .st5 {fill:#000000;font-family:Arial;font-size:0.666664em}
+ .st6 {stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.48}
+ .st7 {fill:none;fill-rule:evenodd;font-size:12;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
+ ]]>
+ </style>
+
+ <g v:mID="0" v:index="1" v:groupContext="foregroundPage">
+ <v:userDefs>
+ <v:ud v:nameU="UMLDiagramType" v:val="VT0(0):26"/>
+ <v:ud v:nameU="UMLPageGUID" v:prompt="" v:val="VT14({CC435296-93B8-11D3-9080-00C04F3FD50D}):41"/>
+ </v:userDefs>
+ <title>Stand-alone deployment</title>
+ <v:pageProperties v:drawingScale="0.393701" v:pageScale="0.393701" v:drawingUnits="6" v:shadowOffsetX="9"
+ v:shadowOffsetY="-9"/>
+ <g id="group1-1" transform="translate(0.24,-0.24)" v:mID="1" v:groupContext="group">
+ <v:userDefs>
+ <v:ud v:nameU="UMLShapeType" v:val="VT0(26):26"/>
+ <v:ud v:nameU="UMLObjectGUID" v:val="VT4({B456B6D0-40FE-413D-B13C-16E05100FD13})"/>
+ <v:ud v:nameU="UMLError" v:val="VT0(0):26"/>
+ <v:ud v:nameU="UMLPresOption1" v:val="VT0(3):26"/>
+ <v:ud v:nameU="UMLVersion" v:val="VT0(1):26"/>
+ </v:userDefs>
+ <title>Node</title>
+ <g id="shape2-2" v:mID="2" v:groupContext="shape" transform="translate(159.75,1.42109E-014)">
+ <title>Sheet.2</title>
+ <path d="M0 126.48 L9 117.48 L9 0.48 L0 9.48 L0 126.48 Z" class="st1"/>
+ </g>
+ <g id="shape3-4" v:mID="3" v:groupContext="shape" transform="translate(0,-117)">
+ <title>Sheet.3</title>
+ <path d="M0 126.48 L159.75 126.48 L168.75 117.48 L9 117.48 L0 126.48 Z" class="st1"/>
+ </g>
+ <g id="shape4-6" v:mID="4" v:groupContext="shape">
+ <title>Name</title>
+ <desc>DCCSS PC</desc>
+ <v:textBlock v:margins="rect(4,4,4,4)" v:verticalAlign="0"/>
+ <v:textRect cx="79.875" cy="67.98" width="159.75" height="117"/>
+ <rect x="0" y="9.48" width="159.75" height="117" class="st2"/>
+ <text x="4" y="20.68" class="st3" v:langID="1033"><v:paragraph/><v:tabList/>DCCSS PC</text> </g>
+ </g>
+ <g id="group5-9" transform="translate(15.8339,-58.74)" v:mID="5" v:groupContext="group">
+ <v:userDefs>
+ <v:ud v:nameU="UMLShapeType" v:val="VT0(27):26"/>
+ <v:ud v:nameU="UMLError" v:val="VT0(0):26"/>
+ <v:ud v:nameU="UMLObjectGUID" v:val="VT4({F0023AAA-7C1E-4AB0-9910-C010CF014D11})"/>
+ <v:ud v:nameU="UMLPresOption1" v:val="VT0(3):26"/>
+ <v:ud v:nameU="UMLVersion" v:val="VT0(1):26"/>
+ <v:ud v:nameU="UMLAutoLockTextEdit" v:val="VT0(1):26"/>
+ </v:userDefs>
+ <title>Component</title>
+ <g id="shape6-10" v:mID="6" v:groupContext="shape" transform="translate(12.6,1.42109E-014)">
+ <title>Sheet.6</title>
+ <rect x="0" y="90.48" width="78.7122" height="36" class="st2"/>
+ </g>
+ <g id="shape7-12" v:mID="7" v:groupContext="shape" transform="translate(0,-22.5)">
+ <title>Sheet.7</title>
+ <v:textBlock v:margins="rect(4,4,4,4)"/>
+ <rect x="0" y="117.48" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape8-14" v:mID="8" v:groupContext="shape" transform="translate(0,-4.5)">
+ <title>Sheet.8</title>
+ <v:textBlock v:margins="rect(4,4,4,4)"/>
+ <rect x="0" y="117.48" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape9-16" v:mID="9" v:groupContext="shape" transform="translate(25.2,1.42109E-014)">
+ <title>Name</title>
+ <desc>DCCSS Server</desc>
+ <v:textBlock v:margins="rect(4,4,4,4)"/>
+ <v:textRect cx="33.0561" cy="108.48" width="66.12" height="36"/>
+ <rect x="0" y="90.48" width="66.1122" height="36" class="st4"/>
+ <text x="5.48" y="110.88" class="st3" v:langID="1033"><v:paragraph v:horizAlign="1"/><v:tabList/>DCCSS Server</text> </g>
+ </g>
+ <g id="group10-19" transform="translate(17.3416,-9.24)" v:mID="10" v:groupContext="group">
+ <v:userDefs>
+ <v:ud v:nameU="UMLShapeType" v:val="VT0(27):26"/>
+ <v:ud v:nameU="UMLError" v:val="VT0(0):26"/>
+ <v:ud v:nameU="UMLObjectGUID" v:val="VT4({864B2CD4-4F72-4C59-ADF9-157EB6F15CDB})"/>
+ <v:ud v:nameU="UMLPresOption1" v:val="VT0(3):26"/>
+ <v:ud v:nameU="UMLVersion" v:val="VT0(1):26"/>
+ <v:ud v:nameU="UMLAutoLockTextEdit" v:val="VT0(1):26"/>
+ </v:userDefs>
+ <title>Component.10</title>
+ <g id="shape11-20" v:mID="11" v:groupContext="shape" transform="translate(12.6,1.42109E-014)">
+ <title>Sheet.11</title>
+ <rect x="0" y="90.48" width="74.6967" height="36" class="st2"/>
+ </g>
+ <g id="shape12-22" v:mID="12" v:groupContext="shape" transform="translate(0,-22.5)">
+ <title>Sheet.12</title>
+ <v:textBlock v:margins="rect(4,4,4,4)"/>
+ <rect x="0" y="117.48" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape13-24" v:mID="13" v:groupContext="shape" transform="translate(0,-4.5)">
+ <title>Sheet.13</title>
+ <v:textBlock v:margins="rect(4,4,4,4)"/>
+ <rect x="0" y="117.48" width="25.2" height="9" class="st2"/>
+ </g>
+ <g id="shape14-26" v:mID="14" v:groupContext="shape" transform="translate(25.2,1.42109E-014)">
+ <title>Name</title>
+ <desc>Web Browser</desc>
+ <v:textBlock v:margins="rect(4,4,4,4)"/>
+ <v:textRect cx="31.0484" cy="108.48" width="62.1" height="36"/>
+ <rect x="0" y="90.48" width="62.0967" height="36" class="st4"/>
+ <text x="5.49" y="110.88" class="st3" v:langID="1031"><v:paragraph v:horizAlign="1"/><v:tabList/>Web Browser</text> </g>
+ </g>
+ <g id="group15-29" transform="translate(112.979,-76.74)" v:mID="15" v:groupContext="group">
+ <v:userDefs>
+ <v:ud v:nameU="UMLShapeType" v:val="VT0(36):26"/>
+ <v:ud v:nameU="UMLObjectGUID" v:val="VT4({51B17380-C766-4413-BF5F-77FDEA58A2E3})"/>
+ <v:ud v:nameU="UMLError" v:val="VT0(0):26"/>
+ <v:ud v:nameU="BeginAngle" v:val="VT0(0):32"/>
+ <v:ud v:nameU="EndAngle" v:val="VT0(-3.1415926535898):32"/>
+ <v:ud v:nameU="UMLPresOption1" v:val="VT0(38464):26"/>
+ <v:ud v:nameU="UMLSuppressOption" v:val="VT0(0):26"/>
+ <v:ud v:nameU="Navigability" v:val="VT0(4096):26"/>
+ <v:ud v:nameU="UMLVersion" v:val="VT0(1):26"/>
+ <v:ud v:nameU="DX1" v:val="VT0(0.053113530962019):0"/>
+ <v:ud v:nameU="DY1" v:val="VT0(0):0"/>
+ <v:ud v:nameU="DX3" v:val="VT0(-0.053113530962019):0"/>
+ <v:ud v:nameU="DY3" v:val="VT0(-1.1102230246252E-016):0"/>
+ </v:userDefs>
+ <title>Communicates</title>
+ <g id="shape16-30" v:mID="16" v:groupContext="shape" transform="translate(3.0826,-5.09117)">
+ <title>end1_name</title>
+ <v:textBlock v:margins="rect(4,4,4,4)"/>
+ </g>
+ <g id="shape17-32" v:mID="17" v:groupContext="shape" transform="translate(3.0826,22.6947)">
+ <title>end1_mp</title>
+ <desc>1</desc>
+ <v:textBlock v:margins="rect(4,4,4,4)"/>
+ <v:textRect cx="7.71257" cy="117.678" width="15.43" height="17.6036"/>
+ <text x="5.5" y="120.08" class="st5" v:langID="1031"><v:paragraph v:horizAlign="1"/><v:tabList/>1</text> </g>
+ <g id="shape18-35" v:mID="18" v:groupContext="shape" transform="translate(0.574853,72.1912)">
+ <title>end2_name</title>
+ <v:textBlock v:margins="rect(4,4,4,4)"/>
+ </g>
+ <g id="shape19-37" v:mID="19" v:groupContext="shape" transform="translate(0.574853,44.4088)">
+ <title>end2_mp</title>
+ <desc>1</desc>
+ <v:textBlock v:margins="rect(4,4,4,4)"/>
+ <v:textRect cx="7.71257" cy="117.678" width="15.43" height="17.6036"/>
+ <text x="5.5" y="120.08" class="st5" v:langID="1031"><v:paragraph v:horizAlign="1"/><v:tabList/>1</text> </g>
+ <g id="shape15-40" v:mID="15" v:groupContext="groupContent">
+ <v:textBlock v:margins="rect(4,4,4,4)"/>
+ <path d="M-5.83 126.48 L-4.81 126.48 L30.52 126.48 L30.52 175.98 L-8.25 175.98 L-8.34 175.98" class="st6"/>
+ </g>
+ </g>
+ </g>
+</svg>
Added: trunk/ac/doc/administration/figure/uml_legend.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/uml_legend.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/windows_users.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/doc/administration/figure/windows_users.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/doc/administration/figure/windows_users.svg
===================================================================
--- trunk/ac/doc/administration/figure/windows_users.svg (rev 0)
+++ trunk/ac/doc/administration/figure/windows_users.svg 2007-01-15 13:08:10 UTC (rev 34)
@@ -0,0 +1,207 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" width="8.5in"
+ height="6in" viewBox="0 0 612 432" color-interpolation-filters="sRGB" class="st13">
+ <title>uml</title>
+ <style type="text/css">
+ <![CDATA[
+ .st1 {fill:none;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.72}
+ .st2 {fill:#000000;font-family:Arial;font-size:1.16666em;font-weight:bold}
+ .st3 {fill:#ffffff;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.24}
+ .st4 {fill:none;stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.72}
+ .st5 {fill:#000000;font-family:Arial;font-size:0.666664em;font-weight:bold}
+ .st6 {fill:#ffffff}
+ .st7 {stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.48}
+ .st8 {fill:#000000;font-family:Arial;font-size:0.666664em}
+ .st9 {fill:#ffffff;stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.48}
+ .st10 {marker-start:url(#mrkr1-69);stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.48}
+ .st11 {fill:#000000;fill-opacity:1;stroke:#000000;stroke-opacity:1;stroke-width:0.16}
+ .st12 {stroke:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.72}
+ .st13 {fill:none;fill-rule:evenodd;font-size:12;overflow:visible;stroke-linecap:square;stroke-miterlimit:3}
+ ]]>
+ </style>
+ <defs id="Markers">
+ <marker id="mrkr1-69" class="st11" orient="auto" markerUnits="strokeWidth">
+ <path d="M 1 -1 L 0 0 L 1 1 L 1 -1" style="stroke-linecap:round;stroke-linejoin:round;fill: white" transform="scale(6.25) "/>
+ </marker>
+ </defs>
+ <g >
+ <title>Windows Users</title>
+ <g id="shape18-1" transform="translate(30.3307,-510.236)">
+ <title>System Boundary</title>
+ <desc>Windows</desc>
+ <rect x="0" y="536.882" width="315.496" height="255.118" class="st1"/>
+ <text x="127.03" y="553.48" class="st2" >Windows</text> </g>
+ <g id="group4-4" transform="translate(196.778,-702)" >
+ <title>Component.25</title>
+ <g id="shape5-5" transform="translate(12.6,0)">
+ <title>Sheet.5</title>
+ <rect x="0" y="756" width="52.4744" height="36" class="st3"/>
+ </g>
+ <g id="shape6-7" transform="translate(0,-22.5)">
+ <title>Sheet.6</title>
+ <rect x="0" y="783" width="25.2" height="9" class="st3"/>
+ </g>
+ <g id="shape7-9" transform="translate(0,-4.5)">
+ <title>Sheet.7</title>
+ <rect x="0" y="783" width="25.2" height="9" class="st3"/>
+ </g>
+ <g id="shape8-11" transform="translate(25.2,0)">
+ <title>Name</title>
+ <desc>Apache</desc>
+ <rect x="0" y="756" width="39.8744" height="36" class="st4"/>
+ <text x="5.48" y="776.4" class="st5" >Apache</text> </g>
+ </g>
+ <g id="group1-14" transform="translate(273.288,-701.008)" >
+ <title>Component.25.1</title>
+ <g id="shape2-15" transform="translate(12.6,0)">
+ <title>Sheet.2</title>
+ <rect x="0" y="756" width="48.6" height="36" class="st3"/>
+ </g>
+ <g id="shape3-17" transform="translate(0,-22.5)">
+ <title>Sheet.3</title>
+ <rect x="0" y="783" width="25.2" height="9" class="st3"/>
+ </g>
+ <g id="shape9-19" transform="translate(0,-4.5)">
+ <title>Sheet.9</title>
+ <rect x="0" y="783" width="25.2" height="9" class="st3"/>
+ </g>
+ <g id="shape10-21" transform="translate(25.2,0)">
+ <title>Name</title>
+ <desc>PHP</desc>
+ <rect x="0" y="756" width="36" height="36" class="st4"/>
+ <text x="9.78" y="776.4" class="st5" >PHP</text> </g>
+ </g>
+ <g id="group11-24" transform="translate(196.88,-555.591)" >
+ <title>Component.25.11</title>
+ <g id="shape12-25" transform="translate(12.6,0)">
+ <title>Sheet.12</title>
+ <rect x="0" y="756" width="67.1502" height="36" class="st3"/>
+ </g>
+ <g id="shape13-27" transform="translate(0,-22.5)">
+ <title>Sheet.13</title>
+ <rect x="0" y="783" width="25.2" height="9" class="st3"/>
+ </g>
+ <g id="shape14-29" transform="translate(0,-4.5)">
+ <title>Sheet.14</title>
+ <rect x="0" y="783" width="25.2" height="9" class="st3"/>
+ </g>
+ <g id="shape15-31" transform="translate(25.2,0)">
+ <title>Name</title>
+ <desc>Postmaster</desc>
+ <rect x="0" y="756" width="54.5502" height="36" class="st4"/>
+ <text x="5.49" y="776.4" class="st5" >Postmaster</text> </g>
+ </g>
+ <g id="shape16-34" transform="translate(45.2247,-696.966)">
+ <title>Actor</title>
+ <desc>system</desc>
+ <path d="M5.7 734.98 A5.7017 5.7017 0 0 1 17.11 734....
[truncated message content] |
|
From: <mah...@us...> - 2007-01-11 11:51:16
|
Revision: 33
http://svn.sourceforge.net/rapc/?rev=33&view=rev
Author: maher_karim
Date: 2007-01-11 03:51:13 -0800 (Thu, 11 Jan 2007)
Log Message:
-----------
2007-01-11 Maher Abdel karim <mah...@do...>
* script/create_views.sql:adjust the view to contain the variation info.
* authorized_panel_report.php:Added report.
* reports.php:add more links.
* contract_panel_report.php:
* illegal_panelinstallation_report.php:
* panelinstallation_report.php:Added reports.
* include/i18n.php:
* ar/LC_MESSAGES/rapc.po:adjust translations.
Modified Paths:
--------------
trunk/rapc/changelog
trunk/rapc/include/i18n.php
trunk/rapc/locale/ar/LC_MESSAGES/rapc.po
trunk/rapc/panelinstallation_report.php
trunk/rapc/reports.php
trunk/rapc/script/create_views.sql
Added Paths:
-----------
trunk/rapc/authorized_panel_report.php
trunk/rapc/contract_panel_report.php
trunk/rapc/illegal_panelinstallation_report.php
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2007-01-11 11:51:16
|
Revision: 33
http://svn.sourceforge.net/rapc/?rev=33&view=rev
Author: maher_karim
Date: 2007-01-11 03:51:13 -0800 (Thu, 11 Jan 2007)
Log Message:
-----------
2007-01-11 Maher Abdel karim <mah...@do...>
* script/create_views.sql:adjust the view to contain the variation info.
* authorized_panel_report.php:Added report.
* reports.php:add more links.
* contract_panel_report.php:
* illegal_panelinstallation_report.php:
* panelinstallation_report.php:Added reports.
* include/i18n.php:
* ar/LC_MESSAGES/rapc.po:adjust translations.
Modified Paths:
--------------
trunk/rapc/changelog
trunk/rapc/include/i18n.php
trunk/rapc/locale/ar/LC_MESSAGES/rapc.po
trunk/rapc/panelinstallation_report.php
trunk/rapc/reports.php
trunk/rapc/script/create_views.sql
Added Paths:
-----------
trunk/rapc/authorized_panel_report.php
trunk/rapc/contract_panel_report.php
trunk/rapc/illegal_panelinstallation_report.php
Added: trunk/rapc/authorized_panel_report.php
===================================================================
--- trunk/rapc/authorized_panel_report.php (rev 0)
+++ trunk/rapc/authorized_panel_report.php 2007-01-11 11:51:13 UTC (rev 33)
@@ -0,0 +1,258 @@
+<?php
+/* rapc -- DC Road Advertisement Panel Control
+ *
+ * authorized_panel_report.php - Authorized Panel installation report.
+ *
+ * Copyright (C) 2006 DORSCH Consult
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+require_once("include/dccsspage.php");
+require_once("include/dcmmspear.php");
+//This require for database connection
+require_once("include/dcmpostgis.php");
+// This require for quick form building.
+require_once("HTML/QuickForm.php");
+
+$DccssPage = new RolPage(_("Panel installation report"));
+//print_r($_POST);
+
+$Queryform = new HTML_QuickForm('printForm');
+//print_r($_POST);
+//$Queryform->setDefaults(array('regdate' => array('d'=>date("d"),'M'=>date("m"),'Y'=>date("Y"))));
+$Queryform->setDefaults(array('todate' => array('d'=>date("d"),'M'=>date("m"),'Y'=>date("Y"))));
+// Add some elements to the form
+$Queryform->addElement('header', null, _('Panel Installation'));
+// fill the array with district information.
+$link = dbx_connect(DBX_OCI8, "",$_SESSION["strOracleServer"], "mpw_ris", "mpw_ris")
+or die("Could not connect to Oracle");
+
+$result = dbx_query($link, 'select ddomains_text from roadnameswithdistrict group by ddomains_text');
+$select1 = array();
+$select1[0] = _('[Select One]');
+foreach ($result->data as $row) {
+
+//foreach ($row as $field) {
+$district=$row[0];
+$select1[$district]=$district;
+//}
+
+}
+$Queryform->addElement('select','district',_('District'),$select1);
+$Queryform->addElement('date', 'fromdate', _('From Date:'),array('maxYear'=>date("Y"),
+'addEmptyOption'=>TRUE,'emptyOptionText'=>_('Select date')));
+$Queryform->addElement('date', 'todate', _('To Date:'),array('maxYear'=>date("Y"),
+'addEmptyOption'=>TRUE,'emptyOptionText'=>_('Select date')));
+$Queryform->addElement('submit', null, _('Search The Database'));
+
+$DccssPage->add($Queryform->tohtml());
+$strWhere ='';
+//print_r($_POST['district']);
+if (($_POST['district']!='') && ($_POST['district']!='0')){
+ $strWhere = $strWhere."where panel.district='".$Queryform->exportvalue('district')."'";
+
+} else {
+ $strWhere = $strWhere."where panel.district<>''";
+}
+ if (($_POST['fromdate']['d']!=0)&&($_POST['fromdate']['M']!=0)&&($_POST['fromdate']['Y']!=0)) {
+ $strWhere = $strWhere . " and date >=to_date('".$_POST['fromdate']['Y']."-".
+ $_POST['fromdate']['M']."-".$_POST['fromdate']['d']."','YYYY-MM-dd')";
+
+
+ } elseif (($_POST['todate']['d']!=0)&&($_POST['todate']['M']!=0)&&($_POST['todate']['Y']!=0)){
+ $strWhere = $strWhere . " and date <= to_date('".$_POST['todate']['Y']."-".
+ $_POST['todate']['M']."-".$_POST['todate']['d']."','YYYY-MM-dd')";
+ }
+
+
+
+
+
+$strQuery = "select district,count(CASE routetype WHEN 1 THEN 1 END) as
+Main, count(CASE routetype WHEN 2 THEN 1 END) as Secondary,
+count(CASE routetype WHEN 3 THEN 1 END) as Village
+,count(routetype) as total,sum(panelarea) as TotalArea,
+sum(totalfees) as totalfees from Panel ".$strWhere." group by panel.district";
+
+//print_r($strQuery);
+
+ $objTable = new DbTable($DccssPage->postgis->db, $strQuery);
+ $objTable->addRows();
+ $numRowCount = $objTable->getRowCount();
+ $DccssPage->add('<B>'._('Ministry of Public Works and Housing').'<br>');
+ $DccssPage->add('<B>'._('Authorized panel list from:')." ".
+$_POST['fromdate']['d']."-".
+ $_POST['fromdate']['M']."-".$_POST['fromdate']['Y']._(' To:')." ".$_POST['todate']['d']."-".
+ $_POST['todate']['M']."-".$_POST['todate']['Y'].'<br>'._('District:').
+ $_POST['district'].'</B>');
+
+$strQuery="select district,count(*),sum(totalfees) from panel ".$strWhere."group by district";
+$objResult = pg_query($strQuery);
+ $numRows = pg_num_rows($objResult);
+ for ($i=0;$i<$numRows;$i++){
+ $Row =pg_fetch_row($objResult,$i);
+ $arrName[$i] = array($Row[0],$Row[2]);
+ $arrDel[$i] = array($Row[0],$Row[1]);
+ $arrSub[$i] =$Row[2];
+ }
+// print_r($strQuery);
+$DccssPage->add($objTable->toHtml());
+
+require_once 'Image/Graph.php';
+
+// create the graph
+$Graph =& Image_Graph::factory('graph', array(900, 800));
+
+// add a TrueType font
+//$Arial_v =& $Graph->addNew("Image_Graph_Font_TTF", "c:\\windows\\fonts\\ARIAL.TTF");
+//$Arial_v->setAngle(90);
+// set the font size to 11 pixels
+//$Font->setSize(10);
+
+//$Graph->setFont($Arial_v);
+$Matrix =& $Graph->addNew('Image_Graph_Layout_Matrix', array(2, 2));
+// setup the plotarea, legend and their layout
+$Graph->add(
+ Image_Graph::vertical(
+ Image_Graph::factory('title', array('Installed Advertisement Panels per Governorate', 12)),
+ Image_Graph::vertical(
+ $Plotarea = Image_Graph::factory('plotarea'),
+ $Legend = Image_Graph::factory('legend'),
+ 88
+ ),
+ 5
+ )
+);
+
+// link the legend with the plotares
+$Legend->setPlotarea($Plotarea);
+
+// create a random dataset for sake of simplicity
+$DatasetDel =& Image_Graph::factory('dataset');
+$DatasetTotal=& Image_Graph::factory('dataset');
+for ($i=0;$i<count($arrName);$i++){
+ $DatasetDel->addpoint($arrName[$i][0],$arrName[$i][1]);
+}
+for ($i=0;$i<count($arrDel);$i++){
+ $DatasetTotal->addpoint($arrDel[$i][0],$arrDel[$i][1]);
+}
+
+$datasets = array($DatasetDel,$DatasetTotal);
+$datasets[0]->setName(_('Total amount'));
+$datasets[1]->setName(_('Panel count'));
+
+// create the plot as line chart using the dataset
+$Plot =& $Plotarea->addNew('bar', array($datasets[0]));
+$Plot->setLineColor('gray');
+
+$FillArray =& Image_Graph::factory('Image_Graph_Fill_Array');
+$FillArray->addColor('blue@0.2');
+$FillArray->addColor('yellow@0.2');
+$Plot->setFillStyle($FillArray);
+
+// create a Y data value marker
+$Marker =& $Plot->addNew('Image_Graph_Marker_Value', IMAGE_GRAPH_VALUE_Y);
+// create a pin-point marker type
+$PointingMarker =& $Plot->addNew('Image_Graph_Marker_Pointing_Angular', array(50, &$Marker));
+// and use the marker on the 1st plot
+$Plot->setMarker($PointingMarker);
+
+$Plot2 =& $Plotarea->addNew('line', array($datasets[1]),IMAGE_GRAPH_AXIS_Y_SECONDARY);
+$Plot2->setLineColor('green');
+
+
+$AxisXSec =& $Plotarea->getAxis(IMAGE_GRAPH_AXIS_Y);
+$AxisXSec->setFontAngle('vertical');
+
+
+$AxisYsec =& $Plotarea->getAxis(IMAGE_GRAPH_Y_SECONDARY);
+$Marker =& $Graph->addNew('value_marker',IMAGE_GRAPH_VALUE_Y_SECONDARY);
+$Plot2->setMarker($Marker);
+
+$dataset=& $Plotarea->dataset;
+
+// output the Graph
+ $strTmpPath = tempnam("c:\\tmp\\ms_tmp", "graph").".png";
+$Graph->done(array('filename' => $strTmpPath));
+$DccssPage->add("<img src=\"/ms_tmp/".basename($strTmpPath)."\" />");;
+
+$strQuery="Select count(*),sum(totalfees) from panel";
+$objResult = pg_query($strQuery);
+ $numRows = pg_num_rows($objResult);
+
+
+ for ($i=0;$i<$numRows;$i++){
+ $Row =pg_fetch_row($objResult,$i);
+
+ $arrName2[$i] = array($Row[0],$Row[1]);
+
+ }
+$Graph =& Image_Graph::factory('graph', array(900, 800));
+
+$Matrix =& $Graph->addNew('Image_Graph_Layout_Matrix', array(2, 2));
+// setup the plotarea, legend and their layout
+$Graph->add(
+ Image_Graph::vertical(
+ Image_Graph::factory('title', array('Total installed Advertisement Panels in the kingdome', 12)),
+ Image_Graph::vertical(
+ $Plotarea = Image_Graph::factory('plotarea'),
+ $Legend = Image_Graph::factory('legend'),
+ 88
+ ),
+ 5
+ )
+);
+
+// link the legend with the plotares
+$Legend->setPlotarea($Plotarea);
+
+// create a random dataset for sake of simplicity
+$DatasetDel2 =& Image_Graph::factory('dataset');
+
+for ($i=0;$i<count($arrName2);$i++){
+ $DatasetDel2->addpoint($arrName2[$i][0],$arrName2[$i][1]);
+}
+
+$datasets = array($DatasetDel2);
+$datasets[0]->setName(_('Total amount'));
+
+
+// create the plot as line chart using the dataset
+$Plot =& $Plotarea->addNew('bar', array($datasets[0]));
+$Plot->setLineColor('red');
+
+$FillArray =& Image_Graph::factory('Image_Graph_Fill_Array');
+$FillArray->addColor('silver@0.2');
+
+$Plot->setFillStyle($FillArray);
+
+// create a Y data value marker
+$Marker =& $Plot->addNew('Image_Graph_Marker_Value', IMAGE_GRAPH_VALUE_Y);
+// create a pin-point marker type
+$PointingMarker =& $Plot->addNew('Image_Graph_Marker_Pointing_Angular', array(20, &$Marker));
+// and use the marker on the 1st plot
+$Plot->setMarker($PointingMarker);
+
+
+
+$dataset=& $Plotarea->dataset;
+
+// output the Graph
+ $strTmpPath = tempnam("c:\\tmp\\ms_tmp", "graph").".png";
+$Graph->done(array('filename' => $strTmpPath));
+$DccssPage->add("<img src=\"/ms_tmp/".basename($strTmpPath)."\" />");;
+
+echo $DccssPage->toHTML();
+?>
\ No newline at end of file
Modified: trunk/rapc/changelog
===================================================================
--- trunk/rapc/changelog 2007-01-10 13:08:39 UTC (rev 32)
+++ trunk/rapc/changelog 2007-01-11 11:51:13 UTC (rev 33)
@@ -1,3 +1,14 @@
+2007-01-11 Maher Abdel karim <mah...@do...>
+
+ * script/create_views.sql:adjust the view to contain the variation info.
+ * authorized_panel_report.php:Added report.
+ * reports.php:add more links.
+ * contract_panel_report.php:
+ * illegal_panelinstallation_report.php:
+ * panelinstallation_report.php:Added reports.
+ * include/i18n.php:
+ * ar/LC_MESSAGES/rapc.po:adjust translations.
+
2007-01-10 Maher Abdel karim <mah...@do...>
* script/create_rapc_ddl.sql: Add more fields to store verification, and
Added: trunk/rapc/contract_panel_report.php
===================================================================
--- trunk/rapc/contract_panel_report.php (rev 0)
+++ trunk/rapc/contract_panel_report.php 2007-01-11 11:51:13 UTC (rev 33)
@@ -0,0 +1,108 @@
+<?php
+/* rapc -- DC Road Advertisement Panel Control
+ *
+ * contract_panel_report.php - Authorized Panel installation report.
+ *
+ * Copyright (C) 2006,2007 DC Water and Environment
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+require_once("include/dccsspage.php");
+require_once("include/dcmmspear.php");
+//This require for database connection
+require_once("include/dcmpostgis.php");
+// This require for quick form building.
+require_once("HTML/QuickForm.php");
+
+$DccssPage = new RolPage(_("Contract Panel installation report"));
+//print_r($_POST);
+
+$Queryform = new HTML_QuickForm('printForm');
+//print_r($_POST);
+//$Queryform->setDefaults(array('regdate' => array('d'=>date("d"),'M'=>date("m"),'Y'=>date("Y"))));
+$Queryform->setDefaults(array('todate' => array('d'=>date("d"),'M'=>date("m"),'Y'=>date("Y"))));
+// Add some elements to the form
+$Queryform->addElement('header', null, _('Panel Installation'));
+// fill the array with district information.
+$link = dbx_connect(DBX_OCI8, "",$_SESSION["strOracleServer"], "mpw_ris", "mpw_ris")
+or die("Could not connect to Oracle");
+
+$result = dbx_query($link, 'select ddomains_text from roadnameswithdistrict group by ddomains_text');
+$select1 = array();
+$select1[0] = _('[Select One]');
+foreach ($result->data as $row) {
+
+//foreach ($row as $field) {
+$district=$row[0];
+$select1[$district]=$district;
+//}
+
+}
+$Queryform->addElement('select','district',_('District'),$select1);
+$Queryform->addElement('date', 'fromdate', _('From Date:'),array('maxYear'=>date("Y"),
+'addEmptyOption'=>TRUE,'emptyOptionText'=>_('Select date')));
+$Queryform->addElement('date', 'todate', _('To Date:'),array('maxYear'=>date("Y"),
+'addEmptyOption'=>TRUE,'emptyOptionText'=>_('Select date')));
+$Queryform->addElement('submit', null, _('Search The Database'));
+
+$DccssPage->add($Queryform->tohtml());
+$strWhere ='';
+//print_r($_POST['district']);
+if ($_POST['district']!=''){
+ $strWhere = $strWhere."where contractno<>'' and panel.district='".$Queryform->exportvalue('district')."'";
+
+} else {
+ $strWhere = $strWhere."where panel.district<>'' and contractno<>'' ";
+}
+ if (($_POST['fromdate']['d']!=0)&&($_POST['fromdate']['M']!=0)&&($_POST['fromdate']['Y']!=0)) {
+ $strWhere = $strWhere . " and date >=to_date('".$_POST['fromdate']['Y']."-".
+ $_POST['fromdate']['M']."-".$_POST['fromdate']['d']."','YYYY-MM-dd')";
+
+
+ } elseif (($_POST['todate']['d']!=0)&&($_POST['todate']['M']!=0)&&($_POST['todate']['Y']!=0)){
+ $strWhere = $strWhere . " and date <= to_date('".$_POST['todate']['Y']."-".
+ $_POST['todate']['M']."-".$_POST['todate']['d']."','YYYY-MM-dd')";
+ }
+
+
+
+
+
+$strQuery = "select contractno,count(CASE routetype WHEN 1 THEN 1 END) as
+Main, count(CASE routetype WHEN 2 THEN 1 END) as Secondary,
+count(CASE routetype WHEN 3 THEN 1 END) as Village,companyname,registerno,
+paneldimension.description as dimension,
+facecount,count(*) as totalpanels,sum(totalfees) as fees,
+sum(contractunitprice) as pedding, ((sum(totalfees)+ sum(contractunitprice))*count(*)) as total
+
+from panel left outer join paneldimension on (paneldimension.codedvalue=panel.paneldimension) ".$strWhere."
+group by contractno,companyname,registerno,paneldimension.description,facecount";
+
+//print_r($strQuery);
+
+ $objTable = new DbTable($DccssPage->postgis->db, $strQuery);
+ $objTable->addRows();
+ $numRowCount = $objTable->getRowCount();
+ $DccssPage->add('<B>'._('Ministry of Public Works and Housing').'<br>');
+ $DccssPage->add('<B>'._('Authorized panel list by contract for the period from:')." ".
+$_POST['fromdate']['d']."-".
+ $_POST['fromdate']['M']."-".$_POST['fromdate']['Y']._(' To:')." ".$_POST['todate']['d']."-".
+ $_POST['todate']['M']."-".$_POST['todate']['Y'].'<br>'._('District:').
+ $_POST['district'].'</B>');
+$DccssPage->add($objTable->toHtml());
+
+
+echo $DccssPage->toHTML();
+?>
\ No newline at end of file
Added: trunk/rapc/illegal_panelinstallation_report.php
===================================================================
--- trunk/rapc/illegal_panelinstallation_report.php (rev 0)
+++ trunk/rapc/illegal_panelinstallation_report.php 2007-01-11 11:51:13 UTC (rev 33)
@@ -0,0 +1,126 @@
+<?php
+/* rapc -- DC Road Advertisement Panel Control
+ *
+ * illegal_panelinstallation_report.php - Panel installation report.
+ *
+ * Copyright (C) 2006 DORSCH Consult
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+require_once("include/dccsspage.php");
+require_once("include/dcmmspear.php");
+//This require for database connection
+require_once("include/dcmpostgis.php");
+// This require for quick form building.
+require_once("HTML/QuickForm.php");
+
+$DccssPage = new RolPage(_("Illegal Panel installation report"));
+//print_r($_POST);
+
+$Queryform = new HTML_QuickForm('printForm');
+//print_r($_POST);
+//$Queryform->setDefaults(array('regdate' => array('d'=>date("d"),'M'=>date("m"),'Y'=>date("Y"))));
+$Queryform->setDefaults(array('todate' => array('d'=>date("d"),'M'=>date("m"),'Y'=>date("Y"))));
+// Add some elements to the form
+$Queryform->addElement('header', null, _('Panel Installation'));
+// fill the array with district information.
+$link = dbx_connect(DBX_OCI8, "",$_SESSION["strOracleServer"], "mpw_ris", "mpw_ris")
+or die("Could not connect to Oracle");
+
+$result = dbx_query($link, 'select ddomains_text from roadnameswithdistrict group by ddomains_text');
+$select1 = array();
+$select1[0] = _('[Select One]');
+foreach ($result->data as $row) {
+
+//foreach ($row as $field) {
+$district=$row[0];
+$select1[$district]=$district;
+//}
+
+}
+$Queryform->addElement('select','district',_('District'),$select1);
+$Queryform->addElement('date', 'fromdate', _('From Date:'),array('maxYear'=>date("Y"),
+'addEmptyOption'=>TRUE,'emptyOptionText'=>_('Select date')));
+$Queryform->addElement('date', 'todate', _('To Date:'),array('maxYear'=>date("Y"),
+'addEmptyOption'=>TRUE,'emptyOptionText'=>_('Select date')));
+$Queryform->addElement('submit', null, _('Search The Database'));
+
+$DccssPage->add($Queryform->tohtml());
+$strWhere ='';
+//print_r($_POST['district']);
+if ($_POST['district']!=''){
+ $strWhere = $strWhere."where panelinformation.district='".
+ $Queryform->exportvalue('district')."' and panelinformation.notes like '%مخالف%' ";
+
+} else {
+ $strWhere = $strWhere."where panelinformation.district<>'' and panelinformation.notes like '%مخالف%' ";
+}
+ if (($_POST['fromdate']['d']!=0)&&($_POST['fromdate']['M']!=0)&&($_POST['fromdate']['Y']!=0)) {
+ $strWhere = $strWhere . " and date >=to_date('".$_POST['fromdate']['Y']."-".
+ $_POST['fromdate']['M']."-".$_POST['fromdate']['d']."','YYYY-MM-dd')";
+
+
+ } elseif (($_POST['todate']['d']!=0)&&($_POST['todate']['M']!=0)&&($_POST['todate']['Y']!=0)){
+ $strWhere = $strWhere . " and date <= to_date('".$_POST['todate']['Y']."-".
+ $_POST['todate']['M']."-".$_POST['todate']['d']."','YYYY-MM-dd')";
+ }
+
+
+
+
+
+/*$strQuery = "select panel.companyname,panel.panelsubject,
+routetype.description as routetype,
+panel.routename,
+paneldimension.description as dimension,facecount.description as facecount,
+insurance.description as insurance,
+
+panel.totalfees,panel.usefees,
+panel.receiptno,panel.receiptdate,panel.insurancereceiptno,
+panel.insurancereceiptdate,panel.notes
+ from panel left outer join typedimensionfees on
+ (panel.routetype=typedimensionfees.routetype and
+ panel.paneldimension=typedimensionfees.paneldimension)
+left outer join insurance on (insurance.codedvalue=typedimensionfees.insurance)
+left outer join paneldimension on (paneldimension.codedvalue=panel.paneldimension)
+left outer join routetype on (routetype.codedvalue=panel.routetype) left outer
+join facecount on (facecount.codedvalue=panel.facecount) ".$strWhere;
+
+$strQuery="select companyname,panelsubject,routetype,routename,dimension,boolrow,
+sum(totalfees),facecount,count(*),usefees,insurance,receiptno,recEiptdate,
+insurancereceiptdate
+from panelinformation ".$strWhere."group by companyname,routename,panelsubject,
+routetype,dimension,facecount,insurance,usefees,receiptno,receiptdate,
+insurancereceiptdate,boolrow";
+*/
+$strQuery="select companyname,panelsubject,routetype,routename,boolrow,dimension,
+sum(totalfees),facecount,count(*),usefees,verificationreceiptno,
+ verificationreceiptdate from panelinformation ".$strWhere." group by companyname,routename,panelsubject,
+routetype,dimension,facecount,insurance,usefees,verificationreceiptno,verificationreceiptdate,boolrow";
+//print_r($strQuery);
+
+ $objTable = new DbTable($DccssPage->postgis->db, $strQuery);
+ $objTable->addRows();
+ $numRowCount = $objTable->getRowCount();
+ $DccssPage->add('<B>'._('Illegal panel list from:')." ".
+$_POST['fromdate']['d']."-".
+ $_POST['fromdate']['M']."-".$_POST['fromdate']['Y']._(' To:')." ".$_POST['todate']['d']."-".
+ $_POST['todate']['M']."-".$_POST['todate']['Y'].'<br>'._('District:').
+ $_POST['district'].'</B>');
+$DccssPage->add($objTable->toHtml());
+
+
+echo $DccssPage->toHTML();
+?>
\ No newline at end of file
Modified: trunk/rapc/include/i18n.php
===================================================================
--- trunk/rapc/include/i18n.php 2007-01-10 13:08:39 UTC (rev 32)
+++ trunk/rapc/include/i18n.php 2007-01-11 11:51:13 UTC (rev 33)
@@ -81,6 +81,18 @@
_("Boolrow");
_("Sum");
_("No");
+_("Contractno");
+_("Registerno");
+_("Fees");
+_("Pedding");
+_("Totalpanels");
+_("Pedding");
+_("Panelcount");
+_("Advertisement_period");
+_("Verificationreceiptno");
+_("Verificationreceipdate");
+_("Verificationreceiptdate");
+_("Main");
?>
Modified: trunk/rapc/locale/ar/LC_MESSAGES/rapc.po
===================================================================
--- trunk/rapc/locale/ar/LC_MESSAGES/rapc.po 2007-01-10 13:08:39 UTC (rev 32)
+++ trunk/rapc/locale/ar/LC_MESSAGES/rapc.po 2007-01-11 11:51:13 UTC (rev 33)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: mpwh\n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: 2006-12-12 13:11+0200\n"
+"PO-Revision-Date: 2007-01-11 13:44+0200\n"
"Last-Translator: t <t>\n"
"Language-Team: dc <mah...@do...>\n"
"MIME-Version: 1.0\n"
@@ -77,7 +77,7 @@
msgstr "رقم القطعة:"
#: ../../../address_confirmation.php:39
-#: ../../../include/dataobject/Public_panel.php:361
+#: ../../../include/dataobject/Public_panel.php:372
msgid "Submit"
msgstr "حفظ"
@@ -124,12 +124,16 @@
msgstr "تقرير تركيب اللوحات"
#: ../../../authorized_panel_report.php:37
+#: ../../../contract_panel_report.php:37
+#: ../../../detailed_panelinstallation_report.php:37
#: ../../../illegal_panelinstallation_report.php:37
#: ../../../panelinstallation_report.php:37
msgid "Panel Installation"
msgstr "تركيب اللوحة"
#: ../../../authorized_panel_report.php:44
+#: ../../../contract_panel_report.php:44
+#: ../../../detailed_panelinstallation_report.php:44
#: ../../../illegal_panelinstallation_report.php:44
#: ../../../panelinstallation_report.php:44
#: ../../../query.php:76
@@ -141,6 +145,8 @@
msgstr "[تحرير]"
#: ../../../authorized_panel_report.php:53
+#: ../../../contract_panel_report.php:53
+#: ../../../detailed_panelinstallation_report.php:53
#: ../../../illegal_panelinstallation_report.php:53
#: ../../../panelinstallation_report.php:53
#: ../../../query.php:52
@@ -148,6 +154,8 @@
msgstr "المحافظة"
#: ../../../authorized_panel_report.php:54
+#: ../../../contract_panel_report.php:54
+#: ../../../detailed_panelinstallation_report.php:54
#: ../../../illegal_panelinstallation_report.php:54
#: ../../../panelinstallation_report.php:54
msgid "From Date:"
@@ -155,6 +163,10 @@
#: ../../../authorized_panel_report.php:55
#: ../../../authorized_panel_report.php:57
+#: ../../../contract_panel_report.php:55
+#: ../../../contract_panel_report.php:57
+#: ../../../detailed_panelinstallation_report.php:55
+#: ../../../detailed_panelinstallation_report.php:57
#: ../../../illegal_panelinstallation_report.php:55
#: ../../../illegal_panelinstallation_report.php:57
#: ../../../panelinstallation_report.php:55
@@ -164,12 +176,16 @@
msgstr "اختر التاريخ"
#: ../../../authorized_panel_report.php:56
+#: ../../../contract_panel_report.php:56
+#: ../../../detailed_panelinstallation_report.php:56
#: ../../../illegal_panelinstallation_report.php:56
#: ../../../panelinstallation_report.php:56
msgid "To Date:"
msgstr "الى تاريخ:"
#: ../../../authorized_panel_report.php:58
+#: ../../../contract_panel_report.php:58
+#: ../../../detailed_panelinstallation_report.php:58
#: ../../../illegal_panelinstallation_report.php:58
#: ../../../panelinstallation_report.php:58
#: ../../../query.php:110
@@ -177,32 +193,59 @@
msgstr "البحث في قاعدة البيانات"
#: ../../../authorized_panel_report.php:94
+#: ../../../contract_panel_report.php:98
#: ../../../print.php:62
msgid "Ministry of Public Works and Housing"
msgstr "وزارة الاشغال العامة و الاسكان"
#: ../../../authorized_panel_report.php:95
+#: ../../../detailed_panelinstallation_report.php:90
#: ../../../panelinstallation_report.php:111
msgid "Authorized panel list from:"
msgstr "قائمة اللوحات المرخصة من:"
#: ../../../authorized_panel_report.php:97
-#: ../../../illegal_panelinstallation_report.php:114
+#: ../../../contract_panel_report.php:101
+#: ../../../detailed_panelinstallation_report.php:92
+#: ../../../illegal_panelinstallation_report.php:119
#: ../../../panelinstallation_report.php:113
msgid " To:"
msgstr "الى:"
#: ../../../authorized_panel_report.php:98
-#: ../../../illegal_panelinstallation_report.php:115
+#: ../../../contract_panel_report.php:102
+#: ../../../detailed_panelinstallation_report.php:93
+#: ../../../illegal_panelinstallation_report.php:120
#: ../../../panelinstallation_report.php:114
msgid "District:"
msgstr "المحافظة:"
+#: ../../../authorized_panel_report.php:153
+#: ../../../authorized_panel_report.php:229
+msgid "Total amount"
+msgstr "المجموع الاجمالي"
+
+#: ../../../authorized_panel_report.php:154
+msgid "Panel count"
+msgstr "عدد اللوحات"
+
+#: ../../../contract_panel_report.php:29
+msgid "Contract Panel installation report"
+msgstr "تقرير تركيب اللوحات - العطاءات"
+
+#: ../../../contract_panel_report.php:99
+msgid "Authorized panel list by contract for the period from:"
+msgstr "قائمة اللوحات المرخصه للع\xD8\xB7اءات للفترة من:"
+
+#: ../../../detailed_panelinstallation_report.php:29
+msgid "Detailed Panel installation report"
+msgstr "تقرير اللوحات الاعلانية المركبة المفصل"
+
#: ../../../illegal_panelinstallation_report.php:29
msgid "Illegal Panel installation report"
msgstr "تقرير اللوحات الاعلانية المخالفة"
-#: ../../../illegal_panelinstallation_report.php:112
+#: ../../../illegal_panelinstallation_report.php:117
msgid "Illegal panel list from:"
msgstr "قائمة اللوحات المخالفة من:"
@@ -235,7 +278,7 @@
msgstr "اضغط على الرابط للمشاهدة على الخريطة"
#: ../../../index.php:58
-#: ../../../panelpage.php:238
+#: ../../../panelpage.php:239
msgid "New Data Entry"
msgstr "ادخال معلومات لوحة جديدة"
@@ -511,7 +554,7 @@
msgstr "رقم اللوحة"
#: ../../../panelpage.php:151
-#: ../../../panelpage.php:236
+#: ../../../panelpage.php:237
msgid "View on Map"
msgstr "اظهار على الخريطة"
@@ -519,15 +562,15 @@
msgid "Please refer to RIS information to complete road information."
msgstr "يرجى الرجوع الى نظام RIS لاستكمال معلومات الطريق و التأكد منها."
-#: ../../../panelpage.php:216
+#: ../../../panelpage.php:217
msgid "Failed to save record(s)."
msgstr "لم يتم حفظ الشجلات."
-#: ../../../panelpage.php:225
+#: ../../../panelpage.php:226
msgid "Image is loaded"
msgstr "تم تحميل الصورة"
-#: ../../../panelpage.php:232
+#: ../../../panelpage.php:233
msgid "Record(s) successfully saved."
msgstr "تمت عملية حفظ السجلات بنجاح."
@@ -613,7 +656,7 @@
#: ../../../query.php:116
#: ../../../admin/setup.php:61
-#: ../../../include/dataobject/Public_panel.php:287
+#: ../../../include/dataobject/Public_panel.php:293
msgid "denotes required field"
msgstr "ادخل معلومات الحقول المطلوبة"
@@ -637,6 +680,14 @@
msgid "Illegal Panel installation"
msgstr "اللوحات الاعلانية المخالفة"
+#: ../../../reports.php:41
+msgid "Detailed Panel installation"
+msgstr "تفصيل اللوحات المركبة المفصل"
+
+#: ../../../reports.php:43
+msgid "Contract Panel installation"
+msgstr "لوحات العطاءات المركبة"
+
#: ../../../admin/setup.php:41
msgid "DCMMS Setup"
msgstr ""
@@ -994,7 +1045,7 @@
#: ../../../admin/user_management.php:306
#: ../../../include/header.php:430
#: ../../../include/i18n.php:24
-#: ../../../include/dataobject/Public_panel.php:777
+#: ../../../include/dataobject/Public_panel.php:796
msgid "Action"
msgstr "الاجراء"
@@ -1195,8 +1246,8 @@
#: ../../../include/i18n.php:25
#: ../../../include/i18n.php:83
-#: ../../../include/dataobject/Public_panel.php:664
-#: ../../../include/dataobject/Public_panel.php:726
+#: ../../../include/dataobject/Public_panel.php:683
+#: ../../../include/dataobject/Public_panel.php:745
msgid "No"
msgstr "لا"
@@ -1205,8 +1256,8 @@
msgstr "غير معروف"
#: ../../../include/i18n.php:27
-#: ../../../include/dataobject/Public_panel.php:664
-#: ../../../include/dataobject/Public_panel.php:726
+#: ../../../include/dataobject/Public_panel.php:683
+#: ../../../include/dataobject/Public_panel.php:745
msgid "Yes"
msgstr "نعم"
@@ -1420,447 +1471,504 @@
msgid "Sum"
msgstr "المبالغ المستحقة"
-#: ../../../include/dataobject/Public_panel.php:138
+#: ../../../include/i18n.php:84
+msgid "Contractno"
+msgstr "رقم العطاء"
+
+#: ../../../include/i18n.php:85
+msgid "Registerno"
+msgstr "رقم التسجيل"
+
+#: ../../../include/i18n.php:86
+msgid "Fees"
+msgstr "الرسوم"
+
+#: ../../../include/i18n.php:87
+#: ../../../include/i18n.php:89
+msgid "Pedding"
+msgstr "قيمة المزاودة"
+
+#: ../../../include/i18n.php:88
+msgid "Totalpanels"
+msgstr "عدد اللوحات"
+
+#: ../../../include/i18n.php:90
+msgid "Panelcount"
+msgstr "عدد اللوحات"
+
+#: ../../../include/i18n.php:91
+msgid "Advertisement_period"
+msgstr "فترة الاعلان"
+
+#: ../../../include/i18n.php:92
+msgid "Verificationreceiptno"
+msgstr "رقم الوصل المالي للتصويب"
+
+#: ../../../include/i18n.php:93
+msgid "Verificationreceipdate"
+msgstr "تاريخ الوصل المالي للتصويب"
+
+#: ../../../include/i18n.php:94
+msgid "Verificationreceiptdate"
+msgstr "تاريخ الوصل المالي للتصويب"
+
+#: ../../../include/dataobject/Public_panel.php:144
msgid "Please Enter the X coordinate for the panel."
msgstr "الرجاء ادخال الاحداثية X للوحة"
-#: ../../../include/dataobject/Public_panel.php:141
+#: ../../../include/dataobject/Public_panel.php:147
msgid "Please Enter the receipt no. for the panel."
msgstr "الرجاء ادخال رقم الوصل المالي."
-#: ../../../include/dataobject/Public_panel.php:143
+#: ../../../include/dataobject/Public_panel.php:149
msgid "Please Enter the receipt date for the panel."
msgstr "الرجا\xD8\xA1 ادخال تاريخ الوصل المالي."
-#: ../../../include/dataobject/Public_panel.php:148
+#: ../../../include/dataobject/Public_panel.php:154
msgid "Please Enter the Y coordinate for the panel."
msgstr "الرجاء ادخال الاحداثية Y للوحة."
-#: ../../../include/dataobject/Public_panel.php:150
+#: ../../../include/dataobject/Public_panel.php:156
msgid "Please Enter the distance from the link start."
msgstr "الرجاء ادخال المسافة من اقرب تقاطع."
-#: ../../../include/dataobject/Public_panel.php:152
+#: ../../../include/dataobject/Public_panel.php:158
msgid "The X coordinate should be numeric."
msgstr "الاحداثية X يجب ان تكون رقم."
-#: ../../../include/dataobject/Public_panel.php:154
+#: ../../../include/dataobject/Public_panel.php:160
msgid "The Y coordinate should be numeric."
msgstr "الاحداثية Y يجب ان تكون رقم."
-#: ../../../include/dataobject/Public_panel.php:156
+#: ../../../include/dataobject/Public_panel.php:162
msgid "The distance to nearest panel should be numeric."
msgstr "المسافة من اقرب لوحة يجب ان تكون رقم."
-#: ../../../include/dataobject/Public_panel.php:158
+#: ../../../include/dataobject/Public_panel.php:164
msgid "The distance to nearest link should be numeric."
msgstr "المسافة من اقرب تقاطع يجب ان تكون رقم."
-#: ../../../include/dataobject/Public_panel.php:160
+#: ../../../include/dataobject/Public_panel.php:166
msgid "The X coordinate to nearest panel should be numeric."
msgstr "احداثية X لاقرب لوحة يجب ان تكون رقم"
-#: ../../../include/dataobject/Public_panel.php:162
+#: ../../../include/dataobject/Public_panel.php:168
msgid "The Y coordinate to nearest panel should be numeric."
msgstr "الاحداثية Y لاقرب لوحة يجب ان تكون رقم."
-#: ../../../include/dataobject/Public_panel.php:164
+#: ../../../include/dataobject/Public_panel.php:170
msgid "The Carriage width should be numeric."
msgstr "عرض الطريق يحب ان يكون رقم."
-#: ../../../include/dataobject/Public_panel.php:166
+#: ../../../include/dataobject/Public_panel.php:172
msgid "The Shoulder width should be numeric."
msgstr "عرض الكتف يجب ان يكون رقم."
-#: ../../../include/dataobject/Public_panel.php:168
+#: ../../../include/dataobject/Public_panel.php:174
msgid "Please select the panel type and dimension."
msgstr "الرجاء تحديد نوع اللوحة و ابعادها"
-#: ../../../include/dataobject/Public_panel.php:171
+#: ../../../include/dataobject/Public_panel.php:177
msgid "Please select the permission no."
msgstr "الرجاء ادخال رقم الترخيص"
-#: ../../../include/dataobject/Public_panel.php:186
+#: ../../../include/dataobject/Public_panel.php:192
msgid "The image type should be JPG."
msgstr "صيغة الصورة يجب ان تكون JPG"
-#: ../../../include/dataobject/Public_panel.php:190
+#: ../../../include/dataobject/Public_panel.php:196
msgid "The Company name should be only letters."
msgstr "اسم الشركة يجب ان لا يحتوي ارقام"
-#: ../../../include/dataobject/Public_panel.php:192
+#: ../../../include/dataobject/Public_panel.php:198
msgid "The Mother name should be only letters."
msgstr "اسم الام يجب ان لا يحتوي ارقام."
-#: ../../../include/dataobject/Public_panel.php:195
+#: ../../../include/dataobject/Public_panel.php:201
msgid "The National No. should be only numeric."
msgstr "الرقم الوطني يجب ان لا يحتوي حروف."
-#: ../../../include/dataobject/Public_panel.php:197
-#: ../../../include/dataobject/Public_panel.php:199
-#: ../../../include/dataobject/Public_panel.php:201
+#: ../../../include/dataobject/Public_panel.php:203
#: ../../../include/dataobject/Public_panel.php:205
#: ../../../include/dataobject/Public_panel.php:207
-#: ../../../include/dataobject/Public_panel.php:209
#: ../../../include/dataobject/Public_panel.php:211
#: ../../../include/dataobject/Public_panel.php:213
+#: ../../../include/dataobject/Public_panel.php:215
+#: ../../../include/dataobject/Public_panel.php:217
+#: ../../../include/dataobject/Public_panel.php:219
msgid "The entered value should be only numeric."
msgstr "القيمة المدخلة يجب ان تكون ارقام فقط."
-#: ../../../include/dataobject/Public_panel.php:203
+#: ../../../include/dataobject/Public_panel.php:209
msgid "The Entered value should be numeric."
msgstr "القيمة المدخلة يجب ان تكون ارقام فقط."
-#: ../../../include/dataobject/Public_panel.php:216
-#: ../../../include/dataobject/Public_panel.php:218
-#: ../../../include/dataobject/Public_panel.php:220
-#: ../../../include/dataobject/Public_panel.php:223
-#: ../../../include/dataobject/Public_panel.php:225
+#: ../../../include/dataobject/Public_panel.php:222
+#: ../../../include/dataobject/Public_panel.php:224
+#: ../../../include/dataobject/Public_panel.php:226
+#: ../../../include/dataobject/Public_panel.php:229
+#: ../../../include/dataobject/Public_panel.php:231
msgid "Please select the panel dimension, the value should not be zero"
msgstr "الرجاء اختيار ابعاد اللوحة.يجب اختيار قيمة من القائمة."
-#: ../../../include/dataobject/Public_panel.php:228
+#: ../../../include/dataobject/Public_panel.php:234
msgid "Please select the panel dimension, the value should not be zero."
msgstr "الرجاء اختيار ابعاد اللوحة.يجب اختيار قيمة من القائمة."
-#: ../../../include/dataobject/Public_panel.php:233
+#: ../../../include/dataobject/Public_panel.php:239
msgid "The Company name should be 125 letters max."
msgstr "اسم الشركة يجب ان لا يتجاوز 125 حرفا"
-#: ../../../include/dataobject/Public_panel.php:235
+#: ../../../include/dataobject/Public_panel.php:241
msgid "The Mother name should be 125 letters max."
msgstr "اسم الام يجب ان لا يتجاوز 125 حرفا"
-#: ../../../include/dataobject/Public_panel.php:238
+#: ../../../include/dataobject/Public_panel.php:244
msgid "The Address should be 125 letters max."
msgstr "العنوان يجب ان لا يتجاوز 125 حرفا"
-#: ../../../include/dataobject/Public_panel.php:240
+#: ../../../include/dataobject/Public_panel.php:246
msgid "The Entered telephone value should 10 letters max."
msgstr "القيمة المدخلة يجب ان لا تتجاوز10 حرف"
-#: ../../../include/dataobject/Public_panel.php:242
+#: ../../../include/dataobject/Public_panel.php:248
msgid "The Entered fax no should 10 letters max."
msgstr "القيمة المدخلة يجب ان لا تتجاوز 10حرف"
-#: ../../../include/dataobject/Public_panel.php:244
+#: ../../../include/dataobject/Public_panel.php:250
msgid "The Entered Mobile no should 10 letters max."
msgstr "القيمة المدخلة يجب ان لا تتجاوز 10حرف"
-#: ../../../include/dataobject/Public_panel.php:246
+#: ../../../include/dataobject/Public_panel.php:252
msgid "The Entered pobox value should 6 letters max."
msgstr "القيمة المدخلة يجب ان لا تتجاوز 6حرفا"
-#: ../../../include/dataobject/Public_panel.php:248
+#: ../../../include/dataobject/Public_panel.php:254
msgid "The Entered Panel subject value should 32 letters max."
msgstr "القيمة المدخلة يجب ان لا تتجاوز 32 حرفا"
-#: ../../../include/dataobject/Public_panel.php:250
+#: ../../../include/dataobject/Public_panel.php:256
msgid "The entered number of lanesvalue should be between 1 and 8."
msgstr "عدد المسارب بين 1 و 8"
-#: ../../../include/dataobject/Public_panel.php:252
+#: ../../../include/dataobject/Public_panel.php:258
msgid "The entered number of lanes value should be between 1 and 8."
msgstr "عدد المسارب بين 1 و 8 مسرب"
-#: ../../../include/dataobject/Public_panel.php:255
-#: ../../../include/dataobject/Public_panel.php:257
+#: ../../../include/dataobject/Public_panel.php:261
+#: ../../../include/dataobject/Public_panel.php:263
msgid "The entered shoulder width value should be between 1 and 5."
msgstr "عرض الكتف بين 1 و 5 م"
-#: ../../../include/dataobject/Public_panel.php:260
-#: ../../../include/dataobject/Public_panel.php:262
+#: ../../../include/dataobject/Public_panel.php:266
+#: ../../../include/dataobject/Public_panel.php:268
msgid "The entered carrigeway width value should be between 2 and 5."
msgstr "عرض الطريق بين 2 و 5 م"
-#: ../../../include/dataobject/Public_panel.php:264
-#: ../../../include/dataobject/Public_panel.php:266
#: ../../../include/dataobject/Public_panel.php:270
#: ../../../include/dataobject/Public_panel.php:272
+#: ../../../include/dataobject/Public_panel.php:276
+#: ../../../include/dataobject/Public_panel.php:278
msgid "The entered value should be 7 digits max."
msgstr "القيمة المدخلة يجب ان لا تتجاوز 7 احرف"
-#: ../../../include/dataobject/Public_panel.php:268
-#: ../../../include/dataobject/Public_panel.php:280
+#: ../../../include/dataobject/Public_panel.php:274
+#: ../../../include/dataobject/Public_panel.php:286
msgid "The entered value should be 125 letters max."
msgstr "القيمة المدخلة يجب ان لا تتجاوز 125 حرفا"
-#: ../../../include/dataobject/Public_panel.php:274
-#: ../../../include/dataobject/Public_panel.php:276
-#: ../../../include/dataobject/Public_panel.php:278
+#: ../../../include/dataobject/Public_panel.php:280
+#: ../../../include/dataobject/Public_panel.php:282
+#: ../../../include/dataobject/Public_panel.php:284
msgid "The entered value should be 10 digits max."
msgstr "القيمة المدخلة يجب ان لا تتجاوز 10احرف"
-#: ../../../include/dataobject/Public_panel.php:332
+#: ../../../include/dataobject/Public_panel.php:339
msgid "Company Name:"
msgstr "اسم الشركة:"
-#: ../../../include/dataobject/Public_panel.php:332
+#: ../../../include/dataobject/Public_panel.php:339
msgid "Panel Catagory:"
msgstr "فئة اللوحة:"
-#: ../../../include/dataobject/Public_panel.php:333
+#: ../../../include/dataobject/Public_panel.php:340
msgid "Ownership:"
msgstr "تابعية الشركة:"
-#: ../../../include/dataobject/Public_panel.php:334
+#: ../../../include/dataobject/Public_panel.php:341
msgid "National No.:"
msgstr "الرقم الوطني:"
-#: ../../../include/dataobject/Public_panel.php:334
+#: ../../../include/dataobject/Public_panel.php:341
msgid "Mother Name:"
msgstr "اسم الام:"
-#: ../../../include/dataobject/Public_panel.php:335
+#: ../../../include/dataobject/Public_panel.php:342
msgid "Address:"
msgstr "العنوان:"
-#: ../../../include/dataobject/Public_panel.php:335
+#: ../../../include/dataobject/Public_panel.php:342
msgid "Telephone:"
msgstr "رقم الهاتف:"
-#: ../../../include/dataobject/Public_panel.php:335
+#: ../../../include/dataobject/Public_panel.php:342
msgid "Fax No.:"
msgstr "رقم الفاكس:"
-#: ../../../include/dataobject/Public_panel.php:336
+#: ../../../include/dataobject/Public_panel.php:343
msgid "Mobile No.:"
msgstr "رقم المحمول:"
-#: ../../../include/dataobject/Public_panel.php:336
+#: ../../../include/dataobject/Public_panel.php:343
msgid "Post box:"
msgstr "صندوق البريد:"
-#: ../../../include/dataobject/Public_panel.php:337
+#: ../../../include/dataobject/Public_panel.php:344
msgid "Panel Subject:"
msgstr "غرض الاعلان:"
-#: ../../../include/dataobject/Public_panel.php:337
+#: ../../../include/dataobject/Public_panel.php:344
msgid "Route Name:"
msgstr "رقم الطريق:"
-#: ../../../include/dataobject/Public_panel.php:338
+#: ../../../include/dataobject/Public_panel.php:345
msgid "Carrigeway Width"
msgstr "عرض الطريق:"
-#: ../../../include/dataobject/Public_panel.php:338
+#: ../../../include/dataobject/Public_panel.php:345
msgid "Shoulder Width"
msgstr "عرض الكتف:"
-#: ../../../include/dataobject/Public_panel.php:339
+#: ../../../include/dataobject/Public_panel.php:346
msgid "Number Of Lanes:"
msgstr "عدد المسارب:"
-#: ../../../include/dataobject/Public_panel.php:339
+#: ../../../include/dataobject/Public_panel.php:346
msgid "Median Width:"
msgstr "يوجد جزيرة:"
-#: ../../../include/dataobject/Public_panel.php:340
-#: ../../../include/dataobject/Public_panel.php:691
-#: ../../../include/dataobject/Public_panel.php:709
+#: ../../../include/dataobject/Public_panel.php:347
+#: ../../../include/dataobject/Public_panel.php:710
+#: ../../../include/dataobject/Public_panel.php:728
msgid "Date"
msgstr "التاريخ:"
-#: ../../../include/dataobject/Public_panel.php:340
+#: ../../../include/dataobject/Public_panel.php:347
msgid "Panel distnace to route begining:"
msgstr "مسافة اللوحة من اقرب تقاطع:"
-#: ../../../include/dataobject/Public_panel.php:341
+#: ../../../include/dataobject/Public_panel.php:348
msgid "Panel distance to nearest panel:"
msgstr "المسافة من اقرب لوحة:"
-#: ../../../include/dataobject/Public_panel.php:342
+#: ../../../include/dataobject/Public_panel.php:349
msgid "Route Direction:"
msgstr "جانب الطريق:"
-#: ../../../include/dataobject/Public_panel.php:343
+#: ../../../include/dataobject/Public_panel.php:350
msgid "Notes On Location:"
msgstr "ملاحظات عن الموقع:"
-#: ../../../include/dataobject/Public_panel.php:344
+#: ../../../include/dataobject/Public_panel.php:351
msgid "Nearst Panel X:"
msgstr "احداثية X لاقرب لوحة:"
-#: ../../../include/dataobject/Public_panel.php:344
+#: ../../../include/dataobject/Public_panel.php:351
msgid "Nearst Panel Y:"
msgstr "احداثية Y لاقرب لوحة:"
-#: ../../../include/dataobject/Public_panel.php:345
+#: ../../../include/dataobject/Public_panel.php:352
msgid "Light Available"
msgstr "يوجد انارة:"
-#: ../../../include/dataobject/Public_panel.php:345
+#: ../../../include/dataobject/Public_panel.php:352
msgid "Face Count:"
msgstr "عدد الاوجه:"
-#: ../../../include/dataobject/Public_panel.php:346
+#: ../../../include/dataobject/Public_panel.php:353
msgid "Panel Type and Dimension:"
msgstr "نوع اللوحة و ابعادها:"
-#: ../../../include/dataobject/Public_panel.php:347
-#: ../../../include/dataobject/Public_panel.php:696
+#: ../../../include/dataobject/Public_panel.php:354
+#: ../../../include/dataobject/Public_panel.php:715
msgid "Panel Area"
msgstr "مساحة اللوحة:"
-#: ../../../include/dataobject/Public_panel.php:347
+#: ../../../include/dataobject/Public_panel.php:354
msgid "Annual Fees:"
msgstr "الرسوم السنوية:"
-#: ../../../include/dataobject/Public_panel.php:348
+#: ../../../include/dataobject/Public_panel.php:355
msgid "Use Fees:"
msgstr "بدل استغلال حرم الطريق"
-#: ../../../include/dataobject/Public_panel.php:349
+#: ../../../include/dataobject/Public_panel.php:356
msgid "Total Fees:"
msgstr "المجموع:"
-#: ../../../include/dataobject/Public_panel.php:349
+#: ../../../include/dataobject/Public_panel.php:356
msgid "Agreed By:"
msgstr "تم الكشف بواسطة:"
-#: ../../../include/dataobject/Public_panel.php:350
+#: ../../../include/dataobject/Public_panel.php:357
msgid "Receipt No.:"
msgstr "رقم الوصل المالي:"
-#: ../../../include/dataobject/Public_panel.php:350
+#: ../../../include/dataobject/Public_panel.php:357
msgid "Receipt Date:"
msgstr "تاريخ الوصل المالي:"
-#: ../../../include/dataobject/Public_panel.php:351
+#: ../../../include/dataobject/Public_panel.php:358
msgid "Insurance Receipt No.:"
msgstr "رقم الوصل المالي للتامين:"
-#: ../../../include/dataobject/Public_panel.php:352
+#: ../../../include/dataobject/Public_panel.php:359
msgid "Insurance Receipt Date:"
msgstr "تاريخ الوصل المالي للتأمين:"
-#: ../../../include/dataobject/Public_panel.php:352
+#: ../../../include/dataobject/Public_panel.php:359
msgid "Contract No:"
msgstr "رقم العطاء:"
-#: ../../../include/dataobject/Public_panel.php:353
+#: ../../../include/dataobject/Public_panel.php:360
msgid "Notes:"
msgstr "ملاحظات:"
-#: ../../../include/dataobject/Public_panel.php:353
+#: ../../../include/dataobject/Public_panel.php:360
msgid "Permission No.:"
msgstr "رقم الترخيص:"
-#: ../../../include/dataobject/Public_panel.php:354
-#: ../../../include/dataobject/Public_panel.php:714
+#: ../../../include/dataobject/Public_panel.php:361
+#: ../../../include/dataobject/Public_panel.php:733
msgid "Registeration No.:"
msgstr "رقم التسجيل:"
-#: ../../../include/dataobject/Public_panel.php:354
+#: ../../../include/dataobject/Public_panel.php:361
msgid "Right of Way"
msgstr "داخل الحرم"
-#: ../../../include/dataobject/Public_panel.php:357
+#: ../../../include/dataobject/Public_panel.php:362
+msgid "Contract Unit Price"
+msgstr "سعر الوحده في العطاء"
+
+#: ../../../include/dataobject/Public_panel.php:363
+msgid "Verification Receipt No"
+msgstr "رقم الوصل المالي للتصويب"
+
+#: ../../../include/dataobject/Public_panel.php:364
+msgid "Verification Receipt Date"
+msgstr "تاريخ الوصل المالي للتصويب"
+
+#: ../../../include/dataobject/Public_panel.php:365
+msgid "Verification Amount"
+msgstr "قيمة وصل تصويب المخالفة"
+
+#: ../../../include/dataobject/Public_panel.php:368
msgid "Advertisement Panel Information Data Entry"
msgstr "ادخال معلومات اللوحات الاعلانية"
-#: ../../../include/dataobject/Public_panel.php:359
+#: ../../../include/dataobject/Public_panel.php:370
#, php-format
msgid "%s: The value you have entered is not valid."
msgstr "%s:القيمة المدخلة غير مقبولة."
-#: ../../../include/dataobject/Public_panel.php:360
+#: ../../../include/dataobject/Public_panel.php:371
#, php-format
msgid "%s: This field is required."
msgstr "%s: يجب ادخال هذا الحقل."
-#: ../../../include/dataobject/Public_panel.php:579
+#: ../../../include/dataobject/Public_panel.php:598
msgid "Select One"
msgstr "اختر واحد"
-#: ../../../include/dataobject/Public_panel.php:657
+#: ../../../include/dataobject/Public_panel.php:676
msgid "Contract"
msgstr "عطاء"
-#: ../../../include/dataobject/Public_panel.php:657
+#: ../../../include/dataobject/Public_panel.php:676
msgid "Private"
msgstr "قطاع خاص"
-#: ../../../include/dataobject/Public_panel.php:657
+#: ../../../include/dataobject/Public_panel.php:676
msgid "Goverment"
msgstr "حكومي"
-#: ../../../include/dataobject/Public_panel.php:663
+#: ../../../include/dataobject/Public_panel.php:682
msgid "Panel catagory"
msgstr "فئة اللوحة"
-#: ../../../include/dataobject/Public_panel.php:671
+#: ../../../include/dataobject/Public_panel.php:690
msgid "Median available"
msgstr "يوجد جزيرة"
-#: ../../../include/dataobject/Public_panel.php:673
+#: ../../../include/dataobject/Public_panel.php:692
msgid "Panel image"
msgstr "صورة اللو\xD8\xADة:"
-#: ../../../include/dataobject/Public_panel.php:678
+#: ../../../include/dataobject/Public_panel.php:697
msgid "Panel Area:"
msgstr "مساحة اللوحة:"
-#: ../../../include/dataobject/Public_panel.php:680
-#: ../../../include/dataobject/Public_panel.php:698
+#: ../../../include/dataobject/Public_panel.php:699
+#: ../../../include/dataobject/Public_panel.php:717
msgid "Use fees"
msgstr "بدل استغلال حرم الطريق"
-#: ../../../include/dataobject/Public_panel.php:682
-#: ../../../include/dataobject/Public_panel.php:700
+#: ../../../include/dataobject/Public_panel.php:701
+#: ../../../include/dataobject/Public_panel.php:719
msgid "Annualfees"
msgstr "الرسوم السنوية:"
-#: ../../../include/dataobject/Public_panel.php:684
-#: ../../../include/dataobject/Public_panel.php:702
+#: ../../../include/dataobject/Public_panel.php:703
+#: ../../../include/dataobject/Public_panel.php:721
msgid "Total fees"
msgstr "المجموع"
-#: ../../../include/dataobject/Public_panel.php:720
+#: ../../../include/dataobject/Public_panel.php:739
msgid "Total fees:"
msgstr "مجموع الرسوم:"
-#: ../../../include/dataobject/Public_panel.php:726
+#: ../../../include/dataobject/Public_panel.php:745
msgid "Right of Way:"
msgstr "داخل الحرم:"
-#: ../../../include/dataobject/Public_panel.php:769
+#: ../../../include/dataobject/Public_panel.php:788
msgid "ID"
msgstr "رقم التعريف"
-#: ../../../include/dataobject/Public_panel.php:770
+#: ../../../include/dataobject/Public_panel.php:789
msgid "Company name"
msgstr "اسم الشركة"
-#: ../../../include/dataobject/Public_panel.php:771
+#: ../../../include/dataobject/Public_panel.php:790
msgid "National number"
msgstr "الرقم الوطني:"
-#: ../../../include/dataobject/Public_panel.php:772
+#: ../../../include/dataobject/Public_panel.php:791
msgid "Mother name"
msgstr "اسم الام:"
-#: ../../../include/dataobject/Public_panel.php:773
+#: ../../../include/dataobject/Public_panel.php:792
msgid "Address"
msgstr "العنوان:"
-#: ../../../include/dataobject/Public_panel.php:774
+#: ../../../include/dataobject/Public_panel.php:793
msgid "Telephone no."
msgstr "رقم الهاتف:"
-#: ../../../include/dataobject/Public_panel.php:775
+#: ../../../include/dataobject/Public_panel.php:794
msgid "Fax no."
msgstr "رقم الفاكس:"
-#: ../../../include/dataobject/Public_panel.php:776
+#: ../../../include/dataobject/Public_panel.php:795
msgid "Mobile no."
msgstr "رقم المحمول:"
-#: ../../../include/dataobject/Public_panel.php:793
+#: ../../../include/dataobject/Public_panel.php:812
msgid "[View on Map]"
msgstr "[اظهار على الخريطة]"
-#: ../../../include/dataobject/Public_panel.php:799
+#: ../../../include/dataobject/Public_panel.php:818
msgid "[Edit]"
msgstr "[تحرير]"
Modified: trunk/rapc/panelinstallation_report.php
===================================================================
--- trunk/rapc/panelinstallation_report.php 2007-01-10 13:08:39 UTC (rev 32)
+++ trunk/rapc/panelinstallation_report.php 2007-01-11 11:51:13 UTC (rev 33)
@@ -97,12 +97,12 @@
left outer join routetype on (routetype.codedvalue=panel.routetype) left outer
join facecount on (facecount.codedvalue=panel.facecount) ".$strWhere;
*/
-$strQuery="select companyname,panelsubject,routetype,routename,dimension,boolrow,
-sum(totalfees),facecount,count(*),usefees,insurance,receiptno,recEiptdate,
-insurancereceiptdate
+$strQuery="select companyname,registerno,panelsubject,routetype,routename,dimension,boolrow,
+sum(totalfees),usefees,facecount,count(*) as panelcount,insurance,receiptno,recEiptdate,
+insurancereceiptno,insurancereceiptdate,13-(date_part('month',date)) as Advertisement_period
from panelinformation ".$strWhere."group by companyname,routename,panelsubject,
routetype,dimension,facecount,insurance,usefees,receiptno,receiptdate,
-insurancereceiptdate,boolrow";
+insurancereceiptdate,boolrow,registerno,insurancereceiptno,date";
//print_r($strQuery);
$objTable = new DbTable($DccssPage->postgis->db, $strQuery);
Modified: trunk/rapc/reports.php
===================================================================
--- trunk/rapc/reports.php 2007-01-10 13:08:39 UTC (rev 32)
+++ trunk/rapc/reports.php 2007-01-11 11:51:13 UTC (rev 33)
@@ -37,6 +37,10 @@
_("Authorized Panel installation").'</a></li>
<li><a href="illegal_panelinstallation_report.php?PHPSESSID=session_id()">'.
_("Illegal Panel installation").'</a></li>
+ <li><a href="detailed_panelinstallation_report.php?PHPSESSID=session_id()">'.
+ _("Detailed Panel installation").'</a></li>
+ <li><a href="contract_panel_report.php?PHPSESSID=session_id()">'.
+ _("Contract Panel installation").'</a></li>
</ul>
Modified: trunk/rapc/script/create_views.sql
===================================================================
--- trunk/rapc/script/create_views.sql 2007-01-10 13:08:39 UTC (rev 32)
+++ trunk/rapc/script/create_views.sql 2007-01-11 11:51:13 UTC (rev 33)
@@ -32,7 +32,7 @@
panel.totalfees,panel.usefees,
panel.receiptno,panel.receiptdate,panel.insurancereceiptno,
panel.insurancereceiptdate,panel.notes,panel.verificationreceiptno,
- panel.verificationreceiptdate
+ panel.verificationreceiptdate,panel.x,panel.y,panel.annualfees,panel.registerno
from panel left outer join typedimensionfees on
(panel.routetype=typedimensionfees.routetype and
panel.paneldimension=typedimensionfees.paneldimension)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2007-01-10 13:08:48
|
Revision: 32
http://svn.sourceforge.net/rapc/?rev=32&view=rev
Author: maher_karim
Date: 2007-01-10 05:08:39 -0800 (Wed, 10 Jan 2007)
Log Message:
-----------
2007-01-10 Maher Abdel karim <mah...@do...>
* script/create_rapc_ddl.sql: Add more fields to store verification, and
contract information.
* include/dataobject/rapc.ini:adjust the panel table fields.
* include/dataobject/public_rapc.php:Add the new fields to the page.
* script/create_views.sql:adjust the view to contain the variation info.
* illegal_panelinstallation_report.php:adjust report.
Modified Paths:
--------------
trunk/rapc/changelog
trunk/rapc/include/dataobject/Public_panel.php
trunk/rapc/include/dataobject/rapc.ini
trunk/rapc/panelpage.php
trunk/rapc/script/create_rapc_ddl.sql
trunk/rapc/script/create_views.sql
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2007-01-10 13:08:44
|
Revision: 32
http://svn.sourceforge.net/rapc/?rev=32&view=rev
Author: maher_karim
Date: 2007-01-10 05:08:39 -0800 (Wed, 10 Jan 2007)
Log Message:
-----------
2007-01-10 Maher Abdel karim <mah...@do...>
* script/create_rapc_ddl.sql: Add more fields to store verification, and
contract information.
* include/dataobject/rapc.ini:adjust the panel table fields.
* include/dataobject/public_rapc.php:Add the new fields to the page.
* script/create_views.sql:adjust the view to contain the variation info.
* illegal_panelinstallation_report.php:adjust report.
Modified Paths:
--------------
trunk/rapc/changelog
trunk/rapc/include/dataobject/Public_panel.php
trunk/rapc/include/dataobject/rapc.ini
trunk/rapc/panelpage.php
trunk/rapc/script/create_rapc_ddl.sql
trunk/rapc/script/create_views.sql
Modified: trunk/rapc/changelog
===================================================================
--- trunk/rapc/changelog 2006-12-18 07:34:32 UTC (rev 31)
+++ trunk/rapc/changelog 2007-01-10 13:08:39 UTC (rev 32)
@@ -1,3 +1,12 @@
+2007-01-10 Maher Abdel karim <mah...@do...>
+
+ * script/create_rapc_ddl.sql: Add more fields to store verification, and
+ contract information.
+ * include/dataobject/rapc.ini:adjust the panel table fields.
+ * include/dataobject/public_rapc.php:Add the new fields to the page.
+ * script/create_views.sql:adjust the view to contain the variation info.
+ * illegal_panelinstallation_report.php:adjust report.
+
2006-12-14 Maher Abdel karim <mah...@do...>
* script/create_views.sql:fix error.
Modified: trunk/rapc/include/dataobject/Public_panel.php
===================================================================
--- trunk/rapc/include/dataobject/Public_panel.php 2006-12-18 07:34:32 UTC (rev 31)
+++ trunk/rapc/include/dataobject/Public_panel.php 2007-01-10 13:08:39 UTC (rev 32)
@@ -61,6 +61,10 @@
var $image;
var $regiterno;
var $boolrow;
+ var $contractunitprice;
+ var $verificationreceiptno;
+ var $verificationreceiptdate;
+ var $verificationamount;
/* ZE2 compatibility trick*/
function __clone() { return $this;}
@@ -92,7 +96,8 @@
'lightavailable','facecount','paneltypedimension',
'panelarea','annualfees','usefees','totalfees','agreedby','receiptno',
'receiptdate','insurancereceiptno','insurancereceiptdate',
- 'contractno','notes','idroadiddistrict','permitno','image','boolrow');
+ 'contractno','notes','idroadiddistrict','permitno','contractunitprice',
+ 'verificationreceiptno','verificationreceiptdate','verificationamount','image','boolrow');
var $fb_preDefOrder = array( 'companyname','panelcatagory', 'ownership',
'registerno',
@@ -105,7 +110,8 @@
'lightavailable','facecount','boolrow','paneltypedimension',
'panelarea','annualfees','usefees','totalfees','agreedby','permitno','receiptno',
'receiptdate','insurancereceiptno','insurancereceiptdate',
- 'contractno','notes','image','idroadiddistrict');
+ 'verificationreceiptno','verificationreceiptdate','verificationamount',
+ 'contractno','contractunitprice','notes','image','idroadiddistrict');
var $fb_linkElementTypes = array('facecount' => 'radio');
var $fb_enumFields = array('facecount');
@@ -296,6 +302,7 @@
$this->x=$this->x;
$this->y=$this->y;
//$this->image='test';
+ unset ($_SESSION['routetypevalue']);
}
return parent::update($do);
@@ -310,7 +317,7 @@
$this->x=$this->x;
$this->y=$this->y;
// $this->image='test';
-
+ unset ($_SESSION['routetypevalue']);
}
@@ -351,7 +358,11 @@
'insurancereceiptno'=>_('Insurance Receipt No.:'),
'insurancereceiptdate'=>_('Insurance Receipt Date:'),'contractno'=>_('Contract No:'),
'notes'=>_('Notes:'),'permitno'=>_('Permission No.:'),
- 'registerno'=>_('Registeration No.:'),'boolrow'=>_('Right of Way'));
+ 'registerno'=>_('Registeration No.:'),'boolrow'=>_('Right of Way'),
+ 'contractunitprice'=>_("Contract Unit Price"),
+ 'verificationreceiptno'=>_("Verification Receipt No"),
+ 'verificationreceiptdate'=>_("Verification Receipt Date"),
+ 'verificationamount'=>_("Verification Amount"));
$this->fb_formHeaderText= _('Advertisement Panel Information Data Entry');
@@ -375,6 +386,7 @@
function setitems(val){
if (val==1){
document.forms[2].contractno.disabled=false
+ document.forms[2].contractunitprice.disabled=false
}
if (val==3){
document.forms[2].companyname.disabled=false
@@ -388,7 +400,7 @@
document.forms[2].mobileno.disabled=false
document.forms[2].pobox.disabled=false
document.forms[2].contractno.disabled=true
-
+ document.forms[2].contractunitprice.disabled=true
}
if (val==2){
document.forms[2].companyname.disabled=true
@@ -402,7 +414,7 @@
document.forms[2].mobileno.disabled=true
document.forms[2].pobox.disabled=true
document.forms[2].contractno.disabled=true
-
+ document.forms[2].contractunitprice.disabled=true
}
@@ -448,9 +460,14 @@
//alert (facecount);
var startmonth=document.forms[2][22].value;
//alert (startmonth);
+ var varannualfees=document.forms[2].annualfees.value;
+ var varusefees=document.forms[2].usefees.value;
+
+
var totalfees = (((ypanel*xpanel) * annualfees * facecount)+ parseInt(usefees))*((13-startmonth)/12);
+ document.forms[2].totalfees.value=parseInt(totalfees);
- document.forms[2].totalfees.value=parseInt(totalfees);
+
var applicationtype='; print_r("'".$_REQUEST['type']."'");
echo ';
@@ -482,9 +499,11 @@
var usefees2=parseInt(document.forms[2].usefees.value);
var startmonth=document.forms[2][22].value;
- var totalfeesclick = (((panelarea2*annualfees2)*facecount)+usefees2)*((13-startmonth)/12);
-
- document.forms[2].totalfees.value=totalfeesclick;
+ if ((document.forms[2].annualfees.value!=0)){
+ var totalfeesclick = (((panelarea2*annualfees2)*facecount)+usefees2)*((13-startmonth)/12);
+ document.forms[2].totalfees.value=totalfeesclick;
+
+ }
}
@@ -531,7 +550,7 @@
document.forms[2][36].disabled=true;
document.forms[2].routetypevalue.value=selectedvalue;
-
+ //alert (selectedvalue);
}
//checkvalue(1);
_hs_swapOptions(document.forms[2],"paneltypedimension",0);
Modified: trunk/rapc/include/dataobject/rapc.ini
===================================================================
--- trunk/rapc/include/dataobject/rapc.ini 2006-12-18 07:34:32 UTC (rev 31)
+++ trunk/rapc/include/dataobject/rapc.ini 2007-01-10 13:08:39 UTC (rev 32)
@@ -81,6 +81,10 @@
image=2
registerno=2
boolrow=130
+contractunitprice=1
+verificationreceiptno=2
+verificationreceiptdate=6
+verificationamount=1
[public.panel__keys]
id=K
Modified: trunk/rapc/panelpage.php
===================================================================
--- trunk/rapc/panelpage.php 2006-12-18 07:34:32 UTC (rev 31)
+++ trunk/rapc/panelpage.php 2007-01-10 13:08:39 UTC (rev 32)
@@ -174,7 +174,8 @@
$objPanel->routetype,$objPanel->paneltype,$objPanel->paneldimension)));
$objPanelForm->setDefaults(array('road_route_district' => array($objPanel->district,
$objPanel->roadname,$objPanel->routename)));
-
+ $_SESSION['routetypevalue']=$objPanel->routetype;
+
}
function move_file($data) {
@@ -246,7 +247,8 @@
'lightavailable',
'panelarea','annualfees','usefees','totalfees','agreedby','receiptno',
'insurancereceiptno',
- 'contractno','notes','permitno','registerno');
+ 'contractno','notes','permitno','registerno','contractunitprice',
+ 'verificationreceiptno','verificationreceiptdate','verificationamount');
foreach ($arrResetValues as $arrValue) {
$objPanel1 =& $objPanelForm->getElement($arrValue);
@@ -267,18 +269,20 @@
$objPanelForm->insertElementBefore($objStatic, 'routedirection');
$objStatic =& new HTML_QuickForm_static();
-$objStatic->setText('<input type=hidden name=routetypevalue>');
+$objStatic->setText('<input type=hidden name="routetypevalue" value='.
+$_SESSION['routetypevalue'].'>');
$objPanelForm->insertElementBefore($objStatic, 'image');
+
$objStatic =& new HTML_QuickForm_static();
$objStatic->setText('</td></tr></table>');
$objPanelForm->addElement($objStatic);
-
+
//print_r($_POST);
$strHtml = $objPanelForm->toHTML();
$dccssPage->add($strHtml);
-
+//$objPanelForm->setDefaults(array('routetypevalue' => 'maher'));
//print_r($_POST['paneltypedimension'][2]."Maher");
echo($dccssPage->toHtml());
//print_r($_POST);
Modified: trunk/rapc/script/create_rapc_ddl.sql
===================================================================
--- trunk/rapc/script/create_rapc_ddl.sql 2006-12-18 07:34:32 UTC (rev 31)
+++ trunk/rapc/script/create_rapc_ddl.sql 2007-01-10 13:08:39 UTC (rev 32)
@@ -149,7 +149,7 @@
receiptdate date,
insurancereceiptno varchar(10),
insurancereceiptdate date,
- contractno varchar(10),
+ contractno varchar(20),
panelcatagory integer references panelcatagory(codedvalue), --codedvalue
notes varchar(128),
ownership integer,
@@ -158,7 +158,11 @@
permitno varchar(10),
image varchar(128),
registerno varchar(16),
- boolrow integer
+ boolrow integer,
+ contractunitprice float,
+ verificationreceiptno varchar(10),
+ verificationreceiptdate date,
+ verificationamount float
);
create table ownership(
Modified: trunk/rapc/script/create_views.sql
===================================================================
--- trunk/rapc/script/create_views.sql 2006-12-18 07:34:32 UTC (rev 31)
+++ trunk/rapc/script/create_views.sql 2007-01-10 13:08:39 UTC (rev 32)
@@ -31,7 +31,8 @@
panel.totalfees,panel.usefees,
panel.receiptno,panel.receiptdate,panel.insurancereceiptno,
-panel.insurancereceiptdate,panel.notes
+panel.insurancereceiptdate,panel.notes,panel.verificationreceiptno,
+ panel.verificationreceiptdate
from panel left outer join typedimensionfees on
(panel.routetype=typedimensionfees.routetype and
panel.paneldimension=typedimensionfees.paneldimension)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2006-12-18 07:34:42
|
Revision: 31
http://svn.sourceforge.net/rapc/?rev=31&view=rev
Author: maher_karim
Date: 2006-12-17 23:34:32 -0800 (Sun, 17 Dec 2006)
Log Message:
-----------
2006-12-14 Maher Abdel karim <mah...@do...>
* script/create_views.sql:fix error.
Modified Paths:
--------------
trunk/rapc/changelog
trunk/rapc/script/create_views.sql
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2006-12-18 07:34:42
|
Revision: 31
http://svn.sourceforge.net/rapc/?rev=31&view=rev
Author: maher_karim
Date: 2006-12-17 23:34:32 -0800 (Sun, 17 Dec 2006)
Log Message:
-----------
2006-12-14 Maher Abdel karim <mah...@do...>
* script/create_views.sql:fix error.
Modified Paths:
--------------
trunk/rapc/changelog
trunk/rapc/script/create_views.sql
Modified: trunk/rapc/changelog
===================================================================
--- trunk/rapc/changelog 2006-12-14 11:57:23 UTC (rev 30)
+++ trunk/rapc/changelog 2006-12-18 07:34:32 UTC (rev 31)
@@ -1,3 +1,8 @@
+2006-12-14 Maher Abdel karim <mah...@do...>
+
+ * script/create_views.sql:fix error.
+ * doc/user/en/images/*.png: add more images.
+
2006-12-13 Maher Abdel karim <mah...@do...>
* reports.php:add link to authorized panel installation.
Modified: trunk/rapc/script/create_views.sql
===================================================================
--- trunk/rapc/script/create_views.sql 2006-12-14 11:57:23 UTC (rev 30)
+++ trunk/rapc/script/create_views.sql 2006-12-18 07:34:32 UTC (rev 31)
@@ -39,7 +39,7 @@
left outer join paneldimension on (paneldimension.codedvalue=panel.paneldimension)
left outer join routetype on (routetype.codedvalue=panel.routetype) left outer
join facecount on (facecount.codedvalue=panel.facecount) left outer join yesno on
-(panel.boolrow=yesno.codedvalue)
+(panel.boolrow=yesno.codedvalue);
grant select on panelinformation to public;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2006-12-14 11:57:28
|
Revision: 30
http://svn.sourceforge.net/rapc/?rev=30&view=rev
Author: maher_karim
Date: 2006-12-14 03:57:23 -0800 (Thu, 14 Dec 2006)
Log Message:
-----------
Add the land acquisition app to the sourceforge.Still need for confirmation to be under open source.
Added Paths:
-----------
trunk/ac/images/
trunk/ac/images/about.png
trunk/ac/images/administration-32.png
trunk/ac/images/bill_loader.PNG
trunk/ac/images/bullet_next.gif
trunk/ac/images/buttons/
trunk/ac/images/buttons/back_off.gif
trunk/ac/images/buttons/back_on.gif
trunk/ac/images/buttons/coords_off.gif
trunk/ac/images/buttons/coords_on.gif
trunk/ac/images/buttons/digitize_off.gif
trunk/ac/images/buttons/digitize_on.gif
trunk/ac/images/buttons/download_off.gif
trunk/ac/images/buttons/download_on.gif
trunk/ac/images/buttons/fwd_off.gif
trunk/ac/images/buttons/home_off.gif
trunk/ac/images/buttons/home_on.gif
trunk/ac/images/buttons/identify_off.gif
trunk/ac/images/buttons/identify_on.gif
trunk/ac/images/buttons/measure_off.gif
trunk/ac/images/buttons/measure_on.gif
trunk/ac/images/buttons/pan/
trunk/ac/images/buttons/pan/pane_off.gif
trunk/ac/images/buttons/pan/pann_off.gif
trunk/ac/images/buttons/pan/pannw_off.gif
trunk/ac/images/buttons/pan/pans_off.gif
trunk/ac/images/buttons/pan/panw_off.gif
trunk/ac/images/buttons/pan_e.gif
trunk/ac/images/buttons/pan_n.gif
trunk/ac/images/buttons/pan_off.gif
trunk/ac/images/buttons/pan_on.gif
trunk/ac/images/buttons/pan_s.gif
trunk/ac/images/buttons/pan_w.gif
trunk/ac/images/buttons/print_off.gif
trunk/ac/images/buttons/print_on.gif
trunk/ac/images/buttons/reload_off.gif
trunk/ac/images/buttons/reload_on.gif
trunk/ac/images/buttons/resize_off.gif
trunk/ac/images/buttons/select_off.gif
trunk/ac/images/buttons/select_on.gif
trunk/ac/images/buttons/separatorh.gif
trunk/ac/images/buttons/separatorv.gif
trunk/ac/images/buttons/space.gif
trunk/ac/images/buttons/zoomin_off.gif
trunk/ac/images/buttons/zoomin_off0.gif
trunk/ac/images/buttons/zoomin_on.gif
trunk/ac/images/buttons/zoomin_on.gif_
trunk/ac/images/buttons/zoomminus.gif
trunk/ac/images/buttons/zoomminus0.gif
trunk/ac/images/buttons/zoomout_off.gif
trunk/ac/images/buttons/zoomout_off_0.gif
trunk/ac/images/buttons/zoomout_on.gif
trunk/ac/images/buttons/zoomplus.gif
trunk/ac/images/buttons/zoomplus0.gif
trunk/ac/images/config-language.png
trunk/ac/images/dccss-install.ico
trunk/ac/images/dccss-uninstall.ico
trunk/ac/images/dccss.ico
trunk/ac/images/dccss.jpg
trunk/ac/images/dccss_icon_16.png
trunk/ac/images/dccss_small.png
trunk/ac/images/dcmms_keymap.png
trunk/ac/images/documents.png
trunk/ac/images/empty.gif
trunk/ac/images/gnome-starthere.png
trunk/ac/images/gtz.JPG
trunk/ac/images/icon_collapse.gif
trunk/ac/images/icon_draw.gif
trunk/ac/images/icon_expand.gif
trunk/ac/images/icon_eye.gif
trunk/ac/images/icon_find.gif
trunk/ac/images/icon_info.gif
trunk/ac/images/icon_info2.gif
trunk/ac/images/icon_info_av.gif
trunk/ac/images/icon_landmark.png
trunk/ac/images/icon_measure.gif
trunk/ac/images/icon_minimize.gif
trunk/ac/images/icon_pan.gif
trunk/ac/images/icon_pdf.gif
trunk/ac/images/icon_print.gif
trunk/ac/images/icon_recentre.gif
trunk/ac/images/icon_redraw.gif
trunk/ac/images/icon_remove.gif
trunk/ac/images/icon_track.gif
trunk/ac/images/icon_update.gif
trunk/ac/images/icon_zoomin.gif
trunk/ac/images/icon_zoomin.png
trunk/ac/images/icon_zoomout.gif
trunk/ac/images/info.gif
trunk/ac/images/installer-header.bmp
trunk/ac/images/java_off.gif
trunk/ac/images/java_on.gif
trunk/ac/images/jordan.PNG
trunk/ac/images/jordan.jpg
trunk/ac/images/layer_node.gif
trunk/ac/images/mpwh.PNG
trunk/ac/images/northarrow.PNG
trunk/ac/images/ochain.gif
trunk/ac/images/oempty.gif
trunk/ac/images/ominus.gif
trunk/ac/images/ominusEnd.gif
trunk/ac/images/ominusStart.gif
trunk/ac/images/onode.gif
trunk/ac/images/onodeEnd.gif
trunk/ac/images/oplus.gif
trunk/ac/images/oplusEnd.gif
trunk/ac/images/oplusStart.gif
trunk/ac/images/php-power-white.gif
trunk/ac/images/poweredbymysql-88.png
trunk/ac/images/remove_temporary_files.png
trunk/ac/images/shapefile_dumper.png
trunk/ac/images/spinner.gif
trunk/ac/images/stock-tool-move.png
trunk/ac/images/stock_exit-16.png
trunk/ac/images/stock_extended-help.png
trunk/ac/images/stock_help-16.png
trunk/ac/images/stock_refresh.png
trunk/ac/images/stock_search.png
trunk/ac/images/stock_zoom-in.png
trunk/ac/images/stock_zoom-out.png
trunk/ac/images/thmIdOn13x13.gif
trunk/ac/images/tree_layer.gif
trunk/ac/images/tree_layers.gif
trunk/ac/images/tree_server.gif
trunk/ac/images/workorder.png
trunk/ac/images/workswithmysql-88.png
trunk/ac/images/zoom_to_landmark.png
Added: trunk/ac/images/about.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/about.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/administration-32.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/administration-32.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/bill_loader.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/bill_loader.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/bullet_next.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/bullet_next.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/back_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/back_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/back_on.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/back_on.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/coords_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/coords_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/coords_on.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/coords_on.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/digitize_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/digitize_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/digitize_on.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/digitize_on.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/download_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/download_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/download_on.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/download_on.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/fwd_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/fwd_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/home_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/home_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/home_on.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/home_on.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/identify_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/identify_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/identify_on.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/identify_on.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/measure_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/measure_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/measure_on.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/measure_on.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/pan/pane_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/pan/pane_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/pan/pann_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/pan/pann_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/pan/pannw_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/pan/pannw_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/pan/pans_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/pan/pans_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/pan/panw_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/pan/panw_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/pan_e.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/pan_e.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/pan_n.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/pan_n.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/pan_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/pan_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/pan_on.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/pan_on.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/pan_s.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/pan_s.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/pan_w.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/pan_w.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/print_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/print_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/print_on.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/print_on.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/reload_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/reload_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/reload_on.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/reload_on.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/resize_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/resize_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/select_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/select_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/select_on.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/select_on.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/separatorh.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/separatorh.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/separatorv.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/separatorv.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/space.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/space.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/zoomin_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/zoomin_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/zoomin_off0.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/zoomin_off0.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/zoomin_on.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/zoomin_on.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/zoomin_on.gif_
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/zoomin_on.gif_
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/zoomminus.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/zoomminus.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/zoomminus0.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/zoomminus0.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/zoomout_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/zoomout_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/zoomout_off_0.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/zoomout_off_0.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/zoomout_on.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/zoomout_on.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/zoomplus.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/zoomplus.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/buttons/zoomplus0.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/buttons/zoomplus0.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/config-language.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/config-language.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/dccss-install.ico
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/dccss-install.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/dccss-uninstall.ico
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/dccss-uninstall.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/dccss.ico
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/dccss.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/dccss.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/dccss.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/dccss_icon_16.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/dccss_icon_16.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/dccss_small.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/dccss_small.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/dcmms_keymap.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/dcmms_keymap.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/documents.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/documents.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/empty.gif
===================================================================
Added: trunk/ac/images/gnome-starthere.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/gnome-starthere.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/gtz.JPG
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/gtz.JPG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_collapse.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_collapse.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_draw.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_draw.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_expand.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_expand.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_eye.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_eye.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_find.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_find.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_info.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_info.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_info2.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_info2.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_info_av.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_info_av.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_landmark.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_landmark.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_measure.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_measure.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_minimize.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_minimize.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_pan.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_pan.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_pdf.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_pdf.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_print.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_print.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_recentre.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_recentre.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_redraw.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_redraw.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_remove.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_remove.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_track.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_track.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_update.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_update.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_zoomin.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_zoomin.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_zoomin.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_zoomin.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/icon_zoomout.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/icon_zoomout.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/info.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/info.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/installer-header.bmp
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/installer-header.bmp
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/java_off.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/java_off.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/java_on.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/java_on.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/jordan.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/jordan.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/jordan.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/jordan.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/layer_node.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/layer_node.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/mpwh.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/mpwh.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/northarrow.PNG
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/northarrow.PNG
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/ochain.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/ochain.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/oempty.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/oempty.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/ominus.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/ominus.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/ominusEnd.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/ominusEnd.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/ominusStart.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/ominusStart.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/onode.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/onode.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/onodeEnd.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/onodeEnd.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/oplus.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/oplus.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/oplusEnd.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/oplusEnd.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/oplusStart.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/oplusStart.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/php-power-white.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/php-power-white.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/poweredbymysql-88.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/poweredbymysql-88.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/remove_temporary_files.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/remove_temporary_files.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/shapefile_dumper.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/shapefile_dumper.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/spinner.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/spinner.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/stock-tool-move.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/stock-tool-move.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/stock_exit-16.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/stock_exit-16.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/stock_extended-help.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/stock_extended-help.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/stock_help-16.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/stock_help-16.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/stock_refresh.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/stock_refresh.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/stock_search.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/stock_search.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/stock_zoom-in.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/stock_zoom-in.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/stock_zoom-out.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/stock_zoom-out.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/thmIdOn13x13.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/thmIdOn13x13.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/tree_layer.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/tree_layer.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/tree_layers.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/tree_layers.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/tree_server.gif
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/tree_server.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/workorder.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/workorder.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/workswithmysql-88.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/workswithmysql-88.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/ac/images/zoom_to_landmark.png
===================================================================
(Binary files differ)
Property changes on: trunk/ac/images/zoom_to_landmark.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2006-12-14 11:57:27
|
Revision: 30
http://svn.sourceforge.net/rapc/?rev=30&view=rev
Author: maher_karim
Date: 2006-12-14 03:57:23 -0800 (Thu, 14 Dec 2006)
Log Message:
-----------
Add the land acquisition app to the sourceforge.Still need for confirmation to be under open source.
Added Paths:
-----------
trunk/ac/images/
trunk/ac/images/about.png
trunk/ac/images/administration-32.png
trunk/ac/images/bill_loader.PNG
trunk/ac/images/bullet_next.gif
trunk/ac/images/buttons/
trunk/ac/images/buttons/back_off.gif
trunk/ac/images/buttons/back_on.gif
trunk/ac/images/buttons/coords_off.gif
trunk/ac/images/buttons/coords_on.gif
trunk/ac/images/buttons/digitize_off.gif
trunk/ac/images/buttons/digitize_on.gif
trunk/ac/images/buttons/download_off.gif
trunk/ac/images/buttons/download_on.gif
trunk/ac/images/buttons/fwd_off.gif
trunk/ac/images/buttons/home_off.gif
trunk/ac/images/buttons/home_on.gif
trunk/ac/images/buttons/identify_off.gif
trunk/ac/images/buttons/identify_on.gif
trunk/ac/images/buttons/measure_off.gif
trunk/ac/images/buttons/measure_on.gif
trunk/ac/images/buttons/pan/
trunk/ac/images/buttons/pan/pane_off.gif
trunk/ac/images/buttons/pan/pann_off.gif
trunk/ac/images/buttons/pan/pannw_off.gif
trunk/ac/images/buttons/pan/pans_off.gif
trunk/ac/images/buttons/pan/panw_off.gif
trunk/ac/images/buttons/pan_e.gif
trunk/ac/images/buttons/pan_n.gif
trunk/ac/images/buttons/pan_off.gif
trunk/ac/images/buttons/pan_on.gif
trunk/ac/images/buttons/pan_s.gif
trunk/ac/images/buttons/pan_w.gif
trunk/ac/images/buttons/print_off.gif
trunk/ac/images/buttons/print_on.gif
trunk/ac/images/buttons/reload_off.gif
trunk/ac/images/buttons/reload_on.gif
trunk/ac/images/buttons/resize_off.gif
trunk/ac/images/buttons/select_off.gif
trunk/ac/images/buttons/select_on.gif
trunk/ac/images/buttons/separatorh.gif
trunk/ac/images/buttons/separatorv.gif
trunk/ac/images/buttons/space.gif
trunk/ac/images/buttons/zoomin_off.gif
trunk/ac/images/buttons/zoomin_off0.gif
trunk/ac/images/buttons/zoomin_on.gif
trunk/ac/images/buttons/zoomin_on.gif_
trunk/ac/images/buttons/zoomminus.gif
trunk/ac/images/buttons/zoomminus0.gif
trunk/ac/images/buttons/zoomout_off.gif
trunk/ac/images/buttons/zoomout_off_0.gif
trunk/ac/images/buttons/zoomout_on.gif
trunk/ac/images/buttons/zoomplus.gif
trunk/ac/images/buttons/zoomplus0.gif
trunk/ac/images/config-language.png
trunk/ac/images/dccss-install.ico
trunk/ac/images/dccss-uninstall.ico
trunk/ac/images/dccss.ico
trunk/ac/images/dccss.jpg
trunk/ac/images/dccss_icon_16.png
trunk/ac/images/dccss_small.png
trunk/ac/images/dcmms_keymap.png
trunk/ac/images/documents.png
trunk/ac/images/empty.gif
trunk/ac/images/gnome-starthere.png
trunk/ac/images/gtz.JPG
trunk/ac/images/icon_collapse.gif
trunk/ac/images/icon_draw.gif
trunk/ac/images/icon_expand.gif
trunk/ac/images/icon_eye.gif
trunk/ac/images/icon_find.gif
trunk/ac/images/icon_info.gif
trunk/ac/images/icon_info2.gif
trunk/ac/images/icon_info_av.gif
trunk/ac/images/icon_landmark.png
trunk/ac/images/icon_measure.gif
trunk/ac/images/icon_minimize.gif
trunk/ac/images/icon_pan.gif
trunk/ac/images/icon_pdf.gif
trunk/ac/images/icon_print.gif
trunk/ac/images/icon_recentre.gif
trunk/ac/images/icon_redraw.gif
trunk/ac/images/icon_remove.gif
trunk/ac/images/icon_track.gif
trunk/ac/images/icon_update.gif
trunk/ac/images/icon_zoomin.gif
trunk/ac/images/icon_zoomin.png
trunk/ac/images/icon_zoomout.gif
trunk/ac/images/info.gif
trunk/ac/images/installer-header.bmp
trunk/ac/images/java_off.gif
trunk/ac/images/java_on.gif
trunk/ac/images/jordan.PNG
trunk/ac/images/jordan.jpg
trunk/ac/images/layer_node.gif
trunk/ac/images/mpwh.PNG
trunk/ac/images/northarrow.PNG
trunk/ac/images/ochain.gif
trunk/ac/images/oempty.gif
trunk/ac/images/ominus.gif
trunk/ac/images/ominusEnd.gif
trunk/ac/images/ominusStart.gif
trunk/ac/images/onode.gif
trunk/ac/images/onodeEnd.gif
trunk/ac/images/oplus.gif
trunk/ac/images/oplusEnd.gif
trunk/ac/images/oplusStart.gif
trunk/ac/images/php-power-white.gif
trunk/ac/images/poweredbymysql-88.png
trunk/ac/images/remove_temporary_files.png
trunk/ac/images/shapefile_dumper.png
trunk/ac/images/spinner.gif
trunk/ac/images/stock-tool-move.png
trunk/ac/images/stock_exit-16.png
trunk/ac/images/stock_extended-help.png
trunk/ac/images/stock_help-16.png
trunk/ac/images/stock_refresh.png
trunk/ac/images/stock_search.png
trunk/ac/images/stock_zoom-in.png
trunk/ac/images/stock_zoom-out.png
trunk/ac/images/thmIdOn13x13.gif
trunk/ac/images/tree_layer.gif
trunk/ac/images/tree_layers.gif
trunk/ac/images/tree_server.gif
trunk/ac/images/workorder.png
trunk/ac/images/workswithmysql-88.png
trunk/ac/images/zoom_to_landmark.png
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2006-12-14 11:50:04
|
Revision: 29
http://svn.sourceforge.net/rapc/?rev=29&view=rev
Author: maher_karim
Date: 2006-12-14 03:49:55 -0800 (Thu, 14 Dec 2006)
Log Message:
-----------
Add the land acquisition app to the sourceforge.Still need for confirmation to be under open source.
Added Paths:
-----------
trunk/ac/include/dcmmaputil.php
Added: trunk/ac/include/dcmmaputil.php
===================================================================
--- trunk/ac/include/dcmmaputil.php (rev 0)
+++ trunk/ac/include/dcmmaputil.php 2006-12-14 11:49:55 UTC (rev 29)
@@ -0,0 +1,397 @@
+<?php
+/* RAPC -- Road Advertisement Panel Control
+ *
+ * dcmmsmaputil.php - Utility functions related to the RAPC map.
+
+ * Copyright (C) 2005 DORSCH Consult
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+
+require_once("HTML/QuickForm/radio.php");
+require_once("HTML/Table.php");
+require_once("include/dcmpostgis.php");
+
+
+function xy2geocode($x, $y) {
+ if(!is_numeric($x)||!is_numeric($y)) {
+ return null;
+ }
+ $intX = round($x);
+ $intY = round($y);
+ if(strlen($intX) > 5) {
+ $intX = substr($intX, -5);
+ }
+ if(strlen($intY) > 5) {
+ $intY = substr($intY, -5);
+ }
+ str_pad($intY, 5, '0', STR_PAD_LEFT);
+ return $intX.$intY;
+}
+
+
+/**
+ * Show layers if necessary.
+ * @param $gpoMap is the Map object
+ * $HTTP_FORM_VARS is the array of input values.
+ * @return Nothing.
+ */
+function showLayers($gpoMap, $HTTP_FORM_VARS) {
+ if (sizeof($HTTP_FORM_VARS) >= 2) {
+ $arrLayers = array("Msroads","Villages","Adminsub");
+ foreach($arrLayers as $strLayer) {
+ $poLayer = $gpoMap->getlayerbyname($strLayer);
+ if(array_key_exists($strLayer, $HTTP_FORM_VARS) &&
+ ($HTTP_FORM_VARS[$strLayer] == "Y"))
+ $poLayer->set("status", 1);
+ else
+ $poLayer->set("status", 0);
+ }
+ }
+}
+
+/**
+ * Show nice units in the scalebar.
+ * @param $gpoMap is the Map object
+ * @return nothing
+ */
+function adjustScalebar($gpoMap) {
+ if($gpoMap->scale > 30000) {
+ $gpoMap->scalebar->set("units", MS_KILOMETERS);
+ } else {
+ $gpoMap->scalebar->set("units", MS_METERS);
+ }
+}
+
+/**
+ * Use the DCMMS user name and password to retrieve the PostGIS layer data
+ * @param $gpoMap is the Map object containing the layers
+ * @return nothing
+ */
+function setLayerAuthentication($gpoMap) {
+ for($intI = 0; $intI < $gpoMap->numlayers; $intI++) {
+ $glrLayer = $gpoMap->getLayer($intI);
+ if($glrLayer->connectiontype == MS_POSTGIS) {
+ $strConnection = $glrLayer->connection;
+ $strConnection = preg_replace("/user=[^ ]*/", "user=".$_SESSION["UserName"],
+ $strConnection);
+ $strConnection = preg_replace("/password=[^ ]*/", "password=".
+ $_SESSION["Password"], $strConnection);
+ $glrLayer->set("connection", $strConnection);
+ }
+ }
+}
+
+/**
+ * A polygon in the well-known text representation of the OpenGIS standard.
+ */
+class WktPolygon {
+
+ /**
+ * The minimum x coordinate
+ */
+ var $numMinX;
+
+ /**
+ * The minimum y coordinate
+ */
+ var $numMinY;
+
+ /**
+ * The maximum x coordinate
+ */
+ var $numMaxX;
+
+ /**
+ * The maximum y coordinate
+ */
+ var $numMaxY;
+
+ /**
+ * Create a new WKT polygon object.
+ * @param $minx the minimum x coordinate.
+ * @param $miny the minimum y coordinate.
+ * @param $maxx the maximum x coordinate.
+ * @param $maxy the maximum x coordinate.
+ * @returns The WKT polygon object.
+ */
+ function WktPolygon($minx, $miny, $maxx, $maxy) {
+ $this->numMinX = $minx;
+ $this->numMinY = $miny;
+ $this->numMaxX = $maxx;
+ $this->numMaxY = $maxy;
+ }
+
+ /**
+ * Return the WKT representation of the polygon.
+ * @returns A string containing the WKT representation of the polygon.
+ */
+ function toWkt() {
+ $strWkt = "POLYGON((".$this->numMinX." ".$this->numMinY.",".
+ $this->numMinX." ".$this->numMaxY.",".
+ $this->numMaxX." ".$this->numMaxY.",".
+ $this->numMaxX." ".$this->numMinY.",".
+ $this->numMinX." ".$this->numMinY."))";
+ return $strWkt;
+ }
+}
+
+
+/**
+ * Editing tool for delivery points.
+
+ //here
+
+
+
+
+
+/**
+ * Table to display the results from a queried layer
+ */
+class LayerQueryTable extends HTML_Table {
+
+ /**
+ * The Mapscript layer that contains the query results
+ */
+ var $objLayer = null;
+
+ /**
+ * The layers for which context-sensitive links will be added for the ID
+ * field
+ */
+ var $arrIdFields = array("DeliveryPoint" =>
+ "deliverypointpage.php?sequence=");
+
+ /**
+ * Return a LayerQueryTable object.
+ * @param $layer is the Mapscript layer that contains the query results.
+ * @param $attributes is the optional array containing HTML_Table attributes.
+ * @returns The LayerQueryTable object.
+ */
+ function LayerQueryTable($layer, $attributes = NULL) {
+ HTML_Table::HTML_Table($attributes);
+ $this->objLayer = $layer;
+ }
+
+ /**
+ * Add the query results to the table.
+ * @returns Nothing.
+ */
+ function addRows() {
+ $this->objLayer->open();
+ $arrFields = explode(" ", $this->objLayer->getMetaData("RESULT_FIELDS"));
+ $strLayer = $this->objLayer->getMetaData("DESCRIPTION");
+ $arrTitle = array();
+ foreach($arrFields as $strField) {
+ array_push($arrTitle, _(ucwords($strField)));
+ }
+ $this->addRow($arrTitle, "", "TH");
+
+ $numResults = $this->objLayer->getNumResults();
+ for($iRes=0; $iRes < $numResults; $iRes++) {
+ $arrRow = array();
+ $objResult = $this->objLayer->getResult($iRes);
+ $objShape = $this->objLayer->getShape($objResult->tileindex,
+ $objResult->shapeindex);
+ $arrValues = $objShape->values;
+ foreach($arrFields as $strField) {
+ $strValue = $arrValues[$strField];
+ if(($strField == "id")||($strField == "sequence")) {
+ foreach($this->arrIdFields as $strIdLayer => $strUrl) {
+ if($strLayer == $strIdLayer) {
+ $strValue = "<a href=".quote($strUrl.$strValue).">".$strValue.
+ "maher</a>";
+ }
+ }
+ }
+ array_push($arrRow, $strValue);
+ }
+ $this->addRow($arrRow);
+ $objShape->free();
+ }
+ }
+
+ /**
+ * Return the HTML representation of the table.
+ * @returns A string containing the HTML code.
+ */
+ function toHtml() {
+ if($this->objLayer->getNumResults() == 0) {
+ return("");
+ }
+ $strDescription = $this->objLayer->getMetaData('DESCRIPTION');
+ if($strDescription == '')
+ return('');
+ $strHtml = '<h2>'._(ucwords($strDescription)).'</h2>';
+ $this->altRowAttributes(1, array("class"=>"background_two"),
+ array("class"=>"background_one"));
+ $strHtml = $strHtml."\n".HTML_Table::toHtml();
+ return($strHtml);
+ }
+}
+class PointTool extends HTML_QuickForm_radio {
+
+ /**
+ * Whether the current user is administrator or not.
+ */
+ var $boolPointEditor = TRUE;
+
+ /**
+ * The ID of a selected Point.
+ */
+ var $intSelectedID = NULL;
+
+ /**
+ * The X coordinate of the mouse click.
+ */
+ var $intX = NULL;
+
+ /**
+ * The Y coordinate of the mouse click.
+ */
+ var $intY = NULL;
+
+ /**
+ * The action that is currently performed.
+ */
+ var $strAction = "";
+
+ /**
+ * Return the PointTool object.
+ * @param $strUser The user name.
+ * @param $intGeoX The X coordinate of the mouse click (geographic).
+ * @param $intGeoY The Y coordinate of the mouse click (geographic).
+ * @returns The PointTool object.
+ */
+ function PointTool($strUser, $intGeoX, $intGeoY,$name) {
+ parent::HTML_QuickForm_radio("CMD", _($name));
+ $this->intX = $intGeoX;
+ $this->intY = $intGeoY;
+ }
+
+ /**
+ * Select a Point for editing.
+ * @param $intID is the DeliveryPoint ID.
+ * @returns Nothing.
+ */
+ function setSelected($intID) {
+ $this->intSelectedID = $intID;
+ }
+
+ /**
+ * Set the action of the tool
+ * @param $strAction is a string describing the current action.
+ * @returns Nothing.
+ */
+ function setAction($strAction) {
+ $this->strAction = $strAction;
+ if($strAction == "movePoint") {
+ $this->setValue("MOVE_Point");
+ }
+ }
+
+ /**
+ * Return the HTML code of the Point tool.
+ * @returns A string containing the generated HTML code.
+ * \todo Re-add tooltips, keep image size settings when moving landmark
+ */
+ function toHtml($name) {
+ $strImage = "icon_landmark.png";
+ if($this->strAction == "movePoint") {
+ $strImage = "icon_landmark.png";
+ }
+
+ $strHtml = "<img src=\"images/$strImage\" width=\"24\" ".
+ "height=\"24\" border=\"0\" alt=\""._('Panel2')."\" /></td><td>";
+ $strHtml = $strHtml.parent::toHtml()._('Panel')." ";
+
+ if($this->intSelectedID != NULL) {
+ //print_r($this->$strPointID."m");
+ if($this->boolPointEditor) {
+
+ if($this->strAction == "movePoint") {
+ // print_r('maher222222222222222222222222222222');
+ if($this->intX != NULL) {
+ $strHtml = $strHtml." [ <a href=\"map.php?PHPSESSID=".session_id().
+ "&action=acceptedPointMove&gravitymain=Y&pressurizedmain=Y&ViewRegion=Quick+".
+ "View&minx=".$_REQUEST["minx"]."&miny=".$_REQUEST["miny"]."&maxx=".
+ $_REQUEST["maxx"]."&maxy=".$_REQUEST["maxy"]."&imagewidth=400&".
+ "imageheight=300&CMD=Point".
+ "&KEYMAPXSIZE=120&KEYMAPYSIZE=66&MapSize=400%2C300&PREVIOUS_MODE=1".
+ "&CMD=Point&PointID=".
+ $this->intSelectedID."&PointX=".$this->intX."&PointY=".
+ $this->intY."\">".
+ _("Accept Move")."</a> ]";
+ }
+ $strHtml = $strHtml." [ <a href=\"map.php?PHPSESSID=".session_id().
+ "&gravitymain=Y&pressurizedmain=Y&ViewRegion=Quick+".
+ "View&minx=".$_REQUEST["minx"]."&miny=".$_REQUEST["miny"]."&maxx=".
+ $_REQUEST["maxx"]."&maxy=".$_REQUEST["maxy"]."&imagewidth=400&".
+ "imageheight=300".
+ "&KEYMAPXSIZE=120&KEYMAPYSIZE=66&MapSize=400%2C300&PREVIOUS_MODE=1".
+ "&CMD=Point\">".
+ _("Cancel Move")."</a> ]";
+ } else {
+
+ // Specify the list of actions that can be berformed for the
+ // deliverypint. Available acions (if a deliverypoint is selected)
+ // Edit,Move, and delete.
+ //Not adjusted maher
+ $strHtml = $strHtml." [ <a href=\"panelpage.php?action=edit&PHPSESSID=".
+ session_id()."&id=".$this->intSelectedID."\">"._("[Edit")."</a> ] [ ".
+ "<a href=\"map.php?PHPSESSID=".session_id().
+ "&gravitymain=Y&pressurizedmain=Y&ViewRegion=Quick+".
+ "View&minx=".$_REQUEST["minx"]."&miny=".$_REQUEST["miny"]."&maxx=".
+ $_REQUEST["maxx"]."&maxy=".$_REQUEST["maxy"]."&imagewidth=400&".
+ "imageheight=300&CMD=MOVE_Point".
+ "&KEYMAPXSIZE=120&KEYMAPYSIZE=66&MapSize=400%2C300&PREVIOUS_MODE=1".
+ "&PointID=".$this->intSelectedID."&action=movePoint".
+ "&id=".$this->intSelectedID."\">".
+ _("Move")."</a> ][ ".
+ "<a href=\"map.php?PHPSESSID=".session_id().
+ "&gravitymain=Y&pressurizedmain=Y&ViewRegion=Quick+".
+ "View&minx=".$_REQUEST["minx"]."&miny=".$_REQUEST["miny"]."&maxx=".
+ $_REQUEST["maxx"]."&maxy=".$_REQUEST["maxy"]."&imagewidth=400&".
+ "imageheight=300&CMD=MOVE_Point".
+ "&KEYMAPXSIZE=120&KEYMAPYSIZE=66&MapSize=400%2C300&PREVIOUS_MODE=1".
+ "&PointID=".$this->intSelectedID."&action=deletePoint".
+ "&id=".$this->intSelectedID."\">".
+ _("Delete")."</a> ]";
+ }
+
+ } else {
+ //print_r('Hello');
+ $strHtml = $strHtml."<a href=\"panelpage.php?action=view&PHPSESSID=".
+ session_id()."&id=".$this->intSelectedID."\">"._("[View]")."</a>";
+ }
+ }// else {
+ // if(($this->intX != NULL)&&($this->getChecked())) {
+ // $strInsert= "insert into panel (the_geom) values
+ // (GeometryFromText('POINT(".$this->intX." ".$this->intY.")', -1))";
+ //echo ($strInsert);
+ // pg_query($strInsert);
+ // }
+ //}
+ if($this->intSelectedID != NULL) {
+ $strHtml = $strHtml."<input type=\"hidden\" name=\"PointID\"".
+ " value=\"".$this->intSelectedID."\" />";
+ }
+ return $strHtml;
+ }
+}
+
+?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2006-12-14 11:50:04
|
Revision: 29
http://svn.sourceforge.net/rapc/?rev=29&view=rev
Author: maher_karim
Date: 2006-12-14 03:49:55 -0800 (Thu, 14 Dec 2006)
Log Message:
-----------
Add the land acquisition app to the sourceforge.Still need for confirmation to be under open source.
Added Paths:
-----------
trunk/ac/include/dcmmaputil.php
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2006-12-14 11:46:30
|
Revision: 28
http://svn.sourceforge.net/rapc/?rev=28&view=rev
Author: maher_karim
Date: 2006-12-14 03:46:27 -0800 (Thu, 14 Dec 2006)
Log Message:
-----------
Add the land acquisition app to the sourceforge.Still need for confirmation to be under open source.
Added Paths:
-----------
trunk/ac/include/
trunk/ac/include/dccss.css
trunk/ac/include/dccsspage.php
trunk/ac/include/dccsspostgis.php
trunk/ac/include/dcmmap.php
trunk/ac/include/dcmmspear.php
trunk/ac/include/dcmpostgis.php
trunk/ac/include/header.php
trunk/ac/include/i18n.php
trunk/ac/include/ltr.css
trunk/ac/include/print.css
trunk/ac/include/rtl.css
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2006-12-14 11:46:30
|
Revision: 28
http://svn.sourceforge.net/rapc/?rev=28&view=rev
Author: maher_karim
Date: 2006-12-14 03:46:27 -0800 (Thu, 14 Dec 2006)
Log Message:
-----------
Add the land acquisition app to the sourceforge.Still need for confirmation to be under open source.
Added Paths:
-----------
trunk/ac/include/
trunk/ac/include/dccss.css
trunk/ac/include/dccsspage.php
trunk/ac/include/dccsspostgis.php
trunk/ac/include/dcmmap.php
trunk/ac/include/dcmmspear.php
trunk/ac/include/dcmpostgis.php
trunk/ac/include/header.php
trunk/ac/include/i18n.php
trunk/ac/include/ltr.css
trunk/ac/include/print.css
trunk/ac/include/rtl.css
Added: trunk/ac/include/dccss.css
===================================================================
--- trunk/ac/include/dccss.css (rev 0)
+++ trunk/ac/include/dccss.css 2006-12-14 11:46:27 UTC (rev 28)
@@ -0,0 +1,205 @@
+body {
+ font-family: Arial, Helvetica, sans-serif;
+ padding: 0px;
+ margin: 0px;
+ border: 0px;
+ padding-bottom: 2em;
+}
+
+p {
+ padding: 0.1em;
+ margin: 0px;
+}
+
+h1,h2,h3 {
+ font-family: Arial, Helvetica, sans-serif;
+ margin: 0.2em;
+ padding: 0px;
+}
+
+table { margin: 1px;}
+
+th {
+ background-color: #9db8d2;
+
+}
+
+td {
+background-color: #ffffcc;
+text-align: left;
+
+}
+
+
+.navigation {
+ padding: 0px;
+ padding-bottom: 1px;
+ margin: 0px;
+ background-color: #9db8d2;
+ border-bottom: 1px solid black;
+ line-height: 1.5em;
+ text-align: bottom;
+}
+
+.navigation form, .navigation img {
+ display: inline;
+}
+
+form {
+ padding: 0px;
+ margin: 0px;
+}
+
+#footer {
+ margin: 0.5em;
+ background-color: #9db8d2;
+}
+
+.footer select { width: 3em; }
+
+body>.footer {
+ position: fixed;
+}
+
+.related {
+ padding-top: 1em;
+}
+
+.label {
+ background-color: #cccccc;
+
+}
+
+.input {
+ color: black;
+ text-align: left;
+}
+
+.important {
+ color: red;
+}
+
+.inline {
+ display: inline;
+}
+
+.center {
+ text-align: center;
+}
+
+button {
+ margin-left: 2px;
+}
+
+.compact, .compact td, .compact th {
+ border-spacing: 0px;
+ border-collapse: collapse;
+ border-width: 1px;
+ border-color: black;
+ margin-top: 0.5em;
+ margin-left: 0.5em;
+}
+
+.dateinput {
+ direction: ltr;
+}
+
+pre {
+ background-color: #dddddd;
+}
+
+@page { size: 19.5cm 28.0cm landscape; margin: 1.0cm; }
+
+.tab_one_panel {
+ background-color: #eeeeee;
+ padding: 2px;
+ overflow: visible;
+ border: 1px solid #bbbbbb;
+}
+
+.tab_one, .tab_title {
+ background-color: #eeeeee;
+ padding: 2px;
+ border-top: 3px solid #eed680;
+ border-left: 1px solid #666666;
+ border-right: 1px solid #666666;
+ border-bottom: 0px;
+}
+
+.tab_one_inactive, .tab_title_disabled {
+ background-color: #bbbbbb;
+ padding-top: 2px;
+ padding-left: 2px;
+ padding-right: 2px;
+ border-top: 1px solid #bbbbbb;
+ border-left: 1px solid #bbbbbb;
+ border-right: 1px solid #bbbbbb;
+ border-bottom: 0px;
+}
+
+.tab_two_panel {
+ padding-top: 6px;
+ background-color: white;
+ width:
+}
+
+.background_one {background-color: #efefef}
+.background_two {background-color: #ffffff}
+
+tr:nth-child(even) {background: #cccccc}
+tr:nth-child(odd) {background: #ffffff}
+
+td:nth-child(even) {background: #cccccc}
+td:nth-child(odd) {background: #ffffff}
+
+div#contentleft {
+ width: 20em;
+ float: left;
+}
+
+div#contentright {
+ float: left;
+}
+
+.box {
+ border: 1px solid black;
+ font-size: xx-small;
+ margin: 1px;
+ //height: 1.1em;
+ whitespace: nowrap;
+ padding: 0px;
+}
+
+.squarebox {
+ width: 1em;
+ height: 1em;
+ border: 1px solid black;
+ font-size: xx-small;
+ padding: 1px;
+ overflow: hidden;
+}
+
+h1 img {
+ vertical-align: top;
+}
+
+.page {
+ page-break-before: always;
+ page-break-after: avoid;
+ page-break-inside: avoid;
+}
+
+.surveyform {
+ border: 1px solid black;
+ width: 95%;
+ border-spacing: 0px;
+ border-collapse: collapse;
+ border-width: 1px;
+ border-color: black;
+ margin-top: 0.5em;
+ margin-left: 0.5em;
+}
+
+.surveyform td {
+ border: 1px solid black;
+}
Added: trunk/ac/include/dccsspage.php
===================================================================
--- trunk/ac/include/dccsspage.php (rev 0)
+++ trunk/ac/include/dccsspage.php 2006-12-14 11:46:27 UTC (rev 28)
@@ -0,0 +1,525 @@
+<?php
+/* AC -- MPWH Land Acquisition
+ *
+ * RolPage.php - General classes for ROL pages; replaces header.php
+ *
+
+ * Copyright (C) 2006 DC Water and Environment.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+/**
+ * Start session, set default language
+ */
+session_start();
+if(isset($_REQUEST['language'])&&(is_array($_REQUEST['language']))) {
+ if(isset($_SESSION['language'])) {
+ $arrNewLanguage = array_diff($_REQUEST['language'],
+ array($_SESSION['language']));
+ if(count($arrNewLanguage) > 0) {
+ $_SESSION['language'] = addslashes($arrNewLanguage[0]);
+ }
+ } else {
+ $_SESSION['language'] = addslashes($_REQUEST['language[]'][0]);
+ }
+}
+if(!isset($_SESSION['language'])) {
+ $_SESSION['language'] = 'en';
+}
+
+/**
+ * Used in the CVS date handling.
+ */
+$Date = "";
+$Empty = "";
+
+/**
+ * enclose a string in ""
+ */
+function quote($strQuote) {
+ return "\"".($strQuote)."\"";
+}
+
+/**
+ * The skeleton of the DCCSS pages.
+ */
+class RolPage {
+ /**
+ * The PEAR logger object.
+ */
+ var $logger;
+
+ /**
+ * The page title
+ */
+ var $strTitle = "";
+
+ /**
+ * The path of the current DCCSS page in the application.
+ */
+ var $strPathInDccss = "";
+
+ /**
+ * The HTML code for the body.
+ */
+ var $strBody = "";
+
+ /**
+ * The path to the descriptive icon image.
+ */
+ var $strIconImage = "";
+
+ /**
+ * An optional script section for the header
+ */
+ var $strScript;
+
+ /**
+ * The heading 1 on the page.
+ */
+ var $strH1 = "";
+
+ /**
+ * The date when the page was last modified
+ */
+ var $strCvsDate = "";
+
+
+ /**
+ * The DccssPostGis object to handle database functionality
+ */
+ var $postgis = null;
+
+ /**
+ * A set of messages to be displayed at the top of the page.
+ */
+ var $strMessage = '';
+
+ /**
+ * The name of the page that was opened. Used in the help link.
+ */
+ var $strPageName = '';
+ /**
+ * Set the CVS date that appears in the footer.
+ * @param $strDate is the date when the page was last modified.
+ * @return nothing
+ */
+ function setCvsDate($strDate) {
+ $this->strCvsDate = $strDate;
+ $this->strCvsDate = date("l dS of F Y h:i:s A");;
+
+ }
+ /**
+ * Create a new DCCSS page.
+ * @param $strPageTitle is the page title.
+ * @param $strPathInDccss is the path to the DCCSS base directory ('./' or
+ * '../').
+ * @return the RolPage object.
+ */
+ function RolPage($strPageTitle, $strPathInDccss = './') {
+ /**
+ * Adjust include path if necessary.
+ */
+ $this->strPathInDccss = $strPathInDccss;
+ if($this->strPathInDccss == '../') {
+ set_include_path(get_include_path().PATH_SEPARATOR.'..'.PATH_SEPARATOR.
+ '../include');
+ } else {
+ set_include_path(get_include_path().PATH_SEPARATOR.'./include');
+ }
+ require_once('conf/dccssconfig.php');
+ require_once('Log.php');
+ require_once('include/dccsspostgis.php');
+
+ /**
+ * Set the locale
+ */
+ $arrCountry = array('ar'=>'JO', 'en'=>'GB', 'fr'=>'FR', 'de'=>'DE',
+ 'it'=>'IT', 'th'=>'TH');
+ $strNumericLocale = 'en';
+ if(PHP_OS == 'WINNT' || PHP_OS == 'WIN32' ||
+ strlen($_SESSION['language']) == 5) {
+ $strLocale = $_SESSION["language"];
+ } else {
+ $strLocale = $_SESSION["language"]."_".
+ $arrCountry[$_SESSION["language"]];
+ $strNumericLocale = "en_GB";
+ }
+
+ putenv("LANG=".$strLocale);
+ if(!setlocale(LC_ALL, $strLocale)) {
+ // echo("Failed to set the locale $strLocale");
+ }
+
+ if(!setlocale(LC_NUMERIC, $strNumericLocale)) {
+ echo("Failed to set the numeric locale");
+ }
+
+ bindtextdomain($_SESSION['textdomain'], $strPathInDccss."locale");
+ bind_textdomain_codeset ($_SESSION['textdomain'],"UTF-8");
+ textdomain($_SESSION['textdomain']);
+
+ $this->strTitle = _($strPageTitle);
+ $strUserName = "NotLoggedOn";
+ if(array_key_exists("UserName", $_SESSION)) {
+ $strUserName = $_SESSION["UserName"];
+ }
+ $conf = array("mode" => 0600, "timeFormat" => "%Y-%m-%d %H:%M");
+ $this->logger = &Log::singleton("file", $_SESSION["strLogFileLocation"],
+ $strUserName, $conf);
+ $this->strH1 = _($strPageTitle);
+
+ $this->postgis = new DccssPostGIS();
+ if($this->postgis == NULL) {
+ if(headers_sent()) {
+ echo('<p class="important">'._('FATAL ERROR: Not logged on!').
+ '</p>');
+ echo('<p><a href="'.$this->strPathInDccss.
+ 'logon.php?action=logon_failure">'._('Logon').'</a></p>');
+ die();
+ } else {
+ header ("Location: ".$this->strPathInDccss.
+ "logon.php?action=logon_failure");
+ die();
+ }
+ }
+ }
+
+ /**
+ * Set the name of the page that was opened.
+ * @param $strPageName is a string containing the page name. Usually
+ * basename(__FILE__) should be used for this.
+ * @return Nothing.
+ */
+ function setPageName($strPageName) {
+ $this->strPageName = $strPageName;
+ }
+ /**
+ * HTML Code for an important paragraph.
+ * @param $strText the paragraph text
+ * @return nothing
+ */
+ function importantParagraph($strText) {
+ echo("<p class=\"important\">".$strText."</p>");
+ }
+ /**
+ * Output the page as HTML
+ * @return the HTML code of the page
+ */
+ function toHtml() {
+ $strHtml = "";
+ /**
+ * Redirect to logon.php if not logged on
+ */
+ if(((isset($_SERVER['PATH_INFO']))&&
+ (!strpos($_SERVER['PATH_INFO'], 'logon.php')))&&
+ ((isset($_SERVER['SCRIPT_NAME'])&&
+ (!strpos($_SERVER['SCRIPT_NAME'], 'logon.php'))))) {
+ if((!array_key_exists("UserName", $_SESSION)) ||
+ (!array_key_exists("Password", $_SESSION)) ||
+ ($_SESSION["UserName"] == "") || ($_SESSION["Password"] == "")) {
+ header("Location: ".$this->strPathInDccss."logon.php");
+ die();
+ }
+ }
+ $strHtml="<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" ".
+ "\"xhtml1-strict.dtd\">\n".
+ "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"".
+ $_SESSION["language"]."\">\n".
+ "<head>\n".
+ "<title>"._($this->strTitle)."</title>\n".
+ "<link rel=\"stylesheet\" href=\"".$this->strPathInDccss."/include/dccss.css\"".
+ " type=\"text/css\" media=\"screen\"/>\n".
+ '<link rel="stylesheet" href="'.$this->strPathInDccss.'/include/print.css"
+ type="text/css" media="print" />'.PHP_EOL.
+ "<link rel=\"stylesheet\" href=\"".$this->strPathInDccss;
+ if(strncmp($_SESSION['language'], 'ar', 2) == 0) {
+ $strHtml = $strHtml."/include/rtl";
+ } else {
+ $strHtml = $strHtml."/include/ltr";
+ }
+ $strHtml = $strHtml.".css\" type=\"text/css\" />\n".
+ "<link rel=\"shortcut icon\" href=\"".$this->strPathInDccss.
+ "images/dccss.ico\" />\n".
+ "<meta http-equiv=\"content-type\"".
+ "content=\"text/xhtml; charset=UTF-8\" />\n".
+ $this->strScript.
+ "</head>\n".
+ "<body dir=\"";
+ if(strncmp($_SESSION['language'], 'ar', 2) == 'ar') {
+ $strHtml .= 'rtl';
+ } else {
+ $strHtml .= 'ltr';
+ }
+ $strHtml .= '">
+ <div class="navigation">
+ <span class="navigationstart">
+ <img alt="'._("AC").'" src="'.$this->strPathInDccss.
+ 'images/dccss_icon_16.png" />
+ <a href="'.$this->strPathInDccss.'index.php?PHPSESSID='.session_id().
+ '" title="'._('Click this link to go to the AC main page.').
+ '">'._('AC').' 0.0.1</a>
+ </span>
+ <span class="navigationend">
+ <form name="search" action=
+ "'.$this->strPathInDccss.'search.php" method="post">
+ <img alt="'._('Search').'" src="'.$this->strPathInDccss.
+ 'images/stock_search.png" align="middle" />
+ <input type="text" name="sequence" size="5" />
+ <button type="submit" name="spider_submit">'.
+ _('Go to link by link number').
+ '</button>
+ </form>
+ <form name="language_selection" action="'.$this->strPageName.'?d=1';
+ /**
+ * Recreate the request.
+ */
+ if(isset($_GET)) {
+ $arrRequestKeys = array_keys($_GET);
+ foreach($_GET as $strRequestKey => $strRequestValue) {
+ //if(is_string($strRequestValue)||($strRequestKey == 'gid')) {
+ $strHtml .= '&'.$strRequestKey.'='.
+ urlencode($strRequestValue);
+ //}
+ }
+ }
+ $strHtml .= '" method="post">
+ ';
+ if(isset($_POST)) {
+ $arrPostKeys = array_keys($_POST);
+ foreach($arrPostKeys as $strPostKey) {
+ if(($strPostKey != 'language')) {
+ $strHtml .= '<input type="hidden" name="'.$strPostKey.
+ '" value="'.$_POST[$strPostKey].'" />
+ ';
+ }
+ }
+ }
+ $strHtml .= '<img alt="'._('Language: ').'" align="middle" src="'.
+ $this->strPathInDccss.
+ 'images/config-language.png" /><a name="#language_title" title="'.
+ _('Select the language in which the AC pages are displayed.').' '.
+ _('Next, click the "Select" button.').'">
+ <select name="language[]" size="1" type="submit" onChange=
+ "if((this.form)&&(this.form.submit)) this.form.submit()">';
+ if(!isset($_SESSION['language'])) {
+ $_SESSION['language'] = 'en';
+ }
+ $dirName = $this->strPathInDccss.'locale';
+ $d = dir($dirName);
+ while($entry = $d->read()) {
+ if($entry != '.' && $entry != '..' && $entry != 'CVS' &&
+ in_array($entry, $_SESSION['arrLanguages'])) {
+ if (is_dir($dirName.'/'.$entry)) {
+ $strHtml .= '<option ';
+ if($entry == $_SESSION['language']) {
+ $strHtml = $strHtml.'selected="selected"';
+ }
+ $strHtml .= '>'.$entry.'</option>
+ ';
+ }
+ }
+ }
+ $strHtml .= '</select></a>
+ <a name="#language_button" title="'.
+ _("Click this button after selecting a language.").
+ '">
+ <button type="submit" name="language_submit">'.
+ _('Select').'</button></a>
+ <img src="'.$this->strPathInDccss.
+ 'images/stock_help-16.png" align="middle" alt="'._('Help').'"/>'.
+ '<a href="'.$this->strPathInDccss.'doc/user/'.
+ substr($_SESSION['language'], 0, 2).'/index.html#'.$this->strPageName.
+ '" target=
+ "_blank" title="'.
+ _("Click this link to view related information in the AC user manual.").
+ '">'._('Help').'</a>
+ <img src="'.$this->strPathInDccss.
+ 'images/stock_exit-16.png" align="middle" alt="'._('Logoff').'"/>'.
+ '<a href="'.$this->strPathInDccss.'logon.php?action=logoff"
+ title="'.
+ _('Click this link to exit the AC application.').
+ '">'._('Logoff').' ';
+ if(isset($_SESSION['UserName'])) {
+ $strHtml .= $_SESSION['UserName'];
+ }
+ $strHtml .= '</a>
+ </form>
+ </span>
+ </div>
+ ';
+ if($this->strH1 != "") {
+ $strHtml = $strHtml."<h1>";
+ if($this->strIconImage != "") {
+ $strHtml = $strHtml." <img alt=\"DCCSS\" src=".
+ quote($this->strPathInDccss."images/".$this->strIconImage).
+ "/>"._($this->strH1);
+ } else {
+ $strHtml = $strHtml.$this->strH1;
+ }
+ $strHtml = $strHtml."</h1>\n";
+ }
+ /**
+ * Display messages.
+ */
+ if($this->strMessage != '') {
+ $strHtml .= $this->strMessage.'<br />';
+ }
+ /**
+ * Insert the HTML body
+ */
+ $this->strCvsDate=$this->getTimestamp();
+ $strHtml = $strHtml.$this->strBody;
+ $strHtml =$strHtml."<div id=\"footer\">".
+ _("Copyright (c) 2006 DORSCH Consult. ")." ".
+ _("Last modified ").
+ $this->strCvsDate.
+ "</div>\n".
+ "</body>\n".
+ "</html>\n";
+
+ $this->postgis->db->disconnect();
+
+ return($strHtml);
+ }
+
+ /**
+ * Add HTML code to the page body
+ * @param $strHtml is the HTML code to be added to the body.
+ * @return nothing
+ */
+ function add($strHtml) {
+ $this->strBody = $this->strBody.$strHtml;
+ }
+
+ /**
+ * Add an important message to be displayed. The message will be automatically
+ * enclosed in a paragraph.
+ * @param $strMessage is the message to be displayed.
+ * @return Nothing.
+ */
+ function addMessage($strMessage) {
+ $this->strMessage .= '<p class="important">'.$strMessage.'</p>';
+ }
+
+ /**
+ * Set the icon used in heading 1.
+ * @param $strImagePath is the path to the image.
+ * @return nothing
+ */
+ function setIconImage($strImagePath) {
+ $this->strIconImage = $strImagePath;
+ }
+
+
+
+ /**
+ * Return a string timestamp that is compatible with the time format used in
+ * the database
+ * @param $offYear is a negative integer offset for the year.
+ * @param $offMonth is a negative integer offset for the month.
+ * @param $offDay is a negative integer offset for the day.
+ * @return The timestamp as a string in ISO date format.
+ */
+ function getTimestamp($offYear=0, $offMonth=0, $offDay=0) {
+ $strDate = date((date("Y")-$offYear)."-".(date("m")-$offMonth)."-".
+ (date("d")-$offDay)." H:i");
+ $intTime = strtotime($strDate);
+ return(date("Y-m-d H:i", $intTime));
+
+ }
+}
+/**
+ * DCCSS Pages that are only for Administrators
+ */
+class DccssAdminPage extends RolPage {
+
+ /**
+ * Whether the user is an administrator or not
+ */
+ var $boolAdministrator = false;
+
+ /**
+ * Create a new DCCSS administrator page.
+ * @param $strPageTitle is the page title
+ * @param $strPathInDmms is the path from the page to the DCCSS base
+ * directory ('./' or '../').
+ * @return the DccssAdminPage object.
+ */
+ function DccssAdminPage($strPageTitle, $strPathInDccss = '../') {
+ parent::RolPage($strPageTitle, $strPathInDccss);
+ $this->boolAdministrator = $this->postgis->isAdministrator($_SESSION["UserName"]);
+ if(!$this->boolAdministrator) {
+ $this->strBody = "<p class=\"important\">".
+ _("This page is for AC administrators only.")."</p>";
+ }
+ }
+
+ /**
+ * Add HTML code to the page body
+ * @param $strHtml is the HTML code to be added to the body.
+ * @return nothing
+ */
+ function add($strHtml) {
+ if($this->boolAdministrator) {
+ $this->strBody = $this->strBody.$strHtml;
+ }
+ }
+
+ /**
+ * Translate a term using php_gettext
+ * @param $strTerm is the string to be translated.
+ * @return the translated string.
+ */
+ function _($strTerm) {
+ if(!$strTerm) {
+ return("");
+ }
+ return _($strTerm);
+ }
+}
+
+/**
+ * Tabbed DCCSS Pages that allow to access the list of workorders
+ */
+class WorkorderPage extends RolPage {
+
+ /**
+ * The workorder number to be displayed in the tab.
+ */
+ var $strId = NULL;
+
+ /**
+ * Output the page as HTML
+ * @return the HTML code of the page
+ */
+ function toHtml() {
+ $this->strBody = '<a href="workorderlist.php?PHPSESSID='.session_id().
+ '&status=1" class="tab_one_inactive">'._('Pending').'</a>'.
+ ' <a href="workorderlist.php?PHPSESSID='.session_id().
+ '&status=2" class="tab_one_inactive">'._('Completed').'</a>'.
+ (isset($this->strId) ? ' <span class="tab_one">'.
+ sprintf(_('Workorder #%s'), $this->strId).'</span> ' :
+ '').$this->strBody;
+ return parent::toHtml();
+ }
+
+ function setId($strId) {
+ $this->strId = $strId;
+ }
+}
+define('DB_DATAOBJECT_NO_OVERLOAD', true);
+?>
Added: trunk/ac/include/dccsspostgis.php
===================================================================
--- trunk/ac/include/dccsspostgis.php (rev 0)
+++ trunk/ac/include/dccsspostgis.php 2006-12-14 11:46:27 UTC (rev 28)
@@ -0,0 +1,150 @@
+<?php
+/**
+ * DCCSS -- DC Comprehensive Subscriber Survey
+ * RAPC -- Road Advertisement Panel Control
+ *
+ * dccsspostgis.php - RDBMS-specific functionality of the DCCSS application
+ *
+ * Copyright (C) 2005DORSCH Consult
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+/**
+ * \todo Completely move to PEAR DB
+ */
+require_once("DB.php");
+
+/**
+ * Database related functionality
+ */
+class DccssPostGIS {
+
+ /**
+ * The PEAR::DB database object
+ */
+ var $db = null;
+
+ /**
+ * DccssPostGIS constructor. Opens database connection.
+ * @return the DccssPostGIS object or NULL in the case of failure.
+ */
+ function DccssPostGIS() {
+ if((!array_key_exists("UserName", $_SESSION))||(!array_key_exists("Password",
+ $_SESSION))||(strtolower($_SESSION["UserName"]) == "postgres" )) {
+ return NULL;
+ }
+
+ $strDSN = "pgsql://".$_SESSION["UserName"].":".$_SESSION["Password"]."@".
+ "localhost/".$_SESSION["strDataBase"];
+ $this->db = DB::connect($strDSN);
+
+ if(DB::isError($this->db)) {
+ return NULL;
+ }
+ }
+
+ /**
+ * Disconnect from the database.
+ * @return nothing
+ */
+ function disconnect() {
+ $this->db->disconnect();
+ }
+
+ /**
+ * Return reversed arabic fields, because they are stored reversed.
+ * @param $strTable is the optional table name.
+ * @param $strLang is the language (optional, looked up from the session if not
+ * provided).
+ * @return a String that contains the localized query.
+ */
+ function localize($strFieldPart, $strTable = "", $strLang = "") {
+ $strField = "ERROR";
+ if((isset($strTable)) && ($strTable != "")) {
+ $strTable = $strTable.".";
+ } else {
+ $strTable = "";
+ }
+ if(array_key_exists("language", $_SESSION)) {
+ if($strLang == "") {
+ $strLang = $_SESSION["language"];
+ };
+ $strField = "dcmmstranslation('$strLang', ".$strTable.$strFieldPart.")";
+ }
+ return $strField;
+ }
+
+ /**
+ * Return an array that contains the ids of postgresql users in the
+ * group with the given name.
+ * @param $strGroup is the group name to be queried.
+ * @return an array of Strings with the users IDs
+ */
+ function getGroupArray($strGroup) {
+ $arrIDs = array();
+ $strQuery =
+ "select grolist from pg_group where groname = '$strGroup'";
+ $objResult = pg_query($strQuery);
+ if(($objResult)&&(pg_num_rows($objResult) == 1)) {
+ $arrRow = pg_fetch_row($objResult);
+ $strList = $arrRow[0];
+ $arrIDs = split("[ {,}]", $strList);
+ }
+ return array_filter($arrIDs, "strlen");
+ }
+
+ /**
+ * Whether a DCCSS user is an administrator or not
+ * @param $strUsername is the name of the DCCSS user.
+ * @param $arrIDs is the optional array of user ids in the dcmmsadministrator
+ * group
+ * @return true if the specified user is in the dcmmsadministrator group
+ * of the DCCSS database
+ */
+ function isAdministrator($strUserName, $arrIDs = null) {
+ $strQuery = "select usesysid from pg_user where usename='$strUserName'";
+ $objResult = pg_query($strQuery);
+ $strID = "";
+ if(($objResult)&&(pg_num_rows($objResult) == 1)) {
+ $arrRow = pg_fetch_row($objResult);
+ $strID = $arrRow[0];
+ } else {
+ return false;
+ }
+ if($strID == "") {
+ return false;
+ }
+ if($arrIDs == null) {
+ $arrIDs = $this->getGroupArray($_SESSION['administratorGroup']);
+ }
+ foreach($arrIDs as $strAdminID) {
+ if($strID == $strAdminID) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Build an SQL statement that will return the date in ISO format.
+ * @param $strField is the expression that contains the timestamp.
+ * @return An SQL statement that can be executed in the database.
+ */
+ function formatTimestamp($strField) {
+ return "to_char(".$strField.",'yyyy-mm-dd HH24:mi')";
+ }
+
+} ?>
\ No newline at end of file
Added: trunk/ac/include/dcmmap.php
===================================================================
--- trunk/ac/include/dcmmap.php (rev 0)
+++ trunk/ac/include/dcmmap.php 2006-12-14 11:46:27 UTC (rev 28)
@@ -0,0 +1,611 @@
+<?php
+/* RAPC -- Road Advertisement Panel Control
+ *
+ * dcmmap.php - PHP/Mapscript functions
+ *
+ * Copyright (C) 2000 DM Solutions Group Inc.
+ * Copyright (C) 2005 DORSCH Consult
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+require_once("dcmmaputil.php");
+require_once("plugin/identifyplugin.php");
+
+if(sizeof($_POST) > 0) {
+ $HTTP_FORM_VARS = $_POST;
+} else {
+ $HTTP_FORM_VARS = array("");
+}
+
+
+/* ==================================================================== */
+/* Find out whether GIF is supported... if not falback on PNG/JPG */
+/* ==================================================================== */
+if(strpos( ms_GetVersion(), "OUTPUT=GIF") > 0 ) {
+ $gImagesFmt = "MS_GIF";
+} else {
+ $gImagesFmt = "MS_PNG";
+}
+
+/************************************************************************/
+/* function GMap75CheckClick() */
+/* */
+/* Function to set the status ON/OFF of a layer according to */
+/* htrtp parameters passed. (paremeters are here equal to the */
+/* layer name). */
+/************************************************************************/
+function GMap75CheckClick() {
+ GLOBAL $HTTP_FORM_VARS;
+ GLOBAL $gpoMap, $gbShowQueryResults, $gszZoomBoxExt;
+ GLOBAL $dfMapExtMinX;
+ GLOBAL $dfMapExtMinY;
+ GLOBAL $dfMapExtMaxX;
+ GLOBAL $dfMapExtMaxY;
+
+ GLOBAL $dfMaxExtMinX;
+ GLOBAL $dfMaxExtMinY;
+ GLOBAL $dfMaxExtMaxX;
+ GLOBAL $dfMaxExtMaxY;
+ GLOBAL $nClickGeoX;
+ GLOBAL $nClickGeoY;
+ GLOBAL $dfHeightPix;
+ GLOBAL $dfWidthPix;
+
+ reset( $HTTP_FORM_VARS );
+
+/* -------------------------------------------------------------------- */
+/* look for all layers set to on/off */
+/* -------------------------------------------------------------------- */
+ showLayers($gpoMap, $HTTP_FORM_VARS);
+
+/* -------------------------------------------------------------------- */
+/* these are the extents of waht is seen actually, they are */
+/* generated in function GMapRedraw(). */
+/* -------------------------------------------------------------------- */
+ $arrArrays = array($HTTP_FORM_VARS, $_REQUEST);
+ $dfMinX = $gpoMap->extent->minx;
+ $dfMinY = $gpoMap->extent->miny;
+ $dfMaxX = $gpoMap->extent->maxx;
+ $dfMaxY = $gpoMap->extent->maxy;
+ foreach($arrArrays as $arrExtent) {
+ if((array_key_exists("minx", $arrExtent))&&($arrExtent["minx"])) {
+ $dfMinX = doubleval($arrExtent["minx"]);
+ $dfMinY = doubleval($arrExtent["miny"]);
+ $dfMaxX = doubleval($arrExtent["maxx"]);
+ $dfMaxY = doubleval($arrExtent["maxy"]);
+ }
+ }
+
+/* -------------------------------------------------------------------- */
+/* check for image width, hight changes. */
+/* -------------------------------------------------------------------- */
+ if ((array_key_exists("MapSize", $HTTP_FORM_VARS))&&($HTTP_FORM_VARS["MapSize"]))
+ {
+ if (ereg("([0-9]+),([0-9]+)",
+ $HTTP_FORM_VARS["MapSize"], $MapSizeExtents))
+ {
+ $dfWidthPix = intval($MapSizeExtents[1]);
+ $dfHeightPix = intval($MapSizeExtents[2]);
+
+ $gpoMap->set("width",$dfWidthPix);
+ $gpoMap->set("height",$dfHeightPix);
+ }
+ }
+ SetMapExtents($dfMinX, $dfMinY, $dfMaxX, $dfMaxY);
+/* -------------------------------------------------------------------- */
+/* check if the key map has been cliked. */
+/* -------------------------------------------------------------------- */
+ if((array_key_exists("KEYMAP_x", $HTTP_FORM_VARS))
+ &&($HTTP_FORM_VARS["KEYMAP_x"])){
+/* -------------------------------------------------------------------- */
+/* initialize the georef extents of the key map. */
+/* -------------------------------------------------------------------- */
+ $dfKeyMapXMin = $gpoMap->reference->extent->minx;
+ $dfKeyMapYMin = $gpoMap->reference->extent->miny;
+ $dfKeyMapXMax = $gpoMap->reference->extent->maxx;
+ $dfKeyMapYMax = $gpoMap->reference->extent->maxy;
+
+ $nClickPixX = intval($HTTP_FORM_VARS["KEYMAP_x"]);
+ $nClickPixY = intval($HTTP_FORM_VARS["KEYMAP_y"]);
+
+ $dfWidthPix = doubleval($HTTP_FORM_VARS["KEYMAPXSIZE"]);
+ $dfHeightPix = doubleval($HTTP_FORM_VARS["KEYMAPYSIZE"]);
+
+ $nClickGeoX = GMapPix2Geo($nClickPixX, 0, $dfWidthPix, $dfKeyMapXMin,
+ $dfKeyMapXMax, 0);
+ $nClickGeoY = GMapPix2Geo($nClickPixY, 0, $dfHeightPix, $dfKeyMapYMin,
+ $dfKeyMapYMax, 1);
+
+ $dfDeltaX = $dfMaxX - $dfMinX;
+ $dfDeltaY = $dfMaxY - $dfMinY;
+ $dfMiddleX = $nClickGeoX;
+ $dfMiddleY = $nClickGeoY;
+
+ $dfNewMinX = $dfMiddleX - ($dfDeltaX/2);
+ $dfNewMinY = $dfMiddleY - ($dfDeltaY/2);
+ $dfNewMaxX = $dfMiddleX + ($dfDeltaX/2);
+ $dfNewMaxY = $dfMiddleY + ($dfDeltaY/2);
+
+/* -------------------------------------------------------------------- */
+/* not go outside the borders. */
+/* -------------------------------------------------------------------- */
+ if ($dfNewMinX < $dfMaxExtMinX)
+ {
+ $dfNewMinX = $dfMaxExtMinX;
+ $dfNewMaxX = $dfNewMinX + ($dfDeltaX);
+ }
+
+ if ($dfNewMaxX > $dfMaxExtMaxX)
+ {
+ $dfNewMaxX = $dfMaxExtMaxX;
+ $dfNewMinX = $dfNewMaxX - ($dfDeltaX);
+ }
+ if ($dfNewMinY < $dfMaxExtMinY)
+ {
+ $dfNewMinY = $dfMaxExtMinY;
+ $dfNewMaxY = $dfNewMinY + ($dfDeltaY);
+ }
+ if ($dfNewMaxY > $dfMaxExtMaxY)
+ {
+ $dfNewMaxY = $dfMaxExtMaxY;
+ $dfNewMinY = $dfNewMaxY - ($dfDeltaY);
+ }
+
+ SetMapExtents($dfNewMinX, $dfNewMinY, $dfNewMaxX, $dfNewMaxY);
+ }
+
+/* -------------------------------------------------------------------- */
+/* province selection. */
+/* -------------------------------------------------------------------- */
+ if ((array_key_exists("ViewRegion", $HTTP_FORM_VARS))&&
+ ($HTTP_FORM_VARS["ViewRegion"])) {
+ if (ereg("(-?[0-9]+),(-?[0-9]+),(-?[0-9]+),(-?[0-9]+)",
+ $HTTP_FORM_VARS["ViewRegion"], $ProvExtents))
+ {
+ $dfMinX = doubleval($ProvExtents[1]);
+ $dfMinY = doubleval($ProvExtents[2]);
+ $dfMaxX = doubleval($ProvExtents[3]);
+ $dfMaxY = doubleval($ProvExtents[4]);
+
+ SetMapExtents($dfMinX, $dfMinY, $dfMaxX, $dfMaxY);
+ }
+ }
+
+/* -------------------------------------------------------------------- */
+/* extract the current width and height. */
+/* -------------------------------------------------------------------- */
+ if((array_key_exists("imagewidth", $HTTP_FORM_VARS))&&
+ ($HTTP_FORM_VARS["imagewidth"])) {
+ $dfWidthPix = intval($HTTP_FORM_VARS["imagewidth"]);
+ $dfHeightPix = intval($HTTP_FORM_VARS["imageheight"]);
+ }
+ else
+ {
+ $dfWidthPix = $gpoMap->width;
+ $dfHeightPix = $gpoMap->height;
+ }
+
+/* -------------------------------------------------------------------- */
+/* check if it the redraw button which is pressed : if it is */
+/* the case redraw the same extents. */
+/* -------------------------------------------------------------------- */
+ if((array_key_exists("redraw_x", $HTTP_FORM_VARS))&&
+ ($HTTP_FORM_VARS["redraw_x"])) {
+ SetMapExtents($dfMinX, $dfMinY, $dfMaxX, $dfMaxY);
+ }
+/* -------------------------------------------------------------------- */
+/* Check for zoom out (auto-submit) button. */
+/* -------------------------------------------------------------------- */
+ else if( array_key_exists("CMD", $HTTP_FORM_VARS) &&
+ $HTTP_FORM_VARS["CMD"] == "ZOOM_OUT" &&
+ !(array_key_exists("mainmap_x", $HTTP_FORM_VARS) ||
+ array_key_exists("INPUT_COORD", $HTTP_FORM_VARS))) {
+
+ $oPixelPos = ms_newpointobj();
+ $oGeorefExt = ms_newrectobj();
+ $oGeorefMaxExt = ms_newrectobj();
+
+ $oPixelPos->setxy($dfWidthPix/2.0, $dfHeightPix/2.0);
+ $oGeorefExt->setextent($dfMinX, $dfMinY, $dfMaxX, $dfMaxY);
+ $oGeorefMaxExt->setextent($dfMaxExtMinX, $dfMaxExtMinY,
+ $dfMaxExtMaxX, $dfMaxExtMaxY);
+
+ if (!$gpoMap->zoompoint(-2, $oPixelPos, $dfWidthPix, $dfHeightPix,
+ $oGeorefExt, $oGeorefMaxExt))
+ {
+ $gpoMap->setExtent($dfMapExtMinX, $dfMapExtMinY,
+ $dfMapExtMaxX, $dfMapExtMaxY);
+
+ }
+
+ }
+/* -------------------------------------------------------------------- */
+/* check for zoom / query through image click */
+/* -------------------------------------------------------------------- */
+ else
+ {
+ $dfDeltaX = $dfMaxX - $dfMinX;
+ $dfDeltaY = $dfMaxY - $dfMinY;
+
+/* -------------------------------------------------------------------- */
+/* extract click position. */
+/* Convert the click pos to georeref coordinates. */
+/* -------------------------------------------------------------------- */
+ if((array_key_exists("mainmap_x", $HTTP_FORM_VARS) &&
+ $HTTP_FORM_VARS["mainmap_x"]) ||
+ (array_key_exists("INPUT_TYPE", $HTTP_FORM_VARS) &&
+ $HTTP_FORM_VARS["INPUT_TYPE"])) {
+ $bRectangleInput = 0;
+ if(array_key_exists("INPUT_TYPE", $HTTP_FORM_VARS) &&
+ $HTTP_FORM_VARS["INPUT_TYPE"]) {
+ $szCoord = strval($HTTP_FORM_VARS["INPUT_COORD"]);
+ $szCoordType = strval($HTTP_FORM_VARS["INPUT_TYPE"]);
+ if (strcmp($szCoordType,"auto_point") == 0)
+ {
+ $szCoordArray =explode(",", $szCoord);
+ $nClickPixX = $szCoordArray[0];
+ $nClickPixY = $szCoordArray[1];
+ }
+ }
+ else
+ {
+ $nClickPixX = intval($HTTP_FORM_VARS["mainmap_x"]);
+ $nClickPixY = intval($HTTP_FORM_VARS["mainmap_y"]);
+ }
+
+
+ $oPixelPos = ms_newpointobj();
+ $oGeorefExt = ms_newrectobj();
+ $oGeorefMaxExt = ms_newrectobj();
+
+ $oPixelPos->setxy($nClickPixX, $nClickPixY);
+ $oGeorefExt->setextent($dfMinX, $dfMinY, $dfMaxX, $dfMaxY);
+ $oGeorefMaxExt->setextent($dfMaxExtMinX, $dfMaxExtMinY,
+ $dfMaxExtMaxX, $dfMaxExtMaxY);
+
+ if ($HTTP_FORM_VARS["CMD"] == "ZOOM_IN")
+ {
+ if ($bRectangleInput)
+ {
+ $gpoMap->zoomrectangle($oPixelRect, $dfWidthPix,
+ $dfHeightPix, $oGeorefExt);
+ }
+ else
+ $gpoMap->zoompoint(2, $oPixelPos, $dfWidthPix,
+ $dfHeightPix, $oGeorefExt, $oGeorefMaxExt);
+ }
+ if ($HTTP_FORM_VARS["CMD"] == "ZOOM_OUT")
+ {
+ if (!$gpoMap->zoompoint(-2, $oPixelPos, $dfWidthPix,
+ $dfHeightPix, $oGeorefExt,
+ $oGeorefMaxExt))
+ {
+ $gpoMap->setExtent($dfMapExtMinX, $dfMapExtMinY,
+ $dfMapExtMaxX, $dfMapExtMaxY);
+ }
+ }
+ if ($HTTP_FORM_VARS["CMD"] == "RECENTER")
+ {
+ $gpoMap->zoompoint(1, $oPixelPos, $dfWidthPix,
+ $dfHeightPix, $oGeorefExt,
+ $oGeorefMaxExt);
+ }
+ else if ($HTTP_FORM_VARS["CMD"] == "QUERY_POINT")
+ {
+/* -------------------------------------------------------------------- */
+/* DumpQueryResults() will be called later to display the */
+/* results. */
+/* -------------------------------------------------------------------- */
+
+ $nClickGeoX = GMapPix2Geo($nClickPixX, 0, $dfWidthPix,
+ $dfMinX, $dfMaxX, 0);
+ $nClickGeoY = GMapPix2Geo($nClickPixY, 0, $dfHeightPix,
+ $dfMinY, $dfMaxY, 1);
+
+ $oClickGeo = ms_newPointObj();
+ $oClickGeo->setXY($nClickGeoX, $nClickGeoY);
+
+ // Use '@' to avoid warning if query found nothing
+ @$gpoMap->queryByPoint($oClickGeo, 2, -1);
+
+ $gbShowQueryResults = TRUE;
+
+ } elseif(($HTTP_FORM_VARS["CMD"] == "NEW_WORKORDER")||
+ ($HTTP_FORM_VARS["CMD"] == "NEW_WORKORDER_CENTER")||
+ ($HTTP_FORM_VARS["CMD"] == "NEW_WORKORDER_RADIUS")) {
+ GLOBAL $nClickGeoX, $nClickGeoY, $gpoMap, $dfWidthPix;
+
+ $nClickGeoX = GMapPix2Geo($nClickPixX, 0, $dfWidthPix,
+ $dfMinX, $dfMaxX, 0);
+ $nClickGeoY = GMapPix2Geo($nClickPixY, 0, $dfHeightPix,
+ $dfMinY, $dfMaxY, 1);
+
+ $_SESSION["NewWorkorderX"] = $nClickGeoX;
+ $_SESSION["NewWorkorderY"] = $nClickGeoY;
+
+ } else if ($HTTP_FORM_VARS["CMD"] == "ADD_LANDMARK") {
+ // Add a Landmark in the Postgis Layer
+ if (!$bRectangleInput) {
+ $nClickGeoX = GMapPix2Geo($nClickPixX, 0, $dfWidthPix,
+ $dfMinX, $dfMaxX, 0);
+ $nClickGeoY = GMapPix2Geo($nClickPixY, 0, $dfHeightPix,
+ $dfMinY, $dfMaxY, 1);
+ }
+ } else if ($HTTP_FORM_VARS["CMD"] == "ADD_Point") {
+ // Add a Landmark in the Postgis Layer
+ if (!$bRectangleInput) {
+ $nClickGeoX = GMapPix2Geo($nClickPixX, 0, $dfWidthPix,
+ $dfMinX, $dfMaxX, 0);
+ $nClickGeoY = GMapPix2Geo($nClickPixY, 0, $dfHeightPix,
+ $dfMinY, $dfMaxY, 1);
+ }
+
+ }
+ }
+ }
+}
+
+/************************************************************************/
+/* fuction GMapGetStatus($szLayerName) */
+/* */
+/* return if the layer is on or off (displayed or not) : */
+/* */
+/* ON = MS_ON =1 */
+/* OFF = MS_OFF = 0 */
+/* */
+/************************************************************************/
+function GMapGetStatus($szLayerName)
+{
+ GLOBAL $gpoMap;
+
+ $poLayer = $gpoMap->getlayerbyname($szLayerName);
+ $nStatus = $poLayer->status;
+
+ return ($nStatus);
+
+}
+
+/************************************************************************/
+/* function GMapDrawMap() */
+/* */
+/* Funcion to draw the contains of the map. */
+/************************************************************************/
+function GMapDrawMap()
+{
+ GLOBAL $gpoMap, $gbShowQueryResults;
+ GLOBAL $gszCommand, $gszZoomBoxExt;
+ GLOBAL $gImagesFmt;
+ GLOBAL $_SESSION;
+ GLOBAL $nClickGeoX, $nClickGeoY;
+
+ //display area of interest center point or maintenance location
+ if(
+ ($gszCommand == "ADD_Point")||
+ ($gszCommand == "MOVE_Point")) {
+
+ }
+
+ adjustScalebar($gpoMap);
+
+ $arrIDs = Array("NewWorkorderID", "WorkorderID");
+ foreach($arrIDs as $strID) {
+ if((array_key_exists($strID, $_SESSION)) &&
+ (strlen($_SESSION[$strID]) > 0)) {
+
+ }
+ }
+ if ($gbShowQueryResults)
+ $img = $gpoMap->drawQuery();
+ else
+ $img = $gpoMap->draw();
+
+ // draw area of interest center point
+ if(($gszCommand == "NEW_WORKORDER_RADIUS")||
+ (($gszCommand == "NEW_WORKORDER_CENTER")||
+ ($gszCommand == "ADD_REPAIR"))||
+ ($gszCommand == "LANDMARK")||
+ ($gszCommand == "EDIT_LANDMARK")||
+ ($gszCommand == "ADD_LANDMARK")||
+ ($gszCommand == "MOVE_LANDMARK")||
+ ($gszCommand == "Point")||
+ ($gszCommand == "EDIT_Point")||
+ ($gszCommand == "ADD_Point")||
+ ($gszCommand == "MOVE_Point")
+
+ ){
+ $pointObj = ms_newPointObj();
+ $pointObj->setXY($nClickGeoX, $nClickGeoY);
+
+ } elseif($gszCommand == "ZOOM_Point"){
+ $pointObj = ms_newPointObj();
+ $pointObj->setXY($_REQUEST['zoomX'], $_REQUEST['zoomY']);
+
+ }
+ $url = $img->saveWebImage($gImagesFmt, 0, 0, -1);
+
+ echo "\n".$gszZoomBoxExt."\n";
+ printf("<input type=\"HIDDEN\" name=\"minx\" value=\"%f\" />",
+ $gpoMap->extent->minx);
+ printf("<input type=\"HIDDEN\" name=\"miny\" value=\"%f\" />",
+ $gpoMap->extent->miny);
+ printf("<input type=\"HIDDEN\" name=\"maxx\" value=\"%f\" />",
+ $gpoMap->extent->maxx);
+ printf("<input type=\"HIDDEN\" name=\"maxy\" value=\"%f\" />",
+ $gpoMap->extent->maxy);
+ printf("<input type=\"HIDDEN\" name=\"imagewidth\" value=\"%d\" />",
+ $gpoMap->width);
+ printf("<input type=\"HIDDEN\" name=\"imageheight\" value=\"%d\" />",
+ $gpoMap->height);
+
+ echo("<input type=\"image\" src=\"$url\" border=\"0\" width=\"".
+ $gpoMap->width."\" height=\"$gpoMap->height\" name=\"mainmap\" />");
+
+}
+
+/************************************************************************/
+/* function GMapDrawKeyMap() */
+/* */
+/* Utility function to draw the refernece map (key map). */
+/************************************************************************/
+function GMapDrawKeyMap()
+{
+ GLOBAL $gpoMap;
+ GLOBAL $gImagesFmt;
+
+ $img = $gpoMap->drawreferencemap();
+ $url = $img->saveWebImage($gImagesFmt, 0, 0, -1);
+
+ printf("<input type=\"HIDDEN\" name=\"KEYMAPXSIZE\" value=\"%d\" />",
+ $img->width);
+ printf("<input type=\"HIDDEN\" name=\"KEYMAPYSIZE\" value=\"%d\" />",
+ $img->height);
+ echo("<input type=\"image\" src=\"$url\" border=\"0\" name=\"KEYMAP\" />");
+}
+
+
+/************************************************************************/
+/* function GMapDrawScaleBar() */
+/* */
+/* Draw sacle bar. */
+/************************************************************************/
+function GMapDrawScaleBar()
+{
+ GLOBAL $gpoMap;
+ GLOBAL $gImagesFmt;
+
+ $img = $gpoMap->drawScaleBar();
+ $url = $img->saveWebImage($gImagesFmt, 0, 0, -1);
+
+ echo"<IMG SRC=$url BORDER=0 >\n";
+
+}
+
+
+/************************************************************************/
+/*function GMapPix2Geo($nPixPos, $dfPixMin, $dfPixMax, $dfGeoMin, dfGeoMax,*/
+/* $nInversePix) */
+/* */
+/* Utility function to convert a pixel position to geocoded */
+/* position. */
+/* */
+/* The parameter $nInversePix could be set to 1 for Y pixel */
+/* coordinates where the UL > LR. Else set to 0. */
+/************************************************************************/
+function GMapPix2Geo($nPixPos, $dfPixMin, $dfPixMax, $dfGeoMin, $dfGeoMax,
+ $nInversePix) {
+ $dfWidthGeo = $dfGeoMax - $dfGeoMin;
+ $dfWidthPix = $dfPixMax - $dfPixMin;
+
+
+ $dfPixToGeo = $dfWidthGeo / $dfWidthPix;
+
+ if (!$nInversePix)
+ $dfDeltaPix = $nPixPos - $dfPixMin;
+ else
+ $dfDeltaPix = $dfPixMax - $nPixPos;
+
+ $dfDeltaGeo = $dfDeltaPix * $dfPixToGeo;
+
+
+ $dfPosGeo = $dfGeoMin + $dfDeltaGeo;
+
+ return ($dfPosGeo);
+}
+
+/************************************************************************/
+/* function SetMapExtents($dfNewMinX, $dfNewMinY, $dfNewMaxX, $dfNewMaxY)*/
+/* */
+/* Set map extents of the map. We also make a test here with */
+/* the min/max scale set in the .map file (the web object) */
+/* to verify if the extents are respected. If it is the */
+/* case return true. Else return false. */
+/* */
+/* Note : the extents of the map are still set using the */
+/* parameters passed in argument. The caller has the */
+/* responsability to check the return value. */
+/************************************************************************/
+function SetMapExtents($dfNewMinX, $dfNewMinY, $dfNewMaxX, $dfNewMaxY)
+{
+ GLOBAL $gpoMap;
+
+ $gpoMap->setExtent($dfNewMinX, $dfNewMinY, $dfNewMaxX, $dfNewMaxY);
+
+ $dfScale = $gpoMap->scale;
+ if($dfScale < $gpoMap->web->minscale ||
+ $dfScale > $gpoMap->web->maxscale)
+ return false;
+
+ return true;
+}
+
+/************************************************************************/
+/* function GMapDumpQueryResults() */
+/* */
+/* Produce a table with query results. */
+/************************************************************************/
+function GMapDumpQueryResults() {
+ GLOBAL $gpoMap, $gbShowQueryResults;
+ GLOBAL $nClickGeoX, $nClickGeoY, $dfWidthPix, $dfHeightPix;
+ GLOBAL $dfMapExtMinX;
+ GLOBAL $dfMapExtMaxX;
+ GLOBAL $gpoMap;
+
+ $strHtml = "";
+
+ if(!$gbShowQueryResults ) {
+ printf(" ");
+ return;
+ }
+
+ $numResultsTotal = 0;
+ $strHtml = "";
+ /**
+ * Load identify tool plug-ins.
+ */
+ $strDirName = dirname(__FILE__);
+ $arrConfiguration = parse_ini_file($strDirName.
+ '/../conf/identifyplugin.ini', true);
+ if(isset($arrConfiguration['IdentifyPlugin'])&&
+ (is_array($arrConfiguration['IdentifyPlugin']))) {
+ $numI = 1;
+ $arrPluginConfig = $arrConfiguration['IdentifyPlugin'];
+ $arrPlugins = array();
+ $arrPluginSequence = array();
+ while(isset($arrPluginConfig["Plugin$numI"])&&
+ isset($arrPluginConfig["Layer$numI"])) {
+ $arrPlugins[$arrPluginConfig["Layer$numI"]] = $arrPluginConfig["Plugin$numI"];
+ $arrPluginSequence[$arrPluginConfig["Layer$numI"]] = $numI;
+ $numI++;
+ }
+ }
+ for($iLayer=0; $iLayer < $gpoMap->numlayers; $iLayer++) {
+ $oLayer = $gpoMap->GetLayer($iLayer);
+ if(isset($arrPlugins[$oLayer->name])) {
+ $strPlugin = $arrPlugins[$oLayer->name];
+ $objPlugin = IdentifyPlugin::factory($strPlugin,
+ $arrConfiguration['Plugin'.$arrPluginSequence[$oLayer->name]], $oLayer);
+ $strHtml .= $objPlugin->toHtml();
+ }
+ $lqtTable = new LayerQueryTable($oLayer);
+ $lqtTable->addRows();
+ $strHtml = $strHtml.$lqtTable->toHtml();
+ }
+ if($strHtml == "") {
+ $strHtml = "<p>"._("Nothing was found at this location.")."<p>";
+ }
+ echo($strHtml);
+} ?>
+
Added: trunk/ac/include/dcmmspear.php
===================================================================
--- trunk/ac/include/dcmmspear.php (rev 0)
+++ trunk/ac/include/dcmmspear.php 2006-12-14 11:46:27 UTC (rev 28)
@@ -0,0 +1,144 @@
+<?php
+/* DCMMS -- DC Maintenance Management System
+ *
+ * quickform.php - Classes that extends some PEAR classes
+ *
+ * Copyright (C) 2003, 2004 DORSCH Consult, NGWA
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+require_once("DB.php");
+require_once("HTML/Table.php");
+require_once("HTML/QuickForm/date.php");
+require_once("Pager/Pager.php");
+
+class DbTable extends HTML_Table {
+
+ var $query = "";
+ var $db = NULL;
+
+ function DbTable($db, $query, $attributes = NULL) {
+ HTML_Table::HTML_Table($attributes);
+ $this->query = $query;
+ $this->db = $db;
+
+ $arrTitle = array();
+ $result = $this->db->limitQuery($query, 1, 1);
+ if (DB::isError($result)) {
+ die($result->getUserInfo());
+ }
+ $arrTableInfo = $result->tableInfo();
+ foreach($arrTableInfo as $arrInfo) {
+ array_push($arrTitle, _(ucwords($arrInfo["name"])));
+ }
+ $this->addRow($arrTitle, "","TH");
+ }
+
+ function addRows() {
+ $result = $this->db->query($this->query);
+ if (DB::isError($result)) {
+ die($this->db->getUserInfo());
+ }
+ while($row = $result->fetchRow()) {
+ $this->addRow($row);
+ }
+ }
+
+ function toHtml() {
+ $this->altRowAttributes(1, array("class"=>"background_two"),
+ array("class"=>"background_one"));
+ return(HTML_Table::toHtml());
+ }
+
+ /**
+ * Run gettext over the contents of a column. The first row is left out.
+ * @param integer intColumn The column index.
+ * @return Nothing.
+ */
+ function gettextColumn($intColumn) {
+ $numRowCount = $this->getRowCount();
+ for($numI = 1; $numI < $numRowCount; $numI++) {
+ $strValue =$this->getCellContents($numI, $intColumn);
+ if($strValue != '') {
+ $this->setCellContents($numI, $intColumn,
+ _($strValue));
+ }
+ }
+ }
+}
+
+class DbTablePager extends DbTable {
+
+ var $query = "";
+ var $db = NULL;
+ var $links = NULL;
+ var $pager = NULL;
+ var $limit = 10;
+ var $from = 0;
+
+ function DbTablePager($db, $query, $attributes = NULL) {
+ HTML_Table::HTML_Table($attributes);
+ $this->query = $query;
+ $this->db = $db;
+ $countquery = "select count(*) from ($query) as count";
+ $result = $this->db->query($countquery);
+ if (DB::isError($result)) {
+ die($result->getMessage());
+ }
+ $arrRow = $result->fetchRow();
+ $params['totalItems'] = $arrRow[0];
+ $params['perPage'] = $this->limit;
+ $params['nextImg'] = _('Next >>');
+ $params['prevImg'] = _('<< Back');
+ $this->pager =& Pager::factory($params);
+ $data = $this->pager->getPageData();
+ $this->links = $this->pager->getLinks();
+ list($this->from, $this->to) = $this->pager->getOffsetByPageId();
+
+ $arrTitle = array();
+ $result = $this->db->limitQuery($query, 1, 1);
+ if (DB::isError($result)) {
+ die($result->getMessage());
+ }
+ $arrTableInfo = $result->tableInfo();
+ foreach($arrTableInfo as $arrInfo) {
+ array_push($arrTitle, _($arrInfo["name"]));
+ }
+ $this->addRow($arrTitle, "","TH");
+ }
+
+ function addRows() {
+ $result = $this->db->limitQuery($this->query, $this->from-1, $this->limit);
+ if (DB::isError($result)) {
+ die($this->db->getMessage());
+ }
+ while($row = $result->fetchRow()) {
+ $this->addRow($row);
+ }
+ }
+
+ function toHtml() {
+ $strPager = "<p>".sprintf(_("Displaying [%s - %s] of %s"),
+ $this->from, $this->to, $this->pager->_totalItems)."</p>".
+ "<p>".$this->links["back"]." ".$this->links["pages"]." ".
+ $this->links["next"]."</p>";
+ $this->altRowAttributes(1, array("class"=>"background_two"),
+ array("class"=>"background_one"));
+ return(HTML_Table::toHtml().$strPager);
+ }
+}
+
+?>
Added: trunk/ac/include/dcmpostgis.php
===================================================================
--- trunk/ac/include/dcmpostgis.php (rev 0)
+++ trunk/ac/include/dcmpostgis.php 2006-12-14 11:46:27 UTC (rev 28)
@@ -0,0 +1,131 @@
+<?php
+/* DCMMS -- DC Maintenance Management System
+ *
+ * dcmpostgis.php - RDBMS-specific functionality of the DCMMS application
+ *
+ * Copyright (C) 2003,2005 DORSCH Consult, NGWA
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+@session_start();
+if(!isset($strPathInDcmms)) {
+ $strPathInDcmms = './';
+}
+if((!array_key_exists("UserName", $_SESSION))||(!array_key_exists("Password",
+ $_SESSION))||(strtolower($_SESSION["UserName"]) == "postgres" )) {
+ if(headers_sent()) { ?>
+ <p class="important"><?= _("FATAL ERROR: Not logged on!") ?></p>
+ <a href="<?= $strPathInDcmms ?>logon.php?action=logon_failure"><? _("Logon")
+ ?></a><?php
+ die();
+ } else {
+ header ("Location: ".$strPathInDcmms."logon.php?action=logon_failure");
+ die();
+ }
+}
+
+@$rdbms = pg_connect("dbname=".$_SESSION["strDataBase"]." host=localhost user=".
+ $_SESSION["UserName"]." password=".$_SESSION["Password"]);
+if(!$rdbms) {
+ // test with known username/password - as defined in dcmconfig.php
+ $strAction = "database_down";
+ @$rdbms = pg_connect("dbname=".$_SESSION["strDataBase"]." host=localhost user=".
+ $_SESSION["strKnownUser"]." password=".$_SESSION["strKnownPassword"]);
+ if($rdbms) {
+ $strAction = "logon_failure";
+ }
+ if (headers_sent()) {?>
+ <a href="<?= $strPathInDcmms ?>logon.php?action=<?= $strAction
+ ?>"><? _("Logon") ?></a><?php
+ die();
+ } else {
+ header ("Location: ".$strPathInDcmms."logon.php?action=".$strAction);
+ die();
+ }
+
+}
+
+// return reversed arabic fields, because they are stored reversed
+// strTable is the table name (optional)
+// strLang is the language (optional, looked up from the session if not
+// provided)
+function pg_localize($strFieldPart, $strTable = "", $strLang = "") {
+ $strField = "ERROR";
+ if((isset($strTable)) && ($strTable != "")) {
+ $strTable = $strTable.".";
+ } else {
+ $strTable = "";
+ }
+ if(array_key_exists("language", $_SESSION)) {
+ if($strLang == "") {
+ $strLang = $_SESSION["language"];
+ };
+ $strField = "dcmmstranslation('$strLang', ".$strTable.$strFieldPart.")";
+ }
+ return $strField;
+}
+
+// return an array that contains the ids of postgresql users in the
+// group with the given name
+function pg_get_group_array($strGroup) {
+ $arrIDs = array();
+ $strQuery =
+ "select grolist from pg_group where groname = '$strGroup'";
+ $objResult = pg_query($strQuery);
+ if(($objResult)&&(pg_num_rows($objResult) == 1)) {
+ $arrRow = pg_fetch_row($objResult);
+ $strList = $arrRow[0];
+ $arrIDs = split("[ {,}]", $strList);
+ }
+ return array_filter($arrIDs, "strlen");
+}
+
+// returns true if the specified user is in the dcmmsadministrator group
+// of the DCMMS database
+// the array of user ids in the dcmmsadministrator is an optional parameter
+function pg_is_administrator($strUserName, $arrIDs = null) {
+ $strQuery = "select usesysid from pg_user where usename='$strUserName'";
+ $objResult = pg_query($strQuery);
+ $strID = "";
+ if(($objResult)&&(pg_num_rows($objResult) == 1)) {
+ $arrRow = pg_fetch_row($objResult);
+ $strID = $arrRow[0];
+ } else {
+ return false;
+ }
+ if($strID == "") {
+ return false;
+ }
+ if($arrIDs == null) {
+ $arrIDs = pg_get_group_array($_SESSION['administratorGroup']);
+ }
+ foreach($arrIDs as $strAdminID) {
+ if($strID == $strAdminID) {
+ return true;
+ }
+ }
+ return false;
+}
+
+/**
+ * Build an SQL statement that will return the date in ISO format.
+ * @param $strField is the expression that contains the timestamp.
+ * @return An SQL statement that can be executed in the database.
+ */
+function formatTimestamp($strField) {
+ return "to_char(".$strField.",'yyyy-mm-dd HH24:mi')";
+}
+?>
\ No newline at end of file
Added: trunk/ac/include/header.php
===================================================================
--- trunk/ac/include/header.php (rev 0)
+++ trunk/ac/include/header.php 2006-12-14 11:46:27 UTC (rev 28)
@@ -0,0 +1,490 @@
+<?php
+/* DCCSS -- DC Comprehensive Subscribers Survey
+ * AC -- MPWH Land Acquisition
+ *
+ * header.php - header page for the DCCSS pages
+ *
+ * Copyright (C) 2005,2006 DORSCH Consult
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+@session_start();
+if(isset($_REQUEST['language'])) {
+ if(isset($_SESSION['language'])) {
+ $arrNewLanguage = array_diff($_REQUEST['language'],
+ array($_SESSION['language']));
+ if(count($arrNewLanguage) > 0) {
+ $_SESSI...
[truncated message content] |
|
From: <mah...@us...> - 2006-12-14 10:25:56
|
Revision: 27
http://svn.sourceforge.net/rapc/?rev=27&view=rev
Author: maher_karim
Date: 2006-12-14 02:25:24 -0800 (Thu, 14 Dec 2006)
Log Message:
-----------
Add the land acquisition app to the sourceforge.Still need for confirmation to be under open source.
Added Paths:
-----------
trunk/ac/plugin/
trunk/ac/plugin/identifyplugin.php
trunk/ac/plugin/imageidentifyplugin.php
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2006-12-14 10:25:56
|
Revision: 27
http://svn.sourceforge.net/rapc/?rev=27&view=rev
Author: maher_karim
Date: 2006-12-14 02:25:24 -0800 (Thu, 14 Dec 2006)
Log Message:
-----------
Add the land acquisition app to the sourceforge.Still need for confirmation to be under open source.
Added Paths:
-----------
trunk/ac/plugin/
trunk/ac/plugin/identifyplugin.php
trunk/ac/plugin/imageidentifyplugin.php
Added: trunk/ac/plugin/identifyplugin.php
===================================================================
--- trunk/ac/plugin/identifyplugin.php (rev 0)
+++ trunk/ac/plugin/identifyplugin.php 2006-12-14 10:25:24 UTC (rev 27)
@@ -0,0 +1,85 @@
+<?php
+/* DCMMS -- DC Maintenance Management System
+ *
+ * identifyplugin.php - Base class for plug-ins to the map identify tool.
+ *
+ * Copyright (C) 2005 DORSCH Consult
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+/**
+ * Base class for plug-ins to the map identify tool.
+ */
+class IdentifyPlugin {
+
+ /**
+ * An array containing the options from the parsed configuration file.
+ */
+ var $arrConfiguration = NULL;
+
+ /**
+ * The PHP/Mapscript layer that the plug-in is working on.
+ */
+ var $objLayer = NULL;
+ /**
+ * Construct a new IdentifyPlugin object.
+ * @param $arrConfiguration Array containing the options from the parsed
+ * configuration file.
+ * @param $objLayer is the PHP/Mapscript layer that the plug-in is working on.
+ * @return A new IdentifyPlugin object.
+ */
+ function IdentifyPlugin($arrConfiguration, $objLayer) {
+ $this->arrConfiguration = $arrConfiguration;
+ $this->objLayer = $objLayer;
+ }
+
+ /**
+ * @param $strClass A string containing the class name of which an object
+ * should be instantiated.
+ * @param $arrConfiguration Array containing the options from the parsed
+ * configuration file.
+ * @param $objLayer is the PHP/Mapscript layer that the plug-in is working on.
+ * @return A reference to the instanciated object.
+ */
+ function &factory($strClass, $arrConfiguration, $objLayer = NULL) {
+ /**
+ * Check whether the class/file should be included or not, since
+ * it appears as if include_once is pretty time consuming.
+ */
+ if (!class_exists($strClass)) {
+ include_once('plugin/'.strtolower($strClass).'.php');
+ }
+ return new $strClass($arrConfiguration, $objLayer);
+ }
+
+ /**
+ * Render the plug-in output as HTML.
+ * @return A string containing the HTML code to be included in the page.
+ * An empty string is returned in case there are problems.
+ */
+ function toHtml() {
+ return('');
+ }
+
+ /**
+ * Return information about the plug-in.
+ * @return A localized string containing information about the plug-in.
+ */
+ function getAbout() {
+ return(_("An abstract plug-in to the map identify tool."));
+ }
+}
+?>
Added: trunk/ac/plugin/imageidentifyplugin.php
===================================================================
--- trunk/ac/plugin/imageidentifyplugin.php (rev 0)
+++ trunk/ac/plugin/imageidentifyplugin.php 2006-12-14 10:25:24 UTC (rev 27)
@@ -0,0 +1,166 @@
+<?php
+/* DCMMS -- DC Maintenance Management System
+ *
+ * imageidentifyplugin.php - Add links to a directory of images.
+ *
+ * Copyright (C) 2005 DORSCH Consult
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+require_once('HTML/Table.php');
+
+/**
+ * An identify tool plug-in that lists images in a directory for a given ID.
+ */
+class ImageIdentifyPlugin extends IdentifyPlugin {
+ /**
+ * Whether the configuration is ok or not.
+ */
+ var $boolConfiguration = true;
+
+ /**
+ * The HTML output.
+ */
+ var $strHtml = '';
+
+ /**
+ * Construct a new ImageIdentifyPlugin object
+ * @param $arrConfiguration Array containing the options from the parsed
+ * configuration file.
+ * @param $objLayer is the PHP/Mapscript layer that the plug-in is working on.
+ * @return A new ImageIdentifyPlugin object.
+ */
+ function ImageIdentifyPlugin($arrConfiguration, $objLayer) {
+ $this->arrConfiguration = $arrConfiguration;
+ $this->objLayer = $objLayer;
+ /**
+ * Check the configuration.
+ */
+ if((!extension_loaded('exif'))&&(!dl('php_exif.dll'))&&(!dl('php_exif.so'))) {
+ $this->strHtml = '<p class="important">'.
+ _('ImageIdentifyPlugin configuration error:').' '.
+ _('EXIF extension is missing.').'</p>';
+ $this->boolConfiguration = false;
+ return($this);
+ }
+ if((!is_array($this->arrConfiguration))||
+ (!isset($this->arrConfiguration['ImageLocation']))) {
+ $this->strHtml = '<p class="important">'.
+ _('ImageIdentifyPlugin configuration error:').' '.
+ _('Cannot find ImageLocation configuration.').'</p>';
+ $this->boolConfiguration = false;
+ return($this);
+ }
+ if(!is_string($arrConfiguration['ImageLocationURL'])) {
+ $this->strHtml = '<p class="important">'.
+ _('ImageIdentifyPlugin configuration error:').' '.
+ _('Cannot find ImageLocationURL.').'</p>';
+ $this->boolConfiguration = false;
+ return($this);
+ }
+ if(!is_string($arrConfiguration['Pattern'])) {
+ $this->strHtml = '<p class="important">'.
+ _('ImageIdentifyPlugin configuration error:').' '.
+ _('Cannot find Pattern configuration.').'</p>';
+ $this->boolConfiguration = false;
+ return($this);
+ }
+ if(!is_string($arrConfiguration['Field'])) {
+ $this->strHtml = '<p class="important">'.
+ _('ImageIdentifyPlugin configuration error:').' '.
+ _('Cannot find Field configuration.').'</p>';
+ $this->boolConfiguration = false;
+ return($this);
+ }
+ if(is_object($this->objLayer)) {
+ $this->objLayer->open();
+ $arrFields = explode(" ", $this->objLayer->getMetaData("RESULT_FIELDS"));
+ if(!in_array($arrConfiguration['Field'], $arrFields)) {
+ $_SESSION['maher']=$arrConfiguration;
+
+ $this->strHtml = '<p class="important">'.
+ _('ImageIdentifyPlugin configuration error:').' '.
+ _('Cannot find field in query result.').'</p>';
+ $this->boolConfiguration = false;
+ return($this);
+ }
+ }
+ }
+
+ /**
+ * Render the plug-in output as HTML.
+ * @return A string containing the HTML code to be included in the page.
+ * An empty string is returned in case there are problems.
+ */
+ function toHtml() {
+ if(!$this->boolConfiguration) {
+ return($this->strHtml);
+ }
+ $objTable = new HTML_Table();
+ $objTable->addRow(array(_('Image'),_('Description')),'','TH');
+ $numResults = $this->objLayer->getNumResults();
+ for($iRes=0; $iRes < $numResults; $iRes++) {
+ $objResult = $this->objLayer->getResult($iRes);
+ $Risultato=$objResult->shapeindex;
+ $this->objLayer->open();
+ $objShape = $this->objLayer->getShape(0,$Risultato);
+ $arrValues = $objShape->values;
+
+ $strValue = $arrValues[$this->arrConfiguration['Field']];
+ $strImageLocation = sprintf($this->arrConfiguration['ImageLocation'],
+ $strValue);
+
+ if(!is_dir($strImageLocation)) continue;
+ if($handle = opendir($strImageLocation)) {
+ while(false !== ($strFile = readdir($handle))) {
+ if(preg_match($this->arrConfiguration['Pattern'], $strFile)) {
+ $strComment = '';
+ /**
+ * Use EXIF comment to describe image.
+ */
+ $arrComment = exif_read_data($strImageLocation.$strFile, 'WINXP',
+ true);
+ if((is_array($arrComment))&&(isset($arrComment['WINXP']))) {
+ foreach($arrComment['WINXP'] as $strCommentLine) {
+ $strComment .= $strCommentLine;
+ }
+ }
+ $objTable->addRow(array('<a href="'.
+ sprintf($this->arrConfiguration['ImageLocationURL'], $strValue).
+ $strFile.'">'.$strFile.'</a> ', $strValue));
+ }
+ }
+ closedir($handle);
+ }
+ }
+ $objTable->altRowAttributes(1, array("class"=>"background_two"),
+ array("class"=>"background_one"));
+ if(1 == $objTable->getRowCount()) {
+ return(' ');
+ }
+ return($objTable->toHtml());
+ }
+
+ /**
+ * Return information about the plug-in.
+ * @return A localized string containing information about the plug-in.
+ */
+ function getAbout() {
+ return('ImageIdentifyPlugin: '.
+ _('A plug-in to display images of features selected by the identify tool.'));
+ }
+}
+?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <mah...@us...> - 2006-12-14 10:21:34
|
Revision: 26
http://svn.sourceforge.net/rapc/?rev=26&view=rev
Author: maher_karim
Date: 2006-12-14 02:21:30 -0800 (Thu, 14 Dec 2006)
Log Message:
-----------
Add the land acquisition app to the sourceforge.Still need for confirmation to be under open source.
Added Paths:
-----------
trunk/ac/script/
trunk/ac/script/ReplaceInFile.nsh
trunk/ac/script/StrReplace.nsh
trunk/ac/script/remove_temporary_files.bat
Added: trunk/ac/script/ReplaceInFile.nsh
===================================================================
--- trunk/ac/script/ReplaceInFile.nsh (rev 0)
+++ trunk/ac/script/ReplaceInFile.nsh 2006-12-14 10:21:30 UTC (rev 26)
@@ -0,0 +1,68 @@
+!macro ReplaceInFile SOURCE_FILE SEARCH_TEXT REPLACEMENT
+ Push "${SOURCE_FILE}"
+ Push "${SEARCH_TEXT}"
+ Push "${REPLACEMENT}"
+ Call RIF
+!macroend
+
+Function RIF
+
+ ClearErrors ; wanna be a newborn
+
+ Exch $0 ; REPLACEMENT
+ Exch
+ Exch $1 ; SEARCH_TEXT
+ Exch 2
+ Exch $2 ; SOURCE_FILE
+
+ Push $R0 ; SOURCE_FILE file handle
+ Push $R1 ; temporary file handle
+ Push $R2 ; unique temporary file name
+ Push $R3 ; a line to sar/save
+ Push $R4 ; shift puffer
+
+ IfFileExists $2 +1 RIF_error ; knock-knock
+ FileOpen $R0 $2 "r" ; open the door
+
+ GetTempFileName $R2 ; who's new?
+ FileOpen $R1 $R2 "w" ; the escape, please!
+
+ RIF_loop: ; round'n'round we go
+ FileRead $R0 $R3 ; read one line
+ IfErrors RIF_leaveloop ; enough is enough
+ ;RIF_sar: ; sar - search and replace
+ Push "$R3" ; (hair)stack
+ Push "$1" ; needle
+ Push "$0" ; blood
+ Call StrReplace ; do the bartwalk
+ StrCpy $R4 "$R3" ; remember previous state
+ Pop $R3 ; gimme s.th. back in return!
+ ;StrCmp "$R3" "$R4" +1 RIF_sar ; loop, might change again!
+ FileWrite $R1 "$R3" ; save the newbie
+ Goto RIF_loop ; gimme more
+
+ RIF_leaveloop: ; over'n'out, Sir!
+ FileClose $R1 ; S'rry, Ma'am - clos'n now
+ FileClose $R0 ; me 2
+
+ Delete "$2.old" ; go away, Sire
+ Rename "$2" "$2.old" ; step aside, Ma'am
+ Rename "$R2" "$2" ; hi, baby!
+
+ ClearErrors ; now i AM a newborn
+ Goto RIF_out ; out'n'away
+
+ RIF_error: ; ups - s.th. went wrong...
+ SetErrors ; ...so cry, boy!
+
+ RIF_out: ; your wardrobe?
+ Pop $R4
+ Pop $R3
+ Pop $R2
+ Pop $R1
+ Pop $R0
+ Pop $2
+ Pop $0
+ Pop $1
+
+FunctionEnd
Added: trunk/ac/script/StrReplace.nsh
===================================================================
--- trunk/ac/script/StrReplace.nsh (rev 0)
+++ trunk/ac/script/StrReplace.nsh 2006-12-14 10:21:30 UTC (rev 26)
@@ -0,0 +1,51 @@
+; function StrReplace
+; by Hendri Adriaens
+
+; Hen...@ho...
+
+function StrReplace
+ Exch $0 ;this will replace wrong characters
+ Exch
+ Exch $1 ;needs to be replaced
+ Exch
+ Exch 2
+ Exch $2 ;the orginal string
+ Push $3 ;counter
+ Push $4 ;temp character
+ Push $5 ;temp string
+ Push $6 ;length of string that need to be replaced
+ Push $7 ;length of string that will replace
+ Push $R0 ;tempstring
+ Push $R1 ;tempstring
+ Push $R2 ;tempstring
+ StrCpy $3 "-1"
+ StrCpy $5 ""
+ StrLen $6 $1
+ StrLen $7 $0
+ Loop:
+ IntOp $3 $3 + 1
+ StrCpy $4 $2 $6 $3
+ StrCmp $4 "" ExitLoop
+ StrCmp $4 $1 Replace
+ Goto Loop
+ Replace:
+ StrCpy $R0 $2 $3
+ IntOp $R2 $3 + $6
+ StrCpy $R1 $2 "" $R2
+ StrCpy $2 $R0$0$R1
+ IntOp $3 $3 + $7
+ Goto Loop
+ ExitLoop:
+ StrCpy $0 $2
+ Pop $R2
+ Pop $R1
+ Pop $R0
+ Pop $7
+ Pop $6
+ Pop $5
+ Pop $4
+ Pop $3
+ Pop $2
+ Pop $1
+ Exch $0
+FunctionEnd
\ No newline at end of file
Added: trunk/ac/script/remove_temporary_files.bat
===================================================================
--- trunk/ac/script/remove_temporary_files.bat (rev 0)
+++ trunk/ac/script/remove_temporary_files.bat 2006-12-14 10:21:30 UTC (rev 26)
@@ -0,0 +1,5 @@
+set BINDIR=c:\program files\dccss\bin
+set TMPDIR=c:\tmp
+"%BINDIR%\find.exe" "%TMPDIR%\ms_tmp" -type f -mmin +60 -exec "%BINDIR%\rm.exe" -f "{}" ;
+"%BINDIR%\find.exe" "%TMPDIR%" -type d -mmin +60 -name "shp*" -exec "%BINDIR%\rm.exe" -Rf "{}" ;
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|