diff --git a/README.md b/README.md index 769aa87..fe1647a 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ## Данный модуль предназачен для организации системы опросов на сайте. * Возможности модуля позволяют создавать неограниченное количество опросных листов, а также неограниченное количество вопросов. - * Добавить в .htaccess
+ * Добавить в .htaccess (вне секции | Rewrite engine )
## Poll
RewriteRule ^poll-([0-9]+).html$ index.php?module=poll&action=result&pid=$1
diff --git a/ReadMe.txt b/poll/ReadMe.txt similarity index 100% rename from ReadMe.txt rename to poll/ReadMe.txt diff --git a/admin/admin_comments.tpl b/poll/admin/admin_comments.tpl similarity index 100% rename from admin/admin_comments.tpl rename to poll/admin/admin_comments.tpl diff --git a/admin/admin_fields.tpl b/poll/admin/admin_fields.tpl similarity index 100% rename from admin/admin_fields.tpl rename to poll/admin/admin_fields.tpl diff --git a/admin/admin_forms.tpl b/poll/admin/admin_forms.tpl similarity index 100% rename from admin/admin_forms.tpl rename to poll/admin/admin_forms.tpl diff --git a/admin/js/color.png b/poll/admin/js/color.png similarity index 100% rename from admin/js/color.png rename to poll/admin/js/color.png diff --git a/admin/js/iColorPicker.js b/poll/admin/js/iColorPicker.js similarity index 100% rename from admin/js/iColorPicker.js rename to poll/admin/js/iColorPicker.js diff --git a/class.poll.php b/poll/class.poll.php similarity index 100% rename from class.poll.php rename to poll/class.poll.php diff --git a/funcs/func.rewrite.php b/poll/funcs/func.rewrite.php similarity index 100% rename from funcs/func.rewrite.php rename to poll/funcs/func.rewrite.php diff --git a/index.php b/poll/index.php similarity index 100% rename from index.php rename to poll/index.php diff --git a/lang/index.php b/poll/lang/index.php similarity index 100% rename from lang/index.php rename to poll/lang/index.php diff --git a/lang/ru.txt b/poll/lang/ru.txt similarity index 100% rename from lang/ru.txt rename to poll/lang/ru.txt diff --git a/module.php b/poll/module.php similarity index 100% rename from module.php rename to poll/module.php diff --git a/sql.php b/poll/sql.php similarity index 100% rename from sql.php rename to poll/sql.php diff --git a/templates/archive.tpl b/poll/templates/archive.tpl similarity index 100% rename from templates/archive.tpl rename to poll/templates/archive.tpl diff --git a/templates/index.php b/poll/templates/index.php similarity index 100% rename from templates/index.php rename to poll/templates/index.php diff --git a/templates/js/common.js b/poll/templates/js/common.js similarity index 100% rename from templates/js/common.js rename to poll/templates/js/common.js diff --git a/templates/poll_form.tpl b/poll/templates/poll_form.tpl similarity index 100% rename from templates/poll_form.tpl rename to poll/templates/poll_form.tpl diff --git a/templates/poll_nav.tpl b/poll/templates/poll_nav.tpl similarity index 100% rename from templates/poll_nav.tpl rename to poll/templates/poll_nav.tpl diff --git a/templates/poll_nav_result.tpl b/poll/templates/poll_nav_result.tpl similarity index 100% rename from templates/poll_nav_result.tpl rename to poll/templates/poll_nav_result.tpl diff --git a/templates/result.tpl b/poll/templates/result.tpl similarity index 100% rename from templates/result.tpl rename to poll/templates/result.tpl